Service class Null safety
Constructors
-
Service({bool? active, String? currency, String? deliveryCountry, DeliveryTime? deliveryTime, String? eligibility, Price? minimumOrderValue, MinimumOrderValueTable? minimumOrderValueTable, String? name, PickupCarrierService? pickupService, List<
RateGroup> ? rateGroups, String? shipmentType}) - Service.fromJson(Map json_)
Properties
- active ↔ bool?
-
A boolean exposing the active status of the shipping service.
read / write
- currency ↔ String?
-
The CLDR code of the currency to which this service applies.
read / write
- deliveryCountry ↔ String?
-
The CLDR territory code of the country to which the service applies.
read / write
- deliveryTime ↔ DeliveryTime?
-
Time spent in various aspects from order to the delivery of the product.
read / write
- eligibility ↔ String?
-
Eligibility for this service.
read / write
- hashCode → int
-
The hash code for this object.
read-onlyinherited
- minimumOrderValue ↔ Price?
-
Minimum order value for this service.
read / write
- minimumOrderValueTable ↔ MinimumOrderValueTable?
-
Table of per store minimum order values for the pickup fulfillment type.
read / write
- name ↔ String?
-
Free-form name of the service.
read / write
- pickupService ↔ PickupCarrierService?
-
The carrier-service pair delivering items to collection points.
read / write
-
rateGroups
↔ List<
RateGroup> ? -
Shipping rate group definitions.
read / write
- runtimeType → Type
-
A representation of the runtime type of the object.
read-onlyinherited
- shipmentType ↔ String?
-
Type of locations this service ships orders to.
read / write
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent 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