xxxxxxxxxx
namespace GLS;
use \WsdlToPhp\PackageBase\AbstractStructBase;
/**
* This class stands for cParcelShop3 Struct
* @subpackage Structs
*/
class CParcelShop3 extends AbstractStructBase
{
/**
* The id
* Meta information extracted from the WSDL
* - maxOccurs: 1
* - minOccurs: 1
* @var string
*/
public $id;
/**
* The type
* Meta information extracted from the WSDL
* - maxOccurs: 1
* - minOccurs: 1
* @var int
*/
public $type;
/**
* The name1
* Meta information extracted from the WSDL
* - maxOccurs: 1
* - minOccurs: 0
* @var string
*/
public $name1;
/**
* The name2
* Meta information extracted from the WSDL
* - maxOccurs: 1
* - minOccurs: 0
* @var string
*/
public $name2;
/**
* The name3
* Meta information extracted from the WSDL
* - maxOccurs: 1
* - minOccurs: 0
* @var string
*/
public $name3;
/**
* The country
* Meta information extracted from the WSDL
* - maxOccurs: 1
* - minOccurs: 0
* @var string
*/
public $country;
/**
* The zipcode
* Meta information extracted from the WSDL
* - maxOccurs: 1
* - minOccurs: 0
* @var string
*/
public $zipcode;
/**
* The city
* Meta information extracted from the WSDL
* - maxOccurs: 1
* - minOccurs: 0
* @var string
*/
public $city;
/**
* The street
* Meta information extracted from the WSDL
* - maxOccurs: 1
* - minOccurs: 0
* @var string
*/
public $street;
/**
* The phone
* Meta information extracted from the WSDL
* - maxOccurs: 1
* - minOccurs: 0
* @var string
*/
public $phone;
/**
* The email
* Meta information extracted from the WSDL
* - maxOccurs: 1
* - minOccurs: 0
* @var string
*/
public $email;
/**
* The gps_lati
* Meta information extracted from the WSDL
* - maxOccurs: 1
* - minOccurs: 0
* @var float
*/
public $gps_lati;
/**
* The gps_long
* Meta information extracted from the WSDL
* - maxOccurs: 1
* - minOccurs: 0
* @var float
*/
public $gps_long;
/**
* The opening
* Meta information extracted from the WSDL
* - maxOccurs: 1
* - minOccurs: 0
* @var \GLS\CParcelShop2OpeningHoursArray
*/
public $opening;
/**
* The holidays
* Meta information extracted from the WSDL
* - maxOccurs: 1
* - minOccurs: 0
* @var \GLS\CParcelShop2HolidaysArray
*/
public $holidays;
/**
* The payments
* Meta information extracted from the WSDL
* - maxOccurs: 1
* - minOccurs: 0
* @var \GLS\CParcelShop2PaymentsArray
*/
public $payments;
/**
* The groups
* Meta information extracted from the WSDL
* - maxOccurs: 1
* - minOccurs: 0
* @var \GLS\CParcelShop2GroupsArray
*/
public $groups;
/**
* The services
* Meta information extracted from the WSDL
* - maxOccurs: 1
* - minOccurs: 0
* @var \GLS\CParcelShop2ServicesArray
*/
public $services;
/**
* The validity
* Meta information extracted from the WSDL
* - maxOccurs: 1
* - minOccurs: 0
* @var \GLS\CParcelShop2ValidsArray
*/
public $validity;
/**
* The desc
* Meta information extracted from the WSDL
* - maxOccurs: 1
* - minOccurs: 0
* @var \GLS\CParcelShop2DescArray
*/
public $desc;
/**
* The info
* Meta information extracted from the WSDL
* - maxOccurs: 1
* - minOccurs: 0
* @var \GLS\CParcelShop2InfoArray
*/
public $info;
/**
* Constructor method for cParcelShop3
* @uses CParcelShop3::setId()
* @uses CParcelShop3::setType()
* @uses CParcelShop3::setName1()
* @uses CParcelShop3::setName2()
* @uses CParcelShop3::setName3()
* @uses CParcelShop3::setCountry()
* @uses CParcelShop3::setZipcode()
* @uses CParcelShop3::setCity()
* @uses CParcelShop3::setStreet()
* @uses CParcelShop3::setPhone()
* @uses CParcelShop3::setEmail()
* @uses CParcelShop3::setGps_lati()
* @uses CParcelShop3::setGps_long()
* @uses CParcelShop3::setOpening()
* @uses CParcelShop3::setHolidays()
* @uses CParcelShop3::setPayments()
* @uses CParcelShop3::setGroups()
* @uses CParcelShop3::setServices()
* @uses CParcelShop3::setValidity()
* @uses CParcelShop3::setDesc()
* @uses CParcelShop3::setInfo()
* @param string $id
* @param int $type
* @param string $name1
* @param string $name2
* @param string $name3
* @param string $country
* @param string $zipcode
* @param string $city
* @param string $street
* @param string $phone
* @param string $email
* @param float $gps_lati
* @param float $gps_long
* @param \GLS\CParcelShop2OpeningHoursArray $opening
* @param \GLS\CParcelShop2HolidaysArray $holidays
* @param \GLS\CParcelShop2PaymentsArray $payments
* @param \GLS\CParcelShop2GroupsArray $groups
* @param \GLS\CParcelShop2ServicesArray $services
* @param \GLS\CParcelShop2ValidsArray $validity
* @param \GLS\CParcelShop2DescArray $desc
* @param \GLS\CParcelShop2InfoArray $info
*/
public function __construct($id = null, $type = null, $name1 = null, $name2 = null, $name3 = null, $country = null, $zipcode = null, $city = null, $street = null, $phone = null, $email = null, $gps_lati = null, $gps_long = null, \GLS\CParcelShop2OpeningHoursArray $opening = null, \GLS\CParcelShop2HolidaysArray $holidays = null, \GLS\CParcelShop2PaymentsArray $payments = null, \GLS\CParcelShop2GroupsArray $groups = null, \GLS\CParcelShop2ServicesArray $services = null, \GLS\CParcelShop2ValidsArray $validity = null, \GLS\CParcelShop2DescArray $desc = null, \GLS\CParcelShop2InfoArray $info = null)
{
$this
->setId($id)
->setType($type)
->setName1($name1)
->setName2($name2)
->setName3($name3)
->setCountry($country)
->setZipcode($zipcode)
->setCity($city)
->setStreet($street)
->setPhone($phone)
->setEmail($email)
->setGps_lati($gps_lati)
->setGps_long($gps_long)
->setOpening($opening)
->setHolidays($holidays)
->setPayments($payments)
->setGroups($groups)
->setServices($services)
->setValidity($validity)
->setDesc($desc)
->setInfo($info);
}
/**
* Get id value
* @return string
*/
public function getId()
{
return $this->id;
}
/**
* Set id value
* @param string $id
* @return \GLS\CParcelShop3
*/
public function setId($id = null)
{
// validation for constraint: string
if (!is_null($id) && !is_string($id)) {
throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide a string, %s given', var_export($id, true), gettype($id)), __LINE__);
}
$this->id = $id;
return $this;
}
/**
* Get type value
* @return int
*/
public function getType()
{
return $this->type;
}
/**
* Set type value
* @param int $type
* @return \GLS\CParcelShop3
*/
public function setType($type = null)
{
// validation for constraint: int
if (!is_null($type) && !(is_int($type) || ctype_digit($type))) {
throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide an integer value, %s given', var_export($type, true), gettype($type)), __LINE__);
}
$this->type = $type;
return $this;
}
/**
* Get name1 value
* @return string|null
*/
public function getName1()
{
return $this->name1;
}
/**
* Set name1 value
* @param string $name1
* @return \GLS\CParcelShop3
*/
public function setName1($name1 = null)
{
// validation for constraint: string
if (!is_null($name1) && !is_string($name1)) {
throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide a string, %s given', var_export($name1, true), gettype($name1)), __LINE__);
}
$this->name1 = $name1;
return $this;
}
/**
* Get name2 value
* @return string|null
*/
public function getName2()
{
return $this->name2;
}
/**
* Set name2 value
* @param string $name2
* @return \GLS\CParcelShop3
*/
public function setName2($name2 = null)
{
// validation for constraint: string
if (!is_null($name2) && !is_string($name2)) {
throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide a string, %s given', var_export($name2, true), gettype($name2)), __LINE__);
}
$this->name2 = $name2;
return $this;
}
/**
* Get name3 value
* @return string|null
*/
public function getName3()
{
return $this->name3;
}
/**
* Set name3 value
* @param string $name3
* @return \GLS\CParcelShop3
*/
public function setName3($name3 = null)
{
// validation for constraint: string
if (!is_null($name3) && !is_string($name3)) {
throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide a string, %s given', var_export($name3, true), gettype($name3)), __LINE__);
}
$this->name3 = $name3;
return $this;
}
/**
* Get country value
* @return string|null
*/
public function getCountry()
{
return $this->country;
}
/**
* Set country value
* @param string $country
* @return \GLS\CParcelShop3
*/
public function setCountry($country = null)
{
// validation for constraint: string
if (!is_null($country) && !is_string($country)) {
throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide a string, %s given', var_export($country, true), gettype($country)), __LINE__);
}
$this->country = $country;
return $this;
}
/**
* Get zipcode value
* @return string|null
*/
public function getZipcode()
{
return $this->zipcode;
}
/**
* Set zipcode value
* @param string $zipcode
* @return \GLS\CParcelShop3
*/
public function setZipcode($zipcode = null)
{
// validation for constraint: string
if (!is_null($zipcode) && !is_string($zipcode)) {
throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide a string, %s given', var_export($zipcode, true), gettype($zipcode)), __LINE__);
}
$this->zipcode = $zipcode;
return $this;
}
/**
* Get city value
* @return string|null
*/
public function getCity()
{
return $this->city;
}
/**
* Set city value
* @param string $city
* @return \GLS\CParcelShop3
*/
public function setCity($city = null)
{
// validation for constraint: string
if (!is_null($city) && !is_string($city)) {
throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide a string, %s given', var_export($city, true), gettype($city)), __LINE__);
}
$this->city = $city;
return $this;
}
/**
* Get street value
* @return string|null
*/
public function getStreet()
{
return $this->street;
}
/**
* Set street value
* @param string $street
* @return \GLS\CParcelShop3
*/
public function setStreet($street = null)
{
// validation for constraint: string
if (!is_null($street) && !is_string($street)) {
throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide a string, %s given', var_export($street, true), gettype($street)), __LINE__);
}
$this->street = $street;
return $this;
}
/**
* Get phone value
* @return string|null
*/
public function getPhone()
{
return $this->phone;
}
/**
* Set phone value
* @param string $phone
* @return \GLS\CParcelShop3
*/
public function setPhone($phone = null)
{
// validation for constraint: string
if (!is_null($phone) && !is_string($phone)) {
throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide a string, %s given', var_export($phone, true), gettype($phone)), __LINE__);
}
$this->phone = $phone;
return $this;
}
/**
* Get email value
* @return string|null
*/
public function getEmail()
{
return $this->email;
}
/**
* Set email value
* @param string $email
* @return \GLS\CParcelShop3
*/
public function setEmail($email = null)
{
// validation for constraint: string
if (!is_null($email) && !is_string($email)) {
throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide a string, %s given', var_export($email, true), gettype($email)), __LINE__);
}
$this->email = $email;
return $this;
}
/**
* Get gps_lati value
* @return float|null
*/
public function getGps_lati()
{
return $this->gps_lati;
}
/**
* Set gps_lati value
* @param float $gps_lati
* @return \GLS\CParcelShop3
*/
public function setGps_lati($gps_lati = null)
{
// validation for constraint: float
if (!is_null($gps_lati) && !(is_float($gps_lati) || is_numeric($gps_lati))) {
throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide a float value, %s given', var_export($gps_lati, true), gettype($gps_lati)), __LINE__);
}
$this->gps_lati = $gps_lati;
return $this;
}
/**
* Get gps_long value
* @return float|null
*/
public function getGps_long()
{
return $this->gps_long;
}
/**
* Set gps_long value
* @param float $gps_long
* @return \GLS\CParcelShop3
*/
public function setGps_long($gps_long = null)
{
// validation for constraint: float
if (!is_null($gps_long) && !(is_float($gps_long) || is_numeric($gps_long))) {
throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide a float value, %s given', var_export($gps_long, true), gettype($gps_long)), __LINE__);
}
$this->gps_long = $gps_long;
return $this;
}
/**
* Get opening value
* @return \GLS\CParcelShop2OpeningHoursArray|null
*/
public function getOpening()
{
return $this->opening;
}
/**
* Set opening value
* @param \GLS\CParcelShop2OpeningHoursArray $opening
* @return \GLS\CParcelShop3
*/
public function setOpening(\GLS\CParcelShop2OpeningHoursArray $opening = null)
{
$this->opening = $opening;
return $this;
}
/**
* Get holidays value
* @return \GLS\CParcelShop2HolidaysArray|null
*/
public function getHolidays()
{
return $this->holidays;
}
/**
* Set holidays value
* @param \GLS\CParcelShop2HolidaysArray $holidays
* @return \GLS\CParcelShop3
*/
public function setHolidays(\GLS\CParcelShop2HolidaysArray $holidays = null)
{
$this->holidays = $holidays;
return $this;
}
/**
* Get payments value
* @return \GLS\CParcelShop2PaymentsArray|null
*/
public function getPayments()
{
return $this->payments;
}
/**
* Set payments value
* @param \GLS\CParcelShop2PaymentsArray $payments
* @return \GLS\CParcelShop3
*/
public function setPayments(\GLS\CParcelShop2PaymentsArray $payments = null)
{
$this->payments = $payments;
return $this;
}
/**
* Get groups value
* @return \GLS\CParcelShop2GroupsArray|null
*/
public function getGroups()
{
return $this->groups;
}
/**
* Set groups value
* @param \GLS\CParcelShop2GroupsArray $groups
* @return \GLS\CParcelShop3
*/
public function setGroups(\GLS\CParcelShop2GroupsArray $groups = null)
{
$this->groups = $groups;
return $this;
}
/**
* Get services value
* @return \GLS\CParcelShop2ServicesArray|null
*/
public function getServices()
{
return $this->services;
}
/**
* Set services value
* @param \GLS\CParcelShop2ServicesArray $services
* @return \GLS\CParcelShop3
*/
public function setServices(\GLS\CParcelShop2ServicesArray $services = null)
{
$this->services = $services;
return $this;
}
/**
* Get validity value
* @return \GLS\CParcelShop2ValidsArray|null
*/
public function getValidity()
{
return $this->validity;
}
/**
* Set validity value
* @param \GLS\CParcelShop2ValidsArray $validity
* @return \GLS\CParcelShop3
*/
public function setValidity(\GLS\CParcelShop2ValidsArray $validity = null)
{
$this->validity = $validity;
return $this;
}
/**
* Get desc value
* @return \GLS\CParcelShop2DescArray|null
*/
public function getDesc()
{
return $this->desc;
}
/**
* Set desc value
* @param \GLS\CParcelShop2DescArray $desc
* @return \GLS\CParcelShop3
*/
public function setDesc(\GLS\CParcelShop2DescArray $desc = null)
{
$this->desc = $desc;
return $this;
}
/**
* Get info value
* @return \GLS\CParcelShop2InfoArray|null
*/
public function getInfo()
{
return $this->info;
}
/**
* Set info value
* @param \GLS\CParcelShop2InfoArray $info
* @return \GLS\CParcelShop3
*/
public function setInfo(\GLS\CParcelShop2InfoArray $info = null)
{
$this->info = $info;
return $this;
}
}
Don't be shy, don't hesitate to contact us for any subject, we'll be glad to help.
This platform is provided to give developpers and non developpers a way to easily consume SOAP Web Services or share their own SOAP Web Services with extra features powered by the platform.
© 2025 Providr.IO