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>
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>
inherited
toString() String
A string representation of this object.
inherited

Operators

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