ECommercePrice class
This class contains the product price.
Instance methods
|
Initializes the instance of the |
|
|
Initializes the instance of the |
Properties
|
The cost in fiat money. The |
|
|
The cost of internal components (the amounts in the internal currency). Allowed size: Up to 30 elements. |
Method descriptions
init(fiat:)
init(fiat: ECommerceAmount)
Initializes the instance of the ECommercePrice class.
Parameters:
|
|
The cost in fiat money. The |
Returns:
The ECommercePrice class instance.
init(fiat:internalComponents:)
init(fiat: ECommerceAmount, internalComponents: [ECommerceAmount]?)
Initializes the instance of the ECommercePrice class.
Parameters:
|
|
The cost in fiat money. The |
|
|
The cost of internal components (the amounts in the internal currency). Allowed size: Up to 30 elements. |
Returns:
The ECommercePrice class instance.
Property descriptions
fiat
var fiat: ECommerceAmount { get }
The cost in fiat money. The ECommerceAmount class instance.
internalComponents
var internalComponents: [ECommerceAmount]? { get }
The cost of internal components (the amounts in the internal currency). Allowed size: Up to 30 elements.