xxxxxxxxxx
use \WsdlToPhp\PackageBase\AbstractStructBase;
/**
* This class stands for getZapowiedziFakturResponse StructType
* @subpackage Structs
*/
class GetZapowiedziFakturResponse extends AbstractStructBase
{
/**
* The zapowiedzFakturyZipFile
* Meta information extracted from the WSDL
* - maxOccurs: unbounded
* - minOccurs: 0
* @var string[]
*/
public $zapowiedzFakturyZipFile;
/**
* Constructor method for getZapowiedziFakturResponse
* @uses GetZapowiedziFakturResponse::setZapowiedzFakturyZipFile()
* @param string[] $zapowiedzFakturyZipFile
*/
public function __construct(array $zapowiedzFakturyZipFile = array())
{
$this
->setZapowiedzFakturyZipFile($zapowiedzFakturyZipFile);
}
/**
* Get zapowiedzFakturyZipFile value
* @return string[]|null
*/
public function getZapowiedzFakturyZipFile()
{
return $this->zapowiedzFakturyZipFile;
}
/**
* This method is responsible for validating the values passed to the setZapowiedzFakturyZipFile method
* This method is willingly generated in order to preserve the one-line inline validation within the setZapowiedzFakturyZipFile method
* @param array $values
* @return string A non-empty message if the values does not match the validation rules
*/
public static function validateZapowiedzFakturyZipFileForArrayConstraintsFromSetZapowiedzFakturyZipFile(array $values = array())
{
$message = '';
$invalidValues = [];
foreach ($values as $getZapowiedziFakturResponseZapowiedzFakturyZipFileItem) {
// validation for constraint: itemType
if (!is_string($getZapowiedziFakturResponseZapowiedzFakturyZipFileItem)) {
$invalidValues[] = is_object($getZapowiedziFakturResponseZapowiedzFakturyZipFileItem) ? get_class($getZapowiedziFakturResponseZapowiedzFakturyZipFileItem) : sprintf('%s(%s)', gettype($getZapowiedziFakturResponseZapowiedzFakturyZipFileItem), var_export($getZapowiedziFakturResponseZapowiedzFakturyZipFileItem, true));
}
}
if (!empty($invalidValues)) {
$message = sprintf('The zapowiedzFakturyZipFile property can only contain items of type base64Binary, %s given', is_object($invalidValues) ? get_class($invalidValues) : (is_array($invalidValues) ? implode(', ', $invalidValues) : gettype($invalidValues)));
}
unset($invalidValues);
return $message;
}
/**
* Set zapowiedzFakturyZipFile value
* @throws \InvalidArgumentException
* @param string[] $zapowiedzFakturyZipFile
* @return GetZapowiedziFakturResponse
*/
public function setZapowiedzFakturyZipFile(array $zapowiedzFakturyZipFile = array())
{
// validation for constraint: array
if ('' !== ($zapowiedzFakturyZipFileArrayErrorMessage = self::validateZapowiedzFakturyZipFileForArrayConstraintsFromSetZapowiedzFakturyZipFile($zapowiedzFakturyZipFile))) {
throw new \InvalidArgumentException($zapowiedzFakturyZipFileArrayErrorMessage, __LINE__);
}
$this->zapowiedzFakturyZipFile = $zapowiedzFakturyZipFile;
return $this;
}
/**
* Add item to zapowiedzFakturyZipFile value
* @throws \InvalidArgumentException
* @param string $item
* @return GetZapowiedziFakturResponse
*/
public function addToZapowiedzFakturyZipFile($item)
{
// validation for constraint: itemType
if (!is_string($item)) {
throw new \InvalidArgumentException(sprintf('The zapowiedzFakturyZipFile property can only contain items of type base64Binary, %s given', is_object($item) ? get_class($item) : (is_array($item) ? implode(', ', $item) : gettype($item))), __LINE__);
}
$this->zapowiedzFakturyZipFile[] = $item;
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