UNPKG

@paciolan/cybersource-sdk

Version:
61 lines (60 loc) 3.17 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 Ptsv2paymentsOrderInformationBillToCompany */ export interface Ptsv2paymentsOrderInformationBillToCompany { /** * Name of the customer's company. **CyberSource through VisaNet** Credit card networks cannot process transactions that contain non-ASCII characters. CyberSource through VisaNet accepts and stores non-ASCII characters correctly and displays them correctly in reports. However, the limitations of the credit card networks prevent CyberSource through VisaNet from transmitting non-ASCII characters to the credit card networks. Therefore, CyberSource through VisaNet replaces non-ASCII characters with meaningless ASCII characters for transmission to the credit card networks. For processor-specific information, see the `company_name` field in [Credit Card Services Using the SCMP API.](http://apps.cybersource.com/library/documentation/dev_guides/CC_Svcs_SCMP_API/html) * @type {string} * @memberof Ptsv2paymentsOrderInformationBillToCompany */ name?: string; /** * First line in the street address of the company purchasing the product. * @type {string} * @memberof Ptsv2paymentsOrderInformationBillToCompany */ address1?: string; /** * Additional address information for the company purchasing the product. * @type {string} * @memberof Ptsv2paymentsOrderInformationBillToCompany */ address2?: string; /** * City in the address of the company purchasing the product. * @type {string} * @memberof Ptsv2paymentsOrderInformationBillToCompany */ locality?: string; /** * State or province in the address of the company purchasing the product. Use the State, Province, and Territory Codes for the United States and Canada. * @type {string} * @memberof Ptsv2paymentsOrderInformationBillToCompany */ administrativeArea?: string; /** * Postal code in the address of the company purchasing the product. The postal code must consist of 5 to 9 digits. When the company country is the U.S., the 9-digit postal code must follow this format: **[5 digits][dash][4 digits]** #### Example `12345-6789` When the company country is Canada, the 6-digit postal code must follow this format: **[alpha][numeric][alpha][space][numeric][alpha][numeric]** #### Example `A1B 2C3` * @type {string} * @memberof Ptsv2paymentsOrderInformationBillToCompany */ postalCode?: string; /** * Country in the address of the company purchasing the product. Use the [ISO Standard Country Codes](https://developer.cybersource.com/library/documentation/sbc/quickref/countries_alpha_list.pdf). * @type {string} * @memberof Ptsv2paymentsOrderInformationBillToCompany */ country?: string; }