.billing.plugin.java.catalog-test-plugin.0.5.1.source-code.WeaponsHire.xml Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of catalog-test-plugin Show documentation
Show all versions of catalog-test-plugin Show documentation
Test Plugin for CatalogPluginApi
The newest version!
<?xml version="1.0" encoding="UTF-8" standalone="no"?> <!-- ~ Copyright 2010-2014 Ning, Inc. ~ Copyright 2014-2020 Groupon, Inc ~ Copyright 2020-2022 Equinix, Inc ~ Copyright 2014-2022 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>2011-10-08T00:00:00+00:00</effectiveDate> <catalogName>Firearms</catalogName> <recurringBillingMode>IN_ADVANCE</recurringBillingMode> <currencies> <currency>USD</currency> <currency>EUR</currency> <currency>GBP</currency> </currencies> <products> <product name="Pistol"> <category>BASE</category> </product> <product name="Shotgun"> <category>BASE</category> <available> <addonProduct>Telescopic-Scope</addonProduct> <addonProduct>Laser-Scope</addonProduct> </available> </product> <product name="Assault-Rifle"> <category>BASE</category> <included> <addonProduct>Telescopic-Scope</addonProduct> </included> <available> <addonProduct>Laser-Scope</addonProduct> </available> </product> <product name="Telescopic-Scope"> <category>ADD_ON</category> </product> <product name="Laser-Scope"> <category>ADD_ON</category> </product> <product name="Holster"> <category>ADD_ON</category> </product> <product name="Extra-Ammo"> <category>ADD_ON</category> </product> <product name="Refurbish-Maintenance"> <category>ADD_ON</category> </product> </products> <rules> <changePolicy> <changePolicyCase> <phaseType>TRIAL</phaseType> <policy>IMMEDIATE</policy> </changePolicyCase> <changePolicyCase> <toProduct>Assault-Rifle</toProduct> <policy>IMMEDIATE</policy> </changePolicyCase> <changePolicyCase> <fromProduct>Pistol</fromProduct> <toProduct>Shotgun</toProduct> <policy>IMMEDIATE</policy> </changePolicyCase> <changePolicyCase> <toPriceList>rescue</toPriceList> <policy>END_OF_TERM</policy> </changePolicyCase> <changePolicyCase> <fromBillingPeriod>MONTHLY</fromBillingPeriod> <toBillingPeriod>ANNUAL</toBillingPeriod> <policy>IMMEDIATE</policy> </changePolicyCase> <changePolicyCase> <fromBillingPeriod>ANNUAL</fromBillingPeriod> <toBillingPeriod>MONTHLY</toBillingPeriod> <policy>END_OF_TERM</policy> </changePolicyCase> <changePolicyCase> <policy>END_OF_TERM</policy> </changePolicyCase> </changePolicy> <changeAlignment> <changeAlignmentCase> <toPriceList>rescue</toPriceList> <alignment>CHANGE_OF_PLAN</alignment> </changeAlignmentCase> <changeAlignmentCase> <fromPriceList>rescue</fromPriceList> <toPriceList>rescue</toPriceList> <alignment>CHANGE_OF_PRICELIST</alignment> </changeAlignmentCase> <changeAlignmentCase> <alignment>START_OF_SUBSCRIPTION</alignment> </changeAlignmentCase> </changeAlignment> <cancelPolicy> <cancelPolicyCase> <phaseType>TRIAL</phaseType> <policy>IMMEDIATE</policy> </cancelPolicyCase> <cancelPolicyCase> <policy>END_OF_TERM</policy> </cancelPolicyCase> </cancelPolicy> <createAlignment> <createAlignmentCase> <product>Laser-Scope</product> <alignment>START_OF_SUBSCRIPTION</alignment> </createAlignmentCase> <createAlignmentCase> <alignment>START_OF_BUNDLE</alignment> </createAlignmentCase> </createAlignment> <billingAlignment> <billingAlignmentCase> <alignment>ACCOUNT</alignment> </billingAlignmentCase> <billingAlignmentCase> <billingPeriod>ANNUAL</billingPeriod> <alignment>SUBSCRIPTION</alignment> </billingAlignmentCase> <billingAlignmentCase> <productCategory>ADD_ON</productCategory> <alignment>BUNDLE</alignment> </billingAlignmentCase> </billingAlignment> <priceList> <priceListCase> <fromPriceList>rescue</fromPriceList> <toPriceList>DEFAULT</toPriceList> </priceListCase> </priceList> </rules> <plans> <plan name="pistol-monthly"> <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>29.95</value> </price> <price> <currency>EUR</currency> <value>29.95</value> </price> <price> <currency>USD</currency> <value>29.95</value> </price> </recurringPrice> </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="assault-rifle-monthly"> <product>Assault-Rifle</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>USD</currency> <value>599.95</value> </price> <price> <currency>EUR</currency> <value>349.95</value> </price> <price> <currency>GBP</currency> <value>399.95</value> </price> </recurringPrice> </recurring> </finalPhase> </plan> <plan name="pistol-annual"> <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>ANNUAL</billingPeriod> <recurringPrice> <price> <currency>USD</currency> <value>199.95</value> </price> <price> <currency>EUR</currency> <value>199.95</value> </price> <price> <currency>GBP</currency> <value>199.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> </recurring> </finalPhase> </plan> <plan name="assault-rifle-annual"> <product>Assault-Rifle</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>5999.95</value> </price> <price> <currency>EUR</currency> <value>3499.95</value> </price> <price> <currency>GBP</currency> <value>3999.95</value> </price> </recurringPrice> </recurring> </finalPhase> </plan> <plan name="pistol-annual-gunclub-discount"> <product>Pistol</product> <initialPhases> <phase type="TRIAL"> <duration> <unit>DAYS</unit> <number>30</number> </duration> <fixed> <fixedPrice> <!-- empty price implies $0 --> </fixedPrice> </fixed> </phase> <phase type="DISCOUNT"> <duration> <unit>MONTHS</unit> <number>6</number> </duration> <recurring> <billingPeriod>MONTHLY</billingPeriod> <recurringPrice> <price> <currency>USD</currency> <value>9.95</value> </price> <price> <currency>EUR</currency> <value>9.95</value> </price> <price> <currency>GBP</currency> <value>9.95</value> </price> </recurringPrice> </recurring> </phase> </initialPhases> <finalPhase type="EVERGREEN"> <duration> <unit>UNLIMITED</unit> </duration> <recurring> <billingPeriod>ANNUAL</billingPeriod> <recurringPrice> <price> <currency>USD</currency> <value>199.95</value> </price> <price> <currency>EUR</currency> <value>199.95</value> </price> <price> <currency>GBP</currency> <value>199.95</value> </price> </recurringPrice> </recurring> </finalPhase> </plan> <plan name="shotgun-annual-gunclub-discount"> <product>Shotgun</product> <initialPhases> <phase type="TRIAL"> <duration> <unit>DAYS</unit> <number>30</number> </duration> <fixed> <fixedPrice> <!-- empty price implies $0 --> </fixedPrice> </fixed> </phase> <phase type="DISCOUNT"> <duration> <unit>MONTHS</unit> <number>6</number> </duration> <recurring> <billingPeriod>MONTHLY</billingPeriod> <recurringPrice> <price> <currency>USD</currency> <value>19.95</value> </price> <price> <currency>EUR</currency> <value>49.95</value> </price> <price> <currency>GBP</currency> <value>69.95</value> </price> </recurringPrice> </recurring> </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> </recurring> </finalPhase> </plan> <plan name="assault-rifle-annual-gunclub-discount"> <product>Assault-Rifle</product> <initialPhases> <phase type="TRIAL"> <duration> <unit>DAYS</unit> <number>30</number> </duration> <fixed> <fixedPrice> <!-- empty price implies $0 --> </fixedPrice> </fixed> </phase> <phase type="DISCOUNT"> <duration> <unit>MONTHS</unit> <number>6</number> </duration> <recurring> <billingPeriod>MONTHLY</billingPeriod> <recurringPrice> <price> <currency>USD</currency> <value>99.95</value> </price> <price> <currency>EUR</currency> <value>99.95</value> </price> <price> <currency>GBP</currency> <value>99.95</value> </price> </recurringPrice> </recurring> </phase> </initialPhases> <finalPhase type="EVERGREEN"> <duration> <unit>UNLIMITED</unit> </duration> <recurring> <billingPeriod>ANNUAL</billingPeriod> <recurringPrice> <price> <currency>USD</currency> <value>5999.95</value> </price> <price> <currency>EUR</currency> <value>3499.95</value> </price> <price> <currency>GBP</currency> <value>3999.95</value> </price> </recurringPrice> </recurring> </finalPhase> </plan> <plan name="laser-scope-monthly"> <product>Laser-Scope</product> <initialPhases> <phase type="DISCOUNT"> <duration> <unit>MONTHS</unit> <number>1</number> </duration> <recurring> <billingPeriod>MONTHLY</billingPeriod> <recurringPrice> <price> <currency>USD</currency> <value>999.95</value> </price> <price> <currency>EUR</currency> <value>499.95</value> </price> <price> <currency>GBP</currency> <value>999.95</value> </price> </recurringPrice> </recurring> </phase> </initialPhases> <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="telescopic-scope-monthly"> <product>Telescopic-Scope</product> <initialPhases> <phase type="DISCOUNT"> <duration> <unit>MONTHS</unit> <number>1</number> </duration> <recurring> <billingPeriod>MONTHLY</billingPeriod> <recurringPrice> <price> <currency>USD</currency> <value>399.95</value> </price> <price> <currency>EUR</currency> <value>299.95</value> </price> <price> <currency>GBP</currency> <value>399.95</value> </price> </recurringPrice> </recurring> </phase> </initialPhases> <finalPhase type="EVERGREEN"> <duration> <unit>UNLIMITED</unit> </duration> <recurring> <billingPeriod>MONTHLY</billingPeriod> <recurringPrice> <price> <currency>USD</currency> <value>999.95</value> </price> <price> <currency>EUR</currency> <value>499.95</value> </price> <price> <currency>GBP</currency> <value>999.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>999.95</value> </price> <price> <currency>EUR</currency> <value>499.95</value> </price> <price> <currency>GBP</currency> <value>999.95</value> </price> </recurringPrice> </recurring> </finalPhase> <plansAllowedInBundle>-1</plansAllowedInBundle> <!-- arbitrary number of these (multipack) --> </plan> <plan name="holster-monthly-regular"> <product>Holster</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>199.95</value> </price> <price> <currency>EUR</currency> <value>199.95</value> </price> <price> <currency>GBP</currency> <value>199.95</value> </price> </recurringPrice> </recurring> </finalPhase> </plan> <plan name="holster-monthly-special"> <product>Holster</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>199.95</value> </price> <price> <currency>EUR</currency> <value>199.95</value> </price> <price> <currency>GBP</currency> <value>199.95</value> </price> </recurringPrice> </recurring> </finalPhase> </plan> <plan name="assault-rifle-annual-rescue"> <product>Assault-Rifle</product> <initialPhases> <phase type="DISCOUNT"> <duration> <unit>YEARS</unit> <number>1</number> </duration> <recurring> <billingPeriod>ANNUAL</billingPeriod> <recurringPrice> <price> <currency>USD</currency> <value>5999.95</value> </price> <price> <currency>EUR</currency> <value>3499.95</value> </price> <price> <currency>GBP</currency> <value>3999.95</value> </price> </recurringPrice> </recurring> </phase> </initialPhases> <finalPhase type="EVERGREEN"> <duration> <unit>UNLIMITED</unit> </duration> <recurring> <billingPeriod>ANNUAL</billingPeriod> <recurringPrice> <price> <currency>USD</currency> <value>5999.95</value> </price> <price> <currency>EUR</currency> <value>3499.95</value> </price> <price> <currency>GBP</currency> <value>3999.95</value> </price> </recurringPrice> </recurring> </finalPhase> </plan> <plan name="refurbish-maintenance"> <product>Refurbish-Maintenance</product> <finalPhase type="FIXEDTERM"> <duration> <unit>MONTHS</unit> <number>12</number> </duration> <fixed> <fixedPrice> <price> <currency>USD</currency> <value>599.95</value> </price> <price> <currency>EUR</currency> <value>599.95</value> </price> <price> <currency>GBP</currency> <value>599.95</value> </price> </fixedPrice> </fixed> <recurring> <billingPeriod>MONTHLY</billingPeriod> <recurringPrice> <price> <currency>USD</currency> <value>199.95</value> </price> <price> <currency>EUR</currency> <value>199.95</value> </price> <price> <currency>GBP</currency> <value>199.95</value> </price> </recurringPrice> </recurring> </finalPhase> </plan> </plans> <priceLists> <defaultPriceList name="DEFAULT"> <plans> <plan>pistol-monthly</plan> <plan>shotgun-monthly</plan> <plan>assault-rifle-monthly</plan> <plan>pistol-annual</plan> <plan>shotgun-annual</plan> <plan>assault-rifle-annual</plan> <plan>laser-scope-monthly</plan> <plan>telescopic-scope-monthly</plan> <plan>extra-ammo-monthly</plan> <plan>holster-monthly-regular</plan> <plan>refurbish-maintenance</plan> </plans> </defaultPriceList> <childPriceList name="gunclubDiscount"> <plans> <plan>pistol-monthly</plan> <plan>shotgun-monthly</plan> <plan>assault-rifle-monthly</plan> <plan>pistol-annual-gunclub-discount</plan> <plan>shotgun-annual-gunclub-discount</plan> <plan>assault-rifle-annual-gunclub-discount</plan> <plan>holster-monthly-special</plan> </plans> </childPriceList> <childPriceList name="rescue"> <plans> <plan>assault-rifle-annual-rescue</plan> </plans> </childPriceList> </priceLists> </catalog>