Element Path: <cwt><COMMONTARIFFGROUP>
The common tariff group is a global tariff group that is connected to each article that has the attribute useCommonTariffs set to true (see Article element for details on articles). If a system has multiple articles defined, and all share the same tariff packages the common tariff group is a simple way to set up the system.
attributes
commonTariffGroupId
Value: | 0– 65535 |
Default: | - |
Description: | The identifier of the common tariff group. |
endDate
Value: | A valid date (YYYY-MM-DD) |
Default: | - |
Description: | The date when the common tariff group validity ends. Up to this date, tariffs can be selected from the common tariff group. |
startDate
Value: | A valid date (YYYY-MM-DD) |
Default: | - |
Description: | The date when the common tariff group starts to be valid. From this date, tariffs can be selected from the common tariff group. |
Example:
Setup with a common tariff group that has two button-controlled tariff packages that are valid from 2012-06-01 to 2012-10-01:
<COMMONTARIFFGROUP commonTariffGroupId="0" startDate="2012-06-01" endDate="2012-10-01">
<buttonControlledPackage id="0" tariffPackageName="TariffPackage1"/>
<buttonControlledPackage id="1" tariffPackageName="TariffPackage2"/>
</COMMONTARIFFGROUP>