/// <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;
 }
Example #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="PaymentTokenPreAuthTransaction" /> class.
 /// </summary>
 /// <param name="paymentMethod">paymentMethod (required).</param>
 /// <param name="storedCredentials">storedCredentials.</param>
 /// <param name="splitShipment">splitShipment.</param>
 /// <param name="settlementSplit">Settle with multiple sub-merchants, sale and preAuth only..</param>
 /// <param name="authenticationRequest">authenticationRequest.</param>
 /// <param name="authenticationResult">authenticationResult.</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 PaymentTokenPreAuthTransaction(PaymentTokenPaymentMethod paymentMethod = default(PaymentTokenPaymentMethod), StoredCredential storedCredentials = default(StoredCredential), SplitShipment splitShipment = default(SplitShipment), List <SubMerchantSplit> settlementSplit = default(List <SubMerchantSplit>), AuthenticationRequest authenticationRequest = default(AuthenticationRequest), AuthenticationResult authenticationResult = default(AuthenticationResult), 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 "paymentMethod" is required (not null)
     this.PaymentMethod         = paymentMethod ?? throw new ArgumentNullException("paymentMethod is a required property for PaymentTokenPreAuthTransaction and cannot be null");
     this.StoredCredentials     = storedCredentials;
     this.SplitShipment         = splitShipment;
     this.SettlementSplit       = settlementSplit;
     this.AuthenticationRequest = authenticationRequest;
     this.AuthenticationResult  = authenticationResult;
     this.DecrementalFlag       = decrementalFlag;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="PaymentDevicePreAuthTransactionAllOf" /> class.
 /// </summary>
 /// <param name="paymentMethod">paymentMethod (required).</param>
 /// <param name="createToken">createToken.</param>
 /// <param name="settlementSplit">Settle with multiple sub-merchants, sale and preAuth only..</param>
 /// <param name="storedCredentials">storedCredentials.</param>
 /// <param name="splitShipment">splitShipment.</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 PaymentDevicePreAuthTransactionAllOf(PaymentDevicePaymentMethod paymentMethod = default(PaymentDevicePaymentMethod), CreatePaymentToken createToken = default(CreatePaymentToken), List <SubMerchantSplit> settlementSplit = default(List <SubMerchantSplit>), StoredCredential storedCredentials = default(StoredCredential), SplitShipment splitShipment = default(SplitShipment), bool decrementalFlag = false)
 {
     // to ensure "paymentMethod" is required (not null)
     this.PaymentMethod     = paymentMethod ?? throw new ArgumentNullException("paymentMethod is a required property for PaymentDevicePreAuthTransactionAllOf and cannot be null");
     this.CreateToken       = createToken;
     this.SettlementSplit   = settlementSplit;
     this.StoredCredentials = storedCredentials;
     this.SplitShipment     = splitShipment;
     this.DecrementalFlag   = decrementalFlag;
 }
Example #4
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;
 }
Example #5
0
 /// <summary>
 /// Initializes a new instance of the <see cref="PostAuthTransactionAllOf" /> class.
 /// </summary>
 /// <param name="transactionAmount">transactionAmount (required).</param>
 /// <param name="transactionOrigin">transactionOrigin.</param>
 /// <param name="splitShipment">splitShipment.</param>
 /// <param name="softDescriptor">softDescriptor.</param>
 public PostAuthTransactionAllOf(Amount transactionAmount = default(Amount), TransactionOrigin?transactionOrigin = default(TransactionOrigin?), SplitShipment splitShipment = default(SplitShipment), SoftDescriptor softDescriptor = default(SoftDescriptor))
 {
     // to ensure "transactionAmount" is required (not null)
     this.TransactionAmount = transactionAmount ?? throw new ArgumentNullException("transactionAmount is a required property for PostAuthTransactionAllOf and cannot be null");
     this.TransactionOrigin = transactionOrigin;
     this.SplitShipment     = splitShipment;
     this.SoftDescriptor    = softDescriptor;
 }
