<?php

namespace StructType;

use \WsdlToPhp\PackageBase\AbstractStructBase;

/**
 * This class stands for InventoryDetail StructType
 * @subpackage Structs
 */
class InventoryDetail extends Record
{
    /**
     * The inventoryAssignmentList
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var \StructType\InventoryAssignmentList
     */
    public $inventoryAssignmentList;
    /**
     * The customForm
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var \StructType\RecordRef
     */
    public $customForm;
    /**
     * Constructor method for InventoryDetail
     * @uses InventoryDetail::setInventoryAssignmentList()
     * @uses InventoryDetail::setCustomForm()
     * @param \StructType\InventoryAssignmentList $inventoryAssignmentList
     * @param \StructType\RecordRef $customForm
     */
    public function __construct(\StructType\InventoryAssignmentList $inventoryAssignmentList = null, \StructType\RecordRef $customForm = null)
    {
        $this
            ->setInventoryAssignmentList($inventoryAssignmentList)
            ->setCustomForm($customForm);
    }
    /**
     * Get inventoryAssignmentList value
     * @return \StructType\InventoryAssignmentList|null
     */
    public function getInventoryAssignmentList()
    {
        return $this->inventoryAssignmentList;
    }
    /**
     * Set inventoryAssignmentList value
     * @param \StructType\InventoryAssignmentList $inventoryAssignmentList
     * @return \StructType\InventoryDetail
     */
    public function setInventoryAssignmentList(\StructType\InventoryAssignmentList $inventoryAssignmentList = null)
    {
        $this->inventoryAssignmentList = $inventoryAssignmentList;
        return $this;
    }
    /**
     * Get customForm value
     * @return \StructType\RecordRef|null
     */
    public function getCustomForm()
    {
        return $this->customForm;
    }
    /**
     * Set customForm value
     * @param \StructType\RecordRef $customForm
     * @return \StructType\InventoryDetail
     */
    public function setCustomForm(\StructType\RecordRef $customForm = null)
    {
        $this->customForm = $customForm;
        return $this;
    }
}
