SessionShippingRateData class final

method_params

Parameters to be passed to Shipping Rate creation for this shipping option

Constructors

SessionShippingRateData({SessionDeliveryEstimate? deliveryEstimate, required String displayName, SessionFixedAmount? fixedAmount, Map<String, String>? metadata, ShippingRateCurrencyOptionTaxBehavior? taxBehavior, String? taxCode})
method_params
const
SessionShippingRateData.fromJson(Object? json)
factory

Properties

deliveryEstimate SessionDeliveryEstimate?
delivery_estimate
final
displayName String
final
fixedAmount SessionFixedAmount?
fixed_amount
final
hashCode int
The hash code for this object.
no setterinherited
metadata Map<String, String>?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
taxBehavior ShippingRateCurrencyOptionTaxBehavior?
final
taxCode String?
final
type String?
final

Methods

encodeWith<V>(Encoder<V> encoder) → V
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, Object?>
toString() String
A string representation of this object.
override

Operators

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

Static Methods

encode<V>(SessionShippingRateData instance, Encoder<V> encoder) → V