Skip to content

Commit 57cc6ee

Browse files
committed
update 250410
1 parent e99293d commit 57cc6ee

11 files changed

+63
-4
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
# Changelog## 2.0.9 - 2025-02-05* [#13](https://github.com/alipay/global-open-sdk-dotnet/pull/13) feature-250205 - 支付、查询、支付结果通知新增卡相关信息字段## 2.0.8 - 2025-01-22* [#12](https://github.com/alipay/global-open-sdk-dotnet/pull/12) feature-250122 - update promotionResults## 2.0.7 - 2025-01-06* [#11](https://github.com/alipay/global-open-sdk-dotnet/pull/11) feature-250106 - 订阅支付新增“更新接口”## 2.0.6 - 2024-12-24* [#11](https://github.com/alipay/global-open-sdk-dotnet/pull/10) feature-241224 - CKP二期支持商户传入可选支付方式列表 - AMS独立绑卡支持MIT交易## 2.0.5 - 2024-12-16* [#10](https://github.com/alipay/global-open-sdk-dotnet/pull/10) feature-241216 - RDR拒付通知优化通用能力变更 - Antom新增ApplePay支付方式## 2.0.4 - 2024-12-02* [#9](https://github.com/alipay/global-open-sdk-dotnet/pull/9) feature-241202 - update AlipayDisputeNotify - update AlipayPayQueryResponse## 2.0.3 - 2024-11-25* [#8](https://github.com/alipay/global-open-sdk-dotnet/pull/8) feature-241125 - update AlipayPayResultNotify - update AlipayPayQueryRequest## 2.0.3 - 2024-11-25* [#7](https://github.com/alipay/global-open-sdk-dotnet/pull/7) feature-241125 - update Leg## 2.0.2 - 2024-11-04* [#6](https://github.com/alipay/global-open-sdk-dotnet/pull/6) feature-notify - add notify## 2.0.1 - 2024-10-23 * [#5](https://github.com/alipay/global-open-sdk-dotnet/pull/5) feature-p2 - add MARKETPLACE - add vaulting - add Dispute - add risk - add Notify - add MARKETPLACE_demo - add subscription_demo - add vaulting_demo - add Dispute_demo## 2.0.0 - 2024-09-04* [#4](https://github.com/alipay/global-open-sdk-dotnet/pull/4) Init object library * Add pay - request response * Add auth - request response * Add customs - request response * Add subscription - request response * Add example - auth customs pay * Add Changelog## 1.0.0 - 2021-08-02* Init object library
1+
# Changelog## 2.1.0 - 2025-04-10* [#14](https://github.com/alipay/global-open-sdk-dotnet/pull/13) feature-250410 - Antom 印度渠道接入AMS拒付相关接口的标准变更 - Antom印度渠道接入(UPI/CARD/NETBAKING)相关接口标准变更 - CKP二期支持商户传入支付方式地区和支付方式要素## 2.0.9 - 2025-02-05* [#13](https://github.com/alipay/global-open-sdk-dotnet/pull/13) feature-250205 - 支付、查询、支付结果通知新增卡相关信息字段## 2.0.8 - 2025-01-22* [#12](https://github.com/alipay/global-open-sdk-dotnet/pull/12) feature-250122 - update promotionResults## 2.0.7 - 2025-01-06* [#11](https://github.com/alipay/global-open-sdk-dotnet/pull/11) feature-250106 - 订阅支付新增“更新接口”## 2.0.6 - 2024-12-24* [#11](https://github.com/alipay/global-open-sdk-dotnet/pull/10) feature-241224 - CKP二期支持商户传入可选支付方式列表 - AMS独立绑卡支持MIT交易## 2.0.5 - 2024-12-16* [#10](https://github.com/alipay/global-open-sdk-dotnet/pull/10) feature-241216 - RDR拒付通知优化通用能力变更 - Antom新增ApplePay支付方式## 2.0.4 - 2024-12-02* [#9](https://github.com/alipay/global-open-sdk-dotnet/pull/9) feature-241202 - update AlipayDisputeNotify - update AlipayPayQueryResponse## 2.0.3 - 2024-11-25* [#8](https://github.com/alipay/global-open-sdk-dotnet/pull/8) feature-241125 - update AlipayPayResultNotify - update AlipayPayQueryRequest## 2.0.3 - 2024-11-25* [#7](https://github.com/alipay/global-open-sdk-dotnet/pull/7) feature-241125 - update Leg## 2.0.2 - 2024-11-04* [#6](https://github.com/alipay/global-open-sdk-dotnet/pull/6) feature-notify - add notify## 2.0.1 - 2024-10-23 * [#5](https://github.com/alipay/global-open-sdk-dotnet/pull/5) feature-p2 - add MARKETPLACE - add vaulting - add Dispute - add risk - add Notify - add MARKETPLACE_demo - add subscription_demo - add vaulting_demo - add Dispute_demo## 2.0.0 - 2024-09-04* [#4](https://github.com/alipay/global-open-sdk-dotnet/pull/4) Init object library * Add pay - request response * Add auth - request response * Add customs - request response * Add subscription - request response * Add example - auth customs pay * Add Changelog## 1.0.0 - 2021-08-02* Init object library

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Alipay AMS(Alipay Merchant Services) C# Bindings
22
```
33
Language:C#
4-
Releass ^2.0.9
4+
Releass ^2.1.0
55
Copyright:Ant financial services group
66
```
77

ams-dotnet/ams-dotnet.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
<PropertyGroup>
55
<PackageId>global-open-sdk-dotnet</PackageId>
6-
<Version>2.0.9</Version>
6+
<Version>2.1.0</Version>
77
<Authors>wangzunjiao</Authors>
88
<Company>antom</Company>
99
<OutputType>Exe</OutputType>

ams-dotnet/src/com/alipay/ams/api/entities/AvailablePaymentMethod.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,6 @@ namespace com.alipay.ams.api.entities;
33
public class AvailablePaymentMethod
44
{
55
public PaymentMethodTypeItem[] PaymentMethodTypeList { get; set; }
6+
7+
public string PaymentMethodMetaData { get; set; }
68
}
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
namespace com.alipay.ams.api.entities;
2+
3+
public enum DisputeEvidenceFormatType
4+
{
5+
PDF,
6+
WORD,
7+
ZIP,
8+
JPG,
9+
10+
}

ams-dotnet/src/com/alipay/ams/api/entities/DisputeJudgedResult.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@ namespace com.alipay.ams.api.entities;
22

33
public enum DisputeJudgedResult
44
{
5-
ACCEPT_BY_CUSTOMER,ACCEPT_BY_MERCHANT
5+
ACCEPT_BY_CUSTOMER,ACCEPT_BY_MERCHANT,VALIDATE_SUCCESS,VALIDATE_FAIL
66
}
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
namespace com.alipay.ams.api.entities;
2+
3+
public enum DisputeType
4+
{
5+
CHARGEBACK,
6+
RETRIEVAL_REQUEST,
7+
COMPLIANCE_REQUEST,
8+
}
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
namespace com.alipay.ams.api.entities;
2+
3+
public enum PaymentMethodType
4+
{
5+
DISCOUNT, INTEREST_FREE, BALANCE_ACCOUNT, SETTLEMENT_CARD,APPLEPAY,UPI,ONLINEBANKING_NETBANKING
6+
}

ams-dotnet/src/com/alipay/ams/api/request/pay/AlipayPaymentSessionRequest.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,8 @@ public class AlipayPaymentSessionRequest : AMSRequest<AlipayPaymentSessionRespon
4848

4949
public AvailablePaymentMethod AvailablePaymentMethod { get; set; }
5050

51+
public List<string> AllowedPaymentMethodRegions { get; set; }
52+
5153
public override string GetRequestURI()
5254
{
5355
return AntomPathConstants.CREATE_SESSION_PATH;
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
using ams_dotnet.com.alipay.ams.api.response.pay;
2+
3+
namespace com.alipay.ams.api.request;
4+
5+
public class AlipayUploadInvoiceShippingFileRequest : AMSRequest<AlipayUploadInvoiceShippingFileResponse>
6+
{
7+
private string PaymentRequestId { get; set; }
8+
private string FileId { get; set; }
9+
private string UploadFile { get; set; }
10+
private string FileType { get; set; }
11+
private string FileName { get; set; }
12+
13+
public override string GetRequestURI()
14+
{
15+
return "/ams/api/v1/payments/uploadInvoiceShippingFile";
16+
}
17+
18+
public override void validate()
19+
{
20+
21+
}
22+
}

0 commit comments

Comments
 (0)