UNPKG

@apideck/node

Version:
40 lines (39 loc) 1.23 kB
/** * Apideck * The Apideck OpenAPI Spec: SDK Optimized * * The version of the OpenAPI document: 10.13.0 * Contact: support@apideck.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ /** * An object representing a discount applied to an ecommerce order or product. * @export * @interface EcommerceDiscount */ export interface EcommerceDiscount { /** * The code used to apply the discount. * @type {string} * @memberof EcommerceDiscount */ code?: string | null; /** * The fixed amount of the discount. * @type {string} * @memberof EcommerceDiscount */ amount?: string | null; /** * The percentage of the discount. * @type {string} * @memberof EcommerceDiscount */ percentage?: string | null; } export declare function EcommerceDiscountFromJSON(json: any): EcommerceDiscount; export declare function EcommerceDiscountFromJSONTyped(json: any, ignoreDiscriminator: boolean): EcommerceDiscount; export declare function EcommerceDiscountToJSON(value?: EcommerceDiscount | null): any;