UNPKG

wallee

Version:
58 lines (57 loc) 2.01 kB
/** * * @export * @interface ExpressCheckoutShippingOption */ export interface ExpressCheckoutShippingOption { /** * Total cost of this shipping option. * @type {number} * @memberof ExpressCheckoutShippingOption */ readonly amount?: number; /** * Description of the option * @type {string} * @memberof ExpressCheckoutShippingOption */ readonly description?: string; /** * Currency code (ISO-4217) of this shipping option. * @type {string} * @memberof ExpressCheckoutShippingOption */ readonly currency?: string; /** * Identifier of the option. * @type {string} * @memberof ExpressCheckoutShippingOption */ readonly id?: string; /** * Label of the option. * @type {string} * @memberof ExpressCheckoutShippingOption */ readonly label?: string; /** * Amount related to taxes. * @type {number} * @memberof ExpressCheckoutShippingOption */ readonly taxAmount?: number; /** * Whether it was the option selected by the customer. * @type {boolean} * @memberof ExpressCheckoutShippingOption */ readonly selected?: boolean; } /** * Check if a given object implements the ExpressCheckoutShippingOption interface. */ export declare function instanceOfExpressCheckoutShippingOption(value: object): value is ExpressCheckoutShippingOption; export declare function ExpressCheckoutShippingOptionFromJSON(json: any): ExpressCheckoutShippingOption; export declare function ExpressCheckoutShippingOptionFromJSONTyped(json: any, ignoreDiscriminator: boolean): ExpressCheckoutShippingOption; export declare function ExpressCheckoutShippingOptionToJSON(json: any): ExpressCheckoutShippingOption; export declare function ExpressCheckoutShippingOptionToJSONTyped(value?: Omit<ExpressCheckoutShippingOption, 'amount' | 'description' | 'currency' | 'id' | 'label' | 'taxAmount' | 'selected'> | null, ignoreDiscriminator?: boolean): any;