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