sdksio-postnl-ecommerce-apis-sdk
Version:
Collection of PostNL API's for ecommerce processes
27 lines (26 loc) • 1.08 kB
TypeScript
/**
* PostNL Ecommerce APIsLib
*
* This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).
*/
import { Schema } from '../schema';
import { Address1 } from './address1';
import { OpeningHours } from './openingHours';
import { Sustainability } from './sustainability';
export interface Location {
/** The pickup location address */
address?: Address1;
/** Time from when the parcel can be retrieved at the pickup location */
pickupTime?: string;
/** The standard opening hours of the pickup location */
openingHours?: OpeningHours;
/** The calculated distance (in meters) between the location specified and the address provided in the request */
distance?: number;
/** The location identifier */
locationCode?: string;
/** The partner identifier; not used anymore */
partnerID?: string;
/** Sustainability score; see [Sustainability codes](#tag/Reference-codes/Sustainability-codes) for possible values. */
sustainability?: Sustainability;
}
export declare const locationSchema: Schema<Location>;