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 } -
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