UpcomingInvoiceItemsItem class final

invoice_item_preview_params

Constructors

UpcomingInvoiceItemsItem({int? amount, String? currency, String? description, bool? discountable, List<UpcomingDiscountsItem>? discounts, String? invoiceitem, Map<String, String>? metadata, InvoiceLineItemPeriod? period, String? price, InvoiceItemPriceData? priceData, int? quantity, ShippingRateCurrencyOptionTaxBehavior? taxBehavior, String? taxCode, List<String>? taxRates, int? unitAmount, String? unitAmountDecimal})
invoice_item_preview_params
const
UpcomingInvoiceItemsItem.fromJson(Object? json)
factory

Properties

amount int?
final
currency String?
final
description String?
final
discountable bool?
final
discounts List<UpcomingDiscountsItem>?
final
hashCode int
The hash code for this object.
no setterinherited
invoiceitem String?
final
metadata Map<String, String>?
final
period InvoiceLineItemPeriod?
final
price String?
final
priceData InvoiceItemPriceData?
final
quantity int?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
taxBehavior ShippingRateCurrencyOptionTaxBehavior?
final
taxCode String?
final
taxRates List<String>?
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>(UpcomingInvoiceItemsItem instance, Encoder<V> encoder) → V