xxxxxxxxxx
namespace Structs;
use \WsdlToPhp\PackageBase\AbstractStructBase;
/**
* This class stands for generateShipmentCV1 Structs
* Meta information extracted from the WSDL
* - type: tns:generateShipmentCV1
* @subpackage Structs
*/
class GenerateShipmentCV1 extends AbstractStructBase
{
/**
* The openUMLFeV10
* Meta information extracted from the WSDL
* - minOccurs: 0
* @var string
*/
public $openUMLFeV10;
/**
* The pkgNumsGenerationPolicyV1
* Meta information extracted from the WSDL
* - minOccurs: 0
* @var string
*/
public $pkgNumsGenerationPolicyV1;
/**
* The langCode
* Meta information extracted from the WSDL
* - minOccurs: 0
* @var string
*/
public $langCode;
/**
* 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 generateShipmentCV1
* @uses GenerateShipmentCV1::setOpenUMLFeV10()
* @uses GenerateShipmentCV1::setPkgNumsGenerationPolicyV1()
* @uses GenerateShipmentCV1::setLangCode()
* @uses GenerateShipmentCV1::setOutputDocFormatV1()
* @uses GenerateShipmentCV1::setOutputDocPageFormatV1()
* @uses GenerateShipmentCV1::setOutputLabelType()
* @uses GenerateShipmentCV1::setLabelVariant()
* @uses GenerateShipmentCV1::setAuthDataV1()
* @param string $openUMLFeV10
* @param string $pkgNumsGenerationPolicyV1
* @param string $langCode
* @param string $outputDocFormatV1
* @param string $outputDocPageFormatV1
* @param string $outputLabelType
* @param string $labelVariant
* @param \Structs\AuthDataV1 $authDataV1
*/
public function __construct($openUMLFeV10 = null, $pkgNumsGenerationPolicyV1 = null, $langCode = null, $outputDocFormatV1 = null, $outputDocPageFormatV1 = null, $outputLabelType = null, $labelVariant = null, \Structs\AuthDataV1 $authDataV1 = null)
{
$this
->setOpenUMLFeV10($openUMLFeV10)
->setPkgNumsGenerationPolicyV1($pkgNumsGenerationPolicyV1)
->setLangCode($langCode)
->setOutputDocFormatV1($outputDocFormatV1)
->setOutputDocPageFormatV1($outputDocPageFormatV1)
->setOutputLabelType($outputLabelType)
->setLabelVariant($labelVariant)
->setAuthDataV1($authDataV1);
}
/**
* Get openUMLFeV10 value
* @return string|null
*/
public function getOpenUMLFeV10()
{
return $this->openUMLFeV10;
}
/**
* Set openUMLFeV10 value
* @param string $openUMLFeV10
* @return \Structs\GenerateShipmentCV1
*/
public function setOpenUMLFeV10($openUMLFeV10 = null)
{
// validation for constraint: string
if (!is_null($openUMLFeV10) && !is_string($openUMLFeV10)) {
throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide a string, %s given', var_export($openUMLFeV10, true), gettype($openUMLFeV10)), __LINE__);
}
$this->openUMLFeV10 = $openUMLFeV10;
return $this;
}
/**
* Get pkgNumsGenerationPolicyV1 value
* @return string|null
*/
public function getPkgNumsGenerationPolicyV1()
{
return $this->pkgNumsGenerationPolicyV1;
}
/**
* Set pkgNumsGenerationPolicyV1 value
* @uses \Enums\PkgNumsGenerationPolicyV1::valueIsValid()
* @uses \Enums\PkgNumsGenerationPolicyV1::getValidValues()
* @throws \InvalidArgumentException
* @param string $pkgNumsGenerationPolicyV1
* @return \Structs\GenerateShipmentCV1
*/
public function setPkgNumsGenerationPolicyV1($pkgNumsGenerationPolicyV1 = null)
{
// validation for constraint: enumeration
if (!\Enums\PkgNumsGenerationPolicyV1::valueIsValid($pkgNumsGenerationPolicyV1)) {
throw new \InvalidArgumentException(sprintf('Invalid value(s) %s, please use one of: %s from enumeration class \Enums\PkgNumsGenerationPolicyV1', is_array($pkgNumsGenerationPolicyV1) ? implode(', ', $pkgNumsGenerationPolicyV1) : var_export($pkgNumsGenerationPolicyV1, true), implode(', ', \Enums\PkgNumsGenerationPolicyV1::getValidValues())), __LINE__);
}
$this->pkgNumsGenerationPolicyV1 = $pkgNumsGenerationPolicyV1;
return $this;
}
/**
* Get langCode value
* @return string|null
*/
public function getLangCode()
{
return $this->langCode;
}
/**
* Set langCode value
* @param string $langCode
* @return \Structs\GenerateShipmentCV1
*/
public function setLangCode($langCode = null)
{
// validation for constraint: string
if (!is_null($langCode) && !is_string($langCode)) {
throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide a string, %s given', var_export($langCode, true), gettype($langCode)), __LINE__);
}
$this->langCode = $langCode;
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\GenerateShipmentCV1
*/
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\GenerateShipmentCV1
*/
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\GenerateShipmentCV1
*/
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\GenerateShipmentCV1
*/
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\GenerateShipmentCV1
*/
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