Example #6
0
 /// <summary>
 /// Initializes a new instance of the <see cref="PostAuthTransaction" /> class.
 /// </summary>
 /// <param name="transactionAmount">transactionAmount (required).</param>
 /// <param name="transactionOrigin">transactionOrigin.</param>
 /// <param name="splitShipment">splitShipment.</param>
 /// <param name="softDescriptor">softDescriptor.</param>
 /// <param name="requestType">Object name of the secondary transaction request. (required).</param>
 /// <param name="storeId">An optional outlet ID for clients that support multiple stores in the same developer app..</param>
 /// <param name="merchantTransactionId">The unique merchant transaction ID from the request, if supplied..</param>
 /// <param name="comments">Comment for the secondary transaction..</param>
 /// <param name="order">order.</param>
 public PostAuthTransaction(Amount transactionAmount = default(Amount), TransactionOrigin?transactionOrigin = null, SplitShipment splitShipment = default(SplitShipment), SoftDescriptor softDescriptor = default(SoftDescriptor), string requestType = default(string), string storeId = default(string), string merchantTransactionId = default(string), string comments = default(string), Order order = default(Order)) : base(requestType, storeId, merchantTransactionId, comments, order)
 {
     // to ensure "transactionAmount" is required (not null)
     this.TransactionAmount = transactionAmount ?? throw new ArgumentNullException("transactionAmount is a required property for PostAuthTransaction and cannot be null");
     this.TransactionOrigin = transactionOrigin;
     this.SplitShipment     = splitShipment;
     this.SoftDescriptor    = softDescriptor;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="PaymentCardPreAuthTransaction" /> class.
 /// </summary>
 /// <param name="paymentMethod">paymentMethod.</param>
 /// <param name="storedCredentials">storedCredentials.</param>
 /// <param name="createToken">createToken.</param>
 /// <param name="splitShipment">splitShipment.</param>
 /// <param name="settlementSplit">Settle with multiple sub-merchants, sale and preAuth only..</param>
 /// <param name="authenticationRequest">authenticationRequest.</param>
 /// <param name="authenticationResult">authenticationResult.</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) (default to &quot;PaymentCardPreAuthTransaction&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 PaymentCardPreAuthTransaction(PaymentCardPaymentMethod paymentMethod = default(PaymentCardPaymentMethod), StoredCredential storedCredentials = default(StoredCredential), CreatePaymentToken createToken = default(CreatePaymentToken), SplitShipment splitShipment = default(SplitShipment), List <SubMerchantSplit> settlementSplit = default(List <SubMerchantSplit>), AuthenticationRequest authenticationRequest = default(AuthenticationRequest), AuthenticationResult authenticationResult = default(AuthenticationResult), bool decrementalFlag = false, string requestType = "PaymentCardPreAuthTransaction", 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)
 {
     this.PaymentMethod         = paymentMethod;
     this.StoredCredentials     = storedCredentials;
     this.CreateToken           = createToken;
     this.SplitShipment         = splitShipment;
     this.SettlementSplit       = settlementSplit;
     this.AuthenticationRequest = authenticationRequest;
     this.AuthenticationResult  = authenticationResult;
     this.DecrementalFlag       = decrementalFlag;
 }
Example #8
0
 /// <summary>
 /// Initializes a new instance of the <see cref="PaymentDevicePreAuthTransaction" /> class.
 /// </summary>
 /// <param name="paymentMethod">paymentMethod (required).</param>
 /// <param name="createToken">createToken.</param>
 /// <param name="settlementSplit">Settle with multiple sub-merchants, sale and preAuth only..</param>
 /// <param name="storedCredentials">storedCredentials.</param>
 /// <param name="splitShipment">splitShipment.</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) (default to &quot;PaymentDevicePreAuthTransaction&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 PaymentDevicePreAuthTransaction(PaymentDevicePaymentMethod paymentMethod = default(PaymentDevicePaymentMethod), CreatePaymentToken createToken = default(CreatePaymentToken), List <SubMerchantSplit> settlementSplit = default(List <SubMerchantSplit>), StoredCredential storedCredentials = default(StoredCredential), SplitShipment splitShipment = default(SplitShipment), bool decrementalFlag = false, string requestType = "PaymentDevicePreAuthTransaction", 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 "paymentMethod" is required (not null)
     this.PaymentMethod     = paymentMethod ?? throw new ArgumentNullException("paymentMethod is a required property for PaymentDevicePreAuthTransaction and cannot be null");
     this.CreateToken       = createToken;
     this.SettlementSplit   = settlementSplit;
     this.StoredCredentials = storedCredentials;
     this.SplitShipment     = splitShipment;
     this.DecrementalFlag   = decrementalFlag;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="PaymentCardPreAuthTransactionAllOf" /> class.
 /// </summary>
 /// <param name="paymentMethod">paymentMethod.</param>
 /// <param name="storedCredentials">storedCredentials.</param>
 /// <param name="createToken">createToken.</param>
 /// <param name="splitShipment">splitShipment.</param>
 /// <param name="settlementSplit">Settle with multiple sub-merchants, sale and preAuth only..</param>
 /// <param name="authenticationRequest">authenticationRequest.</param>
 /// <param name="authenticationResult">authenticationResult.</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 PaymentCardPreAuthTransactionAllOf(PaymentCardPaymentMethod paymentMethod = default(PaymentCardPaymentMethod), StoredCredential storedCredentials = default(StoredCredential), CreatePaymentToken createToken = default(CreatePaymentToken), SplitShipment splitShipment = default(SplitShipment), List <SubMerchantSplit> settlementSplit = default(List <SubMerchantSplit>), AuthenticationRequest authenticationRequest = default(AuthenticationRequest), AuthenticationResult authenticationResult = default(AuthenticationResult), bool decrementalFlag = false)
 {
     this.PaymentMethod         = paymentMethod;
     this.StoredCredentials     = storedCredentials;
     this.CreateToken           = createToken;
     this.SplitShipment         = splitShipment;
     this.SettlementSplit       = settlementSplit;
     this.AuthenticationRequest = authenticationRequest;
     this.AuthenticationResult  = authenticationResult;
     this.DecrementalFlag       = decrementalFlag;
 }