sdksio-postnl-ecommerce-apis-sdk
Version:
Collection of PostNL API's for ecommerce processes
44 lines (43 loc) • 2.4 kB
TypeScript
/**
* PostNL Ecommerce APIsLib
*
* This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).
*/
import { Schema } from '../schema';
export interface Address8 {
/** Type of the address. This is a code. You can find the possible values at [Address types](#tag/Reference-codes/Address-types) */
addressType: string;
/** Area of the address */
area?: string;
/** Building name of the address */
buildingname?: string;
/** City of the address */
city?: string;
/** This field has a dependency with the field Name. One of both fields must be filled mandatory; using both fields is also allowed. Mandatory when AddressType is 09. */
companyName?: string;
/** The ISO2 country codes */
countrycode: string;
/** Send to specific department of a company */
department?: string;
/** Door code of address. Mandatory for some international shipments. */
doorcode?: string;
/** Remark: please add FirstName and Name (lastname) of the receiver to improve the parcel tracking experience of your customer. */
firstName?: string;
/** Send to specific floor of a company */
floor?: string;
/** Mandatory for shipments to Benelux. Max. length is 5 characters (only for Benelux addresses). For Benelux addresses,this field should always be numeric. */
houseNr?: string;
/** House number extension */
houseNrExt?: string;
/** Last name of person. This field has a dependency with the field CompanyName. One of both fields must be filled mandatory; using both fields is also allowed. Remark: please add FirstName and Name (lastname) of the receiver to improve the parcel tracking experience of your customer. */
name?: string;
/** Region of the address */
region?: string;
/** This field has a dependency with the field StreetHouseNrExt. One of both fields must be filled mandatory. Using both fields simultaneously is discouraged. */
street?: string;
/** Combination of Street, HouseNr and HouseNrExt. Please see [Guidelines](https://developer.postnl.nl/browse-apis/send-and-track/labelling-webservice/) for the explanation. */
streetHouseNrExt?: string;
/** Zipcode of the address. Mandatory for shipments to Benelux. Max length (NL) 6 characters,(BE;LU) 4 numeric characters */
zipcode?: string;
}
export declare const address8Schema: Schema<Address8>;