Tax1 class
Constructors
-
Tax1({String? country, String? state, String? postcode, String? city, String? rate, String? name, int? priority, bool? compound, bool? shipping, int? order, Tax1Class_Enum? class_, List<String> postcodes = const [], List<String> cities = const []})
-
Returns a new Tax1 instance.
Properties
-
cities
↔ List<String>
-
List of city names. Introduced in WooCommerce 5.3.
getter/setter pair
-
city
↔ String?
-
City name, it doesn't support multiple values. Deprecated as of WooCommerce 5.3, 'cities' should be used instead.
getter/setter pair
-
class_
↔ Tax1Class_Enum?
-
Tax class.
getter/setter pair
-
compound
↔ bool?
-
Whether or not this is a compound rate.
getter/setter pair
-
country
↔ String?
-
Country ISO 3166 code.
getter/setter pair
-
hashCode
→ int
-
The hash code for this object.
no setteroverride
-
name
↔ String?
-
Tax rate name.
getter/setter pair
-
order
↔ int?
-
Indicates the order that will appear in queries.
getter/setter pair
-
postcode
↔ String?
-
Postcode/ZIP, it doesn't support multiple values. Deprecated as of WooCommerce 5.3, 'postcodes' should be used instead.
getter/setter pair
-
postcodes
↔ List<String>
-
List of postcodes / ZIPs. Introduced in WooCommerce 5.3.
getter/setter pair
-
priority
↔ int?
-
Tax priority.
getter/setter pair
-
rate
↔ String?
-
Tax rate.
getter/setter pair
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
-
shipping
↔ bool?
-
Whether or not this tax rate also gets applied to shipping.
getter/setter pair
-
state
↔ String?
-
State code.
getter/setter pair