Service class
Shipping service.
Constructors
-
Service.new({bool? active, String? currencyCode, List<
String> ? deliveryCountries, DeliveryTime? deliveryTime, List<LoyaltyProgram> ? loyaltyPrograms, Price? minimumOrderValue, MinimumOrderValueTable? minimumOrderValueTable, List<RateGroup> ? rateGroups, String? serviceName, String? shipmentType, StoreConfig? storeConfig}) - Service.fromJson(Map json_)
Properties
- active ↔ bool?
-
A boolean exposing the active status of the shipping service.
getter/setter pair
- currencyCode ↔ String?
-
The CLDR code of the currency to which this service applies.
getter/setter pair
-
deliveryCountries
↔ List<
String> ? -
The CLDR territory code of the countries to which the service applies.
getter/setter pair
- deliveryTime ↔ DeliveryTime?
-
Time spent in various aspects from order to the delivery of the product.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
-
loyaltyPrograms
↔ List<
LoyaltyProgram> ? -
Loyalty programs that this shipping service is limited to.
getter/setter pair
- minimumOrderValue ↔ Price?
-
Minimum order value for this service.
getter/setter pair
- minimumOrderValueTable ↔ MinimumOrderValueTable?
-
Table of per store minimum order values for the pickup fulfillment type.
getter/setter pair
-
rateGroups
↔ List<
RateGroup> ? -
Shipping rate group definitions.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- serviceName ↔ String?
-
Free-form name of the service.
getter/setter pair
- shipmentType ↔ String?
-
Type of locations this service ships orders to.
getter/setter pair
- storeConfig ↔ StoreConfig?
-
A list of stores your products are delivered from.
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