# BUYProductVariant Class Reference

Inherits from | BUYObject : NSObject
Declared in | BUYProductVariant.h

## Overview

A BUYProductVariant is a different version of a product, such as differing sizes or differing colours.

### `product`

The BUYProduct associated this BUYProductVariant

`@property (nonatomic, strong) BUYProduct *product`

#### Declared In

`BUYProductVariant.h`

### `title`

The title of the BUYProductVariant.

`@property (nonatomic, readonly, copy) NSString *title`

#### Declared In

`BUYProductVariant.h`

### `options`

Custom properties that a shop owner can use to define BUYProductVariants.

`@property (nonatomic, readonly, copy) NSArray<BUYOptionValue*> *options`

#### Declared In

`BUYProductVariant.h`

### `price`

The price of the BUYProductVariant.

`@property (nonatomic, readonly, strong) NSDecimalNumber *price`

#### Declared In

`BUYProductVariant.h`

### `compareAtPrice`

The competitor’s prices for the same item.

`@property (nonatomic, readonly, strong) NSDecimalNumber *compareAtPrice`

#### Declared In

`BUYProductVariant.h`

### `grams`

The weight of the BUYProductVariant in grams.

`@property (nonatomic, readonly, strong) NSDecimalNumber *grams`

#### Declared In

`BUYProductVariant.h`

### `requiresShipping`

Specifies whether or not a customer needs to provide a shipping address when placing an order for this BUYProductVariant. Valid values are: true: Customer needs to supply a shipping address. false: Customer does not need to supply a shipping address.

`@property (nonatomic, readonly, strong) NSNumber *requiresShipping`

#### Declared In

`BUYProductVariant.h`

### `sku`

A unique identifier for the product in the shop.

`@property (nonatomic, readonly, strong) NSString *sku`

#### Declared In

`BUYProductVariant.h`

### `taxable`

Specifies whether or not a tax is charged when the BUYProductVariant is sold.

`@property (nonatomic, readonly, strong) NSNumber *taxable`

#### Declared In

`BUYProductVariant.h`

### `position`

The order of the BUYProductVariant in the list of product variants. 1 is the first position.

`@property (nonatomic, readonly, strong) NSNumber *position`

#### Declared In

`BUYProductVariant.h`

### `available`

If the variant is in stock

`@property (nonatomic, readonly, assign) BOOL available`

#### Declared In

`BUYProductVariant.h`