export default OrdersUpdateRequestBody; /** * The OrdersUpdateRequestBody model module. * @module model/OrdersUpdateRequestBody */ declare class OrdersUpdateRequestBody { /** * 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 OrdersUpdateRequestBody 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 {OrdersUpdateRequestBody} [obj] Optional instance to populate. * @returns {OrdersUpdateRequestBody} The populated OrdersUpdateRequestBody instance. */ static constructFromObject(data: Partial, obj?: OrdersUpdateRequestBody): OrdersUpdateRequestBody; /** * Validates the JSON data with respect to OrdersUpdateRequestBody. * @param {Partial} data The plain JavaScript object bearing properties of interest. * @returns {boolean} to indicate whether the JSON data is valid with respect to OrdersUpdateRequestBody. */ static validateJSON(data: Partial): boolean; source_id: string | undefined; status: (keyof typeof OrdersUpdateRequestBody.StatusEnum) | undefined; amount: number | undefined; initial_amount: number | undefined; discount_amount: number | undefined; items: Array | undefined; metadata: any | undefined; created_at: Date | undefined; referrer_id: string | undefined; customer: Customer | undefined; referrer: Referrer | undefined; } declare namespace OrdersUpdateRequestBody { namespace StatusEnum { let CREATED: string; let PAID: string; let CANCELED: string; let FULFILLED: string; } } import OrderItem from './OrderItem'; import Customer from './Customer'; import Referrer from './Referrer';