Class

PKPaymentSummaryItem

Defines a summary item in a payment request—for example, total, tax, discount, or grand total.

Declaration

@interface PKPaymentSummaryItem : NSObject

Overview

For shipping cost, use the PKShippingMethod subclass.

Topics

Creating Summary Items

+ summaryItemWithLabel:amount:

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

+ summaryItemWithLabel:amount:type:

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

Describing Summary Items

label

A short, localized description of the item.

amount

The summary item’s amount.

type

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

PKPaymentSummaryItemType

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

Relationships

Inherits From

See Also

Setting the Payment Summary Items

paymentSummaryItems

An array of payment summary item objects that summarize the amount of the payment.