ProductDefaultPriceData class final

price_data_without_product

Data used to generate a new [Price](https://stripe.com/docs/api/prices) object. This Price will be set as the default price for this product.

Constructors

ProductDefaultPriceData({required String currency, Map<String, PriceCurrencyOptionsValue>? currencyOptions, SessionRecurring? recurring, ShippingRateCurrencyOptionTaxBehavior? taxBehavior, int? unitAmount, String? unitAmountDecimal})
price_data_without_product
const
ProductDefaultPriceData.fromJson(Object? json)
factory

Properties

currency String
final
currencyOptions Map<String, PriceCurrencyOptionsValue>?
final
hashCode int
The hash code for this object.
no setterinherited
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>(ProductDefaultPriceData instance, Encoder<V> encoder) → V