Exemple #1
0
 /// <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");
 }
Exemple #2
0
 /// <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 &quot;DecryptedGooglePayWalletPaymentMethod&quot;).</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");
 }