UNPKG

@adyen/api-library

Version:

The Adyen API Library for NodeJS enables you to work with Adyen APIs.

48 lines (47 loc) 1.61 kB
export declare class DeliveryAddress { /** * The name of the city. */ "city"?: string; /** * The two-character ISO-3166-1 alpha-2 country code. For example, **US**. >If you don\'t know the country or are not collecting the country from the shopper, provide `country` as `ZZ`. */ "country": string; /** * The name of the street. Do not include the number of the building. For example, if the address is Simon Carmiggeltstraat 6-50, provide **Simon Carmiggeltstraat**. */ "line1"?: string; /** * The number of the building. For example, if the address is Simon Carmiggeltstraat 6-50, provide **6-50**. */ "line2"?: string; /** * Additional information about the delivery address. */ "line3"?: string; /** * The postal code. Maximum length: * 5 digits for an address in the US. * 10 characters for an address in all other countries. */ "postalCode"?: string; /** * The state or province code, maximum 3 characters. For example, **CA** for California in the US or **ON** for Ontario in Canada. > Required for the US and Canada. */ "stateOrProvince"?: string; static readonly discriminator: string | undefined; static readonly mapping: { [index: string]: string; } | undefined; static readonly attributeTypeMap: Array<{ name: string; baseName: string; type: string; format: string; }>; static getAttributeTypeMap(): { name: string; baseName: string; type: string; format: string; }[]; constructor(); }