UNPKG

@lob/lob-typescript-sdk

Version:
102 lines (101 loc) 3.5 kB
/** * Lob * The Lob API is organized around REST. Our API is designed to have predictable, resource-oriented URLs and uses HTTP response codes to indicate any API errors. <p> Looking for our [previous documentation](https://lob.github.io/legacy-docs/)? * * The version of the OpenAPI document: 1.3.0 * Contact: lob-openapi@lob.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 * @class AddressDomestic */ export declare class AddressDomestic { constructor(input?: any); /** * The building number, street name, street suffix, and any street directionals. For US addresses, the max length is 64 characters. * @type {string} * @memberof AddressDomestic */ "address_line1"?: string; /** * The suite or apartment number of the recipient address, if applicable. For US addresses, the max length is 64 characters. * @type {string} * @memberof AddressDomestic */ "address_line2"?: string | null; /** * * @type {string} * @memberof AddressDomestic */ "address_city"?: string | null; /** * * @type {string} * @memberof AddressDomestic */ "address_state"?: string | null; /** * Optional postal code. For US addresses, must be either 5 or 9 digits. * @type {string} * @memberof AddressDomestic */ "address_zip"?: string | null; /** * An internal description that identifies this resource. Must be no longer than 255 characters. * @type {string} * @memberof AddressDomestic */ "description"?: string | null; /** * Either `name` or `company` is required, you may also add both. Must be no longer than 40 characters. If both `name` and `company` are provided, they will be printed on two separate lines above the rest of the address. * @type {string} * @memberof AddressDomestic */ "name"?: string | null; /** * Either `name` or `company` is required, you may also add both. * @type {string} * @memberof AddressDomestic */ "company"?: string | null; /** * Must be no longer than 40 characters. * @type {string} * @memberof AddressDomestic */ "phone"?: string | null; /** * Must be no longer than 100 characters. * @type {string} * @memberof AddressDomestic */ "email"?: string | null; /** * The country associated with this address. * @type {string} * @memberof AddressDomestic */ private "_address_country"?; get address_country(): string | null; set address_country(newValue: string | null); /** * Use metadata to store custom information for tagging and labeling back to your internal systems. Must be an object with up to 20 key-value pairs. Keys must be at most 40 characters and values must be at most 500 characters. Neither can contain the characters `\"` and `\\`. i.e. \'{\"customer_id\" : \"NEWYORK2015\"}\' Nested objects are not supported. See [Metadata](#section/Metadata) for more information. * @type {{ [key: string]: string; }} * @memberof AddressDomestic */ "metadata"?: { [key: string]: string; }; toJSON(): {}; } /** * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */