ECommerceAmount 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
init(unit:value:)
init(unit: String, value: NSDecimalNumber)
Initializes the instance of the ECommerceAmount
class for sending information about purchases.
Parameters:
|
The unit. For example: USD or RUB. Acceptable value: Up to 20 characters. |
|
Quantity. |
Returns:
The ECommerceAmount
class instance.
Property descriptions
unit
var unit: String { get }
The unit. For example: USD or RUB. Acceptable value: Up to 20 characters.
Use ISO 4217 format.
value
var value: NSDecimalNumber { get }
Quantity.
Was the article helpful?
Previous