PlatformPayWebShippingOption class

Annotations
  • @freezed

Constructors

PlatformPayWebShippingOption({required String id, required String label, required String detail, required num amount})
const
factory
PlatformPayWebShippingOption.fromJson(Map<String, dynamic> json)
factory

Properties

amount num
The amount to show for this shipping option. If the cost of this shipping option depends on the shipping address the customer enters, listen for the shippingaddresschange event.
no setterinherited
copyWith → $PlatformPayWebShippingOptionCopyWith<PlatformPayWebShippingOption>
Create a copy of PlatformPayWebShippingOption with the given fields replaced by the non-null parameter values.
no setterinherited
detail String
A longer description of this shipping option.
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
id String
A unique ID you create to keep track of this shipping option. You’ll be told the ID of the selected option on changes and on completion.
no setterinherited
label String
A short label for this shipping option.
no setterinherited
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>
Serializes this PlatformPayWebShippingOption to a JSON map.
inherited
toString() String
A string representation of this object.
inherited

Operators

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