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({String? carrierRateName, Price? flatRate, bool? noShipping, String? pricePercentage, String? subtableName})
Value.fromJson(Map json_)

Properties

carrierRateName String?
The name of a carrier rate referring to a carrier rate defined in the same rate group.
getter/setter pair
flatRate Price?
A flat rate.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
noShipping bool?
If true, then the product can't ship.
getter/setter pair
pricePercentage String?
A percentage of the price represented as a number in decimal notation (for example, "5.4").
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
subtableName String?
The name of a subtable.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

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