Example #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="EncryptedApplePayWalletPaymentMethod" /> class.
 /// </summary>
 /// <param name="encryptedApplePay">encryptedApplePay (required).</param>
 /// <param name="walletType">Type of wallet. (required).</param>
 public EncryptedApplePayWalletPaymentMethod(EncryptedApplePay encryptedApplePay = default(EncryptedApplePay), string walletType = default(string)) : base(walletType)
 {
     // to ensure "encryptedApplePay" is required (not null)
     this.EncryptedApplePay = encryptedApplePay ?? throw new ArgumentNullException("encryptedApplePay is a required property for EncryptedApplePayWalletPaymentMethod and cannot be null");
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="EncryptedApplePayWalletPaymentMethodAllOf" /> class.
 /// </summary>
 /// <param name="encryptedApplePay">encryptedApplePay (required).</param>
 public EncryptedApplePayWalletPaymentMethodAllOf(EncryptedApplePay encryptedApplePay = default(EncryptedApplePay))
 {
     // to ensure "encryptedApplePay" is required (not null)
     this.EncryptedApplePay = encryptedApplePay ?? throw new ArgumentNullException("encryptedApplePay is a required property for EncryptedApplePayWalletPaymentMethodAllOf and cannot be null");
 }