[**@bigcommerce/checkout-sdk**](../README.md)

***

[@bigcommerce/checkout-sdk](../README.md) / LineItem

# Interface: LineItem

## Extended by

- [`DigitalItem`](DigitalItem.md)
- [`PhysicalItem`](PhysicalItem.md)

## Properties

### addedByAttributeId

> **addedByAttributeId**: `string` \| `null`

***

### addedByPromotion

> **addedByPromotion**: `boolean`

***

### backorderMessage?

> `optional` **backorderMessage?**: `string` \| `null`

***

### brand

> **brand**: `string`

***

### categories?

> `optional` **categories?**: [`LineItemCategory`](LineItemCategory.md)[][]

***

### categoryNames?

> `optional` **categoryNames?**: `string`[]

***

### comparisonPrice

> **comparisonPrice**: `number`

***

### couponAmount

> **couponAmount**: `number`

***

### discountAmount

> **discountAmount**: `number`

***

### discounts

> **discounts**: `object`[]

#### discountedAmount

> **discountedAmount**: `number`

#### name

> **name**: `string`

***

### extendedComparisonPrice

> **extendedComparisonPrice**: `number`

***

### extendedListPrice

> **extendedListPrice**: `number`

***

### extendedSalePrice

> **extendedSalePrice**: `number`

***

### id

> **id**: `string` \| `number`

***

### imageUrl

> **imageUrl**: `string`

***

### isTaxable

> **isTaxable**: `boolean`

***

### listPrice

> **listPrice**: `number`

***

### name

> **name**: `string`

***

### options?

> `optional` **options?**: [`LineItemOption`](LineItemOption.md)[]

***

### parentId?

> `optional` **parentId?**: `string` \| `null`

***

### productId

> **productId**: `number`

***

### quantity

> **quantity**: `number`

***

### quantityBackordered?

> `optional` **quantityBackordered?**: `number`

***

### retailPrice

> **retailPrice**: `number`

***

### salePrice

> **salePrice**: `number`

***

### sku

> **sku**: `string`

***

### socialMedia?

> `optional` **socialMedia?**: [`LineItemSocialData`](LineItemSocialData.md)[]

***

### stockPosition?

> `optional` **stockPosition?**: [`StockPosition`](StockPosition.md)

***

### url

> **url**: `string`

***

### variantId

> **variantId**: `number`
