@myorb/dhl-express
Version:
DHL Express api client
61 lines (60 loc) • 2.69 kB
TypeScript
/**
* DHL Express APIs (MyDHL API)
* Welcome to the official DHL Express APIs (MyDHL API) below are the published API Documentation to fulfill your shipping needs with DHL Express. Please follow the process described [here](https://developer.dhl.com/api-reference/dhl-express-mydhl-api#get-started-section/user-guide--get-access) to request access to the DHL Express - MyDHL API services In case you already have DHL Express - MyDHL API Service credentials please ensure to use the endpoints/environments listed [here](https://developer.dhl.com/api-reference/dhl-express-mydhl-api#get-started-section/user-guide--environments)
*
* OpenAPI spec version: 2.4.0
*
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class manually.
*/
import { SupermodelIoLogisticsExpressValueAddedServicesDangerousGoods } from './supermodel-io-logistics-express-value-added-services-dangerous-goods';
/**
*
* @export
* @interface SupermodelIoLogisticsExpressValueAddedServices
*/
export interface SupermodelIoLogisticsExpressValueAddedServices {
/**
* Please enter DHL Express value added service code. For detailed list of all available service codes for your prospect shipment please invoke GET /products or GET /rates
* @type {string}
* @memberof SupermodelIoLogisticsExpressValueAddedServices
*/
serviceCode: string;
/**
* Please enter monetary value of service (e.g. Insured Value)
* @type {number}
* @memberof SupermodelIoLogisticsExpressValueAddedServices
*/
value?: number;
/**
* Please enter currency code (e.g. Insured Value currency code)
* @type {string}
* @memberof SupermodelIoLogisticsExpressValueAddedServices
*/
currency?: string;
/**
* Payment method code (e.g. Cash)
* @type {string}
* @memberof SupermodelIoLogisticsExpressValueAddedServices
*/
method?: SupermodelIoLogisticsExpressValueAddedServicesMethodEnum;
/**
* The DangerousGoods section indicates if there is dangerous good content within the shipment
* @type {Array<SupermodelIoLogisticsExpressValueAddedServicesDangerousGoods>}
* @memberof SupermodelIoLogisticsExpressValueAddedServices
*/
dangerousGoods?: Array<SupermodelIoLogisticsExpressValueAddedServicesDangerousGoods>;
}
/**
* @export
* @enum {string}
*/
export declare enum SupermodelIoLogisticsExpressValueAddedServicesMethodEnum {
Cash = "cash",
CreditCard = "credit_card",
Cheque = "cheque",
DirectDebit = "direct_debit",
PaymentWithMobilePhone = "payment_with_mobile_phone"
}