/// <summary>
 /// Initializes a new instance of the <see cref="DecryptedApplePayWalletPaymentMethod" /> class.
 /// </summary>
 /// <param name="decryptedApplePay">decryptedApplePay (required).</param>
 /// <param name="walletType">Type of wallet. (required).</param>
 public DecryptedApplePayWalletPaymentMethod(DecryptedApplePay decryptedApplePay = default(DecryptedApplePay), string walletType = default(string)) : base(walletType)
 {
     // to ensure "decryptedApplePay" is required (not null)
     this.DecryptedApplePay = decryptedApplePay ?? throw new ArgumentNullException("decryptedApplePay is a required property for DecryptedApplePayWalletPaymentMethod and cannot be null");
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="DecryptedApplePayWalletPaymentMethodAllOf" /> class.
 /// </summary>
 /// <param name="decryptedApplePay">decryptedApplePay (required).</param>
 public DecryptedApplePayWalletPaymentMethodAllOf(DecryptedApplePay decryptedApplePay = default(DecryptedApplePay))
 {
     // to ensure "decryptedApplePay" is required (not null)
     this.DecryptedApplePay = decryptedApplePay ?? throw new ArgumentNullException("decryptedApplePay is a required property for DecryptedApplePayWalletPaymentMethodAllOf and cannot be null");
 }