DeliveryMethod class abstract

DeliveryMethod

Properties:

  • amount - The cost of this delivery method.
  • description - The name of the delivery method as shown to the shopper.
  • reference - The reference of the delivery method.
  • selected - If you display the PayPal lightbox with delivery methods, set to true for the delivery method that is selected. Only one delivery method can be selected at a time.
  • type - The type of the delivery method.
Annotations
  • @BuiltValue.new()

Constructors

DeliveryMethod([void updates(DeliveryMethodBuilder b)])
factory

Properties

amount Amount?
The cost of this delivery method.
no setter
description String?
The name of the delivery method as shown to the shopper.
no setter
hashCode int
The hash code for this object.
no setterinherited
reference String?
The reference of the delivery method.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
selected bool?
If you display the PayPal lightbox with delivery methods, set to true for the delivery method that is selected. Only one delivery method can be selected at a time.
no setter
type DeliveryMethodTypeEnum?
The type of the delivery method.
no setter

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
rebuild(dynamic updates(DeliveryMethodBuilder)) DeliveryMethod
Rebuilds the instance.
inherited
toBuilder() DeliveryMethodBuilder
Converts the instance to a builder B.
inherited
toString() String
A string representation of this object.
inherited

Operators

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

Static Properties

serializer → Serializer<DeliveryMethod>
no setter