SCPDynamicCurrencyConversion
Objective-C
@interface SCPDynamicCurrencyConversion : NSObject <SCPJSONDecodable, NSCopying>
Swift
class DynamicCurrencyConversion : NSObject, JSONDecodable, NSCopying
An object representing the dynamic currency conversion details for a transaction.
-
Exchange rate received by the cardholder, including markup.
Declaration
Objective-C
@property (nonatomic, readonly, nullable) NSNumber *cardholderRate;
Swift
var cardholderRate: NSNumber? { get }
-
Time at which the provided exchange rates were determined.
Declaration
Objective-C
@property (nonatomic, readonly, nullable) NSDate *fxAsOf;
Swift
var fxAsOf: Date? { get }
-
Amount in the original currency before conversion.
Declaration
Objective-C
@property (nonatomic, readonly) NSUInteger originalAmount;
Swift
var originalAmount: UInt { get }
-
Original currency before conversion.
Declaration
Objective-C
@property (nonatomic, readonly, nullable) NSString *originalCurrency;
Swift
var originalCurrency: String? { get }
-
Reference exchange rate published by a regulatory body for cardholder disclosure. Present only for transactions where the merchant and cardholder are both in the European Economic Area (EEA).
Declaration
Objective-C
@property (nonatomic, readonly, nullable) NSNumber *referenceFxRate;
Swift
var referenceFxRate: NSNumber? { get }
-
Markup percentage added to the reference_fx_rate to get the cardholder_rate. Used for cardholder disclosure and present only for transactions where the merchant and cardholder are both in the European Economic Area (EEA).
Declaration
Objective-C
@property (nonatomic, readonly, nullable) NSNumber *referenceMarkupPercent;
Swift
var referenceMarkupPercent: NSNumber? { get }
-
Whether dynamic currency conversion was performed on this transaction.
Declaration
Objective-C
@property (nonatomic, readonly) NSString *_Nonnull status;
Swift
var status: String { get }
-
Exchange rate applied to the transaction, excluding markup.
Declaration
Objective-C
@property (nonatomic, readonly, nullable) NSNumber *transactionFxRate;
Swift
var transactionFxRate: NSNumber? { get }
-
Markup percentage added to the transaction_fx_rate to get the cardholder_rate.
Declaration
Objective-C
@property (nonatomic, readonly, nullable) NSNumber *transactionMarkupPercent;
Swift
var transactionMarkupPercent: NSNumber? { 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;