Value class
The single value of a rate group or the value of a rate group table's cell.
Exactly one of noShipping
, flatRate
, pricePercentage
,
carrierRateName
, subtableName
must be set.
Constructors
- Value()
- Value.fromJson(Map _json)
Properties
- carrierRateName ↔ String
-
The name of a carrier rate referring to a carrier rate defined in the same
rate group. Can only be set if all other fields are not set.
read / write
- flatRate ↔ Price
-
A flat rate. Can only be set if all other fields are not set.
read / write
- hashCode → int
-
The hash code for this object. [...]
read-only, inherited
- noShipping ↔ bool
-
If true, then the product can't ship. Must be true when set, can only be
set if all other fields are not set.
read / write
- pricePercentage ↔ String
-
A percentage of the price represented as a number in decimal notation
(e.g.,
"5.4"
). Can only be set if all other fields are not set.read / write - runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
- subtableName ↔ String
-
The name of a subtable. Can only be set in table cells (i.e., not for
single values), and only if all other fields are not set.
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