<?php

namespace SGCIS\Struct;

use \WsdlToPhp\PackageBase\AbstractStructBase;

/**
 * This class stands for BillServicePointChargeCharge Struct
 * @subpackage Structs
 */
class BillServicePointChargeCharge extends AbstractStructBase
{
    /**
     * The BillServicePointChargeChargeID
     * Meta informations extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 1
     * @var int
     */
    public $BillServicePointChargeChargeID;
    /**
     * The BillServicePointChargeID
     * Meta informations extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 1
     * @var int
     */
    public $BillServicePointChargeID;
    /**
     * The ChargeID
     * Meta informations extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 1
     * @var int
     */
    public $ChargeID;
    /**
     * The ChargeValue
     * Meta informations extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 1
     * @var float
     */
    public $ChargeValue;
    /**
     * The IsServiceAgreementCharge
     * Meta informations extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 1
     * @var bool
     */
    public $IsServiceAgreementCharge;
    /**
     * The RateID
     * Meta informations extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 1
     * @var int
     */
    public $RateID;
    /**
     * The ProductID
     * Meta informations extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 1
     * @var int
     */
    public $ProductID;
    /**
     * The ServiceAgreementID
     * Meta informations extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 1
     * @var int
     */
    public $ServiceAgreementID;
    /**
     * The DistributionServiceProviderID
     * Meta informations extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 1
     * @var int
     */
    public $DistributionServiceProviderID;
    /**
     * The CreateDate
     * Meta informations extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 1
     * @var string
     */
    public $CreateDate;
    /**
     * The ChargeName
     * Meta informations extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 0
     * @var string
     */
    public $ChargeName;
    /**
     * The RateName
     * Meta informations extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 0
     * @var string
     */
    public $RateName;
    /**
     * The ProductName
     * Meta informations extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 0
     * @var string
     */
    public $ProductName;
    /**
     * Constructor method for BillServicePointChargeCharge
     * @uses BillServicePointChargeCharge::setBillServicePointChargeChargeID()
     * @uses BillServicePointChargeCharge::setBillServicePointChargeID()
     * @uses BillServicePointChargeCharge::setChargeID()
     * @uses BillServicePointChargeCharge::setChargeValue()
     * @uses BillServicePointChargeCharge::setIsServiceAgreementCharge()
     * @uses BillServicePointChargeCharge::setRateID()
     * @uses BillServicePointChargeCharge::setProductID()
     * @uses BillServicePointChargeCharge::setServiceAgreementID()
     * @uses BillServicePointChargeCharge::setDistributionServiceProviderID()
     * @uses BillServicePointChargeCharge::setCreateDate()
     * @uses BillServicePointChargeCharge::setChargeName()
     * @uses BillServicePointChargeCharge::setRateName()
     * @uses BillServicePointChargeCharge::setProductName()
     * @param int $billServicePointChargeChargeID
     * @param int $billServicePointChargeID
     * @param int $chargeID
     * @param float $chargeValue
     * @param bool $isServiceAgreementCharge
     * @param int $rateID
     * @param int $productID
     * @param int $serviceAgreementID
     * @param int $distributionServiceProviderID
     * @param string $createDate
     * @param string $chargeName
     * @param string $rateName
     * @param string $productName
     */
    public function __construct($billServicePointChargeChargeID = null, $billServicePointChargeID = null, $chargeID = null, $chargeValue = null, $isServiceAgreementCharge = null, $rateID = null, $productID = null, $serviceAgreementID = null, $distributionServiceProviderID = null, $createDate = null, $chargeName = null, $rateName = null, $productName = null)
    {
        $this
            ->setBillServicePointChargeChargeID($billServicePointChargeChargeID)
            ->setBillServicePointChargeID($billServicePointChargeID)
            ->setChargeID($chargeID)
            ->setChargeValue($chargeValue)
            ->setIsServiceAgreementCharge($isServiceAgreementCharge)
            ->setRateID($rateID)
            ->setProductID($productID)
            ->setServiceAgreementID($serviceAgreementID)
            ->setDistributionServiceProviderID($distributionServiceProviderID)
            ->setCreateDate($createDate)
            ->setChargeName($chargeName)
            ->setRateName($rateName)
            ->setProductName($productName);
    }
    /**
     * Get BillServicePointChargeChargeID value
     * @return int
     */
    public function getBillServicePointChargeChargeID()
    {
        return $this->BillServicePointChargeChargeID;
    }
    /**
     * Set BillServicePointChargeChargeID value
     * @param int $billServicePointChargeChargeID
     * @return \SGCIS\Struct\BillServicePointChargeCharge
     */
    public function setBillServicePointChargeChargeID($billServicePointChargeChargeID = null)
    {
        // validation for constraint: int
        if (!is_null($billServicePointChargeChargeID) && !is_numeric($billServicePointChargeChargeID)) {
            throw new \InvalidArgumentException(sprintf('Invalid value, please provide a numeric value, "%s" given', gettype($billServicePointChargeChargeID)), __LINE__);
        }
        $this->BillServicePointChargeChargeID = $billServicePointChargeChargeID;
        return $this;
    }
    /**
     * Get BillServicePointChargeID value
     * @return int
     */
    public function getBillServicePointChargeID()
    {
        return $this->BillServicePointChargeID;
    }
    /**
     * Set BillServicePointChargeID value
     * @param int $billServicePointChargeID
     * @return \SGCIS\Struct\BillServicePointChargeCharge
     */
    public function setBillServicePointChargeID($billServicePointChargeID = null)
    {
        // validation for constraint: int
        if (!is_null($billServicePointChargeID) && !is_numeric($billServicePointChargeID)) {
            throw new \InvalidArgumentException(sprintf('Invalid value, please provide a numeric value, "%s" given', gettype($billServicePointChargeID)), __LINE__);
        }
        $this->BillServicePointChargeID = $billServicePointChargeID;
        return $this;
    }
    /**
     * Get ChargeID value
     * @return int
     */
    public function getChargeID()
    {
        return $this->ChargeID;
    }
    /**
     * Set ChargeID value
     * @param int $chargeID
     * @return \SGCIS\Struct\BillServicePointChargeCharge
     */
    public function setChargeID($chargeID = null)
    {
        // validation for constraint: int
        if (!is_null($chargeID) && !is_numeric($chargeID)) {
            throw new \InvalidArgumentException(sprintf('Invalid value, please provide a numeric value, "%s" given', gettype($chargeID)), __LINE__);
        }
        $this->ChargeID = $chargeID;
        return $this;
    }
    /**
     * Get ChargeValue value
     * @return float
     */
    public function getChargeValue()
    {
        return $this->ChargeValue;
    }
    /**
     * Set ChargeValue value
     * @param float $chargeValue
     * @return \SGCIS\Struct\BillServicePointChargeCharge
     */
    public function setChargeValue($chargeValue = null)
    {
        $this->ChargeValue = $chargeValue;
        return $this;
    }
    /**
     * Get IsServiceAgreementCharge value
     * @return bool
     */
    public function getIsServiceAgreementCharge()
    {
        return $this->IsServiceAgreementCharge;
    }
    /**
     * Set IsServiceAgreementCharge value
     * @param bool $isServiceAgreementCharge
     * @return \SGCIS\Struct\BillServicePointChargeCharge
     */
    public function setIsServiceAgreementCharge($isServiceAgreementCharge = null)
    {
        // validation for constraint: boolean
        if (!is_null($isServiceAgreementCharge) && !is_bool($isServiceAgreementCharge)) {
            throw new \InvalidArgumentException(sprintf('Invalid value, please provide a bool, "%s" given', gettype($isServiceAgreementCharge)), __LINE__);
        }
        $this->IsServiceAgreementCharge = $isServiceAgreementCharge;
        return $this;
    }
    /**
     * Get RateID value
     * @return int
     */
    public function getRateID()
    {
        return $this->RateID;
    }
    /**
     * Set RateID value
     * @param int $rateID
     * @return \SGCIS\Struct\BillServicePointChargeCharge
     */
    public function setRateID($rateID = null)
    {
        // validation for constraint: int
        if (!is_null($rateID) && !is_numeric($rateID)) {
            throw new \InvalidArgumentException(sprintf('Invalid value, please provide a numeric value, "%s" given', gettype($rateID)), __LINE__);
        }
        $this->RateID = $rateID;
        return $this;
    }
    /**
     * Get ProductID value
     * @return int
     */
    public function getProductID()
    {
        return $this->ProductID;
    }
    /**
     * Set ProductID value
     * @param int $productID
     * @return \SGCIS\Struct\BillServicePointChargeCharge
     */
    public function setProductID($productID = null)
    {
        // validation for constraint: int
        if (!is_null($productID) && !is_numeric($productID)) {
            throw new \InvalidArgumentException(sprintf('Invalid value, please provide a numeric value, "%s" given', gettype($productID)), __LINE__);
        }
        $this->ProductID = $productID;
        return $this;
    }
    /**
     * Get ServiceAgreementID value
     * @return int
     */
    public function getServiceAgreementID()
    {
        return $this->ServiceAgreementID;
    }
    /**
     * Set ServiceAgreementID value
     * @param int $serviceAgreementID
     * @return \SGCIS\Struct\BillServicePointChargeCharge
     */
    public function setServiceAgreementID($serviceAgreementID = null)
    {
        // validation for constraint: int
        if (!is_null($serviceAgreementID) && !is_numeric($serviceAgreementID)) {
            throw new \InvalidArgumentException(sprintf('Invalid value, please provide a numeric value, "%s" given', gettype($serviceAgreementID)), __LINE__);
        }
        $this->ServiceAgreementID = $serviceAgreementID;
        return $this;
    }
    /**
     * Get DistributionServiceProviderID value
     * @return int
     */
    public function getDistributionServiceProviderID()
    {
        return $this->DistributionServiceProviderID;
    }
    /**
     * Set DistributionServiceProviderID value
     * @param int $distributionServiceProviderID
     * @return \SGCIS\Struct\BillServicePointChargeCharge
     */
    public function setDistributionServiceProviderID($distributionServiceProviderID = null)
    {
        // validation for constraint: int
        if (!is_null($distributionServiceProviderID) && !is_numeric($distributionServiceProviderID)) {
            throw new \InvalidArgumentException(sprintf('Invalid value, please provide a numeric value, "%s" given', gettype($distributionServiceProviderID)), __LINE__);
        }
        $this->DistributionServiceProviderID = $distributionServiceProviderID;
        return $this;
    }
    /**
     * Get CreateDate value
     * @return string
     */
    public function getCreateDate()
    {
        return $this->CreateDate;
    }
    /**
     * Set CreateDate value
     * @param string $createDate
     * @return \SGCIS\Struct\BillServicePointChargeCharge
     */
    public function setCreateDate($createDate = null)
    {
        // validation for constraint: string
        if (!is_null($createDate) && !is_string($createDate)) {
            throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($createDate)), __LINE__);
        }
        $this->CreateDate = $createDate;
        return $this;
    }
    /**
     * Get ChargeName value
     * @return string|null
     */
    public function getChargeName()
    {
        return $this->ChargeName;
    }
    /**
     * Set ChargeName value
     * @param string $chargeName
     * @return \SGCIS\Struct\BillServicePointChargeCharge
     */
    public function setChargeName($chargeName = null)
    {
        // validation for constraint: string
        if (!is_null($chargeName) && !is_string($chargeName)) {
            throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($chargeName)), __LINE__);
        }
        $this->ChargeName = $chargeName;
        return $this;
    }
    /**
     * Get RateName value
     * @return string|null
     */
    public function getRateName()
    {
        return $this->RateName;
    }
    /**
     * Set RateName value
     * @param string $rateName
     * @return \SGCIS\Struct\BillServicePointChargeCharge
     */
    public function setRateName($rateName = null)
    {
        // validation for constraint: string
        if (!is_null($rateName) && !is_string($rateName)) {
            throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($rateName)), __LINE__);
        }
        $this->RateName = $rateName;
        return $this;
    }
    /**
     * Get ProductName value
     * @return string|null
     */
    public function getProductName()
    {
        return $this->ProductName;
    }
    /**
     * Set ProductName value
     * @param string $productName
     * @return \SGCIS\Struct\BillServicePointChargeCharge
     */
    public function setProductName($productName = null)
    {
        // validation for constraint: string
        if (!is_null($productName) && !is_string($productName)) {
            throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($productName)), __LINE__);
        }
        $this->ProductName = $productName;
        return $this;
    }
    /**
     * Method called when an object has been exported with var_export() functions
     * It allows to return an object instantiated with the values
     * @see AbstractStructBase::__set_state()
     * @uses AbstractStructBase::__set_state()
     * @param array $array the exported values
     * @return \SGCIS\Struct\BillServicePointChargeCharge
     */
    public static function __set_state(array $array)
    {
        return parent::__set_state($array);
    }
    /**
     * Method returning the class name
     * @return string __CLASS__
     */
    public function __toString()
    {
        return __CLASS__;
    }
}
