@paciolan/cybersource-sdk
Version:
CyberSource REST API Typescript SDK
85 lines (84 loc) • 3.17 kB
TypeScript
/**
* 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 Tmsv2customersEmbeddedDefaultShippingAddressShipTo
*/
export interface Tmsv2customersEmbeddedDefaultShippingAddressShipTo {
/**
* First name of the recipient.
* @type {string}
* @memberof Tmsv2customersEmbeddedDefaultShippingAddressShipTo
*/
firstName?: string;
/**
* Last name of the recipient.
* @type {string}
* @memberof Tmsv2customersEmbeddedDefaultShippingAddressShipTo
*/
lastName?: string;
/**
* Company associated with the shipping address.
* @type {string}
* @memberof Tmsv2customersEmbeddedDefaultShippingAddressShipTo
*/
company?: string;
/**
* First line of the shipping address.
* @type {string}
* @memberof Tmsv2customersEmbeddedDefaultShippingAddressShipTo
*/
address1?: string;
/**
* Second line of the shipping address.
* @type {string}
* @memberof Tmsv2customersEmbeddedDefaultShippingAddressShipTo
*/
address2?: string;
/**
* City of the shipping address.
* @type {string}
* @memberof Tmsv2customersEmbeddedDefaultShippingAddressShipTo
*/
locality?: string;
/**
* State or province of the shipping address. Use 2 character the State, Province, and Territory Codes for the United States and Canada.
* @type {string}
* @memberof Tmsv2customersEmbeddedDefaultShippingAddressShipTo
*/
administrativeArea?: string;
/**
* Postal code for the shipping address. The postal code must consist of 5 to 9 digits. When the billing country is the U.S., the 9-digit postal code must follow this format: [5 digits][dash][4 digits] Example 12345-6789 When the billing country is Canada, the 6-digit postal code must follow this format: [alpha][numeric][alpha][space][numeric][alpha][numeric] Example A1B 2C3 **American Express Direct**\\ Before sending the postal code to the processor, all nonalphanumeric characters are removed and, if the remaining value is longer than nine characters, truncates the value starting from the right side.
* @type {string}
* @memberof Tmsv2customersEmbeddedDefaultShippingAddressShipTo
*/
postalCode?: string;
/**
* Country of the shipping address. Use the two-character ISO Standard Country Codes.
* @type {string}
* @memberof Tmsv2customersEmbeddedDefaultShippingAddressShipTo
*/
country?: string;
/**
* Email associated with the shipping address.
* @type {string}
* @memberof Tmsv2customersEmbeddedDefaultShippingAddressShipTo
*/
email?: string;
/**
* Phone number associated with the shipping address.
* @type {string}
* @memberof Tmsv2customersEmbeddedDefaultShippingAddressShipTo
*/
phoneNumber?: string;
}