InvoiceitemPrice class final

The price of the invoice item.

Constructors

InvoiceitemPrice({required bool active, required InvoiceitemPlanBillingScheme billingScheme, required DateTime created, required String currency, Map<String, CurrencyOption>? currencyOptions, CustomUnitAmount? customUnitAmount, required String id, required bool livemode, String? lookupKey, required Map<String, String> metadata, String? nickname, required InvoiceitemPlanProductOrId product, InvoiceitemPriceRecurring? recurring, CurrencyOptionTaxBehavior? taxBehavior, List<PriceTier>? tiers, InvoiceitemPlanTiersMode? tiersMode, InvoiceitemPlanTransformUsage? transformQuantity, required InvoiceitemPriceType type, int? unitAmount, String? unitAmountDecimal})
The price of the invoice item.
const
InvoiceitemPrice.fromJson(Object? json)
factory

Properties

active → bool
final
billingScheme → InvoiceitemPlanBillingScheme
final
created → DateTime
final
currency → String
final
currencyOptions → Map<String, CurrencyOption>?
final
customUnitAmount → CustomUnitAmount?
final
hashCode → int
The hash code for this object.
no setterinherited
id → String
final
livemode → bool
final
lookupKey → String?
final
metadata → Map<String, String>
final
nickname → String?
final
object → String
final
product → InvoiceitemPlanProductOrId
final
recurring → InvoiceitemPriceRecurring?
The recurring components of a price such as `interval` and `usage_type`.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
taxBehavior → CurrencyOptionTaxBehavior?
final
tiers → List<PriceTier>?
final
tiersMode → InvoiceitemPlanTiersMode?
final
transformQuantity → InvoiceitemPlanTransformUsage?
final
type → InvoiceitemPriceType
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>(InvoiceitemPrice instance, Encoder<V> encoder) → V