conekta/conekta-node

View on GitHub
model/order-discount-lines-request.ts

Summary

Maintainability
A
0 mins
Test Coverage
/* tslint:disable */
/* eslint-disable */
/**
 * Conekta API
 * Conekta sdk
 *
 * The version of the OpenAPI document: 2.1.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;
}