xxxxxxxxxx
namespace Structs;
use \WsdlToPhp\PackageBase\AbstractStructBase;
/**
* This class stands for generateSpedLabelsCV4 Structs
* Meta information extracted from the WSDL
* - type: tns:generateSpedLabelsCV4
* @subpackage Structs
*/
class GenerateSpedLabelsCV4 extends AbstractStructBase
{
/**
* The dpdServicesParamsCV1
* Meta information extracted from the WSDL
* - minOccurs: 0
* @var string
*/
public $dpdServicesParamsCV1;
/**
* The outputDocFormatV1
* Meta information extracted from the WSDL
* - minOccurs: 0
* @var string
*/
public $outputDocFormatV1;
/**
* The outputDocPageFormatV1
* Meta information extracted from the WSDL
* - minOccurs: 0
* @var string
*/
public $outputDocPageFormatV1;
/**
* The outputLabelType
* Meta information extracted from the WSDL
* - minOccurs: 0
* @var string
*/
public $outputLabelType;
/**
* The labelVariant
* Meta information extracted from the WSDL
* - minOccurs: 0
* @var string
*/
public $labelVariant;
/**
* The authDataV1
* Meta information extracted from the WSDL
* - minOccurs: 0
* @var \Structs\AuthDataV1
*/
public $authDataV1;
/**
* Constructor method for generateSpedLabelsCV4
* @uses GenerateSpedLabelsCV4::setDpdServicesParamsCV1()
* @uses GenerateSpedLabelsCV4::setOutputDocFormatV1()
* @uses GenerateSpedLabelsCV4::setOutputDocPageFormatV1()
* @uses GenerateSpedLabelsCV4::setOutputLabelType()
* @uses GenerateSpedLabelsCV4::setLabelVariant()
* @uses GenerateSpedLabelsCV4::setAuthDataV1()
* @param string $dpdServicesParamsCV1
* @param string $outputDocFormatV1
* @param string $outputDocPageFormatV1
* @param string $outputLabelType
* @param string $labelVariant
* @param \Structs\AuthDataV1 $authDataV1
*/
public function __construct($dpdServicesParamsCV1 = null, $outputDocFormatV1 = null, $outputDocPageFormatV1 = null, $outputLabelType = null, $labelVariant = null, \Structs\AuthDataV1 $authDataV1 = null)
{
$this
->setDpdServicesParamsCV1($dpdServicesParamsCV1)
->setOutputDocFormatV1($outputDocFormatV1)
->setOutputDocPageFormatV1($outputDocPageFormatV1)
->setOutputLabelType($outputLabelType)
->setLabelVariant($labelVariant)
->setAuthDataV1($authDataV1);
}
/**
* Get dpdServicesParamsCV1 value
* @return string|null
*/
public function getDpdServicesParamsCV1()
{
return $this->dpdServicesParamsCV1;
}
/**
* Set dpdServicesParamsCV1 value
* @param string $dpdServicesParamsCV1
* @return \Structs\GenerateSpedLabelsCV4
*/
public function setDpdServicesParamsCV1($dpdServicesParamsCV1 = null)
{
// validation for constraint: string
if (!is_null($dpdServicesParamsCV1) && !is_string($dpdServicesParamsCV1)) {
throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide a string, %s given', var_export($dpdServicesParamsCV1, true), gettype($dpdServicesParamsCV1)), __LINE__);
}
$this->dpdServicesParamsCV1 = $dpdServicesParamsCV1;
return $this;
}
/**
* Get outputDocFormatV1 value
* @return string|null
*/
public function getOutputDocFormatV1()
{
return $this->outputDocFormatV1;
}
/**
* Set outputDocFormatV1 value
* @uses \Enums\OutputDocFormatDSPEnumV1::valueIsValid()
* @uses \Enums\OutputDocFormatDSPEnumV1::getValidValues()
* @throws \InvalidArgumentException
* @param string $outputDocFormatV1
* @return \Structs\GenerateSpedLabelsCV4
*/
public function setOutputDocFormatV1($outputDocFormatV1 = null)
{
// validation for constraint: enumeration
if (!\Enums\OutputDocFormatDSPEnumV1::valueIsValid($outputDocFormatV1)) {
throw new \InvalidArgumentException(sprintf('Invalid value(s) %s, please use one of: %s from enumeration class \Enums\OutputDocFormatDSPEnumV1', is_array($outputDocFormatV1) ? implode(', ', $outputDocFormatV1) : var_export($outputDocFormatV1, true), implode(', ', \Enums\OutputDocFormatDSPEnumV1::getValidValues())), __LINE__);
}
$this->outputDocFormatV1 = $outputDocFormatV1;
return $this;
}
/**
* Get outputDocPageFormatV1 value
* @return string|null
*/
public function getOutputDocPageFormatV1()
{
return $this->outputDocPageFormatV1;
}
/**
* Set outputDocPageFormatV1 value
* @uses \Enums\OutputDocPageFormatDSPEnumV1::valueIsValid()
* @uses \Enums\OutputDocPageFormatDSPEnumV1::getValidValues()
* @throws \InvalidArgumentException
* @param string $outputDocPageFormatV1
* @return \Structs\GenerateSpedLabelsCV4
*/
public function setOutputDocPageFormatV1($outputDocPageFormatV1 = null)
{
// validation for constraint: enumeration
if (!\Enums\OutputDocPageFormatDSPEnumV1::valueIsValid($outputDocPageFormatV1)) {
throw new \InvalidArgumentException(sprintf('Invalid value(s) %s, please use one of: %s from enumeration class \Enums\OutputDocPageFormatDSPEnumV1', is_array($outputDocPageFormatV1) ? implode(', ', $outputDocPageFormatV1) : var_export($outputDocPageFormatV1, true), implode(', ', \Enums\OutputDocPageFormatDSPEnumV1::getValidValues())), __LINE__);
}
$this->outputDocPageFormatV1 = $outputDocPageFormatV1;
return $this;
}
/**
* Get outputLabelType value
* @return string|null
*/
public function getOutputLabelType()
{
return $this->outputLabelType;
}
/**
* Set outputLabelType value
* @uses \Enums\OutputLabelTypeEnumV1::valueIsValid()
* @uses \Enums\OutputLabelTypeEnumV1::getValidValues()
* @throws \InvalidArgumentException
* @param string $outputLabelType
* @return \Structs\GenerateSpedLabelsCV4
*/
public function setOutputLabelType($outputLabelType = null)
{
// validation for constraint: enumeration
if (!\Enums\OutputLabelTypeEnumV1::valueIsValid($outputLabelType)) {
throw new \InvalidArgumentException(sprintf('Invalid value(s) %s, please use one of: %s from enumeration class \Enums\OutputLabelTypeEnumV1', is_array($outputLabelType) ? implode(', ', $outputLabelType) : var_export($outputLabelType, true), implode(', ', \Enums\OutputLabelTypeEnumV1::getValidValues())), __LINE__);
}
$this->outputLabelType = $outputLabelType;
return $this;
}
/**
* Get labelVariant value
* @return string|null
*/
public function getLabelVariant()
{
return $this->labelVariant;
}
/**
* Set labelVariant value
* @param string $labelVariant
* @return \Structs\GenerateSpedLabelsCV4
*/
public function setLabelVariant($labelVariant = null)
{
// validation for constraint: string
if (!is_null($labelVariant) && !is_string($labelVariant)) {
throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide a string, %s given', var_export($labelVariant, true), gettype($labelVariant)), __LINE__);
}
$this->labelVariant = $labelVariant;
return $this;
}
/**
* Get authDataV1 value
* @return \Structs\AuthDataV1|null
*/
public function getAuthDataV1()
{
return $this->authDataV1;
}
/**
* Set authDataV1 value
* @param \Structs\AuthDataV1 $authDataV1
* @return \Structs\GenerateSpedLabelsCV4
*/
public function setAuthDataV1(\Structs\AuthDataV1 $authDataV1 = null)
{
$this->authDataV1 = $authDataV1;
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