QuotePriceData class final

price_data

Data used to generate a new [Price](https://stripe.com/docs/api/prices) object inline. One of `price` or `price_data` is required.

Constructors

QuotePriceData({required String currency, required String product, SessionRecurring? recurring, ShippingRateCurrencyOptionTaxBehavior? taxBehavior, int? unitAmount, String? unitAmountDecimal})
price_data
const
QuotePriceData.fromJson(Object? json)
factory

Properties

currency → String
final
hashCode → int
The hash code for this object.
no setterinherited
product → String
final
recurring → SessionRecurring?
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
taxBehavior → ShippingRateCurrencyOptionTaxBehavior?
final
unitAmount → int?
final
unitAmountDecimal → 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>(QuotePriceData instance, Encoder<V> encoder) → V