SQIPCard

@interface SQIPCard : NSObject <NSCopying>

Represents a payment card.

  • The card brand (for example, Visa).

    Declaration

    Objective-C

    @property (readonly, assign, nonatomic) int brand;

    Swift

    var brand: Int32 { get }
  • The last 4 digits of the card number.

    Declaration

    Objective-C

    @property (readonly, strong, nonatomic, nonnull) NSString *lastFourDigits;

    Swift

    var lastFourDigits: String { get }
  • The expiration month of the card. Ranges between 1 and 12.

    Declaration

    Objective-C

    @property (readonly, assign, nonatomic) NSUInteger expirationMonth;

    Swift

    var expirationMonth: UInt { get }
  • The 4-digit expiration year of the card.

    Declaration

    Objective-C

    @property (readonly, assign, nonatomic) NSUInteger expirationYear;

    Swift

    var expirationYear: UInt { get }
  • The billing postal code associated with the card, if available.

    Declaration

    Objective-C

    @property (readonly, strong, nonatomic, nullable) NSString *postalCode;

    Swift

    var postalCode: String? { get }
  • The type of card (for example, Credit or Debit) Note: This property is experimental and will always return unknown

    Declaration

    Objective-C

    @property (readonly, assign, nonatomic) int type;

    Swift

    var type: Int32 { get }
  • The prepaid type of the credit card (for example, a Prepaid Gift Card) Note: This property is experimental and will always return unknown

    Declaration

    Objective-C

    @property (readonly, assign, nonatomic) int prepaidType;

    Swift

    var prepaidType: Int32 { get }