@adyen/api-library
Version:
The Adyen API Library for NodeJS enables you to work with Adyen APIs.
44 lines (43 loc) • 1.54 kB
TypeScript
export declare class Address {
/**
* The name of the city. Required if `stateOrProvince` is provided. If you specify the city, you must also send `postalCode` and `street`.
*/
"city"?: string;
/**
* The two-letter [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country code.
*/
"country": string;
/**
* The postal code. Required if `stateOrProvince` and/or `city` is provided. When using alphanumeric postal codes, all letters must be uppercase. For example, 1234 AB or SW1A 1AA.
*/
"postalCode"?: string;
/**
* The two-letter ISO 3166-2 state or province code. For example, **CA** in the US. Required for Australia and New Zealand. If you specify the state or province, you must also send `city`, `postalCode`, and `street`.
*/
"stateOrProvince"?: string;
/**
* The name of the street, and the house or building number. Required if `stateOrProvince` and/or `city` is provided.
*/
"street"?: string;
/**
* The apartment, unit, or suite number.
*/
"street2"?: 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();
}