NPIOrderInfo
Deprecated
Objective-C
@interface NPIOrderInfo : NSObject
Swift
class NPIOrderInfo : NSObject
Class used to encapsulate order information
-
Double value of the transaction
Declaration
Objective-C
@property (nonatomic, strong, readonly) NSNumber *_Nonnull amount;Swift
var amount: NSNumber { get } -
Currency code following iSO 4217
Declaration
Objective-C
@property (nonatomic, strong, readonly) NSString *_Nonnull currencyCode;Swift
var currencyCode: String { get } -
Declaration
Objective-C
- (instancetype _Nonnull)initWithAmount:(NSNumber *_Nonnull)amount currencyCode:(NSString *_Nonnull)currencyCode;Swift
init(amount: NSNumber, currencyCode: String)Parameters
amountDouble value to be paid
currencyCodeCurrency code following ISO 4217
NPIOrderInfo Class Reference