CarrierRate class

A list of carrier rates that can be referred to by main_table or single_value.

Supported carrier services are defined in https://support.google.com/merchants/answer/12577710?ref_topic=12570808&sjid=10662598224319463032-NC#zippy=%2Cdelivery-cost-rate-type%2Ccarrier-rate-au-de-uk-and-us-only.

Constructors

CarrierRate.new({String? carrier, String? carrierService, Price? flatAdjustment, String? name, String? originPostalCode, String? percentageAdjustment})
CarrierRate.fromJson(Map json_)

Properties

carrier String?
Carrier service, such as "UPS" or "Fedex".
getter/setter pair
carrierService String?
Carrier service, such as "ground" or "2 days".
getter/setter pair
flatAdjustment Price?
Additive shipping rate modifier.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
name String?
Name of the carrier rate.
getter/setter pair
originPostalCode String?
Shipping origin for this carrier rate.
getter/setter pair
percentageAdjustment String?
Multiplicative shipping rate modifier as a number in decimal notation.
getter/setter pair
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
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

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