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