YMMECommercePrice class
This class contains the product price.
Instance methods
-initWithFiat: | Initializes the instance of the |
-initWithFiat:internalComponents: | Initializes the instance of the |
-initWithFiat: | Initializes the instance of the |
-initWithFiat: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
-initWithFiat:
- (instancetype)initWithFiat:(YMMECommerceAmount *)fiat
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.
-initWithFiat:internalComponents:
- (instancetype)initWithFiat:(YMMECommerceAmount *)fiat
internalComponents:(nullable NSArray<YMMECommerceAmount *> *)internalComponents;
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
(nonatomic, strong, readonly) YMMECommerceAmount *fiat;
The cost in fiat money. The YMMECommerceAmount
class instance.
internalComponents
(nonatomic, copy, readonly, nullable) NSArray<YMMECommerceAmount *> *internalComponents
The cost of internal components (the amounts in the internal currency). Allowed size: Up to 30 elements.