<?php

namespace StructType;

use \WsdlToPhp\PackageBase\AbstractStructBase;

/**
 * This class stands for ItemSearchRow StructType
 * @subpackage Structs
 */
class ItemSearchRow extends SearchRow
{
    /**
     * The basic
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var \StructType\ItemSearchRowBasic
     */
    public $basic;
    /**
     * The accountingBookRevRecScheduleJoin
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var \StructType\RevRecTemplateSearchRowBasic
     */
    public $accountingBookRevRecScheduleJoin;
    /**
     * The assemblyItemBillOfMaterialsJoin
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var \StructType\AssemblyItemBomSearchRowBasic
     */
    public $assemblyItemBillOfMaterialsJoin;
    /**
     * The binNumberJoin
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var \StructType\BinSearchRowBasic
     */
    public $binNumberJoin;
    /**
     * The binOnHandJoin
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var \StructType\ItemBinNumberSearchRowBasic
     */
    public $binOnHandJoin;
    /**
     * The correlatedItemJoin
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var \StructType\ItemSearchRowBasic
     */
    public $correlatedItemJoin;
    /**
     * The effectiveRevisionJoin
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var \StructType\ItemRevisionSearchRowBasic
     */
    public $effectiveRevisionJoin;
    /**
     * The fileJoin
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var \StructType\FileSearchRowBasic
     */
    public $fileJoin;
    /**
     * The inventoryDetailJoin
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var \StructType\InventoryDetailSearchRowBasic
     */
    public $inventoryDetailJoin;
    /**
     * The inventoryLocationJoin
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var \StructType\LocationSearchRowBasic
     */
    public $inventoryLocationJoin;
    /**
     * The inventoryNumberJoin
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var \StructType\InventoryNumberSearchRowBasic
     */
    public $inventoryNumberJoin;
    /**
     * The inventoryNumberBinOnHandJoin
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var \StructType\InventoryNumberBinSearchRowBasic
     */
    public $inventoryNumberBinOnHandJoin;
    /**
     * The memberItemJoin
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var \StructType\ItemSearchRowBasic
     */
    public $memberItemJoin;
    /**
     * The obsoleteRevisionJoin
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var \StructType\ItemRevisionSearchRowBasic
     */
    public $obsoleteRevisionJoin;
    /**
     * The parentJoin
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var \StructType\ItemSearchRowBasic
     */
    public $parentJoin;
    /**
     * The preferredLocationJoin
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var \StructType\LocationSearchRowBasic
     */
    public $preferredLocationJoin;
    /**
     * The preferredVendorJoin
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var \StructType\VendorSearchRowBasic
     */
    public $preferredVendorJoin;
    /**
     * The pricingJoin
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var \StructType\PricingSearchRowBasic
     */
    public $pricingJoin;
    /**
     * The shopperJoin
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var \StructType\CustomerSearchRowBasic
     */
    public $shopperJoin;
    /**
     * The transactionJoin
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var \StructType\TransactionSearchRowBasic
     */
    public $transactionJoin;
    /**
     * The userJoin
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var \StructType\EmployeeSearchRowBasic
     */
    public $userJoin;
    /**
     * The userNotesJoin
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var \StructType\NoteSearchRowBasic
     */
    public $userNotesJoin;
    /**
     * The vendorJoin
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var \StructType\VendorSearchRowBasic
     */
    public $vendorJoin;
    /**
     * The customSearchJoin
     * Meta information extracted from the WSDL
     * - maxOccurs: unbounded
     * - minOccurs: 0
     * @var \StructType\CustomSearchRowBasic[]
     */
    public $customSearchJoin;
    /**
     * Constructor method for ItemSearchRow
     * @uses ItemSearchRow::setBasic()
     * @uses ItemSearchRow::setAccountingBookRevRecScheduleJoin()
     * @uses ItemSearchRow::setAssemblyItemBillOfMaterialsJoin()
     * @uses ItemSearchRow::setBinNumberJoin()
     * @uses ItemSearchRow::setBinOnHandJoin()
     * @uses ItemSearchRow::setCorrelatedItemJoin()
     * @uses ItemSearchRow::setEffectiveRevisionJoin()
     * @uses ItemSearchRow::setFileJoin()
     * @uses ItemSearchRow::setInventoryDetailJoin()
     * @uses ItemSearchRow::setInventoryLocationJoin()
     * @uses ItemSearchRow::setInventoryNumberJoin()
     * @uses ItemSearchRow::setInventoryNumberBinOnHandJoin()
     * @uses ItemSearchRow::setMemberItemJoin()
     * @uses ItemSearchRow::setObsoleteRevisionJoin()
     * @uses ItemSearchRow::setParentJoin()
     * @uses ItemSearchRow::setPreferredLocationJoin()
     * @uses ItemSearchRow::setPreferredVendorJoin()
     * @uses ItemSearchRow::setPricingJoin()
     * @uses ItemSearchRow::setShopperJoin()
     * @uses ItemSearchRow::setTransactionJoin()
     * @uses ItemSearchRow::setUserJoin()
     * @uses ItemSearchRow::setUserNotesJoin()
     * @uses ItemSearchRow::setVendorJoin()
     * @uses ItemSearchRow::setCustomSearchJoin()
     * @param \StructType\ItemSearchRowBasic $basic
     * @param \StructType\RevRecTemplateSearchRowBasic $accountingBookRevRecScheduleJoin
     * @param \StructType\AssemblyItemBomSearchRowBasic $assemblyItemBillOfMaterialsJoin
     * @param \StructType\BinSearchRowBasic $binNumberJoin
     * @param \StructType\ItemBinNumberSearchRowBasic $binOnHandJoin
     * @param \StructType\ItemSearchRowBasic $correlatedItemJoin
     * @param \StructType\ItemRevisionSearchRowBasic $effectiveRevisionJoin
     * @param \StructType\FileSearchRowBasic $fileJoin
     * @param \StructType\InventoryDetailSearchRowBasic $inventoryDetailJoin
     * @param \StructType\LocationSearchRowBasic $inventoryLocationJoin
     * @param \StructType\InventoryNumberSearchRowBasic $inventoryNumberJoin
     * @param \StructType\InventoryNumberBinSearchRowBasic $inventoryNumberBinOnHandJoin
     * @param \StructType\ItemSearchRowBasic $memberItemJoin
     * @param \StructType\ItemRevisionSearchRowBasic $obsoleteRevisionJoin
     * @param \StructType\ItemSearchRowBasic $parentJoin
     * @param \StructType\LocationSearchRowBasic $preferredLocationJoin
     * @param \StructType\VendorSearchRowBasic $preferredVendorJoin
     * @param \StructType\PricingSearchRowBasic $pricingJoin
     * @param \StructType\CustomerSearchRowBasic $shopperJoin
     * @param \StructType\TransactionSearchRowBasic $transactionJoin
     * @param \StructType\EmployeeSearchRowBasic $userJoin
     * @param \StructType\NoteSearchRowBasic $userNotesJoin
     * @param \StructType\VendorSearchRowBasic $vendorJoin
     * @param \StructType\CustomSearchRowBasic[] $customSearchJoin
     */
    public function __construct(\StructType\ItemSearchRowBasic $basic = null, \StructType\RevRecTemplateSearchRowBasic $accountingBookRevRecScheduleJoin = null, \StructType\AssemblyItemBomSearchRowBasic $assemblyItemBillOfMaterialsJoin = null, \StructType\BinSearchRowBasic $binNumberJoin = null, \StructType\ItemBinNumberSearchRowBasic $binOnHandJoin = null, \StructType\ItemSearchRowBasic $correlatedItemJoin = null, \StructType\ItemRevisionSearchRowBasic $effectiveRevisionJoin = null, \StructType\FileSearchRowBasic $fileJoin = null, \StructType\InventoryDetailSearchRowBasic $inventoryDetailJoin = null, \StructType\LocationSearchRowBasic $inventoryLocationJoin = null, \StructType\InventoryNumberSearchRowBasic $inventoryNumberJoin = null, \StructType\InventoryNumberBinSearchRowBasic $inventoryNumberBinOnHandJoin = null, \StructType\ItemSearchRowBasic $memberItemJoin = null, \StructType\ItemRevisionSearchRowBasic $obsoleteRevisionJoin = null, \StructType\ItemSearchRowBasic $parentJoin = null, \StructType\LocationSearchRowBasic $preferredLocationJoin = null, \StructType\VendorSearchRowBasic $preferredVendorJoin = null, \StructType\PricingSearchRowBasic $pricingJoin = null, \StructType\CustomerSearchRowBasic $shopperJoin = null, \StructType\TransactionSearchRowBasic $transactionJoin = null, \StructType\EmployeeSearchRowBasic $userJoin = null, \StructType\NoteSearchRowBasic $userNotesJoin = null, \StructType\VendorSearchRowBasic $vendorJoin = null, array $customSearchJoin = array())
    {
        $this
            ->setBasic($basic)
            ->setAccountingBookRevRecScheduleJoin($accountingBookRevRecScheduleJoin)
            ->setAssemblyItemBillOfMaterialsJoin($assemblyItemBillOfMaterialsJoin)
            ->setBinNumberJoin($binNumberJoin)
            ->setBinOnHandJoin($binOnHandJoin)
            ->setCorrelatedItemJoin($correlatedItemJoin)
            ->setEffectiveRevisionJoin($effectiveRevisionJoin)
            ->setFileJoin($fileJoin)
            ->setInventoryDetailJoin($inventoryDetailJoin)
            ->setInventoryLocationJoin($inventoryLocationJoin)
            ->setInventoryNumberJoin($inventoryNumberJoin)
            ->setInventoryNumberBinOnHandJoin($inventoryNumberBinOnHandJoin)
            ->setMemberItemJoin($memberItemJoin)
            ->setObsoleteRevisionJoin($obsoleteRevisionJoin)
            ->setParentJoin($parentJoin)
            ->setPreferredLocationJoin($preferredLocationJoin)
            ->setPreferredVendorJoin($preferredVendorJoin)
            ->setPricingJoin($pricingJoin)
            ->setShopperJoin($shopperJoin)
            ->setTransactionJoin($transactionJoin)
            ->setUserJoin($userJoin)
            ->setUserNotesJoin($userNotesJoin)
            ->setVendorJoin($vendorJoin)
            ->setCustomSearchJoin($customSearchJoin);
    }
    /**
     * Get basic value
     * @return \StructType\ItemSearchRowBasic|null
     */
    public function getBasic()
    {
        return $this->basic;
    }
    /**
     * Set basic value
     * @param \StructType\ItemSearchRowBasic $basic
     * @return \StructType\ItemSearchRow
     */
    public function setBasic(\StructType\ItemSearchRowBasic $basic = null)
    {
        $this->basic = $basic;
        return $this;
    }
    /**
     * Get accountingBookRevRecScheduleJoin value
     * @return \StructType\RevRecTemplateSearchRowBasic|null
     */
    public function getAccountingBookRevRecScheduleJoin()
    {
        return $this->accountingBookRevRecScheduleJoin;
    }
    /**
     * Set accountingBookRevRecScheduleJoin value
     * @param \StructType\RevRecTemplateSearchRowBasic $accountingBookRevRecScheduleJoin
     * @return \StructType\ItemSearchRow
     */
    public function setAccountingBookRevRecScheduleJoin(\StructType\RevRecTemplateSearchRowBasic $accountingBookRevRecScheduleJoin = null)
    {
        $this->accountingBookRevRecScheduleJoin = $accountingBookRevRecScheduleJoin;
        return $this;
    }
    /**
     * Get assemblyItemBillOfMaterialsJoin value
     * @return \StructType\AssemblyItemBomSearchRowBasic|null
     */
    public function getAssemblyItemBillOfMaterialsJoin()
    {
        return $this->assemblyItemBillOfMaterialsJoin;
    }
    /**
     * Set assemblyItemBillOfMaterialsJoin value
     * @param \StructType\AssemblyItemBomSearchRowBasic $assemblyItemBillOfMaterialsJoin
     * @return \StructType\ItemSearchRow
     */
    public function setAssemblyItemBillOfMaterialsJoin(\StructType\AssemblyItemBomSearchRowBasic $assemblyItemBillOfMaterialsJoin = null)
    {
        $this->assemblyItemBillOfMaterialsJoin = $assemblyItemBillOfMaterialsJoin;
        return $this;
    }
    /**
     * Get binNumberJoin value
     * @return \StructType\BinSearchRowBasic|null
     */
    public function getBinNumberJoin()
    {
        return $this->binNumberJoin;
    }
    /**
     * Set binNumberJoin value
     * @param \StructType\BinSearchRowBasic $binNumberJoin
     * @return \StructType\ItemSearchRow
     */
    public function setBinNumberJoin(\StructType\BinSearchRowBasic $binNumberJoin = null)
    {
        $this->binNumberJoin = $binNumberJoin;
        return $this;
    }
    /**
     * Get binOnHandJoin value
     * @return \StructType\ItemBinNumberSearchRowBasic|null
     */
    public function getBinOnHandJoin()
    {
        return $this->binOnHandJoin;
    }
    /**
     * Set binOnHandJoin value
     * @param \StructType\ItemBinNumberSearchRowBasic $binOnHandJoin
     * @return \StructType\ItemSearchRow
     */
    public function setBinOnHandJoin(\StructType\ItemBinNumberSearchRowBasic $binOnHandJoin = null)
    {
        $this->binOnHandJoin = $binOnHandJoin;
        return $this;
    }
    /**
     * Get correlatedItemJoin value
     * @return \StructType\ItemSearchRowBasic|null
     */
    public function getCorrelatedItemJoin()
    {
        return $this->correlatedItemJoin;
    }
    /**
     * Set correlatedItemJoin value
     * @param \StructType\ItemSearchRowBasic $correlatedItemJoin
     * @return \StructType\ItemSearchRow
     */
    public function setCorrelatedItemJoin(\StructType\ItemSearchRowBasic $correlatedItemJoin = null)
    {
        $this->correlatedItemJoin = $correlatedItemJoin;
        return $this;
    }
    /**
     * Get effectiveRevisionJoin value
     * @return \StructType\ItemRevisionSearchRowBasic|null
     */
    public function getEffectiveRevisionJoin()
    {
        return $this->effectiveRevisionJoin;
    }
    /**
     * Set effectiveRevisionJoin value
     * @param \StructType\ItemRevisionSearchRowBasic $effectiveRevisionJoin
     * @return \StructType\ItemSearchRow
     */
    public function setEffectiveRevisionJoin(\StructType\ItemRevisionSearchRowBasic $effectiveRevisionJoin = null)
    {
        $this->effectiveRevisionJoin = $effectiveRevisionJoin;
        return $this;
    }
    /**
     * Get fileJoin value
     * @return \StructType\FileSearchRowBasic|null
     */
    public function getFileJoin()
    {
        return $this->fileJoin;
    }
    /**
     * Set fileJoin value
     * @param \StructType\FileSearchRowBasic $fileJoin
     * @return \StructType\ItemSearchRow
     */
    public function setFileJoin(\StructType\FileSearchRowBasic $fileJoin = null)
    {
        $this->fileJoin = $fileJoin;
        return $this;
    }
    /**
     * Get inventoryDetailJoin value
     * @return \StructType\InventoryDetailSearchRowBasic|null
     */
    public function getInventoryDetailJoin()
    {
        return $this->inventoryDetailJoin;
    }
    /**
     * Set inventoryDetailJoin value
     * @param \StructType\InventoryDetailSearchRowBasic $inventoryDetailJoin
     * @return \StructType\ItemSearchRow
     */
    public function setInventoryDetailJoin(\StructType\InventoryDetailSearchRowBasic $inventoryDetailJoin = null)
    {
        $this->inventoryDetailJoin = $inventoryDetailJoin;
        return $this;
    }
    /**
     * Get inventoryLocationJoin value
     * @return \StructType\LocationSearchRowBasic|null
     */
    public function getInventoryLocationJoin()
    {
        return $this->inventoryLocationJoin;
    }
    /**
     * Set inventoryLocationJoin value
     * @param \StructType\LocationSearchRowBasic $inventoryLocationJoin
     * @return \StructType\ItemSearchRow
     */
    public function setInventoryLocationJoin(\StructType\LocationSearchRowBasic $inventoryLocationJoin = null)
    {
        $this->inventoryLocationJoin = $inventoryLocationJoin;
        return $this;
    }
    /**
     * Get inventoryNumberJoin value
     * @return \StructType\InventoryNumberSearchRowBasic|null
     */
    public function getInventoryNumberJoin()
    {
        return $this->inventoryNumberJoin;
    }
    /**
     * Set inventoryNumberJoin value
     * @param \StructType\InventoryNumberSearchRowBasic $inventoryNumberJoin
     * @return \StructType\ItemSearchRow
     */
    public function setInventoryNumberJoin(\StructType\InventoryNumberSearchRowBasic $inventoryNumberJoin = null)
    {
        $this->inventoryNumberJoin = $inventoryNumberJoin;
        return $this;
    }
    /**
     * Get inventoryNumberBinOnHandJoin value
     * @return \StructType\InventoryNumberBinSearchRowBasic|null
     */
    public function getInventoryNumberBinOnHandJoin()
    {
        return $this->inventoryNumberBinOnHandJoin;
    }
    /**
     * Set inventoryNumberBinOnHandJoin value
     * @param \StructType\InventoryNumberBinSearchRowBasic $inventoryNumberBinOnHandJoin
     * @return \StructType\ItemSearchRow
     */
    public function setInventoryNumberBinOnHandJoin(\StructType\InventoryNumberBinSearchRowBasic $inventoryNumberBinOnHandJoin = null)
    {
        $this->inventoryNumberBinOnHandJoin = $inventoryNumberBinOnHandJoin;
        return $this;
    }
    /**
     * Get memberItemJoin value
     * @return \StructType\ItemSearchRowBasic|null
     */
    public function getMemberItemJoin()
    {
        return $this->memberItemJoin;
    }
    /**
     * Set memberItemJoin value
     * @param \StructType\ItemSearchRowBasic $memberItemJoin
     * @return \StructType\ItemSearchRow
     */
    public function setMemberItemJoin(\StructType\ItemSearchRowBasic $memberItemJoin = null)
    {
        $this->memberItemJoin = $memberItemJoin;
        return $this;
    }
    /**
     * Get obsoleteRevisionJoin value
     * @return \StructType\ItemRevisionSearchRowBasic|null
     */
    public function getObsoleteRevisionJoin()
    {
        return $this->obsoleteRevisionJoin;
    }
    /**
     * Set obsoleteRevisionJoin value
     * @param \StructType\ItemRevisionSearchRowBasic $obsoleteRevisionJoin
     * @return \StructType\ItemSearchRow
     */
    public function setObsoleteRevisionJoin(\StructType\ItemRevisionSearchRowBasic $obsoleteRevisionJoin = null)
    {
        $this->obsoleteRevisionJoin = $obsoleteRevisionJoin;
        return $this;
    }
    /**
     * Get parentJoin value
     * @return \StructType\ItemSearchRowBasic|null
     */
    public function getParentJoin()
    {
        return $this->parentJoin;
    }
    /**
     * Set parentJoin value
     * @param \StructType\ItemSearchRowBasic $parentJoin
     * @return \StructType\ItemSearchRow
     */
    public function setParentJoin(\StructType\ItemSearchRowBasic $parentJoin = null)
    {
        $this->parentJoin = $parentJoin;
        return $this;
    }
    /**
     * Get preferredLocationJoin value
     * @return \StructType\LocationSearchRowBasic|null
     */
    public function getPreferredLocationJoin()
    {
        return $this->preferredLocationJoin;
    }
    /**
     * Set preferredLocationJoin value
     * @param \StructType\LocationSearchRowBasic $preferredLocationJoin
     * @return \StructType\ItemSearchRow
     */
    public function setPreferredLocationJoin(\StructType\LocationSearchRowBasic $preferredLocationJoin = null)
    {
        $this->preferredLocationJoin = $preferredLocationJoin;
        return $this;
    }
    /**
     * Get preferredVendorJoin value
     * @return \StructType\VendorSearchRowBasic|null
     */
    public function getPreferredVendorJoin()
    {
        return $this->preferredVendorJoin;
    }
    /**
     * Set preferredVendorJoin value
     * @param \StructType\VendorSearchRowBasic $preferredVendorJoin
     * @return \StructType\ItemSearchRow
     */
    public function setPreferredVendorJoin(\StructType\VendorSearchRowBasic $preferredVendorJoin = null)
    {
        $this->preferredVendorJoin = $preferredVendorJoin;
        return $this;
    }
    /**
     * Get pricingJoin value
     * @return \StructType\PricingSearchRowBasic|null
     */
    public function getPricingJoin()
    {
        return $this->pricingJoin;
    }
    /**
     * Set pricingJoin value
     * @param \StructType\PricingSearchRowBasic $pricingJoin
     * @return \StructType\ItemSearchRow
     */
    public function setPricingJoin(\StructType\PricingSearchRowBasic $pricingJoin = null)
    {
        $this->pricingJoin = $pricingJoin;
        return $this;
    }
    /**
     * Get shopperJoin value
     * @return \StructType\CustomerSearchRowBasic|null
     */
    public function getShopperJoin()
    {
        return $this->shopperJoin;
    }
    /**
     * Set shopperJoin value
     * @param \StructType\CustomerSearchRowBasic $shopperJoin
     * @return \StructType\ItemSearchRow
     */
    public function setShopperJoin(\StructType\CustomerSearchRowBasic $shopperJoin = null)
    {
        $this->shopperJoin = $shopperJoin;
        return $this;
    }
    /**
     * Get transactionJoin value
     * @return \StructType\TransactionSearchRowBasic|null
     */
    public function getTransactionJoin()
    {
        return $this->transactionJoin;
    }
    /**
     * Set transactionJoin value
     * @param \StructType\TransactionSearchRowBasic $transactionJoin
     * @return \StructType\ItemSearchRow
     */
    public function setTransactionJoin(\StructType\TransactionSearchRowBasic $transactionJoin = null)
    {
        $this->transactionJoin = $transactionJoin;
        return $this;
    }
    /**
     * Get userJoin value
     * @return \StructType\EmployeeSearchRowBasic|null
     */
    public function getUserJoin()
    {
        return $this->userJoin;
    }
    /**
     * Set userJoin value
     * @param \StructType\EmployeeSearchRowBasic $userJoin
     * @return \StructType\ItemSearchRow
     */
    public function setUserJoin(\StructType\EmployeeSearchRowBasic $userJoin = null)
    {
        $this->userJoin = $userJoin;
        return $this;
    }
    /**
     * Get userNotesJoin value
     * @return \StructType\NoteSearchRowBasic|null
     */
    public function getUserNotesJoin()
    {
        return $this->userNotesJoin;
    }
    /**
     * Set userNotesJoin value
     * @param \StructType\NoteSearchRowBasic $userNotesJoin
     * @return \StructType\ItemSearchRow
     */
    public function setUserNotesJoin(\StructType\NoteSearchRowBasic $userNotesJoin = null)
    {
        $this->userNotesJoin = $userNotesJoin;
        return $this;
    }
    /**
     * Get vendorJoin value
     * @return \StructType\VendorSearchRowBasic|null
     */
    public function getVendorJoin()
    {
        return $this->vendorJoin;
    }
    /**
     * Set vendorJoin value
     * @param \StructType\VendorSearchRowBasic $vendorJoin
     * @return \StructType\ItemSearchRow
     */
    public function setVendorJoin(\StructType\VendorSearchRowBasic $vendorJoin = null)
    {
        $this->vendorJoin = $vendorJoin;
        return $this;
    }
    /**
     * Get customSearchJoin value
     * @return \StructType\CustomSearchRowBasic[]|null
     */
    public function getCustomSearchJoin()
    {
        return $this->customSearchJoin;
    }
    /**
     * This method is responsible for validating the values passed to the setCustomSearchJoin method
     * This method is willingly generated in order to preserve the one-line inline validation within the setCustomSearchJoin method
     * @param array $values
     * @return string A non-empty message if the values does not match the validation rules
     */
    public static function validateCustomSearchJoinForArrayConstraintsFromSetCustomSearchJoin(array $values = array())
    {
        $message = '';
        $invalidValues = [];
        foreach ($values as $itemSearchRowCustomSearchJoinItem) {
            // validation for constraint: itemType
            if (!$itemSearchRowCustomSearchJoinItem instanceof \StructType\CustomSearchRowBasic) {
                $invalidValues[] = is_object($itemSearchRowCustomSearchJoinItem) ? get_class($itemSearchRowCustomSearchJoinItem) : sprintf('%s(%s)', gettype($itemSearchRowCustomSearchJoinItem), var_export($itemSearchRowCustomSearchJoinItem, true));
            }
        }
        if (!empty($invalidValues)) {
            $message = sprintf('The customSearchJoin property can only contain items of type \StructType\CustomSearchRowBasic, %s given', is_object($invalidValues) ? get_class($invalidValues) : (is_array($invalidValues) ? implode(', ', $invalidValues) : gettype($invalidValues)));
        }
        unset($invalidValues);
        return $message;
    }
    /**
     * Set customSearchJoin value
     * @throws \InvalidArgumentException
     * @param \StructType\CustomSearchRowBasic[] $customSearchJoin
     * @return \StructType\ItemSearchRow
     */
    public function setCustomSearchJoin(array $customSearchJoin = array())
    {
        // validation for constraint: array
        if ('' !== ($customSearchJoinArrayErrorMessage = self::validateCustomSearchJoinForArrayConstraintsFromSetCustomSearchJoin($customSearchJoin))) {
            throw new \InvalidArgumentException($customSearchJoinArrayErrorMessage, __LINE__);
        }
        $this->customSearchJoin = $customSearchJoin;
        return $this;
    }
    /**
     * Add item to customSearchJoin value
     * @throws \InvalidArgumentException
     * @param \StructType\CustomSearchRowBasic $item
     * @return \StructType\ItemSearchRow
     */
    public function addToCustomSearchJoin(\StructType\CustomSearchRowBasic $item)
    {
        // validation for constraint: itemType
        if (!$item instanceof \StructType\CustomSearchRowBasic) {
            throw new \InvalidArgumentException(sprintf('The customSearchJoin property can only contain items of type \StructType\CustomSearchRowBasic, %s given', is_object($item) ? get_class($item) : (is_array($item) ? implode(', ', $item) : gettype($item))), __LINE__);
        }
        $this->customSearchJoin[] = $item;
        return $this;
    }
}
