ezvatrule
Summary
Contains information about a VAT charging rule.
Persistent
Yes.
Attributes
| Attribute | Type | Static* | Description | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| id | integer | Yes. | The ID number of the VAT charging rule. | |||||||||
| country | string | Yes. | The name of the country. | |||||||||
| vat_type | integer | Yes. | The ID number of the VAT type. | |||||||||
| product_categories | array | No. | The product categories affected by this VAT rule as an array of hashes where each hash consists of the following elements:
|
|||||||||
| product_categories_string | string | No. | The names of the product categories affected by this VAT rule (separated by commas). | |||||||||
| product_categories_ids | array | No. | The ID numbers of the product categories affected by this VAT rule. | |||||||||
| product_categories_names | array | No. | The names of the product categories affected by this VAT rule. | |||||||||
| vat_type_object | object | No. | The VAT type (as ezvattype object). | |||||||||
| vat_type_name | string | No. | The name of the VAT type. |
* Indicates whether the attribute provides a pre-fetched value or if it needs to be computed upon request.
Changed in Exponential 6.0.15
The attributes of ezvatrule as eZVatRule::definition() of Exponential 6.0.15 gives them (kernel/classes/ezvatrule.php):
| Attribute | Change |
|---|---|
| country_code | An attribute in 6.0.15 (field ezvatrule, string); this page did not list it. |
| product_categories_string | An attribute in 6.0.15 (function attribute); this page did not list it. |
| product_categories_ids | An attribute in 6.0.15 (function attribute); this page did not list it. |
| product_categories_names | An attribute in 6.0.15 (function attribute); this page did not list it. |
| vat_type_object | An attribute in 6.0.15 (function attribute); this page did not list it. |
| vat_type_name | An attribute in 6.0.15 (function attribute); this page did not list it. |
| name | Not an attribute of eZVatRule::definition() in 6.0.15. |
Contributors
- Svitlana Shatokhina
- Graham Brookins Updated
Comments
Add a comment