Instance Property

label

A short, localized description of the item.

Declaration

var label: String { get set }

Discussion

Provide the label in title case—for example, VAT Tax, Gift Wrap and Card, or Discount.

Omit any punctuation and whitespace after the label. The label is formatted for display by the framework.

See Also

Describing Summary Items

var amount: NSDecimalNumber

The summary item’s amount.

var type: PKPaymentSummaryItemType

The summary item’s type indicating whether or not the amount is final.

enum PKPaymentSummaryItemType

Constants that describe the type of the payment summary item, such as final or pending.