RateGroup class
Shipping rate group definitions.
Only the last one is allowed to have an empty applicable_shipping_labels
,
which means "everything else". The other applicable_shipping_labels
must
not overlap.
Constructors
-
RateGroup.new({List<
String> ? applicableShippingLabels, List<CarrierRate> ? carrierRates, Table? mainTable, String? name, Value? singleValue, List<Table> ? subtables}) - RateGroup.fromJson(Map json_)
Properties
-
applicableShippingLabels
↔ List<
String> ? -
A list of
shipping labels
defining the products to which this rate group applies to.
getter/setter pair
-
carrierRates
↔ List<
CarrierRate> ? -
A list of carrier rates that can be referred to by
main_table
orsingle_value
.getter/setter pair - hashCode → int
-
The hash code for this object.
no setterinherited
- mainTable ↔ Table?
-
A table defining the rate group, when
single_value
is not expressive enough.getter/setter pair - name ↔ String?
-
Name of the rate group.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- singleValue ↔ Value?
-
The value of the rate group (For example flat rate $10).
getter/setter pair
-
subtables
↔ List<
Table> ? -
A list of subtables referred to by
main_table
.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