示例#1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="PaymentTokenSaleTransaction" /> class.
 /// </summary>
 /// <param name="paymentMethod">paymentMethod (required).</param>
 /// <param name="storedCredentials">storedCredentials.</param>
 /// <param name="settlementSplit">Settle with multiple sub-merchants, sale and preAuth only..</param>
 /// <param name="currencyConversion">currencyConversion.</param>
 /// <param name="authenticationRequest">authenticationRequest.</param>
 /// <param name="authenticationResult">authenticationResult.</param>
 /// <param name="requestType">Object name of the primary transaction request. (required) (default to &quot;PaymentTokenSaleTransaction&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 PaymentTokenSaleTransaction(PaymentTokenPaymentMethod paymentMethod = default(PaymentTokenPaymentMethod), StoredCredential storedCredentials = default(StoredCredential), List <SubMerchantSplit> settlementSplit = default(List <SubMerchantSplit>), CurrencyConversion currencyConversion = default(CurrencyConversion), AuthenticationRequest authenticationRequest = default(AuthenticationRequest), AuthenticationResult authenticationResult = default(AuthenticationResult), string requestType = "PaymentTokenSaleTransaction", 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 PaymentTokenSaleTransaction and cannot be null");
     this.StoredCredentials     = storedCredentials;
     this.SettlementSplit       = settlementSplit;
     this.CurrencyConversion    = currencyConversion;
     this.AuthenticationRequest = authenticationRequest;
     this.AuthenticationResult  = authenticationResult;
 }
示例#2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="AchCreditTransaction" /> class.
 /// </summary>
 /// <param name="paymentMethod">paymentMethod (required).</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 AchCreditTransaction(TeleCheckAchPaymentMethod paymentMethod = default(TeleCheckAchPaymentMethod), 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 AchCreditTransaction and cannot be null");
 }
示例#3
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;
 }
示例#4
0
 /// <summary>
 /// Initializes a new instance of the <see cref="PreAuthSecondaryTransaction" /> class.
 /// </summary>
 /// <param name="transactionAmount">transactionAmount (required).</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 secondary transaction request. (required) (default to &quot;PreAuthSecondaryTransaction&quot;).</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 PreAuthSecondaryTransaction(Amount transactionAmount = default(Amount), bool decrementalFlag = false, string requestType = "PreAuthSecondaryTransaction", 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 PreAuthSecondaryTransaction and cannot be null");
     this.DecrementalFlag   = decrementalFlag;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="AchPostAuthTransaction" /> class.
 /// </summary>
 /// <param name="transactionAmount">transactionAmount (required).</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 AchPostAuthTransaction(Amount transactionAmount = default(Amount), 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 AchPostAuthTransaction and cannot be null");
 }
示例#6
0
 /// <summary>
 /// Initializes a new instance of the <see cref="TransactionResponseAllOf" /> class.
 /// </summary>
 /// <param name="ipgTransactionId">The response transaction ID..</param>
 /// <param name="orderId">Client order ID if supplied by client, otherwise the order ID..</param>
 /// <param name="transactionType">transactionType.</param>
 /// <param name="paymentToken">paymentToken.</param>
 /// <param name="transactionOrigin">transactionOrigin.</param>
 /// <param name="paymentMethodDetails">paymentMethodDetails.</param>
 /// <param name="country">Country of the card issuer..</param>
 /// <param name="terminalId">The terminal that is processing the transaction..</param>
 /// <param name="merchantId">The unique (on Acquirer level) mechant ID. Usually this value has been chosen from the merchant itself and will be used in communication with the endpoint..</param>
 /// <param name="merchantTransactionId">The unique merchant transaction ID from the request header, if supplied..</param>
 /// <param name="transactionTime">The transaction time in seconds since epoch..</param>
 /// <param name="approvedAmount">approvedAmount.</param>
 /// <param name="transactionStatus">Represents the status of a transaction immediately following the original processing request. This value is not stored for the transaction and is only available in the response when the transaction is processed. TransactionStatus is not returned on either the transaction inquiry or on the order inquiry..</param>
 /// <param name="transactionState">Shows the state of the current transaction..</param>
 /// <param name="secure3dResponse">secure3dResponse.</param>
 /// <param name="redirectURL">The endpoint redirection URL..</param>
 /// <param name="authenticationResponse">authenticationResponse.</param>
 /// <param name="schemeTransactionId">The transaction ID received from schemes for the initial transaction of card on file flows..</param>
 /// <param name="processor">processor.</param>
 /// <param name="additionalDetails">additionalDetails.</param>
 /// <param name="accountUpdaterResponse">accountUpdaterResponse.</param>
 /// <param name="achResponse">achResponse.</param>
 /// <param name="currencyConversionResponse">currencyConversionResponse.</param>
 public TransactionResponseAllOf(string ipgTransactionId = default(string), string orderId = default(string), TransactionType?transactionType = null, PaymentTokenDetails paymentToken = default(PaymentTokenDetails), TransactionOrigin?transactionOrigin = null, PaymentMethodDetails paymentMethodDetails = default(PaymentMethodDetails), string country = default(string), string terminalId = default(string), string merchantId = default(string), string merchantTransactionId = default(string), long transactionTime = default(long), Amount approvedAmount = default(Amount), TransactionStatusEnum?transactionStatus = null, TransactionStateEnum?transactionState = null, Secure3dResponse secure3dResponse = default(Secure3dResponse), string redirectURL = default(string), Secure3DAuthenticationResponse authenticationResponse = default(Secure3DAuthenticationResponse), string schemeTransactionId = default(string), ProcessorData processor = default(ProcessorData), AdditionalTransactionDetails additionalDetails = default(AdditionalTransactionDetails), AccountUpdaterResponse accountUpdaterResponse = default(AccountUpdaterResponse), AchResponse achResponse = default(AchResponse), CurrencyConversionResponse currencyConversionResponse = default(CurrencyConversionResponse))
 {
     this.IpgTransactionId           = ipgTransactionId;
     this.OrderId                    = orderId;
     this.TransactionType            = transactionType;
     this.PaymentToken               = paymentToken;
     this.TransactionOrigin          = transactionOrigin;
     this.PaymentMethodDetails       = paymentMethodDetails;
     this.Country                    = country;
     this.TerminalId                 = terminalId;
     this.MerchantId                 = merchantId;
     this.MerchantTransactionId      = merchantTransactionId;
     this.TransactionTime            = transactionTime;
     this.ApprovedAmount             = approvedAmount;
     this.TransactionStatus          = transactionStatus;
     this.TransactionState           = transactionState;
     this.Secure3dResponse           = secure3dResponse;
     this.RedirectURL                = redirectURL;
     this.AuthenticationResponse     = authenticationResponse;
     this.SchemeTransactionId        = schemeTransactionId;
     this.Processor                  = processor;
     this.AdditionalDetails          = additionalDetails;
     this.AccountUpdaterResponse     = accountUpdaterResponse;
     this.AchResponse                = achResponse;
     this.CurrencyConversionResponse = currencyConversionResponse;
 }
示例#7
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;
 }
示例#8
0
 /// <summary>
 /// Initializes a new instance of the <see cref="PreAuthSecondaryTransactionAllOf" /> class.
 /// </summary>
 /// <param name="transactionAmount">transactionAmount (required).</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 PreAuthSecondaryTransactionAllOf(Amount transactionAmount = default(Amount), bool decrementalFlag = false)
 {
     // to ensure "transactionAmount" is required (not null)
     this.TransactionAmount = transactionAmount ?? throw new ArgumentNullException("transactionAmount is a required property for PreAuthSecondaryTransactionAllOf and cannot be null");
     this.DecrementalFlag   = decrementalFlag;
 }
示例#9
0
 /// <summary>
 /// Initializes a new instance of the <see cref="PaymentSchedulesRequest" /> class.
 /// </summary>
 /// <param name="requestType">Object name of the payment schedules request. (required).</param>
 /// <param name="storeId">Store ID number..</param>
 /// <param name="startDate">Date of mandate signature. (required).</param>
 /// <param name="numberOfPayments">Number of times the recurring payment will process..</param>
 /// <param name="maximumFailures">Number of failures that can be encountered before re-tries cease..</param>
 /// <param name="invoiceNumber">Invoice number..</param>
 /// <param name="purchaseOrderNumber">Purchase order number..</param>
 /// <param name="transactionOrigin">transactionOrigin.</param>
 /// <param name="dynamicMerchantName">Dynamic merchant name for the cardholder&#39;s statement..</param>
 /// <param name="frequency">frequency (required).</param>
 /// <param name="transactionAmount">transactionAmount (required).</param>
 /// <param name="clientLocale">clientLocale.</param>
 /// <param name="orderId">Note - Client Order ID if supplied by client. If not supplied by client, IPG will generate. The first 12 alphanumeric digits are passed down to Fiserv Enterprise reporting tool, Clientline and Data File Manager (DFM)..</param>
 /// <param name="billing">billing.</param>
 /// <param name="shipping">shipping.</param>
 /// <param name="comments">User supplied comments..</param>
 public PaymentSchedulesRequest(string requestType = default(string), string storeId = default(string), DateTime startDate = default(DateTime), int numberOfPayments = default(int), int maximumFailures = default(int), string invoiceNumber = default(string), string purchaseOrderNumber = default(string), TransactionOrigin?transactionOrigin = default(TransactionOrigin?), string dynamicMerchantName = default(string), Frequency frequency = default(Frequency), Amount transactionAmount = default(Amount), ClientLocale clientLocale = default(ClientLocale), string orderId = default(string), Billing billing = default(Billing), Shipping shipping = default(Shipping), string comments = default(string))
 {
     // to ensure "requestType" is required (not null)
     this.RequestType = requestType ?? throw new ArgumentNullException("requestType is a required property for PaymentSchedulesRequest and cannot be null");
     this.StartDate   = startDate;
     // to ensure "frequency" is required (not null)
     this.Frequency = frequency ?? throw new ArgumentNullException("frequency is a required property for PaymentSchedulesRequest and cannot be null");
     // to ensure "transactionAmount" is required (not null)
     this.TransactionAmount   = transactionAmount ?? throw new ArgumentNullException("transactionAmount is a required property for PaymentSchedulesRequest and cannot be null");
     this.StoreId             = storeId;
     this.NumberOfPayments    = numberOfPayments;
     this.MaximumFailures     = maximumFailures;
     this.InvoiceNumber       = invoiceNumber;
     this.PurchaseOrderNumber = purchaseOrderNumber;
     this.TransactionOrigin   = transactionOrigin;
     this.DynamicMerchantName = dynamicMerchantName;
     this.ClientLocale        = clientLocale;
     this.OrderId             = orderId;
     this.Billing             = billing;
     this.Shipping            = shipping;
     this.Comments            = comments;
 }
示例#10
0
 /// <summary>
 /// Initializes a new instance of the <see cref="PaymentCardManagedRedirectRequest" /> class.
 /// </summary>
 /// <param name="paymentMethod">paymentMethod.</param>
 /// <param name="requestType">Object name of the primary transaction request. (required) (default to &quot;PaymentCardManagedRedirectRequest&quot;).</param>
 /// <param name="transactionAmount">transactionAmount (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="transactionType">transactionType.</param>
 /// <param name="order">order.</param>
 /// <param name="redirectAttributes">redirectAttributes.</param>
 public PaymentCardManagedRedirectRequest(PaymentCardPaymentMethod paymentMethod = default(PaymentCardPaymentMethod), string requestType = "PaymentCardManagedRedirectRequest", Amount transactionAmount = default(Amount), string storeId = default(string), string merchantTransactionId = default(string), ManagedRedirectTransactionType?transactionType = default(ManagedRedirectTransactionType?), Order order = default(Order), RedirectAttributes redirectAttributes = default(RedirectAttributes)) : base(requestType, transactionAmount, storeId, merchantTransactionId, transactionType, order, redirectAttributes)
 {
     this.PaymentMethod = paymentMethod;
 }