Skip to content

Commit b5e6769

Browse files
committed
覆盖:支付(8)+代扣(3)+报关(2)+订阅支付(3)
1 parent fdaa5ac commit b5e6769

File tree

83 files changed

+1160
-105
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

83 files changed

+1160
-105
lines changed

ams-dotnet/ams-dotnet.csproj

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,6 @@
88
</PropertyGroup>
99

1010
<ItemGroup>
11-
<Folder Include="src\com\alipay\ams\api\request\" />
12-
<Folder Include="src\com\alipay\ams\api\response\" />
13-
<Folder Include="src\com\alipay\ams\api\entities\" />
1411
<Folder Include="src\com\alipay\ams\util\" />
1512
<Folder Include="src\com\alipay\ams\api\request\users\" />
1613
<Folder Include="src\com\alipay\ams\api\response\users\" />
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
namespace com.alipay.ams.api.entities
2+
{
3+
public class AcquirerInfo
4+
{
5+
public string AcquirerName { get; set; }
6+
public string ReferenceRequestId { get; set; }
7+
public string AcquirerTransactionId { get; set; }
8+
public string AcquirerMerchantId { get; set; }
9+
public string AcquirerResultCode { get; set; }
10+
public string AcquirerResultMessage { get; set; }
11+
}
12+
}
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
namespace com.alipay.ams.api.entities
2+
{
3+
public class AgreementInfo
4+
{
5+
6+
public string AuthState { get; set; }
7+
8+
public string UserLoginId { get; set; }
9+
10+
public string UserLoginType { get; set; }
11+
12+
public string DisplayUserLoginId { get; set; }
13+
}
14+
}
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
namespace com.alipay.ams.api.entities
2+
{
3+
public class AmountLimit
4+
{
5+
public Amount MaxAmount {get;set;}
6+
public Amount MinAmount {get;set;}
7+
public Amount RemainAmount {get;set;}
8+
}
9+
}
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
namespace com.alipay.ams.api.entities
2+
{
3+
public class AmountLimitInfo
4+
{
5+
public AmountLimit SingleLimit { get; set; }
6+
public AmountLimit DayLimit { get; set; }
7+
public AmountLimit MonthLimit { get; set; }
8+
}
9+
}
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
namespace com.alipay.ams.api.entities
2+
{
3+
public static class AntomPathConstants
4+
{
5+
public const string AUTH_CONSULT_PATH = "/ams/api/v1/authorizations/consult";
6+
public const string AUTH_APPLY_TOKEN_PATH = "/ams/api/v1/authorizations/applyToken";
7+
public const string AUTH_REVOKE_PATH = "/ams/api/v1/authorizations/revoke";
8+
public const string CREATE_VAULTING_SESSION_PATH = "/ams/api/v1/vaults/createVaultingSession";
9+
public const string VAULT_PAYMENT_METHOD_PATH = "/ams/api/v1/vaults/vaultPaymentMethod";
10+
public const string INQUIRE_VAULTING_PATH = "/ams/api/v1/vaults/inquireVaulting";
11+
public const string CONSULT_PAYMENT_PATH = "/ams/api/v1/payments/consult";
12+
public const string PAYMENT_PATH = "/ams/api/v1/payments/pay";
13+
public const string CREATE_SESSION_PATH = "/ams/api/v1/payments/createPaymentSession";
14+
public const string CAPTURE_PATH = "/ams/api/v1/payments/capture";
15+
public const string INQUIRY_PAYMENT_PATH = "/ams/api/v1/payments/inquiryPayment";
16+
public const string CANCEL_PATH = "/ams/api/v1/payments/cancel";
17+
public const string SUBSCRIPTION_CREATE_PATH = "/ams/api/v1/subscriptions/create";
18+
public const string SUBSCRIPTION_CHANGE_PATH = "/ams/api/v1/subscriptions/change";
19+
public const string SUBSCRIPTION_CANCEL_PATH = "/ams/api/v1/subscriptions/cancel";
20+
public const string ACCEPT_DISPUTE_PATH = "/ams/api/v1/payments/acceptDispute";
21+
public const string SUPPLY_DEFENCE_DOC_PATH = "/ams/api/v1/payments/supplyDefenseDocument";
22+
public const string DOWNLOAD_DISPUTE_EVIDENCE_PATH = "/ams/api/v1/payments/downloadDisputeEvidence";
23+
public const string REFUND_PATH = "/ams/api/v1/payments/refund";
24+
public const string INQUIRY_REFUND_PATH = "/ams/api/v1/payments/inquiryRefund";
25+
public const string DECLARE_PATH = "/ams/api/v1/customs/declare";
26+
public const string INQUIRY_DECLARE_PATH = "/ams/api/v1/customs/inquiryDeclarationRequests";
27+
public const string MARKETPLACE_SUBMITATTACHMENT_PATH = "/ams/api/open/openapiv2_file/v1/business/attachment/submitAttachment";
28+
public const string MARKETPLACE_REGISTER_PATH = "/ams/api/v1/merchants/register";
29+
public const string MARKETPLACE_SETTLEMENTINFO_UPDATE_PATH = "/ams/api/v1/merchants/settlementInfo/update";
30+
public const string MARKETPLACE_INQUIREBALANCE_PATH = "/ams/api/v1/accounts/inquireBalance";
31+
public const string MARKETPLACE_SETTLE_PATH = "/ams/api/v1/payments/settle";
32+
public const string MARKETPLACE_CREATEPAYOUT_PATH = "/ams/api/v1/funds/createPayout";
33+
public const string MARKETPLACE_CREATETRANSFER_PATH = "/ams/api/v1/funds/createTransfer";
34+
public const string RISK_DECIDE_PATH = "/ams/api/v1/risk/payments/decide";
35+
public const string RISK_REPORT_PATH = "/ams/api/v1/risk/payments/reportRisk";
36+
public const string RISK_SEND_PAYMENT_RESULT_PATH = "/ams/api/v1/risk/payments/sendPaymentResult";
37+
public const string RISK_SEND_REFUND_RESULT_PATH = "/ams/api/v1/risk/payments/sendRefundResult";
38+
}
39+
}
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
namespace com.alipay.ams.api.entities
2+
{
3+
public class AuthCodeForm
4+
{
5+
public CodeDetail[] CodeDetails { get; set; }
6+
}
7+
}
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
using System;
2+
3+
namespace com.alipay.ams.api.entities
4+
{
5+
public class Buyer
6+
{
7+
public string ReferenceBuyerId { get; set; }
8+
public UserName BuyerName { get; set; }
9+
public string BuyerPhoneNo { get; set; }
10+
public string BuyerEmail { get; set; }
11+
public string BuyerRegistrationTime { get; set; }
12+
13+
public Boolean IsAccountVerified { get; set; }
14+
15+
public Int64 SuccessfulOrderCount { get; set; }
16+
}
17+
}
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
namespace com.alipay.ams.api.entities
2+
{
3+
public class CardInfo
4+
{
5+
public string CardNo { get; set; }
6+
public string CardBrand { get; set; }
7+
public string CardToken { get; set; }
8+
public string IssuingCountry { get; set; }
9+
public string Funding { get; set; }
10+
public string PaymentMethodRegion { get; set; }
11+
public ThreeDSResult ThreeDSResult { get; set; }
12+
}
13+
}
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
namespace com.alipay.ams.api.entities
2+
{
3+
public class CardVerificationResult
4+
{
5+
public string AuthenticationType { get; set; }
6+
7+
public string AuthenticationMethod { get; set; }
8+
9+
public string CvvResult { get; set; }
10+
11+
public string AvsResult { get; set; }
12+
13+
public string AuthorizationCode { get; set; }
14+
15+
public RiskThreeDSResult ThreeDSResult { get; set; }
16+
}
17+
}

0 commit comments

Comments
 (0)