VAT Group
GetVatGroup
Gets a vat group from a specfic store.
Arguments
Name | Type | Description |
storeId | long | Id of the store. |
vatGroupId | long | The vat group id. |
Return values
Type | Description |
VatGroup | A vat group object. |
Example
GetVatGroups
Gets all vat groups for a specific store.
Arguments
Name | Type | Description |
storeId | long | Id of the store. |
Return values
Type | Description |
IEnumerable<VatGroup> | A collection of vat group objects. |
Example
GetCurrentVatGroup
Gets the current vat group of the customer's session. If the customer has a current order the vat group of that order is returned.
Arguments
Name | Type | Description |
storeId | long | Id of the store. |
Return values
Type | Description |
VatGroup | The current vat group. |
Example
SetCurrentVatGroup
Changes the current vat group of the customer's session. The vat group is also changed for the customer's current order if present.
Arguments
Name | Type | Description |
storeId | long | Id of the store. |
vatGroupId | long | Id of the vat group to change to. |
Return values
Type | Description |
VatGroup | The new current vat group object. |
Example
Last Updated: 2/6/2019, 8:40:54 AM