OPPApplePayRequestUpdate

@objc
public class OPPApplePayRequestUpdate : NSObject

Base class for updating the payment request after the shopper makes changes on the payment form.

  • The status of the payment request update. Set PKPaymentAuthorizationStatusSuccess for a successful update, and PKPaymentAuthorizationStatusFailure if you were unable to process the required changes. PKPaymentAuthorizationStatusSuccess by default.

    Declaration

    Swift

    @objc
    public var status: PKPaymentAuthorizationStatus
  • The new payment summary items to update the payment request with.

    Declaration

    Swift

    @objc
    public var paymentSummaryItems: [PKPaymentSummaryItem]
  • Initializes a payment request update with the given list of summary items.

    Declaration

    Swift

    @objc
    public init(paymentSummaryItems: [PKPaymentSummaryItem])

    Parameters

    paymentSummaryItems

    The new payment summary items to update the payment request with.

    Return Value

    Returns an object of type OPPApplePayRequestUpdate.