/// <summary> /// Initializes a new instance of the <see cref="PaymentTokenInfoLookupRequest" /> class. /// </summary> /// <param name="paymentToken">paymentToken (required).</param> /// <param name="requestType">Object name of the account verification request. (required) (default to "PaymentTokenInfoLookupRequest").</param> /// <param name="storeId">An optional outlet ID for clients that support multiple stores in the same app..</param> public PaymentTokenInfoLookupRequest(UsePaymentToken paymentToken = default(UsePaymentToken), string requestType = "PaymentTokenInfoLookupRequest", string storeId = default(string)) : base(requestType, storeId) { // to ensure "paymentToken" is required (not null) this.PaymentToken = paymentToken ?? throw new ArgumentNullException("paymentToken is a required property for PaymentTokenInfoLookupRequest and cannot be null"); }
/// <summary> /// Initializes a new instance of the <see cref="PaymentTokenVerificationRequest" /> class. /// </summary> /// <param name="paymentToken">paymentToken (required).</param> /// <param name="requestType">Object name of the account verification request. (required) (default to "PaymentTokenVerificationRequest").</param> /// <param name="billingAddress">billingAddress.</param> /// <param name="storeId">An optional outlet ID for clients that support multiple stores in the same app..</param> /// <param name="merchantTransactionId">The unique merchant transaction ID from the request, if supplied..</param> /// <param name="additionalDetails">additionalDetails.</param> public PaymentTokenVerificationRequest(UsePaymentToken paymentToken = default(UsePaymentToken), string requestType = "PaymentTokenVerificationRequest", Address billingAddress = default(Address), string storeId = default(string), string merchantTransactionId = default(string), AdditionalDetails additionalDetails = default(AdditionalDetails)) : base(requestType, billingAddress, storeId, merchantTransactionId, additionalDetails) { // to ensure "paymentToken" is required (not null) this.PaymentToken = paymentToken ?? throw new ArgumentNullException("paymentToken is a required property for PaymentTokenVerificationRequest and cannot be null"); }
/// <summary> /// Initializes a new instance of the <see cref="PaymentTokenVerificationRequestAllOf" /> class. /// </summary> /// <param name="paymentToken">paymentToken (required).</param> public PaymentTokenVerificationRequestAllOf(UsePaymentToken paymentToken = default(UsePaymentToken)) { // to ensure "paymentToken" is required (not null) this.PaymentToken = paymentToken ?? throw new ArgumentNullException("paymentToken is a required property for PaymentTokenVerificationRequestAllOf and cannot be null"); }
/// <summary> /// Initializes a new instance of the <see cref="PaymentTokenPaymentMethod" /> class. /// </summary> /// <param name="paymentToken">paymentToken (required).</param> /// <param name="paymentFacilitator">paymentFacilitator.</param> public PaymentTokenPaymentMethod(UsePaymentToken paymentToken = default(UsePaymentToken), PaymentFacilitator paymentFacilitator = default(PaymentFacilitator)) { // to ensure "paymentToken" is required (not null) this.PaymentToken = paymentToken ?? throw new ArgumentNullException("paymentToken is a required property for PaymentTokenPaymentMethod and cannot be null"); this.PaymentFacilitator = paymentFacilitator; }