Current File : /home/users/barii/public_html/finansenl.com.pl/wodki/admin/GLS/CC/Onsign/GLS_2StructCConsign.php
<?php
/**
 * File for class GLS_2StructCConsign
 * @package GLS_2
 * @subpackage Structs
 * @author WsdlToPhp Team <contact@wsdltophp.com>
 * @version 20150429-01
 * @date 2017-02-02
 */
/**
 * This class stands for GLS_2StructCConsign originally named cConsign
 * 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_2StructCConsign extends GLS_2WsdlClass
{
    /**
     * The rname1
     * Meta informations extracted from the WSDL
     * - maxOccurs : 1
     * - minOccurs : 1
     * @var string
     */
    public $rname1;
    /**
     * The rcountry
     * Meta informations extracted from the WSDL
     * - maxOccurs : 1
     * - minOccurs : 1
     * @var string
     */
    public $rcountry;
    /**
     * The rzipcode
     * Meta informations extracted from the WSDL
     * - maxOccurs : 1
     * - minOccurs : 1
     * @var string
     */
    public $rzipcode;
    /**
     * The rcity
     * Meta informations extracted from the WSDL
     * - maxOccurs : 1
     * - minOccurs : 1
     * @var string
     */
    public $rcity;
    /**
     * The rstreet
     * Meta informations extracted from the WSDL
     * - maxOccurs : 1
     * - minOccurs : 1
     * @var string
     */
    public $rstreet;
    /**
     * The rname2
     * Meta informations extracted from the WSDL
     * - maxOccurs : 1
     * - minOccurs : 0
     * @var string
     */
    public $rname2;
    /**
     * The rname3
     * Meta informations extracted from the WSDL
     * - maxOccurs : 1
     * - minOccurs : 0
     * @var string
     */
    public $rname3;
    /**
     * The rphone
     * Meta informations extracted from the WSDL
     * - maxOccurs : 1
     * - minOccurs : 0
     * @var string
     */
    public $rphone;
    /**
     * The rcontact
     * Meta informations extracted from the WSDL
     * - maxOccurs : 1
     * - minOccurs : 0
     * @var string
     */
    public $rcontact;
    /**
     * The references
     * Meta informations extracted from the WSDL
     * - maxOccurs : 1
     * - minOccurs : 0
     * @var string
     */
    public $references;
    /**
     * The notes
     * Meta informations extracted from the WSDL
     * - maxOccurs : 1
     * - minOccurs : 0
     * @var string
     */
    public $notes;
    /**
     * The quantity
     * Meta informations extracted from the WSDL
     * - maxOccurs : 1
     * - minOccurs : 0
     * @var int
     */
    public $quantity;
    /**
     * The weight
     * Meta informations extracted from the WSDL
     * - maxOccurs : 1
     * - minOccurs : 0
     * @var float
     */
    public $weight;
    /**
     * The date
     * Meta informations extracted from the WSDL
     * - maxOccurs : 1
     * - minOccurs : 0
     * @var date
     */
    public $date;
    /**
     * The pfc
     * Meta informations extracted from the WSDL
     * - maxOccurs : 1
     * - minOccurs : 0
     * @var string
     */
    public $pfc;
    /**
     * The sendaddr
     * Meta informations extracted from the WSDL
     * - maxOccurs : 1
     * - minOccurs : 0
     * @var GLS_2StructCSenderAddress
     */
    public $sendaddr;
    /**
     * 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;
    /**
     * The srv_daw
     * Meta informations extracted from the WSDL
     * - maxOccurs : 1
     * - minOccurs : 0
     * @var GLS_2StructCServiceDAW
     */
    public $srv_daw;
    /**
     * The srv_ident
     * Meta informations extracted from the WSDL
     * - maxOccurs : 1
     * - minOccurs : 0
     * @var GLS_2StructCServiceIDENT
     */
    public $srv_ident;
    /**
     * The srv_ppe
     * Meta informations extracted from the WSDL
     * - maxOccurs : 1
     * - minOccurs : 0
     * @var GLS_2StructCServicePPE
     */
    public $srv_ppe;
    /**
     * The srv_sds
     * Meta informations extracted from the WSDL
     * - maxOccurs : 1
     * - minOccurs : 0
     * @var GLS_2StructCServiceSDS
     */
    public $srv_sds;
    /**
     * The parcels
     * Meta informations extracted from the WSDL
     * - maxOccurs : 1
     * - minOccurs : 0
     * @var GLS_2StructCParcelsArray
     */
    public $parcels;
    /**
     * Constructor method for cConsign
     * @see parent::__construct()
     * @param string $_rname1
     * @param string $_rcountry
     * @param string $_rzipcode
     * @param string $_rcity
     * @param string $_rstreet
     * @param string $_rname2
     * @param string $_rname3
     * @param string $_rphone
     * @param string $_rcontact
     * @param string $_references
     * @param string $_notes
     * @param int $_quantity
     * @param float $_weight
     * @param date $_date
     * @param string $_pfc
     * @param GLS_2StructCSenderAddress $_sendaddr
     * @param string $_srv_ade
     * @param GLS_2StructCServicesBool $_srv_bool
     * @param GLS_2StructCServiceDAW $_srv_daw
     * @param GLS_2StructCServiceIDENT $_srv_ident
     * @param GLS_2StructCServicePPE $_srv_ppe
     * @param GLS_2StructCServiceSDS $_srv_sds
     * @param GLS_2StructCParcelsArray $_parcels
     * @return GLS_2StructCConsign
     */
    public function __construct($_rname1,$_rcountry,$_rzipcode,$_rcity,$_rstreet,$_rname2 = NULL,$_rname3 = NULL,$_rphone = NULL,$_rcontact = NULL,$_references = NULL,$_notes = NULL,$_quantity = NULL,$_weight = NULL,$_date = NULL,$_pfc = NULL,$_sendaddr = NULL,$_srv_ade = NULL,$_srv_bool = NULL,$_srv_daw = NULL,$_srv_ident = NULL,$_srv_ppe = NULL,$_srv_sds = NULL,$_parcels = NULL)
    {
        parent::__construct(array('rname1'=>$_rname1,'rcountry'=>$_rcountry,'rzipcode'=>$_rzipcode,'rcity'=>$_rcity,'rstreet'=>$_rstreet,'rname2'=>$_rname2,'rname3'=>$_rname3,'rphone'=>$_rphone,'rcontact'=>$_rcontact,'references'=>$_references,'notes'=>$_notes,'quantity'=>$_quantity,'weight'=>$_weight,'date'=>$_date,'pfc'=>$_pfc,'sendaddr'=>$_sendaddr,'srv_ade'=>$_srv_ade,'srv_bool'=>$_srv_bool,'srv_daw'=>$_srv_daw,'srv_ident'=>$_srv_ident,'srv_ppe'=>$_srv_ppe,'srv_sds'=>$_srv_sds,'parcels'=>($_parcels instanceof GLS_2StructCParcelsArray)?$_parcels:new GLS_2StructCParcelsArray($_parcels)),false);
    }
    /**
     * Get rname1 value
     * @return string
     */
    public function getRname1()
    {
        return $this->rname1;
    }
    /**
     * Set rname1 value
     * @param string $_rname1 the rname1
     * @return string
     */
    public function setRname1($_rname1)
    {
        return ($this->rname1 = $_rname1);
    }
    /**
     * Get rcountry value
     * @return string
     */
    public function getRcountry()
    {
        return $this->rcountry;
    }
    /**
     * Set rcountry value
     * @param string $_rcountry the rcountry
     * @return string
     */
    public function setRcountry($_rcountry)
    {
        return ($this->rcountry = $_rcountry);
    }
    /**
     * Get rzipcode value
     * @return string
     */
    public function getRzipcode()
    {
        return $this->rzipcode;
    }
    /**
     * Set rzipcode value
     * @param string $_rzipcode the rzipcode
     * @return string
     */
    public function setRzipcode($_rzipcode)
    {
        return ($this->rzipcode = $_rzipcode);
    }
    /**
     * Get rcity value
     * @return string
     */
    public function getRcity()
    {
        return $this->rcity;
    }
    /**
     * Set rcity value
     * @param string $_rcity the rcity
     * @return string
     */
    public function setRcity($_rcity)
    {
        return ($this->rcity = $_rcity);
    }
    /**
     * Get rstreet value
     * @return string
     */
    public function getRstreet()
    {
        return $this->rstreet;
    }
    /**
     * Set rstreet value
     * @param string $_rstreet the rstreet
     * @return string
     */
    public function setRstreet($_rstreet)
    {
        return ($this->rstreet = $_rstreet);
    }
    /**
     * Get rname2 value
     * @return string|null
     */
    public function getRname2()
    {
        return $this->rname2;
    }
    /**
     * Set rname2 value
     * @param string $_rname2 the rname2
     * @return string
     */
    public function setRname2($_rname2)
    {
        return ($this->rname2 = $_rname2);
    }
    /**
     * Get rname3 value
     * @return string|null
     */
    public function getRname3()
    {
        return $this->rname3;
    }
    /**
     * Set rname3 value
     * @param string $_rname3 the rname3
     * @return string
     */
    public function setRname3($_rname3)
    {
        return ($this->rname3 = $_rname3);
    }
    /**
     * Get rphone value
     * @return string|null
     */
    public function getRphone()
    {
        return $this->rphone;
    }
    /**
     * Set rphone value
     * @param string $_rphone the rphone
     * @return string
     */
    public function setRphone($_rphone)
    {
        return ($this->rphone = $_rphone);
    }
    /**
     * Get rcontact value
     * @return string|null
     */
    public function getRcontact()
    {
        return $this->rcontact;
    }
    /**
     * Set rcontact value
     * @param string $_rcontact the rcontact
     * @return string
     */
    public function setRcontact($_rcontact)
    {
        return ($this->rcontact = $_rcontact);
    }
    /**
     * Get references value
     * @return string|null
     */
    public function getReferences()
    {
        return $this->references;
    }
    /**
     * Set references value
     * @param string $_references the references
     * @return string
     */
    public function setReferences($_references)
    {
        return ($this->references = $_references);
    }
    /**
     * Get notes value
     * @return string|null
     */
    public function getNotes()
    {
        return $this->notes;
    }
    /**
     * Set notes value
     * @param string $_notes the notes
     * @return string
     */
    public function setNotes($_notes)
    {
        return ($this->notes = $_notes);
    }
    /**
     * Get quantity value
     * @return int|null
     */
    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|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 date value
     * @return date|null
     */
    public function getDate()
    {
        return $this->date;
    }
    /**
     * Set date value
     * @param date $_date the date
     * @return date
     */
    public function setDate($_date)
    {
        return ($this->date = $_date);
    }
    /**
     * Get pfc value
     * @return string|null
     */
    public function getPfc()
    {
        return $this->pfc;
    }
    /**
     * Set pfc value
     * @param string $_pfc the pfc
     * @return string
     */
    public function setPfc($_pfc)
    {
        return ($this->pfc = $_pfc);
    }
    /**
     * Get sendaddr value
     * @return GLS_2StructCSenderAddress|null
     */
    public function getSendaddr()
    {
        return $this->sendaddr;
    }
    /**
     * Set sendaddr value
     * @param GLS_2StructCSenderAddress $_sendaddr the sendaddr
     * @return GLS_2StructCSenderAddress
     */
    public function setSendaddr($_sendaddr)
    {
        return ($this->sendaddr = $_sendaddr);
    }
    /**
     * 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);
    }
    /**
     * Get srv_daw value
     * @return GLS_2StructCServiceDAW|null
     */
    public function getSrv_daw()
    {
        return $this->srv_daw;
    }
    /**
     * Set srv_daw value
     * @param GLS_2StructCServiceDAW $_srv_daw the srv_daw
     * @return GLS_2StructCServiceDAW
     */
    public function setSrv_daw($_srv_daw)
    {
        return ($this->srv_daw = $_srv_daw);
    }
    /**
     * Get srv_ident value
     * @return GLS_2StructCServiceIDENT|null
     */
    public function getSrv_ident()
    {
        return $this->srv_ident;
    }
    /**
     * Set srv_ident value
     * @param GLS_2StructCServiceIDENT $_srv_ident the srv_ident
     * @return GLS_2StructCServiceIDENT
     */
    public function setSrv_ident($_srv_ident)
    {
        return ($this->srv_ident = $_srv_ident);
    }
    /**
     * Get srv_ppe value
     * @return GLS_2StructCServicePPE|null
     */
    public function getSrv_ppe()
    {
        return $this->srv_ppe;
    }
    /**
     * Set srv_ppe value
     * @param GLS_2StructCServicePPE $_srv_ppe the srv_ppe
     * @return GLS_2StructCServicePPE
     */
    public function setSrv_ppe($_srv_ppe)
    {
        return ($this->srv_ppe = $_srv_ppe);
    }
    /**
     * Get srv_sds value
     * @return GLS_2StructCServiceSDS|null
     */
    public function getSrv_sds()
    {
        return $this->srv_sds;
    }
    /**
     * Set srv_sds value
     * @param GLS_2StructCServiceSDS $_srv_sds the srv_sds
     * @return GLS_2StructCServiceSDS
     */
    public function setSrv_sds($_srv_sds)
    {
        return ($this->srv_sds = $_srv_sds);
    }
    /**
     * Get parcels value
     * @return GLS_2StructCParcelsArray|null
     */
    public function getParcels()
    {
        return $this->parcels;
    }
    /**
     * Set parcels value
     * @param GLS_2StructCParcelsArray $_parcels the parcels
     * @return GLS_2StructCParcelsArray
     */
    public function setParcels($_parcels)
    {
        return ($this->parcels = $_parcels);
    }
    /**
     * 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_2StructCConsign
     */
    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__;
    }
}