STPApplePayPaymentOption
@objc
public class STPApplePayPaymentOption : NSObject, STPPaymentOption
An empty class representing that the user wishes to pay via Apple Pay. This can
be checked on an STPPaymentContext
, e.g:
if paymentContext.selectedPaymentOption is STPApplePayPaymentOption {
// Don't ask the user for their card number; they want to pay with apple pay.
}
-
Declaration
Swift
@objc public var image: UIImage { get }
-
Declaration
Swift
@objc public var templateImage: UIImage { get }
-
Declaration
Swift
@objc public var label: String { get }
-
Declaration
Swift
@objc public var isReusable: Bool { get }