<?php

namespace StructType;

use \WsdlToPhp\PackageBase\AbstractStructBase;

/**
 * This class stands for CustomerSubsidiaryRelationshipSearchBasic StructType
 * @subpackage Structs
 */
class CustomerSubsidiaryRelationshipSearchBasic extends SearchRecordBasic
{
    /**
     * The balance
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var \StructType\SearchDoubleField
     */
    public $balance;
    /**
     * The depositBalance
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var \StructType\SearchDoubleField
     */
    public $depositBalance;
    /**
     * The entity
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var \StructType\SearchMultiSelectField
     */
    public $entity;
    /**
     * The externalId
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var \StructType\SearchMultiSelectField
     */
    public $externalId;
    /**
     * The externalIdString
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var \StructType\SearchStringField
     */
    public $externalIdString;
    /**
     * The internalId
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var \StructType\SearchMultiSelectField
     */
    public $internalId;
    /**
     * The internalIdNumber
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var \StructType\SearchLongField
     */
    public $internalIdNumber;
    /**
     * The isPrimarySub
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var \StructType\SearchBooleanField
     */
    public $isPrimarySub;
    /**
     * The primaryCurrency
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var \StructType\SearchMultiSelectField
     */
    public $primaryCurrency;
    /**
     * The subsidiary
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var \StructType\SearchMultiSelectField
     */
    public $subsidiary;
    /**
     * The unbilledOrders
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var \StructType\SearchDoubleField
     */
    public $unbilledOrders;
    /**
     * The customFieldList
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var \StructType\SearchCustomFieldList
     */
    public $customFieldList;
    /**
     * Constructor method for CustomerSubsidiaryRelationshipSearchBasic
     * @uses CustomerSubsidiaryRelationshipSearchBasic::setBalance()
     * @uses CustomerSubsidiaryRelationshipSearchBasic::setDepositBalance()
     * @uses CustomerSubsidiaryRelationshipSearchBasic::setEntity()
     * @uses CustomerSubsidiaryRelationshipSearchBasic::setExternalId()
     * @uses CustomerSubsidiaryRelationshipSearchBasic::setExternalIdString()
     * @uses CustomerSubsidiaryRelationshipSearchBasic::setInternalId()
     * @uses CustomerSubsidiaryRelationshipSearchBasic::setInternalIdNumber()
     * @uses CustomerSubsidiaryRelationshipSearchBasic::setIsPrimarySub()
     * @uses CustomerSubsidiaryRelationshipSearchBasic::setPrimaryCurrency()
     * @uses CustomerSubsidiaryRelationshipSearchBasic::setSubsidiary()
     * @uses CustomerSubsidiaryRelationshipSearchBasic::setUnbilledOrders()
     * @uses CustomerSubsidiaryRelationshipSearchBasic::setCustomFieldList()
     * @param \StructType\SearchDoubleField $balance
     * @param \StructType\SearchDoubleField $depositBalance
     * @param \StructType\SearchMultiSelectField $entity
     * @param \StructType\SearchMultiSelectField $externalId
     * @param \StructType\SearchStringField $externalIdString
     * @param \StructType\SearchMultiSelectField $internalId
     * @param \StructType\SearchLongField $internalIdNumber
     * @param \StructType\SearchBooleanField $isPrimarySub
     * @param \StructType\SearchMultiSelectField $primaryCurrency
     * @param \StructType\SearchMultiSelectField $subsidiary
     * @param \StructType\SearchDoubleField $unbilledOrders
     * @param \StructType\SearchCustomFieldList $customFieldList
     */
    public function __construct(\StructType\SearchDoubleField $balance = null, \StructType\SearchDoubleField $depositBalance = null, \StructType\SearchMultiSelectField $entity = null, \StructType\SearchMultiSelectField $externalId = null, \StructType\SearchStringField $externalIdString = null, \StructType\SearchMultiSelectField $internalId = null, \StructType\SearchLongField $internalIdNumber = null, \StructType\SearchBooleanField $isPrimarySub = null, \StructType\SearchMultiSelectField $primaryCurrency = null, \StructType\SearchMultiSelectField $subsidiary = null, \StructType\SearchDoubleField $unbilledOrders = null, \StructType\SearchCustomFieldList $customFieldList = null)
    {
        $this
            ->setBalance($balance)
            ->setDepositBalance($depositBalance)
            ->setEntity($entity)
            ->setExternalId($externalId)
            ->setExternalIdString($externalIdString)
            ->setInternalId($internalId)
            ->setInternalIdNumber($internalIdNumber)
            ->setIsPrimarySub($isPrimarySub)
            ->setPrimaryCurrency($primaryCurrency)
            ->setSubsidiary($subsidiary)
            ->setUnbilledOrders($unbilledOrders)
            ->setCustomFieldList($customFieldList);
    }
    /**
     * Get balance value
     * @return \StructType\SearchDoubleField|null
     */
    public function getBalance()
    {
        return $this->balance;
    }
    /**
     * Set balance value
     * @param \StructType\SearchDoubleField $balance
     * @return \StructType\CustomerSubsidiaryRelationshipSearchBasic
     */
    public function setBalance(\StructType\SearchDoubleField $balance = null)
    {
        $this->balance = $balance;
        return $this;
    }
    /**
     * Get depositBalance value
     * @return \StructType\SearchDoubleField|null
     */
    public function getDepositBalance()
    {
        return $this->depositBalance;
    }
    /**
     * Set depositBalance value
     * @param \StructType\SearchDoubleField $depositBalance
     * @return \StructType\CustomerSubsidiaryRelationshipSearchBasic
     */
    public function setDepositBalance(\StructType\SearchDoubleField $depositBalance = null)
    {
        $this->depositBalance = $depositBalance;
        return $this;
    }
    /**
     * Get entity value
     * @return \StructType\SearchMultiSelectField|null
     */
    public function getEntity()
    {
        return $this->entity;
    }
    /**
     * Set entity value
     * @param \StructType\SearchMultiSelectField $entity
     * @return \StructType\CustomerSubsidiaryRelationshipSearchBasic
     */
    public function setEntity(\StructType\SearchMultiSelectField $entity = null)
    {
        $this->entity = $entity;
        return $this;
    }
    /**
     * Get externalId value
     * @return \StructType\SearchMultiSelectField|null
     */
    public function getExternalId()
    {
        return $this->externalId;
    }
    /**
     * Set externalId value
     * @param \StructType\SearchMultiSelectField $externalId
     * @return \StructType\CustomerSubsidiaryRelationshipSearchBasic
     */
    public function setExternalId(\StructType\SearchMultiSelectField $externalId = null)
    {
        $this->externalId = $externalId;
        return $this;
    }
    /**
     * Get externalIdString value
     * @return \StructType\SearchStringField|null
     */
    public function getExternalIdString()
    {
        return $this->externalIdString;
    }
    /**
     * Set externalIdString value
     * @param \StructType\SearchStringField $externalIdString
     * @return \StructType\CustomerSubsidiaryRelationshipSearchBasic
     */
    public function setExternalIdString(\StructType\SearchStringField $externalIdString = null)
    {
        $this->externalIdString = $externalIdString;
        return $this;
    }
    /**
     * Get internalId value
     * @return \StructType\SearchMultiSelectField|null
     */
    public function getInternalId()
    {
        return $this->internalId;
    }
    /**
     * Set internalId value
     * @param \StructType\SearchMultiSelectField $internalId
     * @return \StructType\CustomerSubsidiaryRelationshipSearchBasic
     */
    public function setInternalId(\StructType\SearchMultiSelectField $internalId = null)
    {
        $this->internalId = $internalId;
        return $this;
    }
    /**
     * Get internalIdNumber value
     * @return \StructType\SearchLongField|null
     */
    public function getInternalIdNumber()
    {
        return $this->internalIdNumber;
    }
    /**
     * Set internalIdNumber value
     * @param \StructType\SearchLongField $internalIdNumber
     * @return \StructType\CustomerSubsidiaryRelationshipSearchBasic
     */
    public function setInternalIdNumber(\StructType\SearchLongField $internalIdNumber = null)
    {
        $this->internalIdNumber = $internalIdNumber;
        return $this;
    }
    /**
     * Get isPrimarySub value
     * @return \StructType\SearchBooleanField|null
     */
    public function getIsPrimarySub()
    {
        return $this->isPrimarySub;
    }
    /**
     * Set isPrimarySub value
     * @param \StructType\SearchBooleanField $isPrimarySub
     * @return \StructType\CustomerSubsidiaryRelationshipSearchBasic
     */
    public function setIsPrimarySub(\StructType\SearchBooleanField $isPrimarySub = null)
    {
        $this->isPrimarySub = $isPrimarySub;
        return $this;
    }
    /**
     * Get primaryCurrency value
     * @return \StructType\SearchMultiSelectField|null
     */
    public function getPrimaryCurrency()
    {
        return $this->primaryCurrency;
    }
    /**
     * Set primaryCurrency value
     * @param \StructType\SearchMultiSelectField $primaryCurrency
     * @return \StructType\CustomerSubsidiaryRelationshipSearchBasic
     */
    public function setPrimaryCurrency(\StructType\SearchMultiSelectField $primaryCurrency = null)
    {
        $this->primaryCurrency = $primaryCurrency;
        return $this;
    }
    /**
     * Get subsidiary value
     * @return \StructType\SearchMultiSelectField|null
     */
    public function getSubsidiary()
    {
        return $this->subsidiary;
    }
    /**
     * Set subsidiary value
     * @param \StructType\SearchMultiSelectField $subsidiary
     * @return \StructType\CustomerSubsidiaryRelationshipSearchBasic
     */
    public function setSubsidiary(\StructType\SearchMultiSelectField $subsidiary = null)
    {
        $this->subsidiary = $subsidiary;
        return $this;
    }
    /**
     * Get unbilledOrders value
     * @return \StructType\SearchDoubleField|null
     */
    public function getUnbilledOrders()
    {
        return $this->unbilledOrders;
    }
    /**
     * Set unbilledOrders value
     * @param \StructType\SearchDoubleField $unbilledOrders
     * @return \StructType\CustomerSubsidiaryRelationshipSearchBasic
     */
    public function setUnbilledOrders(\StructType\SearchDoubleField $unbilledOrders = null)
    {
        $this->unbilledOrders = $unbilledOrders;
        return $this;
    }
    /**
     * Get customFieldList value
     * @return \StructType\SearchCustomFieldList|null
     */
    public function getCustomFieldList()
    {
        return $this->customFieldList;
    }
    /**
     * Set customFieldList value
     * @param \StructType\SearchCustomFieldList $customFieldList
     * @return \StructType\CustomerSubsidiaryRelationshipSearchBasic
     */
    public function setCustomFieldList(\StructType\SearchCustomFieldList $customFieldList = null)
    {
        $this->customFieldList = $customFieldList;
        return $this;
    }
}
