@@ -9,47 +9,51 @@ namespace Checkout.Payments.Response
99{
1010 public class PaymentResponse : Resource
1111 {
12+ public string Id { get ; set ; }
13+
1214 public string ActionId { get ; set ; }
1315
1416 public long ? Amount { get ; set ; }
15-
16- public bool ? Approved { get ; set ; }
17-
18- public string AuthCode { get ; set ; }
19-
20- public string Id { get ; set ; }
21-
17+
18+ public long ? AmountRequested { get ; set ; }
19+
2220 public Currency ? Currency { get ; set ; }
2321
24- public CustomerResponse Customer { get ; set ; }
25-
26- [ JsonConverter ( typeof ( PaymentResponseSourceTypeConverter ) ) ]
27- public IResponseSource Source { get ; set ; }
28-
22+ public bool ? Approved { get ; set ; }
23+
2924 public PaymentStatus ? Status { get ; set ; }
3025
31- [ JsonProperty ( PropertyName = "3ds" ) ] public ThreeDsEnrollment ThreeDs { get ; set ; }
32-
33- public string Reference { get ; set ; }
34-
26+ public string AuthCode { get ; set ; }
27+
3528 public string ResponseCode { get ; set ; }
36-
29+
3730 public string ResponseSummary { get ; set ; }
38-
31+
32+
33+ public DateTime ? ExpiresOn { get ; set ; }
34+
35+ [ JsonProperty ( PropertyName = "3ds" ) ]
36+ public ThreeDsEnrollment ThreeDs { get ; set ; }
37+
3938 public RiskAssessment Risk { get ; set ; }
40-
39+
40+ [ JsonConverter ( typeof ( PaymentResponseSourceTypeConverter ) ) ]
41+ public IResponseSource Source { get ; set ; }
42+
43+ public CustomerResponse Customer { get ; set ; }
44+
45+ public PaymentResponseBalances Balances { get ; set ; }
46+
4147 public DateTime ? ProcessedOn { get ; set ; }
4248
43- public DateTime ? ExpiresOn { get ; set ; }
44-
45- public PaymentResponseBalances Balances { get ; set ; }
49+ public string Reference { get ; set ; }
4650
4751 public PaymentProcessing Processing { get ; set ; }
48-
52+
4953 public string Eci { get ; set ; }
5054
5155 public string SchemeId { get ; set ; }
52-
56+
5357 public PaymentRetryResponse Retry { get ; set ; }
5458 }
5559}
0 commit comments