/// <summary>
 /// Initializes a new instance of the <see cref="WalletPreAuthTransactionAllOf" /> class.
 /// </summary>
 /// <param name="walletPaymentMethod">walletPaymentMethod (required).</param>
 /// <param name="splitShipment">splitShipment.</param>
 /// <param name="paymentFacilitator">paymentFacilitator.</param>
 /// <param name="decrementalFlag">This flag can only be used in a preAuth transaction that updates the amount of a previous preAuth transaction to either increase the preAuth amount (DecrementalPreAuthFlag &#x3D; false) or decrease the preAuth amount (DecrementalPreAuthFlag &#x3D; true). (default to false).</param>
 public WalletPreAuthTransactionAllOf(WalletPaymentMethod walletPaymentMethod = default(WalletPaymentMethod), SplitShipment splitShipment = default(SplitShipment), PaymentFacilitator paymentFacilitator = default(PaymentFacilitator), bool decrementalFlag = false)
 {
     // to ensure "walletPaymentMethod" is required (not null)
     this.WalletPaymentMethod = walletPaymentMethod ?? throw new ArgumentNullException("walletPaymentMethod is a required property for WalletPreAuthTransactionAllOf and cannot be null");
     this.SplitShipment       = splitShipment;
     this.PaymentFacilitator  = paymentFacilitator;
     this.DecrementalFlag     = decrementalFlag;
 }
예제 #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="WalletPreAuthTransaction" /> class.
 /// </summary>
 /// <param name="walletPaymentMethod">walletPaymentMethod (required).</param>
 /// <param name="splitShipment">splitShipment.</param>
 /// <param name="paymentFacilitator">paymentFacilitator.</param>
 /// <param name="decrementalFlag">This flag can only be used in a preAuth transaction that updates the amount of a previous preAuth transaction to either increase the preAuth amount (DecrementalPreAuthFlag &#x3D; false) or decrease the preAuth amount (DecrementalPreAuthFlag &#x3D; true). (default to false).</param>
 /// <param name="requestType">Object name of the primary transaction request. (required).</param>
 /// <param name="transactionAmount">transactionAmount (required).</param>
 /// <param name="storeId">An optional outlet ID for clients that support multiple stores in the same app..</param>
 /// <param name="merchantTransactionId">The unique merchant transaction ID from the request header, if supplied..</param>
 /// <param name="transactionOrigin">transactionOrigin.</param>
 /// <param name="order">order.</param>
 public WalletPreAuthTransaction(WalletPaymentMethod walletPaymentMethod = default(WalletPaymentMethod), SplitShipment splitShipment = default(SplitShipment), PaymentFacilitator paymentFacilitator = default(PaymentFacilitator), bool decrementalFlag = false, string requestType = default(string), Amount transactionAmount = default(Amount), string storeId = default(string), string merchantTransactionId = default(string), TransactionOrigin?transactionOrigin = null, Order order = default(Order)) : base(requestType, transactionAmount, storeId, merchantTransactionId, transactionOrigin, order)
 {
     // to ensure "walletPaymentMethod" is required (not null)
     this.WalletPaymentMethod = walletPaymentMethod ?? throw new ArgumentNullException("walletPaymentMethod is a required property for WalletPreAuthTransaction and cannot be null");
     this.SplitShipment       = splitShipment;
     this.PaymentFacilitator  = paymentFacilitator;
     this.DecrementalFlag     = decrementalFlag;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="WalletSaleTransactionAllOf" /> class.
 /// </summary>
 /// <param name="walletPaymentMethod">walletPaymentMethod (required).</param>
 /// <param name="paymentFacilitator">paymentFacilitator.</param>
 public WalletSaleTransactionAllOf(WalletPaymentMethod walletPaymentMethod = default(WalletPaymentMethod), PaymentFacilitator paymentFacilitator = default(PaymentFacilitator))
 {
     // to ensure "walletPaymentMethod" is required (not null)
     this.WalletPaymentMethod = walletPaymentMethod ?? throw new ArgumentNullException("walletPaymentMethod is a required property for WalletSaleTransactionAllOf and cannot be null");
     this.PaymentFacilitator  = paymentFacilitator;
 }
예제 #4
0
 /// <summary>
 /// Initializes a new instance of the <see cref="WalletSaleTransaction" /> class.
 /// </summary>
 /// <param name="walletPaymentMethod">walletPaymentMethod (required).</param>
 /// <param name="paymentFacilitator">paymentFacilitator.</param>
 /// <param name="requestType">Object name of the primary transaction request. (required) (default to &quot;WalletSaleTransaction&quot;).</param>
 /// <param name="transactionAmount">transactionAmount (required).</param>
 /// <param name="storeId">An optional outlet ID for clients that support multiple stores in the same app..</param>
 /// <param name="merchantTransactionId">The unique merchant transaction ID from the request header, if supplied..</param>
 /// <param name="transactionOrigin">transactionOrigin.</param>
 /// <param name="order">order.</param>
 /// <param name="ipgTransactionId">The IPG transactionId to reference a payerauth for example..</param>
 /// <param name="allowPartialApproval">Indicates if the particular transaction is a partial approval transaction, if supplied..</param>
 public WalletSaleTransaction(WalletPaymentMethod walletPaymentMethod = default(WalletPaymentMethod), PaymentFacilitator paymentFacilitator = default(PaymentFacilitator), string requestType = "WalletSaleTransaction", Amount transactionAmount = default(Amount), string storeId = default(string), string merchantTransactionId = default(string), TransactionOrigin?transactionOrigin = default(TransactionOrigin?), Order order = default(Order), long?ipgTransactionId = default(long?), bool allowPartialApproval = default(bool)) : base(requestType, transactionAmount, storeId, merchantTransactionId, transactionOrigin, order, ipgTransactionId, allowPartialApproval)
 {
     // to ensure "walletPaymentMethod" is required (not null)
     this.WalletPaymentMethod = walletPaymentMethod ?? throw new ArgumentNullException("walletPaymentMethod is a required property for WalletSaleTransaction and cannot be null");
     this.PaymentFacilitator  = paymentFacilitator;
 }