@adyen/api-library
Version:
The Adyen API Library for NodeJS enables you to work with Adyen APIs.
51 lines (50 loc) • 2.41 kB
TypeScript
import { Destination } from "./destination";
import { ItemDetailLine } from "./itemDetailLine";
export declare class LevelTwoThree {
/**
* The reference number to identify the customer and their order. * Format: ASCII * Max length: 25 characters * Must not start with a space or be all spaces. * Must not be all zeros.
*/
"customerReferenceNumber"?: string;
"destination"?: Destination | null;
/**
* The duty tax amount, in [minor units](https://docs.adyen.com/development-resources/currency-codes). * For example, 2000 means USD 20.00. * Encoding: Numeric * Max value: 10000000000
*/
"dutyAmount"?: number;
/**
* The shipping amount, in [minor units](https://docs.adyen.com/development-resources/currency-codes). * For example, 2000 means USD 20.00. * Encoding: Numeric * Max value: 10000000000
*/
"freightAmount"?: number;
/**
* The list of item detail lines.
*/
"itemDetailLines"?: Array<ItemDetailLine>;
/**
* The date of the order. * Min Length: 10 characters * Max Length: 10 characters * Format [ISO 8601](https://www.w3.org/TR/NOTE-datetime): yyyy-MM-dd
*/
"orderDate"?: string;
/**
* The postal code of the address where the item is shipped from. * Encoding: ASCII * Max length: 10 characters * For the US, it must be in five or nine digits format. For example, 10001 or 10001-0000. * For Canada, it must be in 6 digits format. For example, M4B 1G5.
*/
"shipFromPostalCode"?: string;
/**
* The amount of state or provincial [tax included in the total transaction amount](https://docs.adyen.com/payment-methods/cards/enhanced-scheme-data/l2-l3#requirements-to-send-level-2-3-esd), in [minor units](https://docs.adyen.com/development-resources/currency-codes). * For example, 2000 means USD 20.00. * Encoding: Numeric * Max value: 10000000000 * For L2 data: must not be all zeroes. * For L3 data: can be zero.
*/
"totalTaxAmount"?: number;
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();
}