SQIPInAppPaymentsSDK

@interface SQIPInAppPaymentsSDK : NSObject

Manages configuration of the Square In-App Payments SDK.

  • The Square application ID used to obtain a card nonce.

    Warning

    You must set a Square application ID before attempting any other SDK operation, or your app will crash.

    Declaration

    Objective-C

    @property (readwrite, strong, nonatomic, nullable, class)
        NSString *squareApplicationID;

    Swift

    class var squareApplicationID: String? { get set }
  • true if the device supports Apple Pay and the customer’s wallet contains a card supported by Square; false otherwise.

    Declaration

    Objective-C

    @property (readonly, nonatomic, class) BOOL canUseApplePay;

    Swift

    class var canUseApplePay: Bool { get }