Esempio n. 1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="TransactionResponse" /> class.
 /// </summary>
 /// <param name="clientRequestId">Echoes back the value in the request header for tracking..</param>
 /// <param name="apiTraceId">Request identifier in API, can be used to request logs from the support team..</param>
 /// <param name="responseType">responseType.</param>
 /// <param name="ipgTransactionId">The response transaction ID..</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="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="paymentAccountReferenceNumber">Payment Account Reference Number from response, if supplied..</param>
 /// <param name="secure3dResponse">secure3dResponse.</param>
 /// <param name="standinResponseDetails">standinResponseDetails.</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>
 /// <param name="steps">Steps to be performed by the payer..</param>
 public TransactionResponse(string clientRequestId = default(string), string apiTraceId = default(string), ResponseType?responseType = default(ResponseType?), string ipgTransactionId = default(string), string orderId = default(string), TransactionType?transactionType = default(TransactionType?), PaymentTokenDetails paymentToken = default(PaymentTokenDetails), TransactionOrigin?transactionOrigin = default(TransactionOrigin?), 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 = default(TransactionStatusEnum?), TransactionStateEnum?transactionState = default(TransactionStateEnum?), string paymentAccountReferenceNumber = default(string), Secure3dResponse secure3dResponse = default(Secure3dResponse), StandinResponseDetails standinResponseDetails = default(StandinResponseDetails), 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), List <PaymentStepRequest> steps = default(List <PaymentStepRequest>))
 {
     this.ClientRequestId               = clientRequestId;
     this.ApiTraceId                    = apiTraceId;
     this.ResponseType                  = responseType;
     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.PaymentAccountReferenceNumber = paymentAccountReferenceNumber;
     this.Secure3dResponse              = secure3dResponse;
     this.StandinResponseDetails        = standinResponseDetails;
     this.RedirectURL                   = redirectURL;
     this.AuthenticationResponse        = authenticationResponse;
     this.SchemeTransactionId           = schemeTransactionId;
     this.Processor                     = processor;
     this.AdditionalDetails             = additionalDetails;
     this.AccountUpdaterResponse        = accountUpdaterResponse;
     this.AchResponse                   = achResponse;
     this.CurrencyConversionResponse    = currencyConversionResponse;
     this.Steps = steps;
 }
Esempio n. 2
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;
 }