SCPPaymentMethodCardPresentDetails

Objective-C


@interface SCPPaymentMethodCardPresentDetails : NSObject

Swift

class PaymentMethodCardPresentDetails : NSObject

Instrument details for a PaymentMethod of type card_present or interac_present.

  • The issuing brand of the card.

    Declaration

    Objective-C

    @property (nonatomic, copy, readonly) NSString *_Nonnull brand;

    Swift

    var brand: String { get }
  • The product identifier for the card’s brand.

    Declaration

    Objective-C

    @property (nonatomic, copy, readonly, nullable) NSString *brandProduct;

    Swift

    var brandProduct: String? { get }
  • The cardholder name as read from the card.

    Declaration

    Objective-C

    @property (nonatomic, copy, readonly, nullable) NSString *cardholderName;

    Swift

    var cardholderName: String? { get }
  • Two-letter ISO code representing the country of the card.

    Declaration

    Objective-C

    @property (nonatomic, copy, readonly, nullable) NSString *country;

    Swift

    var country: String? { get }
  • A high-level description of the type of cards issued in this range.

    Declaration

    Objective-C

    @property (nonatomic, copy, readonly, nullable) NSString *stripeDescription;

    Swift

    var stripeDescription: String? { get }
  • The card’s expiration month. 1-indexed (i.e. 1 == January).

    Declaration

    Objective-C

    @property (nonatomic, copy, readonly, nullable) NSNumber *expMonth;

    Swift

    @NSCopying var expMonth: NSNumber? { get }
  • The card’s expiration year.

    Declaration

    Objective-C

    @property (nonatomic, copy, readonly, nullable) NSNumber *expYear;

    Swift

    @NSCopying var expYear: NSNumber? { get }
  • The card’s funding type.

    Declaration

    Objective-C

    @property (nonatomic, copy, readonly, nullable) NSString *funding;

    Swift

    var funding: String? { get }
  • iin

    Issuer identification number of the card.

    Declaration

    Objective-C

    @property (nonatomic, copy, readonly, nullable) NSString *iin;

    Swift

    var iin: String? { get }
  • The name of the card’s issuing bank.

    Declaration

    Objective-C

    @property (nonatomic, copy, readonly, nullable) NSString *issuer;

    Swift

    var issuer: String? { get }
  • The last four digits of the card.

    Declaration

    Objective-C

    @property (nonatomic, copy, readonly, nullable) NSString *last4;

    Swift

    var last4: String? { get }
  • Contains information about card networks that can be used to process the payment.

    Declaration

    Objective-C

    @property (nonatomic, copy, readonly, nullable) SCPNetworks *networks;

    Swift

    @NSCopying var networks: SCPNetworks? { get }
  • EMV tag 5F2D. Preferred languages specified by the integrated circuit chip.

    Declaration

    Objective-C

    @property (nonatomic, copy, readonly, nullable) NSArray<NSString *> *preferredLocales;

    Swift

    var preferredLocales: [String]? { get }
  • A unique identifier assigned by the card network to the underlying payment account. This value can identify the same account across a physical card and its wallet tokens.

    Declaration

    Objective-C

    @property (nonatomic, copy, readonly, nullable) NSString *paymentAccountReference;

    Swift

    var paymentAccountReference: String? { get }
  • How the card details were read, using the value returned by the Stripe API (for example, contact_emv or contactless_emv).

    Declaration

    Objective-C

    @property (nonatomic, copy, readonly) NSString *_Nonnull readMethod;

    Swift

    var readMethod: String { get }
  • If this PaymentMethod is from a card wallet, this contains the wallet details.

    Declaration

    Objective-C

    @property (nonatomic, readonly, nullable) SCPWallet *wallet;

    Swift

    var wallet: SCPWallet? { get }
  • Unavailable

    You cannot directly instantiate this class.

    Declaration

    Objective-C

    - (nonnull instancetype)init;
  • Unavailable

    You cannot directly instantiate this class.

    Declaration

    Objective-C

    + (nonnull instancetype)new;