Class

PKPaymentRequestUpdate

Base class for updating the payment request after the user makes changes on the payment sheet.

Declaration

class PKPaymentRequestUpdate : NSObject

Topics

Creating a Payment Request Update

init(paymentSummaryItems: [PKPaymentSummaryItem])

Initialize a payment request update with the given list of summary items.

Updating Status and Summary Items

var status: PKPaymentAuthorizationStatus

The status of this payment request that indicates if authorization succeeded or failed.

enum PKPaymentAuthorizationStatus

General success and failure status for payment authorization.

var paymentSummaryItems: [PKPaymentSummaryItem]

The list of payment summary items for this instance.

class PKPaymentSummaryItem

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

Relationships

Inherits From

Conforms To

See Also

Payment Sheet Updates

class PKPaymentRequestPaymentMethodUpdate

Updates the payment request after the payment method changed.

class PKPaymentRequestShippingContactUpdate

Updates the payment request after the shipping contact information changed.

class PKPaymentRequestShippingMethodUpdate

Updates the payment request after the shipping method changed.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software