コード例 #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="EncryptedGooglePayWalletPaymentMethodAllOf" /> class.
 /// </summary>
 /// <param name="encryptedGooglePay">encryptedGooglePay (required).</param>
 public EncryptedGooglePayWalletPaymentMethodAllOf(EncryptedGooglePay encryptedGooglePay = default(EncryptedGooglePay))
 {
     // to ensure "encryptedGooglePay" is required (not null)
     this.EncryptedGooglePay = encryptedGooglePay ?? throw new ArgumentNullException("encryptedGooglePay is a required property for EncryptedGooglePayWalletPaymentMethodAllOf and cannot be null");
 }
コード例 #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="EncryptedGooglePayWalletPaymentMethod" /> class.
 /// </summary>
 /// <param name="encryptedGooglePay">encryptedGooglePay (required).</param>
 /// <param name="walletType">Type of wallet. (required) (default to &quot;EncryptedGooglePayWalletPaymentMethod&quot;).</param>
 public EncryptedGooglePayWalletPaymentMethod(EncryptedGooglePay encryptedGooglePay = default(EncryptedGooglePay), string walletType = "EncryptedGooglePayWalletPaymentMethod") : base(walletType)
 {
     // to ensure "encryptedGooglePay" is required (not null)
     this.EncryptedGooglePay = encryptedGooglePay ?? throw new ArgumentNullException("encryptedGooglePay is a required property for EncryptedGooglePayWalletPaymentMethod and cannot be null");
 }