@adyen/api-library
Version:
The Adyen API Library for NodeJS enables you to work with Adyen APIs.
44 lines (43 loc) • 1.72 kB
TypeScript
export declare class Address {
/**
* The name of the city. Supported characters: **[a-z] [A-Z] [0-9] . - — / # , ’ ° ( ) : ; [ ] & \\ |** and Space. > Required when the `category` is **card**.
*/
"city"?: string;
/**
* The two-character ISO 3166-1 alpha-2 country code. For example, **US**, **NL**, or **GB**.
*/
"country": string;
/**
* The first line of the street address. Supported characters: **[a-z] [A-Z] [0-9] . - — / # , ’ ° ( ) : ; [ ] & \\ |** and Space. > Required when the `category` is **card**.
*/
"line1"?: string;
/**
* The second line of the street address. Supported characters: **[a-z] [A-Z] [0-9] . - — / # , ’ ° ( ) : ; [ ] & \\ |** and Space. > Required when the `category` is **card**.
*/
"line2"?: string;
/**
* The postal code. Maximum length: * 5 digits for an address in the US. * 10 characters for an address in all other countries. Supported characters: **[a-z] [A-Z] [0-9]** and Space. > Required for addresses in the US.
*/
"postalCode"?: string;
/**
* The two-letter 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;
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();
}