示例#1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="OrderResponseAllOf" /> class.
 /// </summary>
 /// <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="transactions">Required for some payment methods (for example, Klarna)..</param>
 /// <param name="additionalDetails">additionalDetails.</param>
 public OrderResponseAllOf(string orderId = default(string), Billing billing = default(Billing), Shipping shipping = default(Shipping), List <TransactionResponse> transactions = default(List <TransactionResponse>), AdditionalDetails additionalDetails = default(AdditionalDetails))
 {
     this.OrderId           = orderId;
     this.Billing           = billing;
     this.Shipping          = shipping;
     this.Transactions      = transactions;
     this.AdditionalDetails = additionalDetails;
 }
示例#2
0
文件: Order.cs 项目: mrtristan/DotNet
 /// <summary>
 /// Initializes a new instance of the <see cref="Order" /> class.
 /// </summary>
 /// <param name="orderId">Client Order ID if supplied by client..</param>
 /// <param name="billing">billing.</param>
 /// <param name="shipping">shipping.</param>
 /// <param name="industrySpecificExtensions">industrySpecificExtensions.</param>
 /// <param name="purchaseCard">purchaseCard.</param>
 /// <param name="installmentOptions">installmentOptions.</param>
 /// <param name="softDescriptor">softDescriptor.</param>
 /// <param name="additionalDetails">additionalDetails.</param>
 /// <param name="bancontactQR">bancontactQR.</param>
 public Order(string orderId = default(string), Billing billing = default(Billing), Shipping shipping = default(Shipping), IndustrySpecificExtensions industrySpecificExtensions = default(IndustrySpecificExtensions), PurchaseCards purchaseCard = default(PurchaseCards), InstallmentOptions installmentOptions = default(InstallmentOptions), SoftDescriptor softDescriptor = default(SoftDescriptor), AdditionalDetails additionalDetails = default(AdditionalDetails), BancontactQR bancontactQR = default(BancontactQR))
 {
     this.OrderId  = orderId;
     this.Billing  = billing;
     this.Shipping = shipping;
     this.IndustrySpecificExtensions = industrySpecificExtensions;
     this.PurchaseCard       = purchaseCard;
     this.InstallmentOptions = installmentOptions;
     this.SoftDescriptor     = softDescriptor;
     this.AdditionalDetails  = additionalDetails;
     this.BancontactQR       = bancontactQR;
 }
示例#3
0
文件: Order.cs 项目: GBSEcom/DotNet
 /// <summary>
 /// Initializes a new instance of the <see cref="Order" /> class.
 /// </summary>
 /// <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="industrySpecificExtensions">industrySpecificExtensions.</param>
 /// <param name="purchaseCard">purchaseCard.</param>
 /// <param name="installmentOptions">installmentOptions.</param>
 /// <param name="revolvingOptions">revolvingOptions.</param>
 /// <param name="standInDetails">standInDetails.</param>
 /// <param name="softDescriptor">softDescriptor.</param>
 /// <param name="additionalDetails">additionalDetails.</param>
 /// <param name="bancontactQR">bancontactQR.</param>
 /// <param name="clientLocale">clientLocale.</param>
 public Order(string orderId = default(string), Billing billing = default(Billing), Shipping shipping = default(Shipping), IndustrySpecificExtensions industrySpecificExtensions = default(IndustrySpecificExtensions), PurchaseCards purchaseCard = default(PurchaseCards), InstallmentOptions installmentOptions = default(InstallmentOptions), RevolvingOptions revolvingOptions = default(RevolvingOptions), StandInDetails standInDetails = default(StandInDetails), SoftDescriptor softDescriptor = default(SoftDescriptor), AdditionalDetails additionalDetails = default(AdditionalDetails), BancontactQR bancontactQR = default(BancontactQR), ClientLocale clientLocale = default(ClientLocale))
 {
     this.OrderId  = orderId;
     this.Billing  = billing;
     this.Shipping = shipping;
     this.IndustrySpecificExtensions = industrySpecificExtensions;
     this.PurchaseCard       = purchaseCard;
     this.InstallmentOptions = installmentOptions;
     this.RevolvingOptions   = revolvingOptions;
     this.StandInDetails     = standInDetails;
     this.SoftDescriptor     = softDescriptor;
     this.AdditionalDetails  = additionalDetails;
     this.BancontactQR       = bancontactQR;
     this.ClientLocale       = clientLocale;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="PaymentMethodPaymentSchedulesRequest" /> class.
 /// </summary>
 /// <param name="paymentMethod">paymentMethod (required).</param>
 /// <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">Client order ID if supplied by client..</param>
 /// <param name="billing">billing.</param>
 /// <param name="shipping">shipping.</param>
 /// <param name="comments">User supplied comments..</param>
 public PaymentMethodPaymentSchedulesRequest(PaymentCardPaymentMethod paymentMethod = default(PaymentCardPaymentMethod), 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 = null, 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)) : base(requestType, storeId, startDate, numberOfPayments, maximumFailures, invoiceNumber, purchaseOrderNumber, transactionOrigin, dynamicMerchantName, frequency, transactionAmount, clientLocale, orderId, billing, shipping, comments)
 {
     // to ensure "paymentMethod" is required (not null)
     this.PaymentMethod = paymentMethod ?? throw new ArgumentNullException("paymentMethod is a required property for PaymentMethodPaymentSchedulesRequest and cannot be null");
 }
示例#5
0
 /// <summary>
 /// Initializes a new instance of the <see cref="OrderResponse" /> 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="orderId">Client order ID if supplied by client, otherwise the order ID..</param>
 /// <param name="billing">billing.</param>
 /// <param name="shipping">shipping.</param>
 /// <param name="transactions">Required for some payment methods (for example, Klarna)..</param>
 /// <param name="additionalDetails">additionalDetails.</param>
 public OrderResponse(string clientRequestId = default(string), string apiTraceId = default(string), ResponseType?responseType = null, string orderId = default(string), Billing billing = default(Billing), Shipping shipping = default(Shipping), List <TransactionResponse> transactions = default(List <TransactionResponse>), AdditionalDetails additionalDetails = default(AdditionalDetails))
 {
     this.ClientRequestId   = clientRequestId;
     this.ApiTraceId        = apiTraceId;
     this.ResponseType      = responseType;
     this.OrderId           = orderId;
     this.Billing           = billing;
     this.Shipping          = shipping;
     this.Transactions      = transactions;
     this.AdditionalDetails = additionalDetails;
 }
示例#6
0
 /// <summary>
 /// Initializes a new instance of the <see cref="PaymentUrlRequest" /> class.
 /// </summary>
 /// <param name="storeId">An optional Outlet ID for clients that support multiple stores in the same developer app..</param>
 /// <param name="clientLocale">clientLocale.</param>
 /// <param name="transactionAmount">transactionAmount (required).</param>
 /// <param name="transactionType">transactionType (required).</param>
 /// <param name="orderId">Client order ID if supplied by client, otherwise the order ID..</param>
 /// <param name="billing">billing.</param>
 /// <param name="shipping">shipping.</param>
 /// <param name="transactionNotificationURL">URL for notifying merchant of payment result..</param>
 /// <param name="expiration">Time until payment URL expires..</param>
 /// <param name="authenticateTransaction">If 3D secure should be applied..</param>
 /// <param name="dynamicMerchantName">Dynamic merchant name for the cardholder&#39;s statement..</param>
 /// <param name="invoiceNumber">Invoice number..</param>
 /// <param name="purchaseOrderNumber">Purchase order number..</param>
 /// <param name="hostedPaymentPageText">The text to be displayed to the payer on the hosted payment page..</param>
 /// <param name="ip">IPv4 or IPv6 network address..</param>
 public PaymentUrlRequest(string storeId = default(string), ClientLocale clientLocale = default(ClientLocale), Amount transactionAmount = default(Amount), TransactionType transactionType = default(TransactionType), string orderId = default(string), Billing billing = default(Billing), Shipping shipping = default(Shipping), string transactionNotificationURL = default(string), long expiration = default(long), bool authenticateTransaction = default(bool), string dynamicMerchantName = default(string), string invoiceNumber = default(string), string purchaseOrderNumber = default(string), string hostedPaymentPageText = default(string), string ip = default(string))
 {
     // to ensure "transactionAmount" is required (not null)
     this.TransactionAmount          = transactionAmount ?? throw new ArgumentNullException("transactionAmount is a required property for PaymentUrlRequest and cannot be null");
     this.TransactionType            = transactionType;
     this.StoreId                    = storeId;
     this.ClientLocale               = clientLocale;
     this.OrderId                    = orderId;
     this.Billing                    = billing;
     this.Shipping                   = shipping;
     this.TransactionNotificationURL = transactionNotificationURL;
     this.Expiration                 = expiration;
     this.AuthenticateTransaction    = authenticateTransaction;
     this.DynamicMerchantName        = dynamicMerchantName;
     this.InvoiceNumber              = invoiceNumber;
     this.PurchaseOrderNumber        = purchaseOrderNumber;
     this.HostedPaymentPageText      = hostedPaymentPageText;
     this.Ip = ip;
 }
 /// <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">Client order ID if supplied by client..</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 = null, 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;
 }