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
PKErrorfor specificNSErrorkeys 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
errorsList of errors in the shipping contact information (available for iOS 11 and higher). See
PKErrorfor specificNSErrorkeys to use.paymentSummaryItemsThe new payment summary items to update the payment request with.
shippingMethodsThe new shipping methods to update the payment request with.
Return Value
Returns an object of type OPPApplePayRequestShippingContactUpdate.
OPPApplePayRequestShippingContactUpdate Class Reference