Base class for updating the payment request after the user makes changes on the payment sheet.
SDKs
- iOS 11.0+
- Mac Catalyst 13.0+
- watchOS 4.0+
Framework
- Pass
Kit (Apple Pay and Wallet)
Declaration
class PKPaymentRequestUpdate : NSObject
Base class for updating the payment request after the user makes changes on the payment sheet.
SDKs
Framework
class PKPaymentRequestUpdate : NSObject
init(payment Summary Items: [PKPayment Summary Item])
Initialize a payment request update with the given list of summary items.
var status: PKPayment Authorization Status
The status of this payment request that indicates if authorization succeeded or failed.
enum PKPayment Authorization Status
General success and failure status for payment authorization.
var payment Summary Items: [PKPayment Summary Item]
The list of payment summary items for this instance.
class PKPayment Summary Item
Defines a summary item in a payment request—for example, total, tax, discount, or grand total.
class PKPayment Request Payment Method Update
Updates the payment request after the payment method changed.
class PKPayment Request Shipping Contact Update
Updates the payment request after the shipping contact information changed.
class PKPayment Request Shipping Method Update
Updates the payment request after the shipping method changed.