export default Order; /** * The Order model module. * @module model/Order */ declare class Order { /** * Initializes the fields of this object. * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins). * Only for internal use. */ static initialize(obj: any): void; /** * Constructs a Order from a plain JavaScript object, optionally creating a new instance. * Copies all relevant properties from data to obj if supplied or a new instance if not. * @param {Partial} data The plain JavaScript object bearing properties of interest. * @param {Order} [obj] Optional instance to populate. * @returns {Order} The populated Order instance. */ static constructFromObject(data: Partial, obj?: Order): Order; /** * Validates the JSON data with respect to Order. * @param {Partial} data The plain JavaScript object bearing properties of interest. * @returns {boolean} to indicate whether the JSON data is valid with respect to Order. */ static validateJSON(data: Partial): boolean; id: string | undefined; source_id: string | undefined; status: (keyof typeof Order.StatusEnum) | undefined; amount: number | undefined; initial_amount: number | undefined; discount_amount: number | undefined; items: Array | undefined; metadata: any | undefined; } declare namespace Order { namespace StatusEnum { let CREATED: string; let PAID: string; let CANCELED: string; let FULFILLED: string; } } import OrderItem from './OrderItem';