---
title: label
framework: applepayontheweb
role: symbol
role_heading: Instance Property
path: applepayontheweb/applepaylineitem/label
---

# label

A required value that’s a short, localized description of the line item.

## Declaration

```data
DOMString label;
```

## Discussion

Discussion Provide the label in title case—for example, VAT Tax, Gift Wrap and Card, or Discount. The label can’t be empty. Omit any punctuation and whitespace after the label. The framework formats the label for display.

## See Also

### Setting line item properties

- [amount](applepayontheweb/applepaylineitem/amount.md)
- [type](applepayontheweb/applepaylineitem/type.md)
- [ApplePayLineItemType](applepayontheweb/applepaylineitemtype.md)
