src/app/core/models/line_item.ts
Properties |
| display_amount |
display_amount:
|
Type : number
|
|
Defined in src/app/core/models/line_item.ts:15
|
| id |
id:
|
Type : number
|
|
Defined in src/app/core/models/line_item.ts:10
|
| product |
product:
|
Type : Product
|
|
Defined in src/app/core/models/line_item.ts:18
|
| quantity |
quantity:
|
Type : number
|
|
Defined in src/app/core/models/line_item.ts:11
|
| single_display_amount |
single_display_amount:
|
Type : number
|
|
Defined in src/app/core/models/line_item.ts:13
|
| total_price |
total_price:
|
Type : number
|
|
Defined in src/app/core/models/line_item.ts:14
|
| unit_price |
unit_price:
|
Type : Object
|
|
Defined in src/app/core/models/line_item.ts:12
|
| variant |
variant:
|
Type : Variant
|
|
Defined in src/app/core/models/line_item.ts:17
|
| variant_id |
variant_id:
|
Type : number
|
|
Defined in src/app/core/models/line_item.ts:16
|
import { Variant } from './variant';
import { Product } from './product';
/*
* LineItem model
* Detailed info http://guides.spreecommerce.org/developer/orders.html#line-items
* Public API's http://guides.spreecommerce.org/api/line_items.html
*/
export class LineItem {
id: number;
quantity: number;
unit_price: Object;
single_display_amount: number;
total_price: number;
display_amount: number;
variant_id: number;
variant: Variant;
product: Product;
}