CarrierShipping class

Carrier-based shipping configuration.

Allows for setting shipping speed or shipping cost based on a carrier's provided info.

Constructors

CarrierShipping({String? carrierPrice, Price? carrierPriceFlatAdjustment, double? carrierPricePercentageAdjustment, String? carrierTransitTime, String? country, String? fixedMaxTransitTime, String? fixedMinTransitTime, Price? flatPrice, String? maxHandlingTime, String? minHandlingTime, String? originPostalCode, String? postalCode, String? region})
CarrierShipping.fromJson(Map json_)

Properties

carrierPrice String?
Selected carrier to calculate the shipping price from.
getter/setter pair
carrierPriceFlatAdjustment Price?
A flat adjustment on the carrier price.
getter/setter pair
carrierPricePercentageAdjustment double?
A percentual adjustment on the carrier price.
getter/setter pair
carrierTransitTime String?
Selected carrier to calculate the shipping speed from.
getter/setter pair
country String?
The CLDR territory code of the country to which an item will ship.
getter/setter pair
fixedMaxTransitTime String?
Maximum transit time (inclusive) between when the order has shipped and when it is delivered in business days.
getter/setter pair
fixedMinTransitTime String?
Minimum transit time (inclusive) between when the order has shipped and when it is delivered in business days.
getter/setter pair
flatPrice Price?
Fixed shipping price, represented as a number with currency.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
maxHandlingTime String?
Maximum handling time (inclusive) between when the order is received and shipped in business days.
getter/setter pair
minHandlingTime String?
Minimum handling time (inclusive) between when the order is received and shipped in business days.
getter/setter pair
originPostalCode String?
The source location postal code from which this offer ships.
getter/setter pair
postalCode String?
The postal code range that the shipping rate applies to, represented by a postal code (eg.
getter/setter pair
region String?
The geographic region to which a shipping rate applies.
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