UNPKG

@paciolan/cybersource-sdk

Version:
103 lines (102 loc) 4.96 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. */ /** * * @export * @interface Ptsv2paymentsProcessingInformationJapanPaymentOptions */ export interface Ptsv2paymentsProcessingInformationJapanPaymentOptions { /** * This value is a 2-digit code indicating the payment method. Use Payment Method Code value that applies to the tranasction. - 10 (One-time payment) - 21, 22, 23, 24 (Bonus(one-time)payment) - 61 (Installment payment) - 31, 32, 33, 34 (Integrated (Bonus + Installment)payment) - 80 (Revolving payment) * @type {string} * @memberof Ptsv2paymentsProcessingInformationJapanPaymentOptions */ paymentMethod?: string; /** * This value is a 2-digit code indicating the Number of Bonuses. Valid value from 1 to 6. * @type {string} * @memberof Ptsv2paymentsProcessingInformationJapanPaymentOptions */ bonuses?: string; /** * This value is a 2-digit code indicating the first bonus month. Valid value from 1 to 12. * @type {string} * @memberof Ptsv2paymentsProcessingInformationJapanPaymentOptions */ bonusMonth?: string; /** * This value is a 2-digit code indicating the second bonus month. Valid value from 1 to 12. * @type {string} * @memberof Ptsv2paymentsProcessingInformationJapanPaymentOptions */ secondBonusMonth?: string; /** * This value contains the bonus amount of the first month. Maximum value without decimal 99999999. * @type {string} * @memberof Ptsv2paymentsProcessingInformationJapanPaymentOptions */ bonusAmount?: string; /** * This value contains the bonus amount of the second month. Maximum value without decimal 99999999. * @type {string} * @memberof Ptsv2paymentsProcessingInformationJapanPaymentOptions */ secondBonusAmount?: string; /** * This will contain the details of the kind of transaction that has been processe. Used only for Japan. Possible Values: - 0 = Normal (authorization with amount and clearing/settlement; data capture or paper draft) - 1 = Negative card authorization (authorization-only with 0 or 1 amount) - 2 = Reservation of authorization (authorization-only with amount) - 3 = Cancel transaction - 4 = Merchant-initiated reversal/refund transactions - 5 = Cancel reservation of authorization - 6 = Post authorization * @type {string} * @memberof Ptsv2paymentsProcessingInformationJapanPaymentOptions */ preapprovalType?: string; /** * Number of Installments. * @type {string} * @memberof Ptsv2paymentsProcessingInformationJapanPaymentOptions */ installments?: string; /** * Unique Japan Credit Card Association (JCCA) terminal identifier. The difference between this field and the `pointOfSaleInformation.terminalID` field is that you can define `pointOfSaleInformation.terminalID`, but `processingInformation.japanPaymentOptions.terminalId` is defined by the JCCA and is used only in Japan. This field is supported only on CyberSource through VisaNet and JCN Gateway. Optional field. * @type {string} * @memberof Ptsv2paymentsProcessingInformationJapanPaymentOptions */ terminalId?: string; /** * Billing month in MM format. * @type {string} * @memberof Ptsv2paymentsProcessingInformationJapanPaymentOptions */ firstBillingMonth?: string; /** * Business name in Japanese characters. This field is supported only on JCN Gateway and for the Sumitomo Mitsui Card Co. acquirer on CyberSource through VisaNet. * @type {string} * @memberof Ptsv2paymentsProcessingInformationJapanPaymentOptions */ businessName?: string; /** * Business name in Katakana characters. This field is supported only on JCN Gateway and for the Sumitomo Mitsui Card Co. acquirer on CyberSource through VisaNet. * @type {string} * @memberof Ptsv2paymentsProcessingInformationJapanPaymentOptions */ businessNameKatakana?: string; /** * Japanese Industrial Standard Type 2 (JIS2) track data from the front of the card. This field is supported only on CyberSource through VisaNet and JCN Gateway. Optional field. * @type {string} * @memberof Ptsv2paymentsProcessingInformationJapanPaymentOptions */ jis2TrackData?: string; /** * Business name in alphanumeric characters. This field is supported only on JCN Gateway and for the Sumitomo Mitsui Card Co. acquirer on CyberSource through VisaNet. * @type {string} * @memberof Ptsv2paymentsProcessingInformationJapanPaymentOptions */ businessNameAlphaNumeric?: string; }