@adyen/api-library
Version:
The Adyen API Library for NodeJS enables you to work with Adyen APIs.
46 lines (45 loc) • 1.55 kB
TypeScript
export declare class DeliveryAddress {
/**
* The name of the city. Maximum length: 3000 characters.
*/
"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;
"firstName"?: string;
/**
* The number or name of the house. Maximum length: 3000 characters.
*/
"houseNumberOrName": string;
"lastName"?: string;
/**
* A maximum of five digits for an address in the US, or a maximum of ten characters for an address in all other countries.
*/
"postalCode": string;
/**
* The two-character ISO 3166-2 state or province code. For example, **CA** in the US or **ON** in Canada. > Required for the US and Canada.
*/
"stateOrProvince"?: string;
/**
* The name of the street. Maximum length: 3000 characters. > The house number should not be included in this field; it should be separately provided via `houseNumberOrName`.
*/
"street": string;
static readonly discriminator: string | undefined;
static readonly mapping: {
[]: 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();
}