AMAECommerceAmount class
This class contains cost information, such as quantity and units.
Instance methods
Initializes the instance of the |
Properties
The unit. For example: USD or RUB. Acceptable value: Up to 20 characters. |
|
Quantity. |
Method descriptions
-initWithUnit:value:
- (instancetype)initWithUnit:(NSString *)unit value:(NSDecimalNumber *)value
Initializes the instance of the AMAECommerceAmount
class for sending information about purchases.
Parameters:
|
The unit. For example: USD or RUB. Acceptable value: Up to 20 characters. Use ISO 4217 format. |
|
Quantity. |
Returns:
The AMAECommerceAmount
class instance.
Property descriptions
unit
(nonatomic, copy, readonly) NSString *unit
The unit. For example: USD or RUB. Acceptable value: Up to 20 characters.
Note
Use ISO 4217 format.
value
(nonatomic, strong, readonly) NSDecimalNumber *value
Quantity.
Was the article helpful?
Previous