Current File : /home/users/barii/public_html/finansenl.com.pl/wodki/admin/GLS/CP/Arcel/GLS_2StructCParcel.php
<?php
/**
 * File for class GLS_2StructCParcel
 * @package GLS_2
 * @subpackage Structs
 * @author WsdlToPhp Team <contact@wsdltophp.com>
 * @version 20150429-01
 * @date 2017-02-02
 */
/**
 * This class stands for GLS_2StructCParcel originally named cParcel
 * Meta informations extracted from the WSDL
 * - from schema : {@link https://ade-test.gls-poland.com/adeplus/pm1/ade_webapi2.php?wsdl}
 * @package GLS_2
 * @subpackage Structs
 * @author WsdlToPhp Team <contact@wsdltophp.com>
 * @version 20150429-01
 * @date 2017-02-02
 */
class GLS_2StructCParcel extends GLS_2WsdlClass
{
    /**
     * The number
     * Meta informations extracted from the WSDL
     * - maxOccurs : 1
     * - minOccurs : 0
     * @var string
     */
    public $number;
    /**
     * The reference
     * Meta informations extracted from the WSDL
     * - maxOccurs : 1
     * - minOccurs : 0
     * @var string
     */
    public $reference;
    /**
     * The weight
     * Meta informations extracted from the WSDL
     * - maxOccurs : 1
     * - minOccurs : 0
     * @var float
     */
    public $weight;
    /**
     * The srv_ade
     * Meta informations extracted from the WSDL
     * - maxOccurs : 1
     * - minOccurs : 0
     * @var string
     */
    public $srv_ade;
    /**
     * The srv_bool
     * Meta informations extracted from the WSDL
     * - maxOccurs : 1
     * - minOccurs : 0
     * @var GLS_2StructCServicesBool
     */
    public $srv_bool;
    /**
     * Constructor method for cParcel
     * @see parent::__construct()
     * @param string $_number
     * @param string $_reference
     * @param float $_weight
     * @param string $_srv_ade
     * @param GLS_2StructCServicesBool $_srv_bool
     * @return GLS_2StructCParcel
     */
    public function __construct($_number = NULL,$_reference = NULL,$_weight = NULL,$_srv_ade = NULL,$_srv_bool = NULL)
    {
        parent::__construct(array('number'=>$_number,'reference'=>$_reference,'weight'=>$_weight,'srv_ade'=>$_srv_ade,'srv_bool'=>$_srv_bool),false);
    }
    /**
     * Get number value
     * @return string|null
     */
    public function getNumber()
    {
        return $this->number;
    }
    /**
     * Set number value
     * @param string $_number the number
     * @return string
     */
    public function setNumber($_number)
    {
        return ($this->number = $_number);
    }
    /**
     * Get reference value
     * @return string|null
     */
    public function getReference()
    {
        return $this->reference;
    }
    /**
     * Set reference value
     * @param string $_reference the reference
     * @return string
     */
    public function setReference($_reference)
    {
        return ($this->reference = $_reference);
    }
    /**
     * Get weight value
     * @return float|null
     */
    public function getWeight()
    {
        return $this->weight;
    }
    /**
     * Set weight value
     * @param float $_weight the weight
     * @return float
     */
    public function setWeight($_weight)
    {
        return ($this->weight = $_weight);
    }
    /**
     * Get srv_ade value
     * @return string|null
     */
    public function getSrv_ade()
    {
        return $this->srv_ade;
    }
    /**
     * Set srv_ade value
     * @param string $_srv_ade the srv_ade
     * @return string
     */
    public function setSrv_ade($_srv_ade)
    {
        return ($this->srv_ade = $_srv_ade);
    }
    /**
     * Get srv_bool value
     * @return GLS_2StructCServicesBool|null
     */
    public function getSrv_bool()
    {
        return $this->srv_bool;
    }
    /**
     * Set srv_bool value
     * @param GLS_2StructCServicesBool $_srv_bool the srv_bool
     * @return GLS_2StructCServicesBool
     */
    public function setSrv_bool($_srv_bool)
    {
        return ($this->srv_bool = $_srv_bool);
    }
    /**
     * Method called when an object has been exported with var_export() functions
     * It allows to return an object instantiated with the values
     * @see GLS_2WsdlClass::__set_state()
     * @uses GLS_2WsdlClass::__set_state()
     * @param array $_array the exported values
     * @return GLS_2StructCParcel
     */
    public static function __set_state(array $_array,$_className = __CLASS__)
    {
        return parent::__set_state($_array,$_className);
    }
    /**
     * Method returning the class name
     * @return string __CLASS__
     */
    public function __toString()
    {
        return __CLASS__;
    }
}