UNPKG

@paciolan/cybersource-sdk

Version:
55 lines (54 loc) 2.85 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 Vasv2taxOrderInformationBillTo */ export interface Vasv2taxOrderInformationBillTo { /** * First line of the billing street address. #### Tax Calculation Required for U.S. and Canadian taxes. Not applicable to international and value added taxes. * @type {string} * @memberof Vasv2taxOrderInformationBillTo */ address1?: string; /** * Second line of the billing street address. #### Tax Calculation Optional for U.S. and Canadian taxes. Not applicable to international and value added taxes. * @type {string} * @memberof Vasv2taxOrderInformationBillTo */ address2?: string; /** * Credit card billing city. #### Tax Calculation Required for U.S. and Canadian taxes only. Not applicable to international and value added taxes. * @type {string} * @memberof Vasv2taxOrderInformationBillTo */ locality?: string; /** * Credit card billing state or province. #### Tax Calculation Required for U.S. and Canadian taxes. Not applicable to international and value added taxes. * @type {string} * @memberof Vasv2taxOrderInformationBillTo */ administrativeArea?: string; /** * Postal code for the billing address. The postal code must consist of 5 to 9 digits. If the billing country is the U.S., the 9-digit postal code must follow this format: [5 digits][dash][4 digits] **Example**: 12345-6789 If the billing country is Canada, the 6-digit postal code must follow this format: [alpha][numeric][alpha] [numeric][alpha][numeric] **Example**: A1B 2C3 #### Tax Calculation Required for U.S. and Canadian taxes. Not applicable to international and value added taxes. * @type {string} * @memberof Vasv2taxOrderInformationBillTo */ postalCode?: string; /** * Credit card billing country. Use the [ISO Standard Country Codes](https://developer.cybersource.com/library/documentation/sbc/quickref/countries_alpha_list.pdf). If `orderInformation.shipTo.country` is not provided, `orderInformation.billTo.country` is used in its place. If `orderInformation.billTo.country` is set to `US` or `CA`, then `orderInformation.billTo.postalCode` and `orderInformation.billTo.administrativeArea` are also required. #### Tax Calculation Required for U.S., Canadian, international and value added taxes. * @type {string} * @memberof Vasv2taxOrderInformationBillTo */ country?: string; }