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