[**@wocart/storefront v3.1.0**](../../README)

***

[@wocart/storefront](../../README) / [index](../README) / CartValidationLine

# Interface: CartValidationLine

One re-priced basket line from POST /store/cart/validate.

## Properties

### blocker

> **blocker**: `"missing"` \| `"unlisted"` \| `"out_of_stock"`

Why the line cannot be ordered as requested. Blocked lines are excluded
from subtotal, offers and free-delivery math server-side.

***

### discount

> **discount**: `number`

The line's share of the coupon's discount, already out of `lineTotal`; 0 without one.

***

### lineTotal

> **lineTotal**: `number`

What the line costs, offers and the coupon applied.

***

### maxQuantity

> **maxQuantity**: `number`

Units still available; null when the product is not stock-tracked.

***

### offerId

> **offerId**: `string`

The offer applied to the line; null when none.

***

### offerName

> **offerName**: `string`

That offer's name, in the shopper's language; null when none.

***

### productId

> **productId**: `string`

***

### productName

> **productName**: `string`

***

### quantity

> **quantity**: `number`

***

### unitPrice

> **unitPrice**: `number`

CURRENT catalog price — the cart's optimistic price is display-only.

***

### variantId

> **variantId**: `string`

***

### variantLabel

> **variantLabel**: `string`
