コード例 #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="PaymentTokenizationResponse" /> 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="requestStatus">The status of the request..</param>
 /// <param name="requestTime">Time of the request..</param>
 /// <param name="brand">Card brand..</param>
 /// <param name="country">Country of the card issued..</param>
 /// <param name="paymentToken">paymentToken.</param>
 /// <param name="paymentCard">paymentCard.</param>
 /// <param name="processor">processor.</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="ipgTransactionId">The response transaction ID..</param>
 /// <param name="merchantTransactionId">The unique merchant transaction ID from the request header, if supplied..</param>
 /// <param name="additionalResponseData">additionalResponseData.</param>
 public PaymentTokenizationResponse(string clientRequestId = default(string), string apiTraceId = default(string), ResponseType?responseType = default(ResponseType?), RequestStatusEnum?requestStatus = default(RequestStatusEnum?), long requestTime = default(long), string brand = default(string), string country = default(string), PaymentTokenDetails paymentToken = default(PaymentTokenDetails), PaymentCard paymentCard = default(PaymentCard), ProcessorData processor = default(ProcessorData), string orderId = default(string), string ipgTransactionId = default(string), string merchantTransactionId = default(string), AdditionalResponseData additionalResponseData = default(AdditionalResponseData))
 {
     this.ClientRequestId        = clientRequestId;
     this.ApiTraceId             = apiTraceId;
     this.ResponseType           = responseType;
     this.RequestStatus          = requestStatus;
     this.RequestTime            = requestTime;
     this.Brand                  = brand;
     this.Country                = country;
     this.PaymentToken           = paymentToken;
     this.PaymentCard            = paymentCard;
     this.Processor              = processor;
     this.OrderId                = orderId;
     this.IpgTransactionId       = ipgTransactionId;
     this.MerchantTransactionId  = merchantTransactionId;
     this.AdditionalResponseData = additionalResponseData;
 }
コード例 #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="AdditionalTransactionDetails" /> class.
 /// </summary>
 /// <param name="comments">Comment for the payment..</param>
 /// <param name="invoiceNumber">Invoice number..</param>
 /// <param name="purchaseOrderNumber">Purchase order number..</param>
 /// <param name="disbursementTransType">The type of debit disbursement transaction..</param>
 /// <param name="walletProvider">The wallet provider type..</param>
 /// <param name="receipts">Provides receipt response data, if it has been requested..</param>
 /// <param name="additionalResponseData">additionalResponseData.</param>
 public AdditionalTransactionDetails(string comments = default(string), string invoiceNumber = default(string), string purchaseOrderNumber = default(string), DisbursementTransTypeEnum?disbursementTransType = default(DisbursementTransTypeEnum?), WalletProviderEnum?walletProvider = default(WalletProviderEnum?), List <Receipt> receipts = default(List <Receipt>), AdditionalResponseData additionalResponseData = default(AdditionalResponseData))
 {
     this.Comments               = comments;
     this.InvoiceNumber          = invoiceNumber;
     this.PurchaseOrderNumber    = purchaseOrderNumber;
     this.DisbursementTransType  = disbursementTransType;
     this.WalletProvider         = walletProvider;
     this.Receipts               = receipts;
     this.AdditionalResponseData = additionalResponseData;
 }