File

src/app/core/models/line_item.ts

Index

Properties

Properties

display_amount
display_amount: number
Type : number
id
id: number
Type : number
product
product: Product
Type : Product
quantity
quantity: number
Type : number
single_display_amount
single_display_amount: number
Type : number
total_price
total_price: number
Type : number
unit_price
unit_price: Object
Type : Object
variant
variant: Variant
Type : Variant
variant_id
variant_id: number
Type : number
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;
}

results matching ""

    No results matching ""