MonetaryAmount class

Constructors

MonetaryAmount()
MonetaryAmount.fromJson(Map _json)

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
priceAmount Price
The pre-tax or post-tax price depends on the location of the order. - For countries (e.g. US) where price attribute excludes tax, this field corresponds to the pre-tax value. - For coutries (e.g. France) where price attribute includes tax, this field corresponds to the post-tax value .
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
taxAmount Price
Tax value, present only for countries where price attribute excludes tax (e.g. US). No tax is referenced as 0 value with the corresponding currency.
read / write

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toJson() Map<String, Object>
toString() String
Returns a string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited