@apideck/node
Version:
Apideck Node.js SDK
79 lines (78 loc) • 2.19 kB
TypeScript
/**
* Apideck
* The Apideck OpenAPI Spec: SDK Optimized
*
* The version of the OpenAPI document: 10.13.0
* Contact: support@apideck.com
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
/**
*
* @export
* @interface EcommerceCustomerAddresses
*/
export interface EcommerceCustomerAddresses {
/**
*
* @type {string}
* @memberof EcommerceCustomerAddresses
*/
type?: EcommerceCustomerAddressesType;
/**
* A unique identifier for an object.
* @type {string}
* @memberof EcommerceCustomerAddresses
*/
readonly id?: string | null;
/**
* First line of the street address of the customer
* @type {string}
* @memberof EcommerceCustomerAddresses
*/
line1?: string | null;
/**
* Second line of the street address of the customer
* @type {string}
* @memberof EcommerceCustomerAddresses
*/
line2?: string | null;
/**
* City of the customer
* @type {string}
* @memberof EcommerceCustomerAddresses
*/
city?: string | null;
/**
* State of the customer
* @type {string}
* @memberof EcommerceCustomerAddresses
*/
state?: string | null;
/**
* Postal code of the customer
* @type {string}
* @memberof EcommerceCustomerAddresses
*/
postal_code?: string | null;
/**
* Country of the customer
* @type {string}
* @memberof EcommerceCustomerAddresses
*/
country?: string | null;
}
/**
* @export
* @enum {string}
*/
export declare enum EcommerceCustomerAddressesType {
billing = "billing",
shipping = "shipping",
other = "other"
}
export declare function EcommerceCustomerAddressesFromJSON(json: any): EcommerceCustomerAddresses;
export declare function EcommerceCustomerAddressesFromJSONTyped(json: any, ignoreDiscriminator: boolean): EcommerceCustomerAddresses;
export declare function EcommerceCustomerAddressesToJSON(value?: EcommerceCustomerAddresses | null): any;