UNPKG

@paciolan/cybersource-sdk

Version:
87 lines (86 loc) 6.08 kB
/** * CyberSource Merged Spec * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html * * OpenAPI spec version: 0.0.1 * * * NOTE: This class is auto generated by the swagger code generator program. * https://github.com/swagger-api/swagger-codegen.git * Do not edit the class manually. */ import { Ptsv2paymentsidrefundsProcessingInformationRecurringOptions } from './ptsv2paymentsidrefunds-processing-information-recurring-options'; import { Ptsv2paymentsidrefundsProcessingInformationRefundOptions } from './ptsv2paymentsidrefunds-processing-information-refund-options'; /** * * @export * @interface Ptsv2paymentsidrefundsProcessingInformation */ export interface Ptsv2paymentsidrefundsProcessingInformation { /** * Array of actions (one or more) to be included in the payment to invoke bundled services along with payment status. Possible values are one or more of follows: - `AP_REFUND`: Use this when Alternative Payment Refund service is requested. * @type {Array<string>} * @memberof Ptsv2paymentsidrefundsProcessingInformation */ actionList?: Array<string>; /** * Type of digital payment solution for the transaction. Possible Values: - `visacheckout`: Visa Checkout. This value is required for Visa Checkout transactions. For details, see `payment_solution` field description in [Visa Checkout Using the SCMP API.](https://apps.cybersource.com/library/documentation/dev_guides/VCO_SCMP_API/html/) - `001`: Apple Pay. - `004`: Cybersource In-App Solution. - `005`: Masterpass. This value is required for Masterpass transactions on OmniPay Direct. For details, see \"Masterpass\" in the [Credit Card Services Using the SCMP API Guide.](https://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html/) - `006`: Android Pay. - `007`: Chase Pay. - `008`: Samsung Pay. - `012`: Google Pay. - `013`: Cybersource P2PE Decryption - `014`: Mastercard credential on file (COF) payment network token. Returned in authorizations that use a payment network token associated with a TMS token. - `015`: Visa credential on file (COF) payment network token. Returned in authorizations that use a payment network token associated with a TMS token. - `027`: Click to Pay. * @type {string} * @memberof Ptsv2paymentsidrefundsProcessingInformation */ paymentSolution?: string; /** * Please check with Cybersource customer support to see if your merchant account is configured correctly so you can include this field in your request. * For Payouts: max length for FDCCompass is String (22). * @type {string} * @memberof Ptsv2paymentsidrefundsProcessingInformation */ reconciliationId?: string; /** * Value that links the current authorization request to the original authorization request. Set this value to the ID that was returned in the reply message from the original authorization request. This value is used for: - Partial authorizations - Split shipments For details, see `link_to_request` field description in [Credit Card Services Using the SCMP API.](https://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html/) * @type {string} * @memberof Ptsv2paymentsidrefundsProcessingInformation */ linkId?: string; /** * Attribute that lets you define custom grouping for your processor reports. This field is supported only for **Worldpay VAP**. For details, see `report_group` field description in [Credit Card Services Using the SCMP API.](https://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html/) * @type {string} * @memberof Ptsv2paymentsidrefundsProcessingInformation */ reportGroup?: string; /** * Identifier for the **Visa Checkout** order. Visa Checkout provides a unique order ID for every transaction in the Visa Checkout **callID** field. * @type {string} * @memberof Ptsv2paymentsidrefundsProcessingInformation */ visaCheckoutId?: string; /** * Set this field to 3 to indicate that the request includes Level III data. * @type {string} * @memberof Ptsv2paymentsidrefundsProcessingInformation */ purchaseLevel?: string; /** * * @type {Ptsv2paymentsidrefundsProcessingInformationRecurringOptions} * @memberof Ptsv2paymentsidrefundsProcessingInformation */ recurringOptions?: Ptsv2paymentsidrefundsProcessingInformationRecurringOptions; /** * Indicates that the transaction includes industry-specific data. Possible Values: - `airline` - `restaurant` - `lodging` - `auto_rental` - `transit` - `healthcare_medical` - `healthcare_transit` - `transit` #### Card Present, Airlines and Auto Rental You must set this field to `airline` in order for airline data to be sent to the processor. For example, if this field is not set to `airline` or is not included in the request, no airline data is sent to the processor. You must set this field to `restaurant` in order for restaurant data to be sent to the processor. When this field is not set to `restaurant` or is not included in the request, no restaurant data is sent to the processor. You must set this field to `auto_rental` in order for auto rental data to be sent to the processor. For example, if this field is not set to `auto_rental` or is not included in the request, no auto rental data is sent to the processor. Restaurant data is supported only on CyberSource through VisaNet. * @type {string} * @memberof Ptsv2paymentsidrefundsProcessingInformation */ industryDataType?: string; /** * Identifier for the payment type * @type {string} * @memberof Ptsv2paymentsidrefundsProcessingInformation */ paymentType?: string; /** * * @type {Ptsv2paymentsidrefundsProcessingInformationRefundOptions} * @memberof Ptsv2paymentsidrefundsProcessingInformation */ refundOptions?: Ptsv2paymentsidrefundsProcessingInformationRefundOptions; }