<?php

namespace StructType;

use \WsdlToPhp\PackageBase\AbstractStructBase;

/**
 * This class stands for GetItemAvailabilityResult StructType
 * @subpackage Structs
 */
class GetItemAvailabilityResult extends AbstractStructBase
{
    /**
     * The status
     * Meta information extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 1
     * - ref: platformCore:status
     * @var \StructType\Status
     */
    public $status;
    /**
     * The itemAvailabilityList
     * Meta information extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 0
     * @var \StructType\ItemAvailabilityList
     */
    public $itemAvailabilityList;
    /**
     * Constructor method for GetItemAvailabilityResult
     * @uses GetItemAvailabilityResult::setStatus()
     * @uses GetItemAvailabilityResult::setItemAvailabilityList()
     * @param \StructType\Status $status
     * @param \StructType\ItemAvailabilityList $itemAvailabilityList
     */
    public function __construct(\StructType\Status $status = null, \StructType\ItemAvailabilityList $itemAvailabilityList = null)
    {
        $this
            ->setStatus($status)
            ->setItemAvailabilityList($itemAvailabilityList);
    }
    /**
     * Get status value
     * @return \StructType\Status
     */
    public function getStatus()
    {
        return $this->status;
    }
    /**
     * Set status value
     * @param \StructType\Status $status
     * @return \StructType\GetItemAvailabilityResult
     */
    public function setStatus(\StructType\Status $status = null)
    {
        $this->status = $status;
        return $this;
    }
    /**
     * Get itemAvailabilityList value
     * @return \StructType\ItemAvailabilityList|null
     */
    public function getItemAvailabilityList()
    {
        return $this->itemAvailabilityList;
    }
    /**
     * Set itemAvailabilityList value
     * @param \StructType\ItemAvailabilityList $itemAvailabilityList
     * @return \StructType\GetItemAvailabilityResult
     */
    public function setItemAvailabilityList(\StructType\ItemAvailabilityList $itemAvailabilityList = null)
    {
        $this->itemAvailabilityList = $itemAvailabilityList;
        return $this;
    }
}
