TaxRate class

Constructors

TaxRate({int? id, String? country, String? state, String? postcode, String? city, String? rate, String? name, int? priority, bool? compound, bool? shipping, int? order, String? taxClass})
TaxRate.fromJson(String source)
factory
TaxRate.fromMap(Map<String, dynamic> map)
factory

Properties

city String?
final
compound bool?
bool Whether or not this is a compound rate. Compound tax rates are applied on top of other tax rates.
final
country String?
final
hashCode int
The hash code for this object.
no setteroverride
id int?
final
name String?
final
order int?
final
postcode String?
final
priority int?
int Tax priority. Only 1 matching rate per priority will be used.
final
rate String?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
shipping bool?
bool Whether or not this tax rate also gets applied to shipping.
final
state String?
final
taxClass String?
String Tax class.
final

Methods

copyWith({int? id, String? country, String? state, String? postcode, String? city, String? rate, String? name, int? priority, bool? compound, bool? shipping, int? order, String? taxClass}) TaxRate
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() String
toMap() Map<String, dynamic>
toString() String
A string representation of this object.
override

Operators

operator ==(Object o) bool
The equality operator.
override