AMAECommercePrice 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
-initWithFiat:
- (instancetype)initWithFiat:(AMAECommerceAmount *)fiat
Initializes the instance of the AMAECommercePrice
class.
Parameters:
|
The cost in fiat money. The |
Returns:
The AMAECommercePrice
class instance.
-initWithFiat:internalComponents:
- (instancetype)initWithFiat:(AMAECommerceAmount *)fiat
internalComponents:(nullable NSArray<AMAECommerceAmount *> *)internalComponents;
Initializes the instance of the AMAECommercePrice
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 AMAECommercePrice
class instance.
Property descriptions
fiat
(nonatomic, strong, readonly) AMAECommerceAmount *fiat;
The cost in fiat money. The AMAECommerceAmount
class instance.
internalComponents
(nonatomic, copy, readonly, nullable) NSArray<AMAECommerceAmount *> *internalComponents
The cost of internal components (the amounts in the internal currency). Allowed size: Up to 30 elements.