<!--
  ~ Copyright (c) 2015, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
  ~
  ~  WSO2 Inc. 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.
  -->

<!-- 
   Subscription types and the respective limits of parameters for each of the packages.
  -->

<packages xmlns="http://wso2.com/carbon/multitenancy/billing/pacakges">
    <package name="Demo">
        <subscriptionCharge>0</subscriptionCharge>
        <!-- $ per month -->
        <users>
            <limit>1</limit>
            <charge>0</charge>
            <!-- charge per month -->
        </users>
        <resourceVolume>
            <limit>20</limit>
            <!--mb per tenant -->
            <overuseCharge>0</overuseCharge>
        </resourceVolume>
        <bandwidth>
            <limit>50</limit>
            <!-- mb per tenant -->
            <overuseCharge>0</overuseCharge>
            <!-- $ per mb -->
        </bandwidth>
    </package>
    <package name="SMB">
        <subscriptionCharge>100</subscriptionCharge>
        <!-- $ per month -->
        <users>
            <limit>unlimited</limit>
            <charge>0</charge>
            <!-- charge per month -->
        </users>
        <resourceVolume>
            <limit>50</limit>
            <!--mb per tenant -->
            <overuseCharge>0</overuseCharge>
        </resourceVolume>
        <bandwidth>
            <limit>150</limit>
            <!-- mb per tenant -->
            <overuseCharge>0</overuseCharge>
            <!-- $ per mb -->
        </bandwidth>
    </package>
    <package name="Professional">
        <subscriptionCharge>500</subscriptionCharge>
        <!-- $ per month -->
        <users>
            <limit>unlimited</limit>
            <charge>0</charge>
            <!-- charge per month -->
        </users>
        <resourceVolume>
            <limit>500</limit>
            <!--mb per tenant -->
            <overuseCharge>0</overuseCharge>
        </resourceVolume>
        <bandwidth>
            <limit>1536</limit>
            <!-- mb per tenant -->
            <overuseCharge>0.03</overuseCharge>
            <!-- $ per mb -->
        </bandwidth>
    </package>
    <package name="Enterprise">
        <subscriptionCharge>2000</subscriptionCharge>
        <!-- $ per month -->
        <users>
            <limit>unlimited</limit>
            <charge>0</charge>
            <!-- charge per month -->
        </users>
        <resourceVolume>
            <limit>5120</limit>
            <!--mb per tenant -->
            <overuseCharge>0</overuseCharge>
        </resourceVolume>
        <bandwidth>
            <limit>15360</limit>
            <!-- mb per tenant -->
            <overuseCharge>0.02</overuseCharge>
            <!-- $ per mb -->
        </bandwidth>
    </package>
</packages>
