<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 ActivityTrackPropertyBase StructType
 * @subpackage Structs
 */
abstract class ActivityTrackPropertyBase extends Entity
{
    /**
     * The Type
     * Meta informations extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 1
     * @var NullableInt32
     */
    public $Type;
    /**
     * The CostBase
     * Meta informations extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 1
     * @var NullableDecimal
     */
    public $CostBase;
    /**
     * The CostWhenCancelledBeforeDeadline
     * Meta informations extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 1
     * @var NullableDecimal
     */
    public $CostWhenCancelledBeforeDeadline;
    /**
     * The CostWhenCancelledAfterDeadline
     * Meta informations extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 1
     * @var NullableDecimal
     */
    public $CostWhenCancelledAfterDeadline;
    /**
     * The CostWhenNoShow
     * Meta informations extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 1
     * @var NullableDecimal
     */
    public $CostWhenNoShow;
    /**
     * The IsActive
     * Meta informations extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 1
     * @var int
     */
    public $IsActive;
    /**
     * The CostRule
     * Meta informations extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 1
     * @var string
     */
    public $CostRule;
    /**
     * The Id
     * Meta informations extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 0
     * @var string
     */
    public $Id;
    /**
     * The Name
     * Meta informations extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 0
     * @var string
     */
    public $Name;
    /**
     * The Description
     * Meta informations extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 0
     * @var string
     */
    public $Description;
    /**
     * The ApproverId
     * Meta informations extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 0
     * @var string
     */
    public $ApproverId;
    /**
     * The Approver
     * Meta informations extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 0
     * @var User
     */
    public $Approver;
    /**
     * The CurrencyId
     * Meta informations extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 0
     * @var string
     */
    public $CurrencyId;
    /**
     * The Currency
     * Meta informations extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 0
     * @var Currency
     */
    public $Currency;
    /**
     * The OwnerActivityId
     * Meta informations extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 0
     * @var string
     */
    public $OwnerActivityId;
    /**
     * The OwnerActivity
     * Meta informations extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 0
     * @var Activity
     */
    public $OwnerActivity;
    /**
     * Constructor method for ActivityTrackPropertyBase
     * @uses ActivityTrackPropertyBase::setType()
     * @uses ActivityTrackPropertyBase::setCostBase()
     * @uses ActivityTrackPropertyBase::setCostWhenCancelledBeforeDeadline()
     * @uses ActivityTrackPropertyBase::setCostWhenCancelledAfterDeadline()
     * @uses ActivityTrackPropertyBase::setCostWhenNoShow()
     * @uses ActivityTrackPropertyBase::setIsActive()
     * @uses ActivityTrackPropertyBase::setCostRule()
     * @uses ActivityTrackPropertyBase::setId()
     * @uses ActivityTrackPropertyBase::setName()
     * @uses ActivityTrackPropertyBase::setDescription()
     * @uses ActivityTrackPropertyBase::setApproverId()
     * @uses ActivityTrackPropertyBase::setApprover()
     * @uses ActivityTrackPropertyBase::setCurrencyId()
     * @uses ActivityTrackPropertyBase::setCurrency()
     * @uses ActivityTrackPropertyBase::setOwnerActivityId()
     * @uses ActivityTrackPropertyBase::setOwnerActivity()
     * @param NullableInt32 $type
     * @param NullableDecimal $costBase
     * @param NullableDecimal $costWhenCancelledBeforeDeadline
     * @param NullableDecimal $costWhenCancelledAfterDeadline
     * @param NullableDecimal $costWhenNoShow
     * @param int $isActive
     * @param string $costRule
     * @param string $id
     * @param string $name
     * @param string $description
     * @param string $approverId
     * @param User $approver
     * @param string $currencyId
     * @param Currency $currency
     * @param string $ownerActivityId
     * @param Activity $ownerActivity
     */
    public function __construct(NullableInt32 $type = null, NullableDecimal $costBase = null, NullableDecimal $costWhenCancelledBeforeDeadline = null, NullableDecimal $costWhenCancelledAfterDeadline = null, NullableDecimal $costWhenNoShow = null, $isActive = null, $costRule = null, $id = null, $name = null, $description = null, $approverId = null, User $approver = null, $currencyId = null, Currency $currency = null, $ownerActivityId = null, Activity $ownerActivity = null)
    {
        $this
            -&gt;setType($type)
            -&gt;setCostBase($costBase)
            -&gt;setCostWhenCancelledBeforeDeadline($costWhenCancelledBeforeDeadline)
            -&gt;setCostWhenCancelledAfterDeadline($costWhenCancelledAfterDeadline)
            -&gt;setCostWhenNoShow($costWhenNoShow)
            -&gt;setIsActive($isActive)
            -&gt;setCostRule($costRule)
            -&gt;setId($id)
            -&gt;setName($name)
            -&gt;setDescription($description)
            -&gt;setApproverId($approverId)
            -&gt;setApprover($approver)
            -&gt;setCurrencyId($currencyId)
            -&gt;setCurrency($currency)
            -&gt;setOwnerActivityId($ownerActivityId)
            -&gt;setOwnerActivity($ownerActivity);
    }
    /**
     * Get Type value
     * @return NullableInt32
     */
    public function getType()
    {
        return $this-&gt;Type;
    }
    /**
     * Set Type value
     * @param NullableInt32 $type
     * @return ActivityTrackPropertyBase
     */
    public function setType(NullableInt32 $type = null)
    {
        $this-&gt;Type = $type;
        return $this;
    }
    /**
     * Get CostBase value
     * @return NullableDecimal
     */
    public function getCostBase()
    {
        return $this-&gt;CostBase;
    }
    /**
     * Set CostBase value
     * @param NullableDecimal $costBase
     * @return ActivityTrackPropertyBase
     */
    public function setCostBase(NullableDecimal $costBase = null)
    {
        $this-&gt;CostBase = $costBase;
        return $this;
    }
    /**
     * Get CostWhenCancelledBeforeDeadline value
     * @return NullableDecimal
     */
    public function getCostWhenCancelledBeforeDeadline()
    {
        return $this-&gt;CostWhenCancelledBeforeDeadline;
    }
    /**
     * Set CostWhenCancelledBeforeDeadline value
     * @param NullableDecimal $costWhenCancelledBeforeDeadline
     * @return ActivityTrackPropertyBase
     */
    public function setCostWhenCancelledBeforeDeadline(NullableDecimal $costWhenCancelledBeforeDeadline = null)
    {
        $this-&gt;CostWhenCancelledBeforeDeadline = $costWhenCancelledBeforeDeadline;
        return $this;
    }
    /**
     * Get CostWhenCancelledAfterDeadline value
     * @return NullableDecimal
     */
    public function getCostWhenCancelledAfterDeadline()
    {
        return $this-&gt;CostWhenCancelledAfterDeadline;
    }
    /**
     * Set CostWhenCancelledAfterDeadline value
     * @param NullableDecimal $costWhenCancelledAfterDeadline
     * @return ActivityTrackPropertyBase
     */
    public function setCostWhenCancelledAfterDeadline(NullableDecimal $costWhenCancelledAfterDeadline = null)
    {
        $this-&gt;CostWhenCancelledAfterDeadline = $costWhenCancelledAfterDeadline;
        return $this;
    }
    /**
     * Get CostWhenNoShow value
     * @return NullableDecimal
     */
    public function getCostWhenNoShow()
    {
        return $this-&gt;CostWhenNoShow;
    }
    /**
     * Set CostWhenNoShow value
     * @param NullableDecimal $costWhenNoShow
     * @return ActivityTrackPropertyBase
     */
    public function setCostWhenNoShow(NullableDecimal $costWhenNoShow = null)
    {
        $this-&gt;CostWhenNoShow = $costWhenNoShow;
        return $this;
    }
    /**
     * Get IsActive value
     * @return int
     */
    public function getIsActive()
    {
        return $this-&gt;IsActive;
    }
    /**
     * Set IsActive value
     * @param int $isActive
     * @return ActivityTrackPropertyBase
     */
    public function setIsActive($isActive = null)
    {
        // validation for constraint: int
        if (!is_null($isActive) &amp;&amp; !is_numeric($isActive)) {
            throw new \InvalidArgumentException(sprintf('Invalid value, please provide a numeric value, "%s" given', gettype($isActive)), __LINE__);
        }
        $this-&gt;IsActive = $isActive;
        return $this;
    }
    /**
     * Get CostRule value
     * @return string
     */
    public function getCostRule()
    {
        return $this-&gt;CostRule;
    }
    /**
     * Set CostRule value
     * @uses TrackCostingRule::valueIsValid()
     * @uses TrackCostingRule::getValidValues()
     * @throws \InvalidArgumentException
     * @param string $costRule
     * @return ActivityTrackPropertyBase
     */
    public function setCostRule($costRule = null)
    {
        // validation for constraint: enumeration
        if (!TrackCostingRule::valueIsValid($costRule)) {
            throw new \InvalidArgumentException(sprintf('Value "%s" is invalid, please use one of: %s', $costRule, implode(', ', TrackCostingRule::getValidValues())), __LINE__);
        }
        $this-&gt;CostRule = $costRule;
        return $this;
    }
    /**
     * Get Id value
     * @return string|null
     */
    public function getId()
    {
        return $this-&gt;Id;
    }
    /**
     * Set Id value
     * @param string $id
     * @return ActivityTrackPropertyBase
     */
    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;
    }
    /**
     * Get Name value
     * @return string|null
     */
    public function getName()
    {
        return $this-&gt;Name;
    }
    /**
     * Set Name value
     * @param string $name
     * @return ActivityTrackPropertyBase
     */
    public function setName($name = null)
    {
        // validation for constraint: string
        if (!is_null($name) &amp;&amp; !is_string($name)) {
            throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($name)), __LINE__);
        }
        $this-&gt;Name = $name;
        return $this;
    }
    /**
     * Get Description value
     * @return string|null
     */
    public function getDescription()
    {
        return $this-&gt;Description;
    }
    /**
     * Set Description value
     * @param string $description
     * @return ActivityTrackPropertyBase
     */
    public function setDescription($description = null)
    {
        // validation for constraint: string
        if (!is_null($description) &amp;&amp; !is_string($description)) {
            throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($description)), __LINE__);
        }
        $this-&gt;Description = $description;
        return $this;
    }
    /**
     * Get ApproverId value
     * @return string|null
     */
    public function getApproverId()
    {
        return $this-&gt;ApproverId;
    }
    /**
     * Set ApproverId value
     * @param string $approverId
     * @return ActivityTrackPropertyBase
     */
    public function setApproverId($approverId = null)
    {
        // validation for constraint: string
        if (!is_null($approverId) &amp;&amp; !is_string($approverId)) {
            throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($approverId)), __LINE__);
        }
        $this-&gt;ApproverId = $approverId;
        return $this;
    }
    /**
     * Get Approver value
     * @return User|null
     */
    public function getApprover()
    {
        return $this-&gt;Approver;
    }
    /**
     * Set Approver value
     * @param User $approver
     * @return ActivityTrackPropertyBase
     */
    public function setApprover(User $approver = null)
    {
        $this-&gt;Approver = $approver;
        return $this;
    }
    /**
     * Get CurrencyId value
     * @return string|null
     */
    public function getCurrencyId()
    {
        return $this-&gt;CurrencyId;
    }
    /**
     * Set CurrencyId value
     * @param string $currencyId
     * @return ActivityTrackPropertyBase
     */
    public function setCurrencyId($currencyId = null)
    {
        // validation for constraint: string
        if (!is_null($currencyId) &amp;&amp; !is_string($currencyId)) {
            throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($currencyId)), __LINE__);
        }
        $this-&gt;CurrencyId = $currencyId;
        return $this;
    }
    /**
     * Get Currency value
     * @return Currency|null
     */
    public function getCurrency()
    {
        return $this-&gt;Currency;
    }
    /**
     * Set Currency value
     * @param Currency $currency
     * @return ActivityTrackPropertyBase
     */
    public function setCurrency(Currency $currency = null)
    {
        $this-&gt;Currency = $currency;
        return $this;
    }
    /**
     * Get OwnerActivityId value
     * @return string|null
     */
    public function getOwnerActivityId()
    {
        return $this-&gt;OwnerActivityId;
    }
    /**
     * Set OwnerActivityId value
     * @param string $ownerActivityId
     * @return ActivityTrackPropertyBase
     */
    public function setOwnerActivityId($ownerActivityId = null)
    {
        // validation for constraint: string
        if (!is_null($ownerActivityId) &amp;&amp; !is_string($ownerActivityId)) {
            throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($ownerActivityId)), __LINE__);
        }
        $this-&gt;OwnerActivityId = $ownerActivityId;
        return $this;
    }
    /**
     * Get OwnerActivity value
     * @return Activity|null
     */
    public function getOwnerActivity()
    {
        return $this-&gt;OwnerActivity;
    }
    /**
     * Set OwnerActivity value
     * @param Activity $ownerActivity
     * @return ActivityTrackPropertyBase
     */
    public function setOwnerActivity(Activity $ownerActivity = null)
    {
        $this-&gt;OwnerActivity = $ownerActivity;
        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 ActivityTrackPropertyBase
     */
    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>