src/app/core/models/product.ts
| available_on |
available_on:
|
Type : string
|
|
Defined in src/app/core/models/product.ts:15
|
| classifications |
classifications:
|
Type : Classification[]
|
|
Defined in src/app/core/models/product.ts:28
|
| currency |
currency:
|
Type : string
|
|
Defined in src/app/core/models/product.ts:30
|
| description |
description:
|
Type : string
|
|
Defined in src/app/core/models/product.ts:14
|
| has_variants |
has_variants:
|
Type : boolean
|
|
Defined in src/app/core/models/product.ts:23
|
| id |
id:
|
Type : number
|
|
Defined in src/app/core/models/product.ts:12
|
| images |
images:
|
Type : Image[]
|
|
Defined in src/app/core/models/product.ts:34
|
| is_favorited_by_current_user |
is_favorited_by_current_user:
|
Type : boolean
|
|
Defined in src/app/core/models/product.ts:17
|
| master |
master:
|
Type : Variant
|
|
Defined in src/app/core/models/product.ts:24
|
| max_retail_price |
max_retail_price:
|
Type : Price
|
|
Defined in src/app/core/models/product.ts:32
|
| meta_description |
meta_description:
|
Type : string
|
|
Defined in src/app/core/models/product.ts:18
|
| meta_keywords |
meta_keywords:
|
Type : string
|
|
Defined in src/app/core/models/product.ts:19
|
| name |
name:
|
Type : string
|
|
Defined in src/app/core/models/product.ts:13
|
| option_types |
option_types:
|
Type : OptionType[]
|
|
Defined in src/app/core/models/product.ts:26
|
| options |
options:
|
Type : OptionValue[]
|
|
Defined in src/app/core/models/product.ts:33
|
| product_properties |
product_properties:
|
Type : ProductProperty[]
|
|
Defined in src/app/core/models/product.ts:27
|
| Optional product_url |
product_url:
|
Type : string
|
|
Defined in src/app/core/models/product.ts:29
|
| rating_summary |
rating_summary:
|
Type : RatingSummary
|
|
Defined in src/app/core/models/product.ts:36
|
| reviews |
reviews:
|
Type : Array<Review>
|
|
Defined in src/app/core/models/product.ts:35
|
| selling_price |
selling_price:
|
Type : Price
|
|
Defined in src/app/core/models/product.ts:31
|
| shipping_category_id |
shipping_category_id:
|
Type : number
|
|
Defined in src/app/core/models/product.ts:20
|
| slug |
slug:
|
Type : string
|
|
Defined in src/app/core/models/product.ts:16
|
| taxon_ids |
taxon_ids:
|
Type : number[]
|
|
Defined in src/app/core/models/product.ts:21
|
| total_on_hand |
total_on_hand:
|
Type : number
|
|
Defined in src/app/core/models/product.ts:22
|
| variants |
variants:
|
Type : Variant[]
|
|
Defined in src/app/core/models/product.ts:25
|
import { OptionType } from './option_type';
import { Classification } from './classification';
import { ProductProperty } from './product_property';
import { Variant } from './variant';
import { OptionValue } from './option_value';
import { Image } from './image';
import { Price } from './price';
import { Review } from './review';
import { RatingSummary } from './rating_summary';
export class Product {
id: number;
name: string;
description: string;
available_on: string;
slug: string;
is_favorited_by_current_user: boolean;
meta_description: string;
meta_keywords: string;
shipping_category_id: number;
taxon_ids: number[];
total_on_hand: number;
has_variants: boolean;
master: Variant;
variants: Variant[];
option_types: OptionType[];
product_properties: ProductProperty[];
classifications: Classification[];
product_url?: string;
currency: string;
selling_price: Price;
max_retail_price: Price;
options: OptionValue[];
images: Image[];
reviews: Array<Review>;
rating_summary: RatingSummary;
}