CheckoutSessionShippingCost class final

The details of the customer cost of shipping, including the customer chosen ShippingRate.

Constructors

CheckoutSessionShippingCost({required int amountSubtotal, required int amountTax, required int amountTotal, ShippingRateOrId? shippingRate, List<LineItemsTaxAmount>? taxes})
The details of the customer cost of shipping, including the customer chosen ShippingRate.
const
CheckoutSessionShippingCost.fromJson(Object? json)
factory

Properties

amountSubtotal int
final
amountTax int
final
amountTotal int
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
shippingRate ShippingRateOrId?
final
taxes List<LineItemsTaxAmount>?
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>(CheckoutSessionShippingCost instance, Encoder<V> encoder) → V