<?php

namespace StructType;

use \WsdlToPhp\PackageBase\AbstractStructBase;

/**
 * This class stands for CustomerSearchRow StructType
 * @subpackage Structs
 */
class CustomerSearchRow extends SearchRow
{
    /**
     * The basic
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var \StructType\CustomerSearchRowBasic
     */
    public $basic;
    /**
     * The billingAccountJoin
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var \StructType\BillingAccountSearchRowBasic
     */
    public $billingAccountJoin;
    /**
     * The billingScheduleJoin
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var \StructType\BillingScheduleSearchRowBasic
     */
    public $billingScheduleJoin;
    /**
     * The callJoin
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var \StructType\PhoneCallSearchRowBasic
     */
    public $callJoin;
    /**
     * The campaignResponseJoin
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var \StructType\CampaignSearchRowBasic
     */
    public $campaignResponseJoin;
    /**
     * The caseJoin
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var \StructType\SupportCaseSearchRowBasic
     */
    public $caseJoin;
    /**
     * The contactJoin
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var \StructType\ContactSearchRowBasic
     */
    public $contactJoin;
    /**
     * The contactPrimaryJoin
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var \StructType\ContactSearchRowBasic
     */
    public $contactPrimaryJoin;
    /**
     * The eventJoin
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var \StructType\CalendarEventSearchRowBasic
     */
    public $eventJoin;
    /**
     * The fileJoin
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var \StructType\FileSearchRowBasic
     */
    public $fileJoin;
    /**
     * The hostedPageJoin
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var \StructType\FileSearchRowBasic
     */
    public $hostedPageJoin;
    /**
     * The jobJoin
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var \StructType\JobSearchRowBasic
     */
    public $jobJoin;
    /**
     * The leadSourceJoin
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var \StructType\CampaignSearchRowBasic
     */
    public $leadSourceJoin;
    /**
     * The messagesJoin
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var \StructType\MessageSearchRowBasic
     */
    public $messagesJoin;
    /**
     * The messagesFromJoin
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var \StructType\MessageSearchRowBasic
     */
    public $messagesFromJoin;
    /**
     * The messagesToJoin
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var \StructType\MessageSearchRowBasic
     */
    public $messagesToJoin;
    /**
     * The mseSubsidiaryJoin
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var \StructType\MseSubsidiarySearchRowBasic
     */
    public $mseSubsidiaryJoin;
    /**
     * The opportunityJoin
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var \StructType\OpportunitySearchRowBasic
     */
    public $opportunityJoin;
    /**
     * The originatingLeadJoin
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var \StructType\OriginatingLeadSearchRowBasic
     */
    public $originatingLeadJoin;
    /**
     * The parentCustomerJoin
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var \StructType\CustomerSearchRowBasic
     */
    public $parentCustomerJoin;
    /**
     * The partnerJoin
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var \StructType\PartnerSearchRowBasic
     */
    public $partnerJoin;
    /**
     * The paymentInstrumentJoin
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var \StructType\PaymentInstrumentSearchRowBasic
     */
    public $paymentInstrumentJoin;
    /**
     * The pricingJoin
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var \StructType\PricingSearchRowBasic
     */
    public $pricingJoin;
    /**
     * The purchasedItemJoin
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var \StructType\ItemSearchRowBasic
     */
    public $purchasedItemJoin;
    /**
     * The resourceAllocationJoin
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var \StructType\ResourceAllocationSearchRowBasic
     */
    public $resourceAllocationJoin;
    /**
     * The salesRepJoin
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var \StructType\EmployeeSearchRowBasic
     */
    public $salesRepJoin;
    /**
     * The subCustomerJoin
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var \StructType\CustomerSearchRowBasic
     */
    public $subCustomerJoin;
    /**
     * The taskJoin
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var \StructType\TaskSearchRowBasic
     */
    public $taskJoin;
    /**
     * The taxRegistrationJoin
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var \StructType\EntityTaxRegistrationSearchRowBasic
     */
    public $taxRegistrationJoin;
    /**
     * The timeJoin
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var \StructType\TimeBillSearchRowBasic
     */
    public $timeJoin;
    /**
     * The topLevelParentJoin
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var \StructType\CustomerSearchRowBasic
     */
    public $topLevelParentJoin;
    /**
     * The transactionJoin
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var \StructType\TransactionSearchRowBasic
     */
    public $transactionJoin;
    /**
     * The upsellItemJoin
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var \StructType\ItemSearchRowBasic
     */
    public $upsellItemJoin;
    /**
     * 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 webSiteCategoryJoin
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var \StructType\SiteCategorySearchRowBasic
     */
    public $webSiteCategoryJoin;
    /**
     * The webSiteItemJoin
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var \StructType\ItemSearchRowBasic
     */
    public $webSiteItemJoin;
    /**
     * The customSearchJoin
     * Meta information extracted from the WSDL
     * - maxOccurs: unbounded
     * - minOccurs: 0
     * @var \StructType\CustomSearchRowBasic[]
     */
    public $customSearchJoin;
    /**
     * Constructor method for CustomerSearchRow
     * @uses CustomerSearchRow::setBasic()
     * @uses CustomerSearchRow::setBillingAccountJoin()
     * @uses CustomerSearchRow::setBillingScheduleJoin()
     * @uses CustomerSearchRow::setCallJoin()
     * @uses CustomerSearchRow::setCampaignResponseJoin()
     * @uses CustomerSearchRow::setCaseJoin()
     * @uses CustomerSearchRow::setContactJoin()
     * @uses CustomerSearchRow::setContactPrimaryJoin()
     * @uses CustomerSearchRow::setEventJoin()
     * @uses CustomerSearchRow::setFileJoin()
     * @uses CustomerSearchRow::setHostedPageJoin()
     * @uses CustomerSearchRow::setJobJoin()
     * @uses CustomerSearchRow::setLeadSourceJoin()
     * @uses CustomerSearchRow::setMessagesJoin()
     * @uses CustomerSearchRow::setMessagesFromJoin()
     * @uses CustomerSearchRow::setMessagesToJoin()
     * @uses CustomerSearchRow::setMseSubsidiaryJoin()
     * @uses CustomerSearchRow::setOpportunityJoin()
     * @uses CustomerSearchRow::setOriginatingLeadJoin()
     * @uses CustomerSearchRow::setParentCustomerJoin()
     * @uses CustomerSearchRow::setPartnerJoin()
     * @uses CustomerSearchRow::setPaymentInstrumentJoin()
     * @uses CustomerSearchRow::setPricingJoin()
     * @uses CustomerSearchRow::setPurchasedItemJoin()
     * @uses CustomerSearchRow::setResourceAllocationJoin()
     * @uses CustomerSearchRow::setSalesRepJoin()
     * @uses CustomerSearchRow::setSubCustomerJoin()
     * @uses CustomerSearchRow::setTaskJoin()
     * @uses CustomerSearchRow::setTaxRegistrationJoin()
     * @uses CustomerSearchRow::setTimeJoin()
     * @uses CustomerSearchRow::setTopLevelParentJoin()
     * @uses CustomerSearchRow::setTransactionJoin()
     * @uses CustomerSearchRow::setUpsellItemJoin()
     * @uses CustomerSearchRow::setUserJoin()
     * @uses CustomerSearchRow::setUserNotesJoin()
     * @uses CustomerSearchRow::setWebSiteCategoryJoin()
     * @uses CustomerSearchRow::setWebSiteItemJoin()
     * @uses CustomerSearchRow::setCustomSearchJoin()
     * @param \StructType\CustomerSearchRowBasic $basic
     * @param \StructType\BillingAccountSearchRowBasic $billingAccountJoin
     * @param \StructType\BillingScheduleSearchRowBasic $billingScheduleJoin
     * @param \StructType\PhoneCallSearchRowBasic $callJoin
     * @param \StructType\CampaignSearchRowBasic $campaignResponseJoin
     * @param \StructType\SupportCaseSearchRowBasic $caseJoin
     * @param \StructType\ContactSearchRowBasic $contactJoin
     * @param \StructType\ContactSearchRowBasic $contactPrimaryJoin
     * @param \StructType\CalendarEventSearchRowBasic $eventJoin
     * @param \StructType\FileSearchRowBasic $fileJoin
     * @param \StructType\FileSearchRowBasic $hostedPageJoin
     * @param \StructType\JobSearchRowBasic $jobJoin
     * @param \StructType\CampaignSearchRowBasic $leadSourceJoin
     * @param \StructType\MessageSearchRowBasic $messagesJoin
     * @param \StructType\MessageSearchRowBasic $messagesFromJoin
     * @param \StructType\MessageSearchRowBasic $messagesToJoin
     * @param \StructType\MseSubsidiarySearchRowBasic $mseSubsidiaryJoin
     * @param \StructType\OpportunitySearchRowBasic $opportunityJoin
     * @param \StructType\OriginatingLeadSearchRowBasic $originatingLeadJoin
     * @param \StructType\CustomerSearchRowBasic $parentCustomerJoin
     * @param \StructType\PartnerSearchRowBasic $partnerJoin
     * @param \StructType\PaymentInstrumentSearchRowBasic $paymentInstrumentJoin
     * @param \StructType\PricingSearchRowBasic $pricingJoin
     * @param \StructType\ItemSearchRowBasic $purchasedItemJoin
     * @param \StructType\ResourceAllocationSearchRowBasic $resourceAllocationJoin
     * @param \StructType\EmployeeSearchRowBasic $salesRepJoin
     * @param \StructType\CustomerSearchRowBasic $subCustomerJoin
     * @param \StructType\TaskSearchRowBasic $taskJoin
     * @param \StructType\EntityTaxRegistrationSearchRowBasic $taxRegistrationJoin
     * @param \StructType\TimeBillSearchRowBasic $timeJoin
     * @param \StructType\CustomerSearchRowBasic $topLevelParentJoin
     * @param \StructType\TransactionSearchRowBasic $transactionJoin
     * @param \StructType\ItemSearchRowBasic $upsellItemJoin
     * @param \StructType\EmployeeSearchRowBasic $userJoin
     * @param \StructType\NoteSearchRowBasic $userNotesJoin
     * @param \StructType\SiteCategorySearchRowBasic $webSiteCategoryJoin
     * @param \StructType\ItemSearchRowBasic $webSiteItemJoin
     * @param \StructType\CustomSearchRowBasic[] $customSearchJoin
     */
    public function __construct(\StructType\CustomerSearchRowBasic $basic = null, \StructType\BillingAccountSearchRowBasic $billingAccountJoin = null, \StructType\BillingScheduleSearchRowBasic $billingScheduleJoin = null, \StructType\PhoneCallSearchRowBasic $callJoin = null, \StructType\CampaignSearchRowBasic $campaignResponseJoin = null, \StructType\SupportCaseSearchRowBasic $caseJoin = null, \StructType\ContactSearchRowBasic $contactJoin = null, \StructType\ContactSearchRowBasic $contactPrimaryJoin = null, \StructType\CalendarEventSearchRowBasic $eventJoin = null, \StructType\FileSearchRowBasic $fileJoin = null, \StructType\FileSearchRowBasic $hostedPageJoin = null, \StructType\JobSearchRowBasic $jobJoin = null, \StructType\CampaignSearchRowBasic $leadSourceJoin = null, \StructType\MessageSearchRowBasic $messagesJoin = null, \StructType\MessageSearchRowBasic $messagesFromJoin = null, \StructType\MessageSearchRowBasic $messagesToJoin = null, \StructType\MseSubsidiarySearchRowBasic $mseSubsidiaryJoin = null, \StructType\OpportunitySearchRowBasic $opportunityJoin = null, \StructType\OriginatingLeadSearchRowBasic $originatingLeadJoin = null, \StructType\CustomerSearchRowBasic $parentCustomerJoin = null, \StructType\PartnerSearchRowBasic $partnerJoin = null, \StructType\PaymentInstrumentSearchRowBasic $paymentInstrumentJoin = null, \StructType\PricingSearchRowBasic $pricingJoin = null, \StructType\ItemSearchRowBasic $purchasedItemJoin = null, \StructType\ResourceAllocationSearchRowBasic $resourceAllocationJoin = null, \StructType\EmployeeSearchRowBasic $salesRepJoin = null, \StructType\CustomerSearchRowBasic $subCustomerJoin = null, \StructType\TaskSearchRowBasic $taskJoin = null, \StructType\EntityTaxRegistrationSearchRowBasic $taxRegistrationJoin = null, \StructType\TimeBillSearchRowBasic $timeJoin = null, \StructType\CustomerSearchRowBasic $topLevelParentJoin = null, \StructType\TransactionSearchRowBasic $transactionJoin = null, \StructType\ItemSearchRowBasic $upsellItemJoin = null, \StructType\EmployeeSearchRowBasic $userJoin = null, \StructType\NoteSearchRowBasic $userNotesJoin = null, \StructType\SiteCategorySearchRowBasic $webSiteCategoryJoin = null, \StructType\ItemSearchRowBasic $webSiteItemJoin = null, array $customSearchJoin = array())
    {
        $this
            ->setBasic($basic)
            ->setBillingAccountJoin($billingAccountJoin)
            ->setBillingScheduleJoin($billingScheduleJoin)
            ->setCallJoin($callJoin)
            ->setCampaignResponseJoin($campaignResponseJoin)
            ->setCaseJoin($caseJoin)
            ->setContactJoin($contactJoin)
            ->setContactPrimaryJoin($contactPrimaryJoin)
            ->setEventJoin($eventJoin)
            ->setFileJoin($fileJoin)
            ->setHostedPageJoin($hostedPageJoin)
            ->setJobJoin($jobJoin)
            ->setLeadSourceJoin($leadSourceJoin)
            ->setMessagesJoin($messagesJoin)
            ->setMessagesFromJoin($messagesFromJoin)
            ->setMessagesToJoin($messagesToJoin)
            ->setMseSubsidiaryJoin($mseSubsidiaryJoin)
            ->setOpportunityJoin($opportunityJoin)
            ->setOriginatingLeadJoin($originatingLeadJoin)
            ->setParentCustomerJoin($parentCustomerJoin)
            ->setPartnerJoin($partnerJoin)
            ->setPaymentInstrumentJoin($paymentInstrumentJoin)
            ->setPricingJoin($pricingJoin)
            ->setPurchasedItemJoin($purchasedItemJoin)
            ->setResourceAllocationJoin($resourceAllocationJoin)
            ->setSalesRepJoin($salesRepJoin)
            ->setSubCustomerJoin($subCustomerJoin)
            ->setTaskJoin($taskJoin)
            ->setTaxRegistrationJoin($taxRegistrationJoin)
            ->setTimeJoin($timeJoin)
            ->setTopLevelParentJoin($topLevelParentJoin)
            ->setTransactionJoin($transactionJoin)
            ->setUpsellItemJoin($upsellItemJoin)
            ->setUserJoin($userJoin)
            ->setUserNotesJoin($userNotesJoin)
            ->setWebSiteCategoryJoin($webSiteCategoryJoin)
            ->setWebSiteItemJoin($webSiteItemJoin)
            ->setCustomSearchJoin($customSearchJoin);
    }
    /**
     * Get basic value
     * @return \StructType\CustomerSearchRowBasic|null
     */
    public function getBasic()
    {
        return $this->basic;
    }
    /**
     * Set basic value
     * @param \StructType\CustomerSearchRowBasic $basic
     * @return \StructType\CustomerSearchRow
     */
    public function setBasic(\StructType\CustomerSearchRowBasic $basic = null)
    {
        $this->basic = $basic;
        return $this;
    }
    /**
     * Get billingAccountJoin value
     * @return \StructType\BillingAccountSearchRowBasic|null
     */
    public function getBillingAccountJoin()
    {
        return $this->billingAccountJoin;
    }
    /**
     * Set billingAccountJoin value
     * @param \StructType\BillingAccountSearchRowBasic $billingAccountJoin
     * @return \StructType\CustomerSearchRow
     */
    public function setBillingAccountJoin(\StructType\BillingAccountSearchRowBasic $billingAccountJoin = null)
    {
        $this->billingAccountJoin = $billingAccountJoin;
        return $this;
    }
    /**
     * Get billingScheduleJoin value
     * @return \StructType\BillingScheduleSearchRowBasic|null
     */
    public function getBillingScheduleJoin()
    {
        return $this->billingScheduleJoin;
    }
    /**
     * Set billingScheduleJoin value
     * @param \StructType\BillingScheduleSearchRowBasic $billingScheduleJoin
     * @return \StructType\CustomerSearchRow
     */
    public function setBillingScheduleJoin(\StructType\BillingScheduleSearchRowBasic $billingScheduleJoin = null)
    {
        $this->billingScheduleJoin = $billingScheduleJoin;
        return $this;
    }
    /**
     * Get callJoin value
     * @return \StructType\PhoneCallSearchRowBasic|null
     */
    public function getCallJoin()
    {
        return $this->callJoin;
    }
    /**
     * Set callJoin value
     * @param \StructType\PhoneCallSearchRowBasic $callJoin
     * @return \StructType\CustomerSearchRow
     */
    public function setCallJoin(\StructType\PhoneCallSearchRowBasic $callJoin = null)
    {
        $this->callJoin = $callJoin;
        return $this;
    }
    /**
     * Get campaignResponseJoin value
     * @return \StructType\CampaignSearchRowBasic|null
     */
    public function getCampaignResponseJoin()
    {
        return $this->campaignResponseJoin;
    }
    /**
     * Set campaignResponseJoin value
     * @param \StructType\CampaignSearchRowBasic $campaignResponseJoin
     * @return \StructType\CustomerSearchRow
     */
    public function setCampaignResponseJoin(\StructType\CampaignSearchRowBasic $campaignResponseJoin = null)
    {
        $this->campaignResponseJoin = $campaignResponseJoin;
        return $this;
    }
    /**
     * Get caseJoin value
     * @return \StructType\SupportCaseSearchRowBasic|null
     */
    public function getCaseJoin()
    {
        return $this->caseJoin;
    }
    /**
     * Set caseJoin value
     * @param \StructType\SupportCaseSearchRowBasic $caseJoin
     * @return \StructType\CustomerSearchRow
     */
    public function setCaseJoin(\StructType\SupportCaseSearchRowBasic $caseJoin = null)
    {
        $this->caseJoin = $caseJoin;
        return $this;
    }
    /**
     * Get contactJoin value
     * @return \StructType\ContactSearchRowBasic|null
     */
    public function getContactJoin()
    {
        return $this->contactJoin;
    }
    /**
     * Set contactJoin value
     * @param \StructType\ContactSearchRowBasic $contactJoin
     * @return \StructType\CustomerSearchRow
     */
    public function setContactJoin(\StructType\ContactSearchRowBasic $contactJoin = null)
    {
        $this->contactJoin = $contactJoin;
        return $this;
    }
    /**
     * Get contactPrimaryJoin value
     * @return \StructType\ContactSearchRowBasic|null
     */
    public function getContactPrimaryJoin()
    {
        return $this->contactPrimaryJoin;
    }
    /**
     * Set contactPrimaryJoin value
     * @param \StructType\ContactSearchRowBasic $contactPrimaryJoin
     * @return \StructType\CustomerSearchRow
     */
    public function setContactPrimaryJoin(\StructType\ContactSearchRowBasic $contactPrimaryJoin = null)
    {
        $this->contactPrimaryJoin = $contactPrimaryJoin;
        return $this;
    }
    /**
     * Get eventJoin value
     * @return \StructType\CalendarEventSearchRowBasic|null
     */
    public function getEventJoin()
    {
        return $this->eventJoin;
    }
    /**
     * Set eventJoin value
     * @param \StructType\CalendarEventSearchRowBasic $eventJoin
     * @return \StructType\CustomerSearchRow
     */
    public function setEventJoin(\StructType\CalendarEventSearchRowBasic $eventJoin = null)
    {
        $this->eventJoin = $eventJoin;
        return $this;
    }
    /**
     * Get fileJoin value
     * @return \StructType\FileSearchRowBasic|null
     */
    public function getFileJoin()
    {
        return $this->fileJoin;
    }
    /**
     * Set fileJoin value
     * @param \StructType\FileSearchRowBasic $fileJoin
     * @return \StructType\CustomerSearchRow
     */
    public function setFileJoin(\StructType\FileSearchRowBasic $fileJoin = null)
    {
        $this->fileJoin = $fileJoin;
        return $this;
    }
    /**
     * Get hostedPageJoin value
     * @return \StructType\FileSearchRowBasic|null
     */
    public function getHostedPageJoin()
    {
        return $this->hostedPageJoin;
    }
    /**
     * Set hostedPageJoin value
     * @param \StructType\FileSearchRowBasic $hostedPageJoin
     * @return \StructType\CustomerSearchRow
     */
    public function setHostedPageJoin(\StructType\FileSearchRowBasic $hostedPageJoin = null)
    {
        $this->hostedPageJoin = $hostedPageJoin;
        return $this;
    }
    /**
     * Get jobJoin value
     * @return \StructType\JobSearchRowBasic|null
     */
    public function getJobJoin()
    {
        return $this->jobJoin;
    }
    /**
     * Set jobJoin value
     * @param \StructType\JobSearchRowBasic $jobJoin
     * @return \StructType\CustomerSearchRow
     */
    public function setJobJoin(\StructType\JobSearchRowBasic $jobJoin = null)
    {
        $this->jobJoin = $jobJoin;
        return $this;
    }
    /**
     * Get leadSourceJoin value
     * @return \StructType\CampaignSearchRowBasic|null
     */
    public function getLeadSourceJoin()
    {
        return $this->leadSourceJoin;
    }
    /**
     * Set leadSourceJoin value
     * @param \StructType\CampaignSearchRowBasic $leadSourceJoin
     * @return \StructType\CustomerSearchRow
     */
    public function setLeadSourceJoin(\StructType\CampaignSearchRowBasic $leadSourceJoin = null)
    {
        $this->leadSourceJoin = $leadSourceJoin;
        return $this;
    }
    /**
     * Get messagesJoin value
     * @return \StructType\MessageSearchRowBasic|null
     */
    public function getMessagesJoin()
    {
        return $this->messagesJoin;
    }
    /**
     * Set messagesJoin value
     * @param \StructType\MessageSearchRowBasic $messagesJoin
     * @return \StructType\CustomerSearchRow
     */
    public function setMessagesJoin(\StructType\MessageSearchRowBasic $messagesJoin = null)
    {
        $this->messagesJoin = $messagesJoin;
        return $this;
    }
    /**
     * Get messagesFromJoin value
     * @return \StructType\MessageSearchRowBasic|null
     */
    public function getMessagesFromJoin()
    {
        return $this->messagesFromJoin;
    }
    /**
     * Set messagesFromJoin value
     * @param \StructType\MessageSearchRowBasic $messagesFromJoin
     * @return \StructType\CustomerSearchRow
     */
    public function setMessagesFromJoin(\StructType\MessageSearchRowBasic $messagesFromJoin = null)
    {
        $this->messagesFromJoin = $messagesFromJoin;
        return $this;
    }
    /**
     * Get messagesToJoin value
     * @return \StructType\MessageSearchRowBasic|null
     */
    public function getMessagesToJoin()
    {
        return $this->messagesToJoin;
    }
    /**
     * Set messagesToJoin value
     * @param \StructType\MessageSearchRowBasic $messagesToJoin
     * @return \StructType\CustomerSearchRow
     */
    public function setMessagesToJoin(\StructType\MessageSearchRowBasic $messagesToJoin = null)
    {
        $this->messagesToJoin = $messagesToJoin;
        return $this;
    }
    /**
     * Get mseSubsidiaryJoin value
     * @return \StructType\MseSubsidiarySearchRowBasic|null
     */
    public function getMseSubsidiaryJoin()
    {
        return $this->mseSubsidiaryJoin;
    }
    /**
     * Set mseSubsidiaryJoin value
     * @param \StructType\MseSubsidiarySearchRowBasic $mseSubsidiaryJoin
     * @return \StructType\CustomerSearchRow
     */
    public function setMseSubsidiaryJoin(\StructType\MseSubsidiarySearchRowBasic $mseSubsidiaryJoin = null)
    {
        $this->mseSubsidiaryJoin = $mseSubsidiaryJoin;
        return $this;
    }
    /**
     * Get opportunityJoin value
     * @return \StructType\OpportunitySearchRowBasic|null
     */
    public function getOpportunityJoin()
    {
        return $this->opportunityJoin;
    }
    /**
     * Set opportunityJoin value
     * @param \StructType\OpportunitySearchRowBasic $opportunityJoin
     * @return \StructType\CustomerSearchRow
     */
    public function setOpportunityJoin(\StructType\OpportunitySearchRowBasic $opportunityJoin = null)
    {
        $this->opportunityJoin = $opportunityJoin;
        return $this;
    }
    /**
     * Get originatingLeadJoin value
     * @return \StructType\OriginatingLeadSearchRowBasic|null
     */
    public function getOriginatingLeadJoin()
    {
        return $this->originatingLeadJoin;
    }
    /**
     * Set originatingLeadJoin value
     * @param \StructType\OriginatingLeadSearchRowBasic $originatingLeadJoin
     * @return \StructType\CustomerSearchRow
     */
    public function setOriginatingLeadJoin(\StructType\OriginatingLeadSearchRowBasic $originatingLeadJoin = null)
    {
        $this->originatingLeadJoin = $originatingLeadJoin;
        return $this;
    }
    /**
     * Get parentCustomerJoin value
     * @return \StructType\CustomerSearchRowBasic|null
     */
    public function getParentCustomerJoin()
    {
        return $this->parentCustomerJoin;
    }
    /**
     * Set parentCustomerJoin value
     * @param \StructType\CustomerSearchRowBasic $parentCustomerJoin
     * @return \StructType\CustomerSearchRow
     */
    public function setParentCustomerJoin(\StructType\CustomerSearchRowBasic $parentCustomerJoin = null)
    {
        $this->parentCustomerJoin = $parentCustomerJoin;
        return $this;
    }
    /**
     * Get partnerJoin value
     * @return \StructType\PartnerSearchRowBasic|null
     */
    public function getPartnerJoin()
    {
        return $this->partnerJoin;
    }
    /**
     * Set partnerJoin value
     * @param \StructType\PartnerSearchRowBasic $partnerJoin
     * @return \StructType\CustomerSearchRow
     */
    public function setPartnerJoin(\StructType\PartnerSearchRowBasic $partnerJoin = null)
    {
        $this->partnerJoin = $partnerJoin;
        return $this;
    }
    /**
     * Get paymentInstrumentJoin value
     * @return \StructType\PaymentInstrumentSearchRowBasic|null
     */
    public function getPaymentInstrumentJoin()
    {
        return $this->paymentInstrumentJoin;
    }
    /**
     * Set paymentInstrumentJoin value
     * @param \StructType\PaymentInstrumentSearchRowBasic $paymentInstrumentJoin
     * @return \StructType\CustomerSearchRow
     */
    public function setPaymentInstrumentJoin(\StructType\PaymentInstrumentSearchRowBasic $paymentInstrumentJoin = null)
    {
        $this->paymentInstrumentJoin = $paymentInstrumentJoin;
        return $this;
    }
    /**
     * Get pricingJoin value
     * @return \StructType\PricingSearchRowBasic|null
     */
    public function getPricingJoin()
    {
        return $this->pricingJoin;
    }
    /**
     * Set pricingJoin value
     * @param \StructType\PricingSearchRowBasic $pricingJoin
     * @return \StructType\CustomerSearchRow
     */
    public function setPricingJoin(\StructType\PricingSearchRowBasic $pricingJoin = null)
    {
        $this->pricingJoin = $pricingJoin;
        return $this;
    }
    /**
     * Get purchasedItemJoin value
     * @return \StructType\ItemSearchRowBasic|null
     */
    public function getPurchasedItemJoin()
    {
        return $this->purchasedItemJoin;
    }
    /**
     * Set purchasedItemJoin value
     * @param \StructType\ItemSearchRowBasic $purchasedItemJoin
     * @return \StructType\CustomerSearchRow
     */
    public function setPurchasedItemJoin(\StructType\ItemSearchRowBasic $purchasedItemJoin = null)
    {
        $this->purchasedItemJoin = $purchasedItemJoin;
        return $this;
    }
    /**
     * Get resourceAllocationJoin value
     * @return \StructType\ResourceAllocationSearchRowBasic|null
     */
    public function getResourceAllocationJoin()
    {
        return $this->resourceAllocationJoin;
    }
    /**
     * Set resourceAllocationJoin value
     * @param \StructType\ResourceAllocationSearchRowBasic $resourceAllocationJoin
     * @return \StructType\CustomerSearchRow
     */
    public function setResourceAllocationJoin(\StructType\ResourceAllocationSearchRowBasic $resourceAllocationJoin = null)
    {
        $this->resourceAllocationJoin = $resourceAllocationJoin;
        return $this;
    }
    /**
     * Get salesRepJoin value
     * @return \StructType\EmployeeSearchRowBasic|null
     */
    public function getSalesRepJoin()
    {
        return $this->salesRepJoin;
    }
    /**
     * Set salesRepJoin value
     * @param \StructType\EmployeeSearchRowBasic $salesRepJoin
     * @return \StructType\CustomerSearchRow
     */
    public function setSalesRepJoin(\StructType\EmployeeSearchRowBasic $salesRepJoin = null)
    {
        $this->salesRepJoin = $salesRepJoin;
        return $this;
    }
    /**
     * Get subCustomerJoin value
     * @return \StructType\CustomerSearchRowBasic|null
     */
    public function getSubCustomerJoin()
    {
        return $this->subCustomerJoin;
    }
    /**
     * Set subCustomerJoin value
     * @param \StructType\CustomerSearchRowBasic $subCustomerJoin
     * @return \StructType\CustomerSearchRow
     */
    public function setSubCustomerJoin(\StructType\CustomerSearchRowBasic $subCustomerJoin = null)
    {
        $this->subCustomerJoin = $subCustomerJoin;
        return $this;
    }
    /**
     * Get taskJoin value
     * @return \StructType\TaskSearchRowBasic|null
     */
    public function getTaskJoin()
    {
        return $this->taskJoin;
    }
    /**
     * Set taskJoin value
     * @param \StructType\TaskSearchRowBasic $taskJoin
     * @return \StructType\CustomerSearchRow
     */
    public function setTaskJoin(\StructType\TaskSearchRowBasic $taskJoin = null)
    {
        $this->taskJoin = $taskJoin;
        return $this;
    }
    /**
     * Get taxRegistrationJoin value
     * @return \StructType\EntityTaxRegistrationSearchRowBasic|null
     */
    public function getTaxRegistrationJoin()
    {
        return $this->taxRegistrationJoin;
    }
    /**
     * Set taxRegistrationJoin value
     * @param \StructType\EntityTaxRegistrationSearchRowBasic $taxRegistrationJoin
     * @return \StructType\CustomerSearchRow
     */
    public function setTaxRegistrationJoin(\StructType\EntityTaxRegistrationSearchRowBasic $taxRegistrationJoin = null)
    {
        $this->taxRegistrationJoin = $taxRegistrationJoin;
        return $this;
    }
    /**
     * Get timeJoin value
     * @return \StructType\TimeBillSearchRowBasic|null
     */
    public function getTimeJoin()
    {
        return $this->timeJoin;
    }
    /**
     * Set timeJoin value
     * @param \StructType\TimeBillSearchRowBasic $timeJoin
     * @return \StructType\CustomerSearchRow
     */
    public function setTimeJoin(\StructType\TimeBillSearchRowBasic $timeJoin = null)
    {
        $this->timeJoin = $timeJoin;
        return $this;
    }
    /**
     * Get topLevelParentJoin value
     * @return \StructType\CustomerSearchRowBasic|null
     */
    public function getTopLevelParentJoin()
    {
        return $this->topLevelParentJoin;
    }
    /**
     * Set topLevelParentJoin value
     * @param \StructType\CustomerSearchRowBasic $topLevelParentJoin
     * @return \StructType\CustomerSearchRow
     */
    public function setTopLevelParentJoin(\StructType\CustomerSearchRowBasic $topLevelParentJoin = null)
    {
        $this->topLevelParentJoin = $topLevelParentJoin;
        return $this;
    }
    /**
     * Get transactionJoin value
     * @return \StructType\TransactionSearchRowBasic|null
     */
    public function getTransactionJoin()
    {
        return $this->transactionJoin;
    }
    /**
     * Set transactionJoin value
     * @param \StructType\TransactionSearchRowBasic $transactionJoin
     * @return \StructType\CustomerSearchRow
     */
    public function setTransactionJoin(\StructType\TransactionSearchRowBasic $transactionJoin = null)
    {
        $this->transactionJoin = $transactionJoin;
        return $this;
    }
    /**
     * Get upsellItemJoin value
     * @return \StructType\ItemSearchRowBasic|null
     */
    public function getUpsellItemJoin()
    {
        return $this->upsellItemJoin;
    }
    /**
     * Set upsellItemJoin value
     * @param \StructType\ItemSearchRowBasic $upsellItemJoin
     * @return \StructType\CustomerSearchRow
     */
    public function setUpsellItemJoin(\StructType\ItemSearchRowBasic $upsellItemJoin = null)
    {
        $this->upsellItemJoin = $upsellItemJoin;
        return $this;
    }
    /**
     * Get userJoin value
     * @return \StructType\EmployeeSearchRowBasic|null
     */
    public function getUserJoin()
    {
        return $this->userJoin;
    }
    /**
     * Set userJoin value
     * @param \StructType\EmployeeSearchRowBasic $userJoin
     * @return \StructType\CustomerSearchRow
     */
    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\CustomerSearchRow
     */
    public function setUserNotesJoin(\StructType\NoteSearchRowBasic $userNotesJoin = null)
    {
        $this->userNotesJoin = $userNotesJoin;
        return $this;
    }
    /**
     * Get webSiteCategoryJoin value
     * @return \StructType\SiteCategorySearchRowBasic|null
     */
    public function getWebSiteCategoryJoin()
    {
        return $this->webSiteCategoryJoin;
    }
    /**
     * Set webSiteCategoryJoin value
     * @param \StructType\SiteCategorySearchRowBasic $webSiteCategoryJoin
     * @return \StructType\CustomerSearchRow
     */
    public function setWebSiteCategoryJoin(\StructType\SiteCategorySearchRowBasic $webSiteCategoryJoin = null)
    {
        $this->webSiteCategoryJoin = $webSiteCategoryJoin;
        return $this;
    }
    /**
     * Get webSiteItemJoin value
     * @return \StructType\ItemSearchRowBasic|null
     */
    public function getWebSiteItemJoin()
    {
        return $this->webSiteItemJoin;
    }
    /**
     * Set webSiteItemJoin value
     * @param \StructType\ItemSearchRowBasic $webSiteItemJoin
     * @return \StructType\CustomerSearchRow
     */
    public function setWebSiteItemJoin(\StructType\ItemSearchRowBasic $webSiteItemJoin = null)
    {
        $this->webSiteItemJoin = $webSiteItemJoin;
        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 $customerSearchRowCustomSearchJoinItem) {
            // validation for constraint: itemType
            if (!$customerSearchRowCustomSearchJoinItem instanceof \StructType\CustomSearchRowBasic) {
                $invalidValues[] = is_object($customerSearchRowCustomSearchJoinItem) ? get_class($customerSearchRowCustomSearchJoinItem) : sprintf('%s(%s)', gettype($customerSearchRowCustomSearchJoinItem), var_export($customerSearchRowCustomSearchJoinItem, 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\CustomerSearchRow
     */
    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\CustomerSearchRow
     */
    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;
    }
}
