<!--
{
  "availability" : [
    "iOS: 9.0.0 -",
    "iPadOS: 9.0.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 11.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 3.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "PassKit",
  "identifier" : "/documentation/PassKit/PKPaymentSummaryItem/init(label:amount:type:)",
  "metadataVersion" : "0.1.0",
  "role" : "Initializer",
  "symbol" : {
    "kind" : "Initializer",
    "modules" : [
      "PassKit (Apple Pay and Wallet)"
    ],
    "preciseIdentifier" : "c:objc(cs)PKPaymentSummaryItem(cm)summaryItemWithLabel:amount:type:"
  },
  "title" : "init(label:amount:type:)"
}
-->

# init(label:amount:type:)

Initializes and returns a summary item with the given label, amount, and type.

```
convenience init(label: String, amount: NSDecimalNumber, type: PKPaymentSummaryItemType)
```

## Parameters

`label`

A short, localized description of the summary item.

`amount`

The amount associated with the summary item.

`type`

The type of the summary item.

## Return Value

A summary item with the given label, amount, and type.

## Discussion

When creating summary items for estimates or charges whose final value isn’t yet known, use a [`PKPaymentSummaryItemType.pending`](/documentation/PassKit/PKPaymentSummaryItemType/pending) type. Use <doc://com.apple.documentation/documentation/Foundation/NSDecimalNumber/zero> for the amount of pending items. The payment sheet doesn’t show the value of pending items.

> Note:
> The payment request’s total must include a final value, even if the payment request includes one or more pending summary items. This total represents the total of all the known costs; don’t include the value of any pending items.

---

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)