File tree Expand file tree Collapse file tree 4 files changed +62
-1
lines changed
src/CheckoutSdk/Payments/Contexts Expand file tree Collapse file tree 4 files changed +62
-1
lines changed Original file line number Diff line number Diff line change 1+ using Checkout . Common ;
2+ using System ;
3+ using System . Collections . Generic ;
4+
5+ namespace Checkout . Payments . Contexts
6+ {
7+ public class PaymentContextsAccommodationData
8+ {
9+ public string Name { get ; set ; }
10+
11+ public string BookingReference { get ; set ; }
12+
13+ public DateTime CheckInDate { get ; set ; }
14+
15+ public DateTime CheckOutDate { get ; set ; }
16+
17+ public Address Address { get ; set ; }
18+
19+ public CountryCode State { get ; set ; }
20+
21+ public CountryCode Country { get ; set ; }
22+
23+ public string City { get ; set ; }
24+
25+ public int ? NumberOfRooms { get ; set ; }
26+
27+ public List < PaymentContextsGuests > Guests { get ; set ; }
28+
29+ public List < PaymentContextsAccommodationRoom > Room { get ; set ; }
30+ }
31+ }
Original file line number Diff line number Diff line change 1+ namespace Checkout . Payments . Contexts
2+ {
3+ public class PaymentContextsAccommodationRoom
4+ {
5+ public string Rate { get ; set ; }
6+
7+ public int ? NumberOfNightsAtRoomRate { get ; set ; }
8+ }
9+ }
Original file line number Diff line number Diff line change 1+ using System ;
2+
3+ namespace Checkout . Payments . Contexts
4+ {
5+ public class PaymentContextsGuests
6+ {
7+ public string FirstName { get ; set ; }
8+
9+ public string LastName { get ; set ; }
10+
11+ public DateTime DateOfBirth { get ; set ; }
12+ }
13+ }
Original file line number Diff line number Diff line change @@ -7,7 +7,11 @@ public class PaymentContextsProcessing
77 {
88 public BillingPlan Plan { get ; set ; }
99
10- public int ShippingAmount { get ; set ; }
10+ public long ? DiscountAmount { get ; set ; }
11+
12+ public long ? ShippingAmount { get ; set ; }
13+
14+ public long ? TaxAmount { get ; set ; }
1115
1216 public string InvoiceId { get ; set ; }
1317
@@ -20,7 +24,11 @@ public class PaymentContextsProcessing
2024 public UserAction ? UserAction { get ; set ; }
2125
2226 public PaymentContextsPartnerCustomerRiskData PartnerCustomerRiskData { get ; set ; }
27+
28+ public IList < string > CustomPaymentMethodIds { get ; set ; }
2329
2430 public IList < PaymentContextsAirlineData > AirlineData { get ; set ; }
31+
32+ public IList < PaymentContextsAccommodationData > AccommodationData { get ; set ; }
2533 }
2634}
You can’t perform that action at this time.
0 commit comments