TaxRate class final

Implemented types

Constructors

TaxRate({required bool active, String? country, required DateTime created, String? description, required String displayName, double? effectivePercentage, required String id, required bool inclusive, String? jurisdiction, TaxRateJurisdictionLevel? jurisdictionLevel, required bool livemode, Map<String, String>? metadata, required double percentage, String? state, TaxProductResourceTaxRateDetailsTaxType? taxType})
TaxRate
const
TaxRate.fromJson(Object? json)
factory

Properties

active bool
final
country String?
final
created DateTime
final
description String?
final
displayName String
final
effectivePercentage double?
final
hashCode int
The hash code for this object.
no setterinherited
id String
The ID of the TaxRate.
final
inclusive bool
final
jurisdiction String?
final
jurisdictionLevel TaxRateJurisdictionLevel?
final
livemode bool
final
metadata Map<String, String>?
final
object String
The resource's type.
final
percentage double
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
state String?
final
taxType TaxProductResourceTaxRateDetailsTaxType?
final

Methods

encodeWith<V>(Encoder<V> encoder) → V
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, Object?>
override
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

encode<V>(TaxRate instance, Encoder<V> encoder) → V
override