InvoiceItemCreateOptions class final

Constructors

InvoiceItemCreateOptions({int? amount, String? currency, required String customer, String? description, bool? discountable, List<InvoiceItemDiscountsItem>? discounts, List<String>? expand, String? invoice, Map<String, String>? metadata, InvoiceLineItemPeriod? period, String? price, InvoiceItemPriceData? priceData, int? quantity, String? subscription, ShippingRateCurrencyOptionTaxBehavior? taxBehavior, String? taxCode, List<String>? taxRates, int? unitAmount, String? unitAmountDecimal})
const
InvoiceItemCreateOptions.fromJson(Object? json)
factory

Properties

amount → int?
final
currency → String?
final
customer → String
final
description → String?
final
discountable → bool?
final
discounts → List<InvoiceItemDiscountsItem>?
final
expand → List<String>?
final
hashCode → int
The hash code for this object.
no setterinherited
invoice → String?
final
metadata → Map<String, String>?
final
period → InvoiceLineItemPeriod?
final
price → String?
final
priceData → InvoiceItemPriceData?
one_time_price_data
final
quantity → int?
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
subscription → String?
final
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>(InvoiceItemCreateOptions instance, Encoder<V> encoder) → V