init(label:amount:)
Initializes and returns a summary item with the given label and amount.
Declaration
convenience init(label: String, amount: NSDecimalNumber)Parameters
- label:
A short, localized description of the summary item.
- amount:
The amount associated with the summary item.
Return Value
A summary item with the given label and amount. The resulting item has a PKPaymentSummaryItemType.final type.