Skip to content

Commit ab390db

Browse files
Fix int nullables
1 parent 2d00f86 commit ab390db

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

src/CheckoutSdk/Payments/Contexts/PaymentContextsItems.cs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,17 +5,17 @@ public class PaymentContextsItems
55
public PaymentContextItemType? Type { get; set; }
66
public string Name { get; set; }
77

8-
public int Quantity { get; set; }
8+
public int? Quantity { get; set; }
99

10-
public int UnitPrice { get; set; }
10+
public int? UnitPrice { get; set; }
1111

1212
public string Reference { get; set; }
1313

14-
public int TotalAmount { get; set; }
14+
public int? TotalAmount { get; set; }
1515

16-
public int TaxAmount { get; set; }
16+
public int? TaxAmount { get; set; }
1717

18-
public int DiscountAmount { get; set; }
18+
public int? DiscountAmount { get; set; }
1919

2020
public string Url { get; set; }
2121

src/CheckoutSdk/Payments/ShippingDetails.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,6 @@ public class ShippingDetails
2222

2323
public PaymentContextsShippingMethod? Method { get; set; }
2424

25-
public int Delay { get; set; }
25+
public int? Delay { get; set; }
2626
}
2727
}

src/CheckoutSdk/Reconciliation/Previous/ReconciliationQueryPaymentsFilter.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ namespace Checkout.Reconciliation.Previous
44
{
55
public class ReconciliationQueryPaymentsFilter
66
{
7-
public int Limit { get; set; } = 500;
7+
public int? Limit { get; set; } = 500;
88

99
public string Reference { get; set; }
1010

0 commit comments

Comments
 (0)