Source of file ValidateCombinationResponse.php

Size: 1,905 Bytes - Last Modified: 2019-01-11T00:06:00+01:00

/Users/sylvainraye/Sites/git/swisspost/src/StructType/ValidateCombinationResponse.php

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
<?php

namespace Diglin\Swisspost\StructType;

use \WsdlToPhp\PackageBase\AbstractStructBase;

/**
 * This class stands for ValidateCombinationResponse StructType
 * @subpackage Structs
 * @date 2019/01/11
 * @codeVersion 1.0.0
 */
class ValidateCombinationResponse extends AbstractStructBase
{
    /**
     * The Envelope
     * @var \Diglin\Swisspost\StructType\Envelope
     */
    public $Envelope;
    /**
     * Constructor method for ValidateCombinationResponse
     * @uses ValidateCombinationResponse::setEnvelope()
     * @param \Diglin\Swisspost\StructType\Envelope $envelope
     */
    public function __construct(\Diglin\Swisspost\StructType\Envelope $envelope = null)
    {
        $this
            ->setEnvelope($envelope);
    }
    /**
     * Get Envelope value
     * @return \Diglin\Swisspost\StructType\Envelope|null
     */
    public function getEnvelope()
    {
        return $this->Envelope;
    }
    /**
     * Set Envelope value
     * @param \Diglin\Swisspost\StructType\Envelope $envelope
     * @return \Diglin\Swisspost\StructType\ValidateCombinationResponse
     */
    public function setEnvelope(\Diglin\Swisspost\StructType\Envelope $envelope = null)
    {
        $this->Envelope = $envelope;
        return $this;
    }
    /**
     * Method called when an object has been exported with var_export() functions
     * It allows to return an object instantiated with the values
     * @see AbstractStructBase::__set_state()
     * @uses AbstractStructBase::__set_state()
     * @param array $array the exported values
     * @return \Diglin\Swisspost\StructType\ValidateCombinationResponse
     */
    public static function __set_state(array $array)
    {
        return parent::__set_state($array);
    }
    /**
     * Method returning the class name
     * @return string __CLASS__
     */
    public function __toString()
    {
        return __CLASS__;
    }
}