CurrencyEnumLookup
@interface CurrencyEnumLookup : NSObject
Look up class to access value and set value for enum CurrencyEnum.
-
The function return the currecncy number
Declaration
Objective-C
+ (NSString *_Nullable)getCurrencyCodeNumeric:(enum CurrencyEnum)inputEnum;Swift
class func getCurrencyCodeNumeric(_ inputEnum: CurrencyEnum) -> String?Parameters
inputEnumCurrency enum
Return Value
Correcponding currency code in numeric form
-
The function return the alpha code of the currency enum
Declaration
Objective-C
+ (NSString *_Nullable)getAlphaCode:(enum CurrencyEnum)inputEnum;Swift
class func getAlphaCode(_ inputEnum: CurrencyEnum) -> String?Parameters
inputEnumCurrency enum
Return Value
Correcponding currency code in alpha form
-
The function return the currency enum given string input
Declaration
Objective-C
+ (enum CurrencyEnum)enumFor:(NSString *_Nonnull)input;Swift
class func `enum`(for input: String) -> CurrencyEnumParameters
inputString representation of currency
Return Value
Correcponding currency enum
-
Each of currency have specific number of decimal point
Declaration
Objective-C
+ (int)getDecimalPointOfAlphaCode:(NSString *_Nonnull)input;Swift
class func getDecimalPoint(ofAlphaCode input: String) -> Int32Parameters
inputString representing the currency
Return Value
Number of possible decimal value of the currency
CurrencyEnumLookup Class Reference