ECommercePrice class
Class with information about the price of the product:
- fiat - the cost in fiat money (an object of the ECommerceAmount class);
- internalComponents — the cost of internal components (amounts in internal currency). The allowed size for internal Components is up to 30 elements.
Constructors
-
ECommercePrice({required ECommerceAmount fiat, List<
ECommerceAmount> ? internalComponents}) -
Creates an object with information about the price of the product.
fiat
is a required parameter.const
Properties
- fiat → ECommerceAmount
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
internalComponents
→ List<
ECommerceAmount> ? -
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited