import { Translatable } from './translatable'; export declare abstract class Orders { page: number; limit: number; pages: number; total: number; _embedded: { items: Order[]; }; } export declare abstract class Order { id: number; items: OrderItem[]; itemsTotal: number; adjustments: []; adjustmentsTotal: number; total: number; state: string; customer: OrderCustomer; channel: Channel; shippingAddress: OrderAddress; billingAddress: OrderAddress; payments: Payment[]; shipments: Shipment[]; currencyCode: string; localeCode: string; checkoutState: string; promotionTotal: number; createdAt: string; logs: string[]; } declare class OrderItem { id: number; quantity: number; unitPrice: number; total: number; units: [ { id: number; adjustments: []; adjustmentsTotal: 0; }, { id: number; adjustments: []; adjustmentsTotal: 0; }, { id: number; adjustments: []; adjustmentsTotal: 0; }, { id: number; adjustments: []; adjustmentsTotal: 0; } ]; unitsTotal: number; adjustments: []; adjustmentsTotal: number; variant: { descriptor: string; id: number; code: string; optionValues: []; position: number; translations: { ar_EG: { locale: string; id: number; name: string; }; en_US: { locale: string; id: number; name: string; }; }; version: number; onHold: number; onHand: number; tracked: boolean; channelPricings: { WEB: { channelCode: string; price: number; originalPrice: 8000; }; }; product: { code: string; images: [ { path: string; } ]; thumbnailImage: { path: string; }; translations: { ar_EG: { locale: string; id: number; name: string; slug: string; description: string; }; en_US: { locale: string; id: number; name: string; slug: string; description: string; }; }; }; channelStocks: {}; }; } declare abstract class OrderCustomer { id: number; email: string; emailCanonical: string; firstName: string; lastName: string; gender: string; user: ShopUser; addresses: CustomerAddress[]; subscribedToNewsletter: boolean; } declare abstract class CustomerAddress { id: number; firstName: string; lastName: string; phoneNumber: string; countryCode: string; street: string; city: string; postcode: string; createdAt: string; updatedAt: string; government: string; } declare abstract class ShopUser { id: number; username: string; usernameCanonical: string; roles: string[]; enabled: boolean; } declare abstract class Channel { id: number; code: string; name: string; hostname: string; color: string; createdAt: string; updatedAt: string; enabled: boolean; taxCalculationStrategy: string; } declare abstract class OrderAddress { id: number; firstName: string; lastName: string; phoneNumber: string; countryCode: string; street: string; city: string; postcode: string; createdAt: string; updatedAt: string; customer: OrderCustomer; government: string; } declare abstract class Payment extends Translatable { id: number; method: PaymentMethod; amount: number; state: string; } declare abstract class PaymentMethod { name: string; id: number; code: string; position: number; createdAt: string; updatedAt: string; enabled: boolean; channels: Channel[]; } declare abstract class Shipment { id: number; state: string; method: ShipmentMethod; } declare abstract class ShipmentMethod { name: string; id: number; code: string; enabled: boolean; } export {};