### File

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

### Properties

available_on
`available_on: `string``
Defined in src/app/core/models/product.ts:18

classifications
`classifications: `Classification[]``
Defined in src/app/core/models/product.ts:31

description
`description: `string``
Defined in src/app/core/models/product.ts:15

display_price
`display_price: `string``
Defined in src/app/core/models/product.ts:17

has_variants
`has_variants: `boolean``
Defined in src/app/core/models/product.ts:26

id
`id: `number``
Defined in src/app/core/models/product.ts:13

master
`master: `Variant``
Defined in src/app/core/models/product.ts:27

meta_description
`meta_description: `string``
Defined in src/app/core/models/product.ts:21

meta_keywords
`meta_keywords: `string``
Defined in src/app/core/models/product.ts:22

name
`name: `string``
Defined in src/app/core/models/product.ts:14

option_types
`option_types: `OptionType[]``
Defined in src/app/core/models/product.ts:29

price
`price: `string``
Defined in src/app/core/models/product.ts:16

product_properties
`product_properties: `ProductProperty[]``
Defined in src/app/core/models/product.ts:30

shipping_category_id
`shipping_category_id: `number``
Defined in src/app/core/models/product.ts:23

slug
`slug: `string``
Defined in src/app/core/models/product.ts:19

taxon_ids
`taxon_ids: `number[]``
Defined in src/app/core/models/product.ts:24

total_on_hand
`total_on_hand: `number``
Defined in src/app/core/models/product.ts:25

variants
`variants: `Variant[]``
Defined in src/app/core/models/product.ts:28

    import { OptionType } from './option_type';
    import { Classification } from './classification';
    import { ProductProperty } from './product_property';
    import { Variant } from './variant';

    export class Product {
      id: number;
      name: string;
      description: string;
      price: string;
      display_price: string;
      available_on: string;
      slug: string;
      // meta_title: string;             // meta title is present in schema but it is not returned by the spree Api.
      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[];
    }

# results matching ""

# No results matching ""