<?php
//
// Copyright (c) ZeroC, Inc. All rights reserved.
//
//
// Ice version 3.7.2
//
// <auto-generated>
//
// Generated from file `CurrencyAmount.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
//


namespace
{
    require_once 'Config.php';
}

namespace Smartswitch\Billing
{
    global $Smartswitch_Billing__t_CurrencyAmount;
    class CurrencyAmount
    {
        public function __construct($currency='', $amount=0.0)
        {
            $this->currency = $currency;
            $this->amount = $amount;
        }

        public function __toString()
        {
            global $Smartswitch_Billing__t_CurrencyAmount;
            return IcePHP_stringify($this, $Smartswitch_Billing__t_CurrencyAmount);
        }

        public $currency;
        public $amount;
    }

    global $IcePHP__t_string;
    global $IcePHP__t_double;
    $Smartswitch_Billing__t_CurrencyAmount = IcePHP_defineStruct('::Smartswitch::Billing::CurrencyAmount', '\\Smartswitch\\Billing\\CurrencyAmount', array(
        array('currency', $IcePHP__t_string),
        array('amount', $IcePHP__t_double)));
}

namespace Smartswitch\Billing
{
    global $Smartswitch_Billing__t_CurrencyAmountSequence;

    if(!isset($Smartswitch_Billing__t_CurrencyAmountSequence))
    {
        global $Smartswitch_Billing__t_CurrencyAmount;
        $Smartswitch_Billing__t_CurrencyAmountSequence = IcePHP_defineSequence('::Smartswitch::Billing::CurrencyAmountSequence', $Smartswitch_Billing__t_CurrencyAmount);
    }
}
?>
