ShippingRateCreateOptions class final

Constructors

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

Properties

deliveryEstimate → SessionDeliveryEstimate?
final
displayName → String
final
expand → List<String>?
final
fixedAmount → SessionFixedAmount?
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>(ShippingRateCreateOptions instance, Encoder<V> encoder) → V