### File

`src/app/core/models/order.ts`

### Properties

completed_at
`completed_at: `string``
Defined in src/app/core/models/order.ts:50

number
`number: `string``
Defined in src/app/core/models/order.ts:48

payment_state
`payment_state: `string``
Defined in src/app/core/models/order.ts:49

shipment_state
`shipment_state: `string``
Defined in src/app/core/models/order.ts:53

state
`state: `string``
Defined in src/app/core/models/order.ts:51

total
`total: `string``
Defined in src/app/core/models/order.ts:52

    import { LineItem } from './line_item';
    import { Address } from './address';
    import { Payment } from './payment';

    export class Order {
      id: number;
      number: string;
      item_total: string;
      total: string;
      ship_total: string;
      state: string;
      adjustment_total: string;
      user_id: string;
      created_at: string;
      updated_at: string;
      completed_at: string;
      payment_total: string;
      shipment_state: string;
      payment_state: string;
      email: string;
      special_instructions: string;
      channel: string;
      included_tax_total: string;
      additional_tax_total: string;
      display_included_tax_total: string;
      display_additional_tax_total: string;
      tax_total: string;
      currency: string;
      considered_risky: boolean;
      canceler_id: string;
      total_quantity: string;
      token: string;
      bill_address: [Address];
      ship_address: [Address];
      line_items: [LineItem];
      payments: [Payment];
    }

    // NOTE: This just mimics the serializer exposed in the API
    // Not sure if it is required, review it in APRIL
    export class LightOrder {
      number: string;
      payment_state: string;
      completed_at: string;
      state: string;
      total: string;
      shipment_state: string;
    }

# results matching ""

# No results matching ""