Current File : /home/users/barii/public_html/finansenl.com.pl/wodki/admin/GLS/CC/Ity/GLS_2StructCCity.php |
<?php
/**
* File for class GLS_2StructCCity
* @package GLS_2
* @subpackage Structs
* @author WsdlToPhp Team <contact@wsdltophp.com>
* @version 20150429-01
* @date 2017-02-02
*/
/**
* This class stands for GLS_2StructCCity originally named cCity
* 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_2StructCCity extends GLS_2WsdlClass
{
/**
* The city
* Meta informations extracted from the WSDL
* - maxOccurs : 1
* - minOccurs : 1
* @var string
*/
public $city;
/**
* Constructor method for cCity
* @see parent::__construct()
* @param string $_city
* @return GLS_2StructCCity
*/
public function __construct($_city)
{
parent::__construct(array('city'=>$_city),false);
}
/**
* Get city value
* @return string
*/
public function getCity()
{
return $this->city;
}
/**
* Set city value
* @param string $_city the city
* @return string
*/
public function setCity($_city)
{
return ($this->city = $_city);
}
/**
* 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_2StructCCity
*/
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__;
}
}