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

# type

A value that indicates whether the line item is final or pending.

## Declaration

```data
ApplePayLineItemType type;
```

## Discussion

Discussion See ApplePayLineItemType for valid values. The default value is final. Note that if a line item’s type is pending, the Apple Pay payment sheet doesn’t display the value in amount, and instead displays “pending”. If a line item’s type is final, the payment sheet displays the value in amount.

## Topics

### Line Item Type

- [ApplePayLineItemType](applepayontheweb/applepaylineitemtype.md)

## See Also

### Setting line item properties

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