File tree Expand file tree Collapse file tree 5 files changed +60
-0
lines changed
ams-dotnet/src/com/alipay/ams/api Expand file tree Collapse file tree 5 files changed +60
-0
lines changed Original file line number Diff line number Diff line change @@ -14,6 +14,8 @@ public static class AntomPathConstants
14
14
public const string CAPTURE_PATH = "/ams/api/v1/payments/capture" ;
15
15
public const string INQUIRY_PAYMENT_PATH = "/ams/api/v1/payments/inquiryPayment" ;
16
16
public const string CANCEL_PATH = "/ams/api/v1/payments/cancel" ;
17
+ public const string SYNC_ARREAR_PATH = "/ams/api/v1/payments/syncArrear" ;
18
+ public const string CREATE_DEVICE_CERTIFICATE_PATH = "/ams/api/v1/payments/createDeviceCertificate" ;
17
19
public const string SUBSCRIPTION_CREATE_PATH = "/ams/api/v1/subscriptions/create" ;
18
20
public const string SUBSCRIPTION_CHANGE_PATH = "/ams/api/v1/subscriptions/change" ;
19
21
public const string SUBSCRIPTION_CANCEL_PATH = "/ams/api/v1/subscriptions/cancel" ;
Original file line number Diff line number Diff line change
1
+ using ams_dotnet . com . alipay . ams . api . response . pay ;
2
+ using com . alipay . ams . api . entities ;
3
+
4
+ namespace com . alipay . ams . api . request ;
5
+
6
+ public class AlipayDeviceCertificateRequest : AMSRequest < AlipayDeviceCertificateResponse >
7
+ {
8
+ public string DevicePublicKey { get ; set ; }
9
+
10
+ public string DeviceRequestId { get ; set ; }
11
+
12
+ public override string GetRequestURI ( )
13
+ {
14
+ return AntomPathConstants . CREATE_DEVICE_CERTIFICATE_PATH ;
15
+ }
16
+
17
+ public override void validate ( )
18
+ {
19
+
20
+ }
21
+ }
Original file line number Diff line number Diff line change
1
+ using ams_dotnet . com . alipay . ams . api . response . pay ;
2
+ using com . alipay . ams . api . entities ;
3
+
4
+ namespace com . alipay . ams . api . request ;
5
+
6
+ public class AlipaySyncArrearRequest : AMSRequest < AlipaySyncArrearResponse >
7
+ {
8
+ public string PaymentId { get ; set ; }
9
+ public string PaymentRequestId { get ; set ; }
10
+
11
+ public override string GetRequestURI ( )
12
+ {
13
+ return AntomPathConstants . SYNC_ARREAR_PATH ;
14
+ }
15
+
16
+ public override void validate ( )
17
+ {
18
+
19
+ }
20
+ }
Original file line number Diff line number Diff line change
1
+ using com . alipay . ams . api . response ;
2
+
3
+ namespace ams_dotnet . com . alipay . ams . api . response . pay ;
4
+
5
+ public class AlipayDeviceCertificateResponse : AMSResponse
6
+ {
7
+ public string DeviceCertificate { get ; set ; }
8
+
9
+ }
Original file line number Diff line number Diff line change
1
+ using com . alipay . ams . api . response ;
2
+
3
+ namespace ams_dotnet . com . alipay . ams . api . response . pay ;
4
+
5
+ public class AlipaySyncArrearResponse : AMSResponse
6
+ {
7
+
8
+ }
You can’t perform that action at this time.
0 commit comments