diff --git a/src/CheckoutSdk/Authentication/Standalone/Common/AccountInfo/AccountInfo.cs b/src/CheckoutSdk/Authentication/Standalone/Common/AccountInfo/AccountInfo.cs
index fdbf2e6a..ba555f50 100644
--- a/src/CheckoutSdk/Authentication/Standalone/Common/AccountInfo/AccountInfo.cs
+++ b/src/CheckoutSdk/Authentication/Standalone/Common/AccountInfo/AccountInfo.cs
@@ -13,7 +13,7 @@ public class AccountInfo
/// [Optional]
/// [ 0 .. 9999 ]
///
- public double PurchaseCount { get; set; }
+ public long? PurchaseCount { get; set; }
///
/// The length of time that the payment account was enrolled in the cardholder's account.
@@ -26,7 +26,7 @@ public class AccountInfo
/// [Optional]
/// [ 0 .. 999 ]
///
- public double AddCardAttempts { get; set; }
+ public long? AddCardAttempts { get; set; }
///
/// Indicates when the shipping address used for this transaction was first used.
@@ -38,13 +38,13 @@ public class AccountInfo
/// Indicates if the Cardholder Name on the account is identical to the shipping Name used for this transaction.
/// [Optional]
///
- public bool AccountNameMatchesShippingName { get; set; }
+ public bool? AccountNameMatchesShippingName { get; set; }
///
/// Indicates whether suspicious activity on the cardholder account has been observed.
/// [Optional]
///
- public bool SuspiciousAccountActivity { get; set; }
+ public bool? SuspiciousAccountActivity { get; set; }
///
/// The number of transactions (successful and abandoned) for the cardholder account across all payment accounts
@@ -52,7 +52,7 @@ public class AccountInfo
/// [Optional]
/// [ 0 .. 999 ]
///
- public double TransactionsToday { get; set; }
+ public long? TransactionsToday { get; set; }
///
/// [DEPRECATED]
@@ -77,7 +77,7 @@ public class AccountInfo
/// [Optional]
///
///
- public DateTime AccountChange { get; set; }
+ public DateTime? AccountChange { get; set; }
///
/// The amount of time since the cardholder’s account information with the 3DS Requestor was last changed.
@@ -94,7 +94,7 @@ public class AccountInfo
/// [Optional]
///
///
- public DateTime AccountDate { get; set; }
+ public DateTime? AccountDate { get; set; }
///
/// The UTC date and time the cardholder’s account with the 3DS Requestor was last reset or had a password
@@ -102,7 +102,7 @@ public class AccountInfo
/// [Optional]
///
///
- public DateTime AccountPasswordChange { get; set; }
+ public DateTime? AccountPasswordChange { get; set; }
///
/// The amount of time since the cardholder’s account with the 3DS Requestor was last reset or had a password
@@ -119,7 +119,7 @@ public class AccountInfo
/// <= 3
/// <= 999
///
- public int TransactionsPerYear { get; set; }
+ public long? TransactionsPerYear { get; set; }
///
/// The UTC date and time the payment account was enrolled in the cardholder’s account with the 3DS Requestor,
@@ -127,7 +127,7 @@ public class AccountInfo
/// [Optional]
///
///
- public DateTime PaymentAccountAge { get; set; }
+ public DateTime? PaymentAccountAge { get; set; }
///
/// The UTC date and time the shipping address used for the transaction was first used with the 3DS Requestor,
@@ -135,7 +135,7 @@ public class AccountInfo
/// [Optional]
///
///
- public DateTime ShippingAddressUsage { get; set; }
+ public DateTime? ShippingAddressUsage { get; set; }
///
/// The type of account, in the case of a card product with multiple accounts.
diff --git a/src/CheckoutSdk/Authentication/Standalone/Common/AccountInfo/ThreeDsRequestorAuthenticationInfo/ThreeDsRequestorAuthenticationInfo.cs b/src/CheckoutSdk/Authentication/Standalone/Common/AccountInfo/ThreeDsRequestorAuthenticationInfo/ThreeDsRequestorAuthenticationInfo.cs
index 2fb06ec1..75d1cfba 100644
--- a/src/CheckoutSdk/Authentication/Standalone/Common/AccountInfo/ThreeDsRequestorAuthenticationInfo/ThreeDsRequestorAuthenticationInfo.cs
+++ b/src/CheckoutSdk/Authentication/Standalone/Common/AccountInfo/ThreeDsRequestorAuthenticationInfo/ThreeDsRequestorAuthenticationInfo.cs
@@ -19,7 +19,7 @@ public class ThreeDsRequestorAuthenticationInfo
/// [Optional]
///
///
- public DateTime ThreeDsReqAuthTimestamp { get; set; }
+ public DateTime? ThreeDsReqAuthTimestamp { get; set; }
///
/// Data that documents and supports a specific authentication process.
diff --git a/src/CheckoutSdk/Authentication/Standalone/Common/Installment/Installment.cs b/src/CheckoutSdk/Authentication/Standalone/Common/Installment/Installment.cs
index 5817dd44..0f0fc474 100644
--- a/src/CheckoutSdk/Authentication/Standalone/Common/Installment/Installment.cs
+++ b/src/CheckoutSdk/Authentication/Standalone/Common/Installment/Installment.cs
@@ -17,14 +17,14 @@ public class Installment
public int NumberOfPayments { get; set; }
///
- /// Default: 1 Indicates the minimum number of days between authorisations. If no value is specified for an
+ /// Default: 1 Indicates the minimum number of days between authorisations. If no value is specified for an
/// installment authentication type the default value will be used.
/// [Optional]
///
- public int DaysBetweenPayments { get; set; } = 1;
+ public int? DaysBetweenPayments { get; set; } = 1;
///
- /// Default: 99991231 Date after which no further authorisations are performed in the format yyyyMMdd. If no
+ /// Default: 99991231 Date after which no further authorisations are performed in the format yyyyMMdd. If no
/// value is specified for an installment authentication type the default value will be used.
/// [Optional]
///
diff --git a/src/CheckoutSdk/Authentication/Standalone/Common/MerchantRiskInfo/MerchantRiskInfo.cs b/src/CheckoutSdk/Authentication/Standalone/Common/MerchantRiskInfo/MerchantRiskInfo.cs
index a5bd27d9..70167c91 100644
--- a/src/CheckoutSdk/Authentication/Standalone/Common/MerchantRiskInfo/MerchantRiskInfo.cs
+++ b/src/CheckoutSdk/Authentication/Standalone/Common/MerchantRiskInfo/MerchantRiskInfo.cs
@@ -1,3 +1,4 @@
+using Checkout.Common;
using System;
namespace Checkout.Authentication.Standalone.Common.MerchantRiskInfo
@@ -26,13 +27,13 @@ public class MerchantRiskInfo
/// date.
/// [Optional]
///
- public bool IsPreorder { get; set; }
+ public bool? IsPreorder { get; set; }
///
/// Indicates whether the cardholder is reordering previously purchased merchandise.
/// [Optional]
///
- public bool IsReorder { get; set; }
+ public bool? IsReorder { get; set; }
///
/// Indicates the shipping method chosen for the transaction. Please choose an option that accurately describes
@@ -59,7 +60,7 @@ public class MerchantRiskInfo
/// [Optional]
///
///
- public DateTime PreOrderDate { get; set; }
+ public DateTime? PreOrderDate { get; set; }
///
/// The total purchase amount, in major units. For example, the major unit amount for a gift card purchase of
@@ -75,7 +76,7 @@ public class MerchantRiskInfo
/// [Optional]
/// 3 characters
///
- public string GiftCardCurrency { get; set; }
+ public Currency? GiftCardCurrency { get; set; }
///
/// The total number of individual prepaid cards, gift cards, or gift codes purchased. Only applicable for
diff --git a/src/CheckoutSdk/Authentication/Standalone/Common/Recurring/Recurring.cs b/src/CheckoutSdk/Authentication/Standalone/Common/Recurring/Recurring.cs
index bd5cb6ac..abeabb6e 100644
--- a/src/CheckoutSdk/Authentication/Standalone/Common/Recurring/Recurring.cs
+++ b/src/CheckoutSdk/Authentication/Standalone/Common/Recurring/Recurring.cs
@@ -8,14 +8,14 @@ namespace Checkout.Authentication.Standalone.Common.Recurring
public class Recurring
{
///
- /// Default: 1 Indicates the minimum number of days between authorisations. If no value is specified for a
+ /// Default: 1 Indicates the minimum number of days between authorisations. If no value is specified for a
/// recurring authentication type the default value will be used.
/// [Optional]
///
- public int DaysBetweenPayments { get; set; } = 1;
+ public int? DaysBetweenPayments { get; set; } = 1;
///
- /// Default: 99991231 Date after which no further authorisations are performed in the format yyyyMMdd. If no
+ /// Default: 99991231 Date after which no further authorisations are performed in the format yyyyMMdd. If no
/// value is specified for a recurring authentication type the default value will be used.
/// [Optional]
///
diff --git a/src/CheckoutSdk/Authentication/Standalone/Common/Responses/Card/Metadata/Metadata.cs b/src/CheckoutSdk/Authentication/Standalone/Common/Responses/Card/Metadata/Metadata.cs
index f54b0154..f7048472 100644
--- a/src/CheckoutSdk/Authentication/Standalone/Common/Responses/Card/Metadata/Metadata.cs
+++ b/src/CheckoutSdk/Authentication/Standalone/Common/Responses/Card/Metadata/Metadata.cs
@@ -1,3 +1,5 @@
+using Checkout.Common;
+
namespace Checkout.Authentication.Standalone.Common.Responses.Card.Metadata
{
///
@@ -28,7 +30,7 @@ public class Metadata
/// The two letter alpha country code of the card issuer.
/// [Optional]
///
- public string IssuerCountry { get; set; }
+ public CountryCode? IssuerCountry { get; set; }
///
/// The issuer/card scheme product identifier.
diff --git a/src/CheckoutSdk/Authentication/Standalone/Common/Responses/Certificates/Certificates.cs b/src/CheckoutSdk/Authentication/Standalone/Common/Responses/Certificates/Certificates.cs
index 82d4f907..79314568 100644
--- a/src/CheckoutSdk/Authentication/Standalone/Common/Responses/Certificates/Certificates.cs
+++ b/src/CheckoutSdk/Authentication/Standalone/Common/Responses/Certificates/Certificates.cs
@@ -31,6 +31,6 @@ public class Certificates
/// server (ACS). Each array element is a Base64 URL-encoded DER-encoded X.509 certificate.
/// [Optional]
///
- public IList
- public double ExpiryMonth { get; set; }
+ public int? ExpiryMonth { get; set; }
///
/// Expiry year of the token
/// [Optional]
///
- public double ExpiryYear { get; set; }
+ public int? ExpiryYear { get; set; }
}
}
\ No newline at end of file
diff --git a/src/CheckoutSdk/Authentication/Standalone/Common/Responses/Optimization/Optimization.cs b/src/CheckoutSdk/Authentication/Standalone/Common/Responses/Optimization/Optimization.cs
index bf927fe1..34ac7a1d 100644
--- a/src/CheckoutSdk/Authentication/Standalone/Common/Responses/Optimization/Optimization.cs
+++ b/src/CheckoutSdk/Authentication/Standalone/Common/Responses/Optimization/Optimization.cs
@@ -12,7 +12,7 @@ public class Optimization
/// Indicates if any optimization has been applied
/// [Optional]
///
- public bool Optimized { get; set; }
+ public bool? Optimized { get; set; }
///
/// The optimization framework applied
diff --git a/src/CheckoutSdk/Authentication/Standalone/Common/Responses/PreferredExperiences/GoogleSpa/GoogleSpa.cs b/src/CheckoutSdk/Authentication/Standalone/Common/Responses/PreferredExperiences/GoogleSpa/GoogleSpa.cs
index a82ee2c9..b3a42c02 100644
--- a/src/CheckoutSdk/Authentication/Standalone/Common/Responses/PreferredExperiences/GoogleSpa/GoogleSpa.cs
+++ b/src/CheckoutSdk/Authentication/Standalone/Common/Responses/PreferredExperiences/GoogleSpa/GoogleSpa.cs
@@ -17,6 +17,6 @@ public class GoogleSpa
/// Reason(s) why processing the experience was unsuccessful.
/// [Optional]
///
- public IList