UNPKG

digitalfemsa

Version:
47 lines (46 loc) 1.56 kB
/** * Femsa API * Femsa sdk * * The version of the OpenAPI document: 2.1.0 * Contact: engineering@femsa.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import { CheckoutOrderTemplateCustomerInfo } from './checkout-order-template-customer-info'; import { Product } from './product'; /** * It maintains the attributes with which the order will be created when receiving a new payment. * @export * @interface CheckoutOrderTemplate */ export interface CheckoutOrderTemplate { /** * It is the currency in which the order will be created. It must be a valid ISO 4217 currency code. * @type {string} * @memberof CheckoutOrderTemplate */ 'currency': string; /** * * @type {CheckoutOrderTemplateCustomerInfo} * @memberof CheckoutOrderTemplate */ 'customer_info'?: CheckoutOrderTemplateCustomerInfo; /** * They are the products to buy. Each contains the \"unit price\" and \"quantity\" parameters that are used to calculate the total amount of the order. * @type {Array<Product>} * @memberof CheckoutOrderTemplate */ 'line_items': Array<Product>; /** * It is a set of key-value pairs that you can attach to the order. It can be used to store additional information about the order in a structured format. * @type {{ [key: string]: any; }} * @memberof CheckoutOrderTemplate */ 'metadata'?: { [key: string]: any; }; }