SQIPMoney
@interface SQIPMoney : NSObject
Value that will charge the card payment source ID with amount in the specified SQIPCurrency
-
The amount of money in the smallest denomination of the currency. For example, when
currencyCodeis.usd, the amount is in cents.Declaration
Objective-C
@property (nonatomic, readonly) NSInteger amount; -
The currency code.
Declaration
Objective-C
@property (nonatomic, readonly) SQIPCurrency currency; -
Creates a new money object.
Declaration
Objective-C
- (nonnull instancetype)initWithAmount:(NSInteger)amount currency:(SQIPCurrency)currency;Parameters
amountAmount of money that will be charged (i.e 100 in USD will be $1.00)
currencyThe currency the payment source ID will be charged in.
SQIPMoney Class Reference