Current File : /home/users/barii/public_html/finansenl.com.pl/wodki/admin/GLS/CP/Ickup/GLS_2StructCPickup.php |
<?php
/**
* File for class GLS_2StructCPickup
* @package GLS_2
* @subpackage Structs
* @author WsdlToPhp Team <contact@wsdltophp.com>
* @version 20150429-01
* @date 2017-02-02
*/
/**
* This class stands for GLS_2StructCPickup originally named cPickup
* 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_2StructCPickup extends GLS_2WsdlClass
{
/**
* The desc
* Meta informations extracted from the WSDL
* - maxOccurs : 1
* - minOccurs : 1
* @var string
*/
public $desc;
/**
* The quantity
* Meta informations extracted from the WSDL
* - maxOccurs : 1
* - minOccurs : 1
* @var int
*/
public $quantity;
/**
* The weight
* Meta informations extracted from the WSDL
* - maxOccurs : 1
* - minOccurs : 1
* @var float
*/
public $weight;
/**
* The datetime
* Meta informations extracted from the WSDL
* - maxOccurs : 1
* - minOccurs : 1
* @var string
*/
public $datetime;
/**
* Constructor method for cPickup
* @see parent::__construct()
* @param string $_desc
* @param int $_quantity
* @param float $_weight
* @param string $_datetime
* @return GLS_2StructCPickup
*/
public function __construct($_desc,$_quantity,$_weight,$_datetime)
{
parent::__construct(array('desc'=>$_desc,'quantity'=>$_quantity,'weight'=>$_weight,'datetime'=>$_datetime),false);
}
/**
* Get desc value
* @return string
*/
public function getDesc()
{
return $this->desc;
}
/**
* Set desc value
* @param string $_desc the desc
* @return string
*/
public function setDesc($_desc)
{
return ($this->desc = $_desc);
}
/**
* Get quantity value
* @return int
*/
public function getQuantity()
{
return $this->quantity;
}
/**
* Set quantity value
* @param int $_quantity the quantity
* @return int
*/
public function setQuantity($_quantity)
{
return ($this->quantity = $_quantity);
}
/**
* Get weight value
* @return float
*/
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 datetime value
* @return string
*/
public function getDatetime()
{
return $this->datetime;
}
/**
* Set datetime value
* @param string $_datetime the datetime
* @return string
*/
public function setDatetime($_datetime)
{
return ($this->datetime = $_datetime);
}
/**
* 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_2StructCPickup
*/
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__;
}
}