OPPApplePayRequestShippingContactUpdate
@objc
public final class OPPApplePayRequestShippingContactUpdate : OPPApplePayRequestUpdate
Class for updating the payment request after the shipping contact information changed.
-
The new shipping methods to update the payment request with.
Declaration
Swift
@objc public var shippingMethods: [PKShippingMethod]
-
List of errors in the shipping contact information (available for iOS 11 and higher). See
PKError
for specificNSError
keys to use.Declaration
Swift
@objc public var errors: [Error]! { get set }
-
Initializes a payment request update with provided errors, payment summary items and shipping methods.
Declaration
Swift
@objc public init(errors: [Error]?, paymentSummaryItems: [PKPaymentSummaryItem], shippingMethods: [PKShippingMethod])
Parameters
errors
List of errors in the shipping contact information (available for iOS 11 and higher). See
PKError
for specificNSError
keys to use.paymentSummaryItems
The new payment summary items to update the payment request with.
shippingMethods
The new shipping methods to update the payment request with.
Return Value
Returns an object of type OPPApplePayRequestShippingContactUpdate.