SCPCardPresentDetails
Objective-C
@interface SCPCardPresentDetails : NSObject <SCPJSONDecodable>
                Swift
class CardPresentDetails : NSObject, JSONDecodable
                An object representing details from a transaction using a card_present payment method.
- 
                  
                  
The last 4 digits of the card.
Declaration
Objective-C
@property (nonatomic, readonly) NSString *_Nonnull last4;Swift
var last4: String { get } - 
                  
                  
The card’s expiration month. 1-indexed (i.e. 1 == January)
Declaration
Objective-C
@property (nonatomic, readonly) NSInteger expMonth;Swift
var expMonth: Int { get } - 
                  
                  
The card’s expiration year.
Declaration
Objective-C
@property (nonatomic, readonly) NSInteger expYear;Swift
var expYear: Int { get } - 
                  
                  
The cardholder name as read from the card, in ISO 7813 format. May include alphanumeric characters, special characters and first/last name separator (/).
Declaration
Objective-C
@property (nonatomic, readonly, nullable) NSString *cardholderName;Swift
var cardholderName: String? { get } - 
                  
                  
The card’s funding type.
Declaration
Objective-C
@property (nonatomic, readonly) SCPCardFundingType funding;Swift
var funding: CardFundingType { get } - 
                  
                  
The issuing brand of the card.
Declaration
Objective-C
@property (nonatomic, readonly) SCPCardBrand brand;Swift
var brand: CardBrand { get } - 
                  
                  
A string uniquely identifying this card number.
Declaration
Objective-C
@property (nonatomic, readonly) NSString *_Nonnull fingerprint;Swift
var fingerprint: String { get } - 
                  
                  
ID of a
cardPaymentMethod that may be attached to a Customer for future transactions. Only present if it was possible to generate acardPaymentMethod.Declaration
Objective-C
@property (nonatomic, readonly, nullable) NSString *generatedCard;Swift
var generatedCard: String? { get } - 
                  
                  
Receipt information for the card present transaction. Only present for EMV transactions.
Declaration
Objective-C
@property (nonatomic, readonly, nullable) SCPReceiptDetails *receipt;Swift
var receipt: SCPReceiptDetails? { get } - 
                  
                  
(Only applicable to EMV payments) The authorization data from the card issuer.
Declaration
Objective-C
@property (nonatomic, readonly, nullable) NSString *emvAuthData;Swift
var emvAuthData: String? { get } - 
                  
                  
Two-letter ISO code representing the country of the card. You could use this attribute to get a sense of the international breakdown of cards you’ve collected.
Only available for interac_present payments.
Declaration
Objective-C
@property (nonatomic, copy, readonly, nullable) NSString *country;Swift
var country: String? { get } - 
                  
                  
EMV tag 5F2D. Preferred languages specified by the integrated circuit chip.
Only available for interac_present payments.
Declaration
Objective-C
@property (nonatomic, copy, readonly, nullable) NSArray<NSString *> *preferredLocales;Swift
var preferredLocales: [String]? { get } - 
                  
                  
Contains information about card networks that can be used to process the payment.
Only available after collectPaymentMethod when using updatePaymentIntent on the CollectConfiguration.
Declaration
Objective-C
@property (nonatomic, copy, readonly, nullable) SCPNetworks *networks;Swift
@NSCopying var networks: SCPNetworks? { get } - 
                  
                  
Whether this payment method is eligible for incremental authorizations.
Note: This is only known if the PaymentIntent was confirmed.
Declaration
Objective-C
@property (nonatomic, readonly) SCPIncrementalAuthorizationStatus incrementalAuthorizationStatus;Swift
var incrementalAuthorizationStatus: SCPIncrementalAuthorizationStatus { 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; 
      SCPCardPresentDetails Class Reference