SCPQrCodeDisplayData
Objective-C
@interface SCPQrCodeDisplayData : NSObject <NSCopying>
Swift
class QrCodeDisplayData : NSObject, NSCopying
Contains data necessary for displaying a QR code during payment processing.
-
The payment method type associated with this QR code.
Declaration
Objective-C
@property (nonatomic, readonly) SCPPaymentMethodType paymentMethodType;Swift
var paymentMethodType: PaymentMethodType { get } -
The PNG image URL for the QR code.
Declaration
Objective-C
@property (nonatomic, readonly) NSString *_Nonnull qrCodeImageUrlPng;Swift
var qrCodeImageUrlPng: String { get } -
The SVG image URL for the QR code, if available.
Declaration
Objective-C
@property (nonatomic, readonly, nullable) NSString *qrCodeImageUrlSvg;Swift
var qrCodeImageUrlSvg: String? { get } -
The expiration timestamp (in milliseconds since epoch) for the QR code.
Declaration
Objective-C
@property (nonatomic, readonly) NSTimeInterval expiresAtMs;Swift
var expiresAtMs: TimeInterval { get } -
Unavailable
You cannot directly instantiate
SCPQrCodeDisplayData.Declaration
Objective-C
- (nonnull instancetype)init; -
Unavailable
You cannot directly instantiate
SCPQrCodeDisplayData.Declaration
Objective-C
+ (nonnull instancetype)new;