<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">&lt;?php
use \WsdlToPhp\PackageBase\AbstractStructBase;

/**
 * This class stands for ActivityOfferingPropertyBase StructType
 * @subpackage Structs
 */
abstract class ActivityOfferingPropertyBase extends Entity
{
    /**
     * The CanBeOffered
     * Meta informations extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 1
     * @var bool
     */
    public $CanBeOffered;
    /**
     * The OfferingOfActivity
     * Meta informations extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 1
     * @var int
     */
    public $OfferingOfActivity;
    /**
     * The Id
     * Meta informations extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 0
     * @var string
     */
    public $Id;
    /**
     * Constructor method for ActivityOfferingPropertyBase
     * @uses ActivityOfferingPropertyBase::setCanBeOffered()
     * @uses ActivityOfferingPropertyBase::setOfferingOfActivity()
     * @uses ActivityOfferingPropertyBase::setId()
     * @param bool $canBeOffered
     * @param int $offeringOfActivity
     * @param string $id
     */
    public function __construct($canBeOffered = null, $offeringOfActivity = null, $id = null)
    {
        $this
            -&gt;setCanBeOffered($canBeOffered)
            -&gt;setOfferingOfActivity($offeringOfActivity)
            -&gt;setId($id);
    }
    /**
     * Get CanBeOffered value
     * @return bool
     */
    public function getCanBeOffered()
    {
        return $this-&gt;CanBeOffered;
    }
    /**
     * Set CanBeOffered value
     * @param bool $canBeOffered
     * @return ActivityOfferingPropertyBase
     */
    public function setCanBeOffered($canBeOffered = null)
    {
        $this-&gt;CanBeOffered = $canBeOffered;
        return $this;
    }
    /**
     * Get OfferingOfActivity value
     * @return int
     */
    public function getOfferingOfActivity()
    {
        return $this-&gt;OfferingOfActivity;
    }
    /**
     * Set OfferingOfActivity value
     * @param int $offeringOfActivity
     * @return ActivityOfferingPropertyBase
     */
    public function setOfferingOfActivity($offeringOfActivity = null)
    {
        // validation for constraint: int
        if (!is_null($offeringOfActivity) &amp;&amp; !is_numeric($offeringOfActivity)) {
            throw new \InvalidArgumentException(sprintf('Invalid value, please provide a numeric value, "%s" given', gettype($offeringOfActivity)), __LINE__);
        }
        $this-&gt;OfferingOfActivity = $offeringOfActivity;
        return $this;
    }
    /**
     * Get Id value
     * @return string|null
     */
    public function getId()
    {
        return $this-&gt;Id;
    }
    /**
     * Set Id value
     * @param string $id
     * @return ActivityOfferingPropertyBase
     */
    public function setId($id = null)
    {
        // validation for constraint: string
        if (!is_null($id) &amp;&amp; !is_string($id)) {
            throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($id)), __LINE__);
        }
        $this-&gt;Id = $id;
        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 ActivityOfferingPropertyBase
     */
    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__;
    }
}
</pre></body></html>