WeaponsHireSmall-2.xml

344 lines | 11.92 kB Blame History Raw Download
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!--
  ~ Copyright 2010-2013 Ning, Inc.
  ~ 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.
  -->

<!---

Changes compared to WeaponsHireSmall-1.xml:
  * default change policy IMMEDIATE
  * pistol-monthly price change
  * new shotgun-quarterly plan

-->
<catalog xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         xsi:noNamespaceSchemaLocation="http://docs.killbill.io/latest/catalog.xsd">

    <effectiveDate>2011-02-02T00:00:00+00:00</effectiveDate>
    <catalogName>WeaponsHireSmall</catalogName>

    <recurringBillingMode>IN_ADVANCE</recurringBillingMode>

    <currencies>
        <currency>USD</currency>
        <currency>EUR</currency>
        <currency>GBP</currency>
    </currencies>

    <units>
        <unit name="targets"/>
        <unit name="misfires"/>
        <unit name="shells"/>
    </units>

    <products>
        <product name="Pistol">
            <category>BASE</category>
        </product>
        <product name="Shotgun">
            <category>BASE</category>
            <limits>
                <limit>
                    <unit>shells</unit>
                    <max>300</max>
                </limit>
            </limits>
        </product>
        <product name="Laser-Scope">
            <category>ADD_ON</category>
        </product>
        <product name="Extra-Ammo">
            <category>ADD_ON</category>
        </product>
    </products>

    <rules>
        <changePolicy>
            <changePolicyCase>
                <fromBillingPeriod>MONTHLY</fromBillingPeriod>
                <toProduct>Shotgun</toProduct>
                <toBillingPeriod>MONTHLY</toBillingPeriod>
                <policy>END_OF_TERM</policy>
            </changePolicyCase>
            <changePolicyCase>
                <phaseType>TRIAL</phaseType>
                <policy>IMMEDIATE</policy>
            </changePolicyCase>
            <changePolicyCase>
                <policy>IMMEDIATE</policy>
            </changePolicyCase>
        </changePolicy>
        <changeAlignment>
            <changeAlignmentCase>
                <alignment>START_OF_SUBSCRIPTION</alignment>
            </changeAlignmentCase>
        </changeAlignment>
        <cancelPolicy>
            <cancelPolicyCase>
                <policy>IMMEDIATE</policy>
            </cancelPolicyCase>
        </cancelPolicy>
        <createAlignment>
            <createAlignmentCase>
                <product>Laser-Scope</product>
                <alignment>START_OF_SUBSCRIPTION</alignment>
            </createAlignmentCase>
            <createAlignmentCase>
                <alignment>START_OF_BUNDLE</alignment>
            </createAlignmentCase>
        </createAlignment>
    </rules>

    <plans>
        <plan name="pistol-monthly">
            <effectiveDateForExistingSubscriptions>2011-02-14T00:00:00+00:00</effectiveDateForExistingSubscriptions>

            <product>Pistol</product>
            <initialPhases>
                <phase type="TRIAL">
                    <duration>
                        <unit>DAYS</unit>
                        <number>30</number>
                    </duration>
                    <fixed>
                        <fixedPrice> <!-- empty price implies $0 -->
                        </fixedPrice>
                    </fixed>
                </phase>
            </initialPhases>
            <finalPhase type="EVERGREEN">
                <duration>
                    <unit>UNLIMITED</unit>
                </duration>
                <recurring>
                    <billingPeriod>MONTHLY</billingPeriod>
                    <recurringPrice>
                        <price>
                            <currency>GBP</currency>
                            <value>39.95</value>
                        </price>
                        <price>
                            <currency>EUR</currency>
                            <value>39.95</value>
                        </price>
                        <price>
                            <currency>USD</currency>
                            <value>39.95</value>
                        </price>
                    </recurringPrice>
                    <!--
                    <limits>
                        <limit>
                            <unit>targets</unit>
                            <min>3</min>
                        </limit>
                        <limit>
                            <unit>misfires</unit>
                            <max>20</max>
                        </limit>
                    </limits>
                    -->
                </recurring>
            </finalPhase>
        </plan>
        <plan name="shotgun-monthly">
            <product>Shotgun</product>
            <initialPhases>
                <phase type="TRIAL">
                    <duration>
                        <unit>DAYS</unit>
                        <number>30</number>
                    </duration>
                    <fixed>
                        <fixedPrice> <!-- empty price implies $0 -->
                        </fixedPrice>
                    </fixed>
                </phase>
            </initialPhases>
            <finalPhase type="EVERGREEN">
                <duration>
                    <unit>UNLIMITED</unit>
                    <number>-1</number>
                </duration>
                <recurring>
                    <billingPeriod>MONTHLY</billingPeriod>
                    <recurringPrice>
                        <price>
                            <currency>USD</currency>
                            <value>249.95</value>
                        </price>
                        <price>
                            <currency>EUR</currency>
                            <value>149.95</value>
                        </price>
                        <price>
                            <currency>GBP</currency>
                            <value>169.95</value>
                        </price>
                    </recurringPrice>
                </recurring>
            </finalPhase>
        </plan>
        <plan name="shotgun-quarterly">
            <product>Shotgun</product>
            <initialPhases>
                <phase type="TRIAL">
                    <duration>
                        <unit>DAYS</unit>
                        <number>30</number>
                    </duration>
                    <fixed>
                        <fixedPrice> <!-- empty price implies $0 -->
                        </fixedPrice>
                    </fixed>
                </phase>
            </initialPhases>
            <finalPhase type="EVERGREEN">
                <duration>
                    <unit>UNLIMITED</unit>
                    <number>-1</number>
                </duration>
                <recurring>
                    <billingPeriod>QUARTERLY</billingPeriod>
                    <recurringPrice>
                        <price>
                            <currency>USD</currency>
                            <value>249.95</value>
                        </price>
                        <price>
                            <currency>EUR</currency>
                            <value>149.95</value>
                        </price>
                        <price>
                            <currency>GBP</currency>
                            <value>169.95</value>
                        </price>
                    </recurringPrice>
                </recurring>
            </finalPhase>
        </plan>
        <plan name="shotgun-annual">
            <product>Shotgun</product>
            <initialPhases>
                <phase type="TRIAL">
                    <duration>
                        <unit>DAYS</unit>
                        <number>30</number>
                    </duration>
                    <fixed>
                        <fixedPrice> <!-- empty price implies $0 -->
                        </fixedPrice>
                    </fixed>
                </phase>
            </initialPhases>
            <finalPhase type="EVERGREEN">
                <duration>
                    <unit>UNLIMITED</unit>
                </duration>
                <recurring>
                    <billingPeriod>ANNUAL</billingPeriod>
                    <recurringPrice>
                        <price>
                            <currency>USD</currency>
                            <value>2399.95</value>
                        </price>
                        <price>
                            <currency>EUR</currency>
                            <value>1499.95</value>
                        </price>
                        <price>
                            <currency>GBP</currency>
                            <value>1699.95</value>
                        </price>
                    </recurringPrice>
                    <!--
                    <limits>
                        <limit>
                            <unit>shells</unit>
                            <max>200</max>
                        </limit>
                    </limits>
                    -->
                </recurring>
            </finalPhase>
        </plan>
        <plan name="laser-scope-monthly">
            <product>Laser-Scope</product>
            <finalPhase type="EVERGREEN">
                <duration>
                    <unit>UNLIMITED</unit>
                </duration>
                <recurring>

                    <billingPeriod>MONTHLY</billingPeriod>
                    <recurringPrice>
                        <price>
                            <currency>USD</currency>
                            <value>1999.95</value>
                        </price>
                        <price>
                            <currency>EUR</currency>
                            <value>1499.95</value>
                        </price>
                        <price>
                            <currency>GBP</currency>
                            <value>1999.95</value>
                        </price>
                    </recurringPrice>
                </recurring>
            </finalPhase>
        </plan>
        <plan name="extra-ammo-monthly">
            <product>Extra-Ammo</product>
            <finalPhase type="EVERGREEN">
                <duration>
                    <unit>UNLIMITED</unit>
                </duration>
                <recurring>
                    <billingPeriod>MONTHLY</billingPeriod>
                    <recurringPrice>
                        <price>
                            <currency>USD</currency>
                            <value>1999.95</value>
                        </price>
                        <price>
                            <currency>EUR</currency>
                            <value>1499.95</value>
                        </price>
                        <price>
                            <currency>GBP</currency>
                            <value>1999.95</value>
                        </price>
                    </recurringPrice>
                </recurring>
            </finalPhase>
        </plan>
    </plans>
    <priceLists>
        <defaultPriceList name="DEFAULT">
            <plans>
                <plan>pistol-monthly</plan>
                <plan>shotgun-monthly</plan>
                <plan>shotgun-quarterly</plan>
                <plan>shotgun-annual</plan>
                <plan>laser-scope-monthly</plan>
                <plan>extra-ammo-monthly</plan>
            </plans>
        </defaultPriceList>
    </priceLists>
</catalog>