Skip to content

Commit

Permalink
同步官方更新业务API截止2019.12.24 dotnetcore#41
Browse files Browse the repository at this point in the history
  • Loading branch information
stulzq committed Dec 24, 2019
1 parent 0eb603c commit cd8aecd
Show file tree
Hide file tree
Showing 5,650 changed files with 271,429 additions and 128,027 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
4 changes: 2 additions & 2 deletions Alipay.AopSdk.AspnetCore/Alipay.AopSdk.AspnetCore.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>
<TargetFramework>netcoreapp3.1</TargetFramework>
<Version>2.5.0</Version>
<Version>2.5.1</Version>
<Copyright>Copyright 2017-2019 stulzq</Copyright>
<Authors>stulzq</Authors>
<Company>stulzq</Company>
Expand All @@ -11,7 +11,7 @@
<PackageProjectUrl>https://github.com/stulzq/Alipay.AopSdk.Core</PackageProjectUrl>
<PackageIcon>logo.jpg</PackageIcon>
<Description>支付宝(Alipay)服务端SDK AopSdk,ASP.NET Core 项目只用安装这一个组件。使用文档 https://github.com/dotnetcore/Alipay.AopSdk.Core</Description>
<PackageReleaseNotes>更新至 .NET Core 3.1</PackageReleaseNotes>
<PackageReleaseNotes>更新到官方最新业务 戒指2019.12.24</PackageReleaseNotes>
<PackageTags>Alipay,AopSdk,支付宝服务端SDK,支付宝支付,扫码支付</PackageTags>
<RepositoryType>git</RepositoryType>
<RepositoryUrl>https://github.com/stulzq/Alipay.AopSdk.Core</RepositoryUrl>
Expand Down
2 changes: 1 addition & 1 deletion Alipay.AopSdk.AspnetCore/AlipayF2FService.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using System.Threading.Tasks;
using Alipay.AopSdk.Core.Domain;
using Alipay.AopSdk.F2FPay.Business;
using Alipay.AopSdk.F2FPay.Domain;
using Microsoft.Extensions.Options;

namespace Alipay.AopSdk.AspnetCore
Expand Down
4 changes: 2 additions & 2 deletions Alipay.AopSdk.Core/Alipay.AopSdk.Core.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@

<PropertyGroup>
<TargetFramework>netstandard2.1</TargetFramework>
<Version>2.5.0</Version>
<Version>2.5.1</Version>
<Authors>stulzq</Authors>
<Description>支付宝(Alipay)服务端SDK,与官方SDK接口完全相同。完全可以按照官方文档进行开发。除了支持支付以外,官方SDK支持的功能本SDK全部支持,且用法几乎一样,代码都可参考官方文档代码。github:https://github.com/stulzq/Alipay.AopSdk.Core,访问github获取demo以及使用文档。</Description>
<Copyright>Copyright 2017-2019 stulzq</Copyright>
<PackageProjectUrl>https://github.com/stulzq/Alipay.AopSdk.Core</PackageProjectUrl>
<PackageRequireLicenseAcceptance>true</PackageRequireLicenseAcceptance>
<PackageTags>Alipay,AopSdk,支付宝服务端SDK,支付宝支付</PackageTags>
<PackageReleaseNotes>更新到 .NET Core 3.1</PackageReleaseNotes>
<PackageReleaseNotes>更新到官方最新业务 戒指2019.12.24</PackageReleaseNotes>
<RepositoryUrl>https://github.com/stulzq/Alipay.AopSdk.Core</RepositoryUrl>
<RepositoryType>git</RepositoryType>
<PackageLicenseUrl />
Expand Down
2 changes: 1 addition & 1 deletion Alipay.AopSdk.Core/Business/AlipayMonitorImpl.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using Alipay.AopSdk.Core;
using Alipay.AopSdk.Core.Domain;
using Alipay.AopSdk.Core.Request;
using Alipay.AopSdk.F2FPay.Domain;

namespace Alipay.AopSdk.F2FPay.Business
{
Expand Down
2 changes: 1 addition & 1 deletion Alipay.AopSdk.Core/Business/AlipayTradeImpl.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
using System.Threading;
using System.Threading.Tasks;
using Alipay.AopSdk.Core;
using Alipay.AopSdk.Core.Domain;
using Alipay.AopSdk.Core.Request;
using Alipay.AopSdk.Core.Response;
using Alipay.AopSdk.Core.Util;
using Alipay.AopSdk.F2FPay.Domain;
using Alipay.AopSdk.F2FPay.Model;


Expand Down
2 changes: 1 addition & 1 deletion Alipay.AopSdk.Core/Business/IAlipayMonitor.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using Alipay.AopSdk.F2FPay.Domain;
using Alipay.AopSdk.Core.Domain;

namespace Alipay.AopSdk.F2FPay.Business
{
Expand Down
2 changes: 1 addition & 1 deletion Alipay.AopSdk.Core/Business/IAlipayTradeService.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
using System.Threading.Tasks;
using Alipay.AopSdk.F2FPay.Domain;
using Alipay.AopSdk.Core.Domain;

namespace Alipay.AopSdk.F2FPay.Business
{
Expand Down
48 changes: 48 additions & 0 deletions Alipay.AopSdk.Core/Domain/AOIinfo.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
using System;
using System.Xml.Serialization;

namespace Alipay.AopSdk.Core.Domain
{
/// <summary>
/// AOIinfo Data Structure.
/// </summary>
[Serializable]
public class AOIinfo : AopObject
{
/// <summary>
/// 所属AOI所在区域编码
/// </summary>
[XmlElement("adcode")]
public string Adcode { get; set; }

/// <summary>
/// 所属AOI点面积,单位是平方米
/// </summary>
[XmlElement("area")]
public string Area { get; set; }

/// <summary>
/// 输入经纬度是否在aoi面之中,取值为0时表示在AOI内,其他值表示距离AOI的距离
/// </summary>
[XmlElement("distance")]
public string Distance { get; set; }

/// <summary>
/// 所属AOI的id
/// </summary>
[XmlElement("id")]
public string Id { get; set; }

/// <summary>
/// 所属AOI的中心点坐标
/// </summary>
[XmlElement("location")]
public string Location { get; set; }

/// <summary>
/// 所属AOI名称
/// </summary>
[XmlElement("name")]
public string Name { get; set; }
}
}
120 changes: 120 additions & 0 deletions Alipay.AopSdk.Core/Domain/AccDetailModel.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,120 @@
using System;
using System.Xml.Serialization;

namespace Alipay.AopSdk.Core.Domain
{
/// <summary>
/// AccDetailModel Data Structure.
/// </summary>
[Serializable]
public class AccDetailModel : AopObject
{
/// <summary>
/// 支付宝订单号
/// </summary>
[XmlElement("alipay_order_no")]
public string AlipayOrderNo { get; set; }

/// <summary>
/// 收款方身份认证信息。biz_scene=LOCAL时忽略该参数。
/// </summary>
[XmlElement("cert_info")]
public CertInfo CertInfo { get; set; }

/// <summary>
/// 支付宝系统内部明细单号。
/// </summary>
[XmlElement("detail_id")]
public string DetailId { get; set; }

/// <summary>
/// 明细流水号(注:只有境外代发使用,其他场景请使用out_biz_no)
/// </summary>
[XmlElement("detail_no")]
public string DetailNo { get; set; }

/// <summary>
/// 明细失败错误码
/// </summary>
[XmlElement("error_code")]
public string ErrorCode { get; set; }

/// <summary>
/// 明细失败错误原因
/// </summary>
[XmlElement("error_msg")]
public string ErrorMsg { get; set; }

/// <summary>
/// 转账币种兑换的汇率信息。biz_scene是LOCAL场景下,该参数返回空。
/// </summary>
[XmlElement("exchange_rate")]
public ExchangeRate ExchangeRate { get; set; }

/// <summary>
/// 是否需要通过alipay_order_no原单据重试. T: 需要; F或为空: 不需要.
/// </summary>
[XmlElement("need_retry")]
public string NeedRetry { get; set; }

/// <summary>
/// 商户明细订单号
/// </summary>
[XmlElement("out_biz_no")]
public string OutBizNo { get; set; }

/// <summary>
/// 收款方信息。
/// </summary>
[XmlElement("payee_info")]
public AccPayeeInfo PayeeInfo { get; set; }

/// <summary>
/// 应付金额. 付款方应付金额. LOCAL场景下为空.
/// </summary>
[XmlElement("payment_amount")]
public string PaymentAmount { get; set; }

/// <summary>
/// 支付币种.付款方应付的币种, 与批次请求时的payment_currency相同.
/// </summary>
[XmlElement("payment_currency")]
public string PaymentCurrency { get; set; }

/// <summary>
/// 备注
/// </summary>
[XmlElement("remark")]
public string Remark { get; set; }

/// <summary>
/// 结算金额。 收款方实际收到的金额. biz_scene是LOCAL场景下,该参数返回空。
/// </summary>
[XmlElement("settlement_amount")]
public string SettlementAmount { get; set; }

/// <summary>
/// 结算币种.收款方收到的币种. LOCAL场景下为空.
/// </summary>
[XmlElement("settlement_currency")]
public string SettlementCurrency { get; set; }

/// <summary>
/// INIT:初始 APPLIED:已下单 DEALED:处理中 SUCCESS:处理成功 DISUSE:已废除 FAIL:处理失败 UNKNOWN:未知状态
/// </summary>
[XmlElement("status")]
public string Status { get; set; }

/// <summary>
/// 转账金额。代发请求中指定的trans_amount.
/// </summary>
[XmlElement("trans_amount")]
public string TransAmount { get; set; }

/// <summary>
/// 转账币种
/// </summary>
[XmlElement("trans_currency")]
public string TransCurrency { get; set; }
}
}
24 changes: 24 additions & 0 deletions Alipay.AopSdk.Core/Domain/AccPayeeInfo.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
using System;
using System.Xml.Serialization;

namespace Alipay.AopSdk.Core.Domain
{
/// <summary>
/// AccPayeeInfo Data Structure.
/// </summary>
[Serializable]
public class AccPayeeInfo : AopObject
{
/// <summary>
/// 收款方电子钱包账号。
/// </summary>
[XmlElement("payee_account")]
public string PayeeAccount { get; set; }

/// <summary>
/// 收款方电子钱包持有者姓名。
/// </summary>
[XmlElement("payee_name")]
public string PayeeName { get; set; }
}
}
72 changes: 72 additions & 0 deletions Alipay.AopSdk.Core/Domain/AccTransDetail.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
using System;
using System.Xml.Serialization;

namespace Alipay.AopSdk.Core.Domain
{
/// <summary>
/// AccTransDetail Data Structure.
/// </summary>
[Serializable]
public class AccTransDetail : AopObject
{
/// <summary>
/// 支付宝订单号。仅付汇失败后,商户重试时填写。首次批次请求时设置为空,否则会失败。 biz_scene=LOCAL时忽略该参数。
/// </summary>
[XmlElement("alipay_order_no")]
public string AlipayOrderNo { get; set; }

/// <summary>
/// 收款方身份认证信息。biz_scene=LOCAL时忽略该参数。
/// </summary>
[XmlElement("cert_info")]
public CertInfo CertInfo { get; set; }

/// <summary>
/// 明细流水号
/// </summary>
[XmlElement("detail_no")]
public string DetailNo { get; set; }

/// <summary>
/// 代发明细原始交易信息
/// </summary>
[XmlElement("ori_txn_info")]
public OriTxnInfo OriTxnInfo { get; set; }

/// <summary>
/// 收款方信息
/// </summary>
[XmlElement("payee_info")]
public AccPayeeInfo PayeeInfo { get; set; }

/// <summary>
/// 资金到账时效。biz_scene=LOCAL时忽略该参数。
/// </summary>
[XmlElement("reach_time")]
public string ReachTime { get; set; }

/// <summary>
/// 转账明细备注。
/// </summary>
[XmlElement("remark")]
public string Remark { get; set; }

/// <summary>
/// 结算金额。biz_scene=LOCAL时忽略该参数。
/// </summary>
[XmlElement("settlement_currency")]
public string SettlementCurrency { get; set; }

/// <summary>
/// 转账金额
/// </summary>
[XmlElement("trans_amount")]
public string TransAmount { get; set; }

/// <summary>
/// 转账币种, 用来修饰转账金额 trans_amount. biz_scene=LOCAL时忽略该参数。
/// </summary>
[XmlElement("trans_currency")]
public string TransCurrency { get; set; }
}
}
Loading

0 comments on commit cd8aecd

Please sign in to comment.