<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!--
~ Copyright 2014-2018 Groupon, Inc
~ Copyright 2014-2018 The Billing Project, LLC
~
~ The Billing Project licenses this file to you under the Apache License, version 2.0
~ (the "License"); you may not use this file except in compliance with the
~ License. You may obtain a copy of the License at:
~
~ http://www.apache.org/licenses/LICENSE-2.0
~
~ Unless required by applicable law or agreed to in writing, software
~ distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
~ WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
~ License for the specific language governing permissions and limitations
~ under the License.
-->
<catalog xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="CatalogSchema.xsd ">
<effectiveDate>2016-05-08T00:00:00+00:00</effectiveDate>
<catalogName>TestInArrearWithCatalogVersions</catalogName>
<recurringBillingMode>IN_ADVANCE</recurringBillingMode>
<currencies>
<currency>USD</currency>
</currencies>
<units>
<unit name="kilowatt-hour"/>
</units>
<products>
<product name="Electricity">
<category>BASE</category>
</product>
</products>
<rules>
<changePolicy>
<changePolicyCase>
<policy>IMMEDIATE</policy>
</changePolicyCase>
</changePolicy>
<cancelPolicy>
<cancelPolicyCase>
<policy>IMMEDIATE</policy>
</cancelPolicyCase>
</cancelPolicy>
</rules>
<plans>
<!-- Price increase from v1 version -->
<plan name="electricity-monthly">
<effectiveDateForExistingSubscriptions>2016-05-08T00:00:00+00:00</effectiveDateForExistingSubscriptions>
<product>Electricity</product>
<finalPhase type="EVERGREEN">
<duration>
<unit>UNLIMITED</unit>
</duration>
<usages>
<usage name="electricity-monthly-usage" billingMode="IN_ARREAR" usageType="CONSUMABLE" tierBlockPolicy="ALL_TIERS">
<billingPeriod>MONTHLY</billingPeriod>
<tiers>
<tier>
<blocks>
<tieredBlock>
<unit>kilowatt-hour</unit>
<size>1</size>
<prices>
<price>
<currency>USD</currency>
<value>2.50</value>
</price>
</prices>
<max>1000</max>
</tieredBlock>
</blocks>
</tier>
<tier>
<blocks>
<tieredBlock>
<unit>kilowatt-hour</unit>
<size>1</size>
<prices>
<price>
<currency>USD</currency>
<value>3.00</value>
</price>
</prices>
<max>-1</max>
</tieredBlock>
</blocks>
</tier>
</tiers>
</usage>
</usages>
</finalPhase>
</plan>
</plans>
<priceLists>
<defaultPriceList name="DEFAULT">
<plans>
<plan>electricity-monthly</plan>
</plans>
</defaultPriceList>
</priceLists>
</catalog>