UNPKG

conekta

Version:
43 lines (38 loc) 958 B
/* tslint:disable */ /* eslint-disable */ /** * Conekta API * Conekta sdk * * The version of the OpenAPI document: 2.2.0 * Contact: engineering@conekta.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ /** * List of discounts that apply to the order. * @export * @interface OrderDiscountLinesRequest */ export interface OrderDiscountLinesRequest { /** * The amount to be deducted from the total sum of all payments, in cents. * @type {number} * @memberof OrderDiscountLinesRequest */ 'amount': number; /** * Discount code. * @type {string} * @memberof OrderDiscountLinesRequest */ 'code': string; /** * It can be \'loyalty\', \'campaign\', \'coupon\' o \'sign\' * @type {string} * @memberof OrderDiscountLinesRequest */ 'type': string; }