Пример #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="EncryptedSamsungPayWalletPaymentMethodAllOf" /> class.
 /// </summary>
 /// <param name="encryptedSamsungPay">encryptedSamsungPay (required).</param>
 public EncryptedSamsungPayWalletPaymentMethodAllOf(EncryptedSamsungPay encryptedSamsungPay = default(EncryptedSamsungPay))
 {
     // to ensure "encryptedSamsungPay" is required (not null)
     this.EncryptedSamsungPay = encryptedSamsungPay ?? throw new ArgumentNullException("encryptedSamsungPay is a required property for EncryptedSamsungPayWalletPaymentMethodAllOf and cannot be null");
 }
Пример #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="EncryptedSamsungPayWalletPaymentMethod" /> class.
 /// </summary>
 /// <param name="encryptedSamsungPay">encryptedSamsungPay (required).</param>
 /// <param name="walletType">Type of wallet. (required).</param>
 public EncryptedSamsungPayWalletPaymentMethod(EncryptedSamsungPay encryptedSamsungPay = default(EncryptedSamsungPay), string walletType = default(string)) : base(walletType)
 {
     // to ensure "encryptedSamsungPay" is required (not null)
     this.EncryptedSamsungPay = encryptedSamsungPay ?? throw new ArgumentNullException("encryptedSamsungPay is a required property for EncryptedSamsungPayWalletPaymentMethod and cannot be null");
 }