InvoiceLineItemTaxRateData class final

tax_rate_data_param

Data to find or create a TaxRate object. Stripe automatically creates or reuses a TaxRate object for each tax amount. If the `tax_rate_data` exactly matches a previous value, Stripe will reuse the TaxRate object. TaxRate objects created automatically by Stripe are immediately archived, do not appear in the line item’s `tax_rates`, and cannot be directly added to invoices, payments, or line items.

Constructors

InvoiceLineItemTaxRateData({String? country, String? description, required String displayName, required bool inclusive, String? jurisdiction, required double percentage, String? state, TaxProductResourceLineItemTaxBreakdownTaxRateDetailsTaxType? taxType})
tax_rate_data_param
const
InvoiceLineItemTaxRateData.fromJson(Object? json)
factory

Properties

country → String?
final
description → String?
final
displayName → String
final
hashCode → int
The hash code for this object.
no setterinherited
inclusive → bool
final
jurisdiction → String?
final
percentage → double
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
state → String?
final
taxType → TaxProductResourceLineItemTaxBreakdownTaxRateDetailsTaxType?
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>(InvoiceLineItemTaxRateData instance, Encoder<V> encoder) → V