<!--
{
  "availability" : [

  ],
  "documentType" : "symbol",
  "framework" : "ApplePayontheWeb",
  "identifier" : "/documentation/ApplePayontheWeb/ApplePayLineItem/type",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "Apple Pay on the Web"
    ],
    "preciseIdentifier" : "instp/ApplePayLineItem/type"
  },
  "title" : "type"
}
-->

# type

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

```
ApplePayLineItemType type;
```

## Discussion

See [`ApplePayLineItemType`](/documentation/ApplePayontheWeb/ApplePayLineItemType) for valid values.

The default value is `final`.

Note that if a line item’s [`type`](/documentation/ApplePayontheWeb/ApplePayLineItem/type) is `pending`, the Apple Pay payment sheet doesn’t display the value in [`amount`](/documentation/ApplePayontheWeb/ApplePayLineItem/amount), and instead displays “pending”.

If a line item’s [`type`](/documentation/ApplePayontheWeb/ApplePayLineItem/type) is `final`, the payment sheet displays the value in [`amount`](/documentation/ApplePayontheWeb/ApplePayLineItem/amount).

## Topics

### Line Item Type

[`enum ApplePayLineItemType`](/documentation/ApplePayontheWeb/ApplePayLineItemType)

A type that indicates whether a line item is final or pending.



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)