src/app/core/models/order.ts
additional_tax_total |
additional_tax_total: |
Defined in src/app/core/models/order.ts:30
|
adjustment_total |
adjustment_total: |
Defined in src/app/core/models/order.ts:18
|
bill_address |
bill_address: |
Defined in src/app/core/models/order.ts:39
|
canceler_id |
canceler_id: |
Defined in src/app/core/models/order.ts:36
|
channel |
channel: |
Defined in src/app/core/models/order.ts:28
|
completed_at |
completed_at: |
Defined in src/app/core/models/order.ts:22
|
considered_risky |
considered_risky: |
Defined in src/app/core/models/order.ts:35
|
created_at |
created_at: |
Defined in src/app/core/models/order.ts:20
|
currency |
currency: |
Defined in src/app/core/models/order.ts:34
|
display_additional_tax_total |
display_additional_tax_total: |
Defined in src/app/core/models/order.ts:32
|
display_included_tax_total |
display_included_tax_total: |
Defined in src/app/core/models/order.ts:31
|
email: |
Defined in src/app/core/models/order.ts:26
|
id |
id: |
Defined in src/app/core/models/order.ts:12
|
included_tax_total |
included_tax_total: |
Defined in src/app/core/models/order.ts:29
|
item_total |
item_total: |
Defined in src/app/core/models/order.ts:14
|
line_items |
line_items: |
Defined in src/app/core/models/order.ts:41
|
number |
number: |
Defined in src/app/core/models/order.ts:13
|
payment_state |
payment_state: |
Defined in src/app/core/models/order.ts:25
|
payment_total |
payment_total: |
Defined in src/app/core/models/order.ts:23
|
payments |
payments: |
Defined in src/app/core/models/order.ts:42
|
ship_address |
ship_address: |
Defined in src/app/core/models/order.ts:40
|
ship_total |
ship_total: |
Defined in src/app/core/models/order.ts:16
|
shipment_state |
shipment_state: |
Defined in src/app/core/models/order.ts:24
|
special_instructions |
special_instructions: |
Defined in src/app/core/models/order.ts:27
|
state |
state: |
Defined in src/app/core/models/order.ts:17
|
tax_total |
tax_total: |
Defined in src/app/core/models/order.ts:33
|
token |
token: |
Defined in src/app/core/models/order.ts:38
|
total |
total: |
Defined in src/app/core/models/order.ts:15
|
total_quantity |
total_quantity: |
Defined in src/app/core/models/order.ts:37
|
updated_at |
updated_at: |
Defined in src/app/core/models/order.ts:21
|
user_id |
user_id: |
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;
}