### File

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

### Properties

additional_tax_total
`additional_tax_total: `string``
Defined in src/app/core/models/order.ts:30

adjustment_total
`adjustment_total: `string``
Defined in src/app/core/models/order.ts:18

bill_address
`bill_address: `[Address]``
Defined in src/app/core/models/order.ts:39

canceler_id
`canceler_id: `string``
Defined in src/app/core/models/order.ts:36

channel
`channel: `string``
Defined in src/app/core/models/order.ts:28

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

considered_risky
`considered_risky: `boolean``
Defined in src/app/core/models/order.ts:35

created_at
`created_at: `string``
Defined in src/app/core/models/order.ts:20

currency
`currency: `string``
Defined in src/app/core/models/order.ts:34

display_additional_tax_total
`display_additional_tax_total: `string``
Defined in src/app/core/models/order.ts:32

display_included_tax_total
`display_included_tax_total: `string``
Defined in src/app/core/models/order.ts:31

email
`email: `string``
Defined in src/app/core/models/order.ts:26

id
`id: `number``
Defined in src/app/core/models/order.ts:12

included_tax_total
`included_tax_total: `string``
Defined in src/app/core/models/order.ts:29

item_total
`item_total: `string``
Defined in src/app/core/models/order.ts:14

line_items
`line_items: `[LineItem]``
Defined in src/app/core/models/order.ts:41

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

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

payment_total
`payment_total: `string``
Defined in src/app/core/models/order.ts:23

payments
`payments: `[Payment]``
Defined in src/app/core/models/order.ts:42

ship_address
`ship_address: `[Address]``
Defined in src/app/core/models/order.ts:40

ship_total
`ship_total: `string``
Defined in src/app/core/models/order.ts:16

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

special_instructions
`special_instructions: `string``
Defined in src/app/core/models/order.ts:27

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

tax_total
`tax_total: `string``
Defined in src/app/core/models/order.ts:33

token
`token: `string``
Defined in src/app/core/models/order.ts:38

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

total_quantity
`total_quantity: `string``
Defined in src/app/core/models/order.ts:37

updated_at
`updated_at: `string``
Defined in src/app/core/models/order.ts:21

user_id
`user_id: `string``
Defined in src/app/core/models/order.ts:19

    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 ""