SessionPriceData class final
price_data_with_product_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
- SessionPriceData({required String currency, String? product, SessionProductData? productData, SessionRecurring? recurring, ShippingRateCurrencyOptionTaxBehavior? taxBehavior, int? unitAmount, String? unitAmountDecimal})
-
price_data_with_product_data
const
- SessionPriceData.fromJson(Object? json)
-
factory
Properties
- currency → String
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- product → String?
-
final
- productData → SessionProductData?
-
product_data
final
- recurring → SessionRecurring?
-
recurring_adhoc
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> (SessionPriceData instance, Encoder< V> encoder) → V