### File

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

### Properties

cost_price
`cost_price: `string``
Defined in src/app/core/models/variant.ts:22

depth
`depth: `string``
Defined in src/app/core/models/variant.ts:17

description
`description: `string``
Defined in src/app/core/models/variant.ts:20

display_price
`display_price: `string``
Defined in src/app/core/models/variant.ts:25

height
`height: `string``
Defined in src/app/core/models/variant.ts:15

id
`id: `number``
Defined in src/app/core/models/variant.ts:10

images
`images: `Image[]``
Defined in src/app/core/models/variant.ts:30

in_stock
`in_stock: `boolean``
Defined in src/app/core/models/variant.ts:27

is_backorderable
`is_backorderable: `boolean``
Defined in src/app/core/models/variant.ts:28

is_destroyed
`is_destroyed: `boolean``
Defined in src/app/core/models/variant.ts:29

is_master
`is_master: `boolean``
Defined in src/app/core/models/variant.ts:18

name
`name: `string``
Defined in src/app/core/models/variant.ts:11

option_values
`option_values: `OptionValue[]``
Defined in src/app/core/models/variant.ts:23

options_text
`options_text: `string``
Defined in src/app/core/models/variant.ts:26

price
`price: `string``
Defined in src/app/core/models/variant.ts:13

sku
`sku: `string``
Defined in src/app/core/models/variant.ts:12

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

total_on_hand
`total_on_hand: `number``
Defined in src/app/core/models/variant.ts:24

track_inventory
`track_inventory: `boolean``
Defined in src/app/core/models/variant.ts:21

weight
`weight: `string``
Defined in src/app/core/models/variant.ts:14

width
`width: `string``
Defined in src/app/core/models/variant.ts:16

    import { Image } from './image';
    import { OptionValue } from './option_value';
    /*
     * Product model
     * Detailed info http://guides.spreecommerce.org/developer/products.html#variants
     * Public API's http://guides.spreecommerce.org/api/variants.html
     */

    export class Variant {
      id: number;
      name: string;
      sku: string;
      price: string;
      weight: string;
      height: string;
      width: string;
      depth: string;
      is_master: boolean;
      slug: string;
      description: string;
      track_inventory: boolean;
      cost_price: string;
      option_values: OptionValue[];
      total_on_hand: number;
      display_price: string;
      options_text: string;
      in_stock: boolean;
      is_backorderable: boolean;
      is_destroyed: boolean;
      images: Image[];
    }

# results matching ""

# No results matching ""