UNPKG

@paciolan/cybersource-sdk

Version:
57 lines (56 loc) 3.88 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 { Ptsv2paymentsMerchantInformationMerchantDescriptor } from './ptsv2payments-merchant-information-merchant-descriptor'; import { Ptsv2paymentsMerchantInformationServiceFeeDescriptor } from './ptsv2payments-merchant-information-service-fee-descriptor'; /** * * @export * @interface Ptsv2paymentsidcapturesMerchantInformation */ export interface Ptsv2paymentsidcapturesMerchantInformation { /** * * @type {Ptsv2paymentsMerchantInformationMerchantDescriptor} * @memberof Ptsv2paymentsidcapturesMerchantInformation */ merchantDescriptor?: Ptsv2paymentsMerchantInformationMerchantDescriptor; /** * Reference number that facilitates card acceptor/corporation communication and record keeping. For processor-specific information, see the `card_acceptor_ref_number` field description in [Level II and Level III Processing Using the SCMP API.](http://apps.cybersource.com/library/documentation/dev_guides/Level_2_3_SCMP_API/html) * @type {string} * @memberof Ptsv2paymentsidcapturesMerchantInformation */ cardAcceptorReferenceNumber?: string; /** * The value for this field is a four-digit number that the payment card industry uses to classify merchants into market segments. A payment card company assigned one or more of these values to your business when you started accepting the payment card company's cards. When you do not include this field in your request, CyberSource uses the value in your CyberSource account. For processor-specific information, see the `merchant_category_code` field description in [Credit Card Services Using the SCMP API.](http://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html) #### CyberSource through VisaNet The value for this field corresponds to the following data in the TC 33 capture file5: - Record: CP01 TCR4 - Position: 150-153 - Field: Merchant Category Code * @type {number} * @memberof Ptsv2paymentsidcapturesMerchantInformation */ categoryCode?: number; /** * Your government-assigned tax identification number. #### Tax Calculation Required field for value added tax only. Not applicable to U.S. and Canadian taxes. #### CyberSource through VisaNet For CtV processors, the maximum length is 20. For other processor-specific information, see the `merchant_vat_registration_number` field description in [Level II and Level III Processing Using the SCMP API.](http://apps.cybersource.com/library/documentation/dev_guides/Level_2_3_SCMP_API/html) * @type {string} * @memberof Ptsv2paymentsidcapturesMerchantInformation */ vatRegistrationNumber?: string; /** * * @type {Ptsv2paymentsMerchantInformationServiceFeeDescriptor} * @memberof Ptsv2paymentsidcapturesMerchantInformation */ serviceFeeDescriptor?: Ptsv2paymentsMerchantInformationServiceFeeDescriptor; /** * Your Cadastro Nacional da Pessoa Jurídica (CNPJ) number. This field is supported only for BNDES transactions on CyberSource through VisaNet. The value for this field corresponds to the following data in the TC 33 capture file5: - Record: CP07 TCR6 - Position: 40-59 - Field: BNDES Reference Field 1 For details, see `bill_merchant_tax_id` field description in the [Credit Card Services Using the SCMP API.](https://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html/) * @type {string} * @memberof Ptsv2paymentsidcapturesMerchantInformation */ taxId?: string; }