<?php

namespace StructType;

use \WsdlToPhp\PackageBase\AbstractStructBase;

/**
 * This class stands for BillingAccountSearchBasic StructType
 * @subpackage Structs
 */
class BillingAccountSearchBasic extends SearchRecordBasic
{
    /**
     * The billingSchedule
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var \StructType\SearchMultiSelectField
     */
    public $billingSchedule;
    /**
     * The cashSaleForm
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var \StructType\SearchMultiSelectField
     */
    public $cashSaleForm;
    /**
     * The class
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var \StructType\SearchMultiSelectField
     */
    public $class;
    /**
     * The currency
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var \StructType\SearchMultiSelectField
     */
    public $currency;
    /**
     * The customer
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var \StructType\SearchMultiSelectField
     */
    public $customer;
    /**
     * The customerDefault
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var \StructType\SearchBooleanField
     */
    public $customerDefault;
    /**
     * The dateCreated
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var \StructType\SearchDateField
     */
    public $dateCreated;
    /**
     * The department
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var \StructType\SearchMultiSelectField
     */
    public $department;
    /**
     * 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 frequency
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var \StructType\SearchEnumMultiSelectField
     */
    public $frequency;
    /**
     * The idNumber
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var \StructType\SearchStringField
     */
    public $idNumber;
    /**
     * The inactive
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var \StructType\SearchBooleanField
     */
    public $inactive;
    /**
     * 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 invoiceForm
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var \StructType\SearchMultiSelectField
     */
    public $invoiceForm;
    /**
     * The lastBillCycleDate
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var \StructType\SearchDateField
     */
    public $lastBillCycleDate;
    /**
     * The lastBillDate
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var \StructType\SearchDateField
     */
    public $lastBillDate;
    /**
     * The location
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var \StructType\SearchMultiSelectField
     */
    public $location;
    /**
     * The memo
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var \StructType\SearchStringField
     */
    public $memo;
    /**
     * The name
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var \StructType\SearchStringField
     */
    public $name;
    /**
     * The nextBillCycleDate
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var \StructType\SearchDateField
     */
    public $nextBillCycleDate;
    /**
     * The startDate
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var \StructType\SearchDateField
     */
    public $startDate;
    /**
     * The subsidiary
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var \StructType\SearchMultiSelectField
     */
    public $subsidiary;
    /**
     * The customFieldList
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var \StructType\SearchCustomFieldList
     */
    public $customFieldList;
    /**
     * Constructor method for BillingAccountSearchBasic
     * @uses BillingAccountSearchBasic::setBillingSchedule()
     * @uses BillingAccountSearchBasic::setCashSaleForm()
     * @uses BillingAccountSearchBasic::setClass()
     * @uses BillingAccountSearchBasic::setCurrency()
     * @uses BillingAccountSearchBasic::setCustomer()
     * @uses BillingAccountSearchBasic::setCustomerDefault()
     * @uses BillingAccountSearchBasic::setDateCreated()
     * @uses BillingAccountSearchBasic::setDepartment()
     * @uses BillingAccountSearchBasic::setExternalId()
     * @uses BillingAccountSearchBasic::setExternalIdString()
     * @uses BillingAccountSearchBasic::setFrequency()
     * @uses BillingAccountSearchBasic::setIdNumber()
     * @uses BillingAccountSearchBasic::setInactive()
     * @uses BillingAccountSearchBasic::setInternalId()
     * @uses BillingAccountSearchBasic::setInternalIdNumber()
     * @uses BillingAccountSearchBasic::setInvoiceForm()
     * @uses BillingAccountSearchBasic::setLastBillCycleDate()
     * @uses BillingAccountSearchBasic::setLastBillDate()
     * @uses BillingAccountSearchBasic::setLocation()
     * @uses BillingAccountSearchBasic::setMemo()
     * @uses BillingAccountSearchBasic::setName()
     * @uses BillingAccountSearchBasic::setNextBillCycleDate()
     * @uses BillingAccountSearchBasic::setStartDate()
     * @uses BillingAccountSearchBasic::setSubsidiary()
     * @uses BillingAccountSearchBasic::setCustomFieldList()
     * @param \StructType\SearchMultiSelectField $billingSchedule
     * @param \StructType\SearchMultiSelectField $cashSaleForm
     * @param \StructType\SearchMultiSelectField $class
     * @param \StructType\SearchMultiSelectField $currency
     * @param \StructType\SearchMultiSelectField $customer
     * @param \StructType\SearchBooleanField $customerDefault
     * @param \StructType\SearchDateField $dateCreated
     * @param \StructType\SearchMultiSelectField $department
     * @param \StructType\SearchMultiSelectField $externalId
     * @param \StructType\SearchStringField $externalIdString
     * @param \StructType\SearchEnumMultiSelectField $frequency
     * @param \StructType\SearchStringField $idNumber
     * @param \StructType\SearchBooleanField $inactive
     * @param \StructType\SearchMultiSelectField $internalId
     * @param \StructType\SearchLongField $internalIdNumber
     * @param \StructType\SearchMultiSelectField $invoiceForm
     * @param \StructType\SearchDateField $lastBillCycleDate
     * @param \StructType\SearchDateField $lastBillDate
     * @param \StructType\SearchMultiSelectField $location
     * @param \StructType\SearchStringField $memo
     * @param \StructType\SearchStringField $name
     * @param \StructType\SearchDateField $nextBillCycleDate
     * @param \StructType\SearchDateField $startDate
     * @param \StructType\SearchMultiSelectField $subsidiary
     * @param \StructType\SearchCustomFieldList $customFieldList
     */
    public function __construct(\StructType\SearchMultiSelectField $billingSchedule = null, \StructType\SearchMultiSelectField $cashSaleForm = null, \StructType\SearchMultiSelectField $class = null, \StructType\SearchMultiSelectField $currency = null, \StructType\SearchMultiSelectField $customer = null, \StructType\SearchBooleanField $customerDefault = null, \StructType\SearchDateField $dateCreated = null, \StructType\SearchMultiSelectField $department = null, \StructType\SearchMultiSelectField $externalId = null, \StructType\SearchStringField $externalIdString = null, \StructType\SearchEnumMultiSelectField $frequency = null, \StructType\SearchStringField $idNumber = null, \StructType\SearchBooleanField $inactive = null, \StructType\SearchMultiSelectField $internalId = null, \StructType\SearchLongField $internalIdNumber = null, \StructType\SearchMultiSelectField $invoiceForm = null, \StructType\SearchDateField $lastBillCycleDate = null, \StructType\SearchDateField $lastBillDate = null, \StructType\SearchMultiSelectField $location = null, \StructType\SearchStringField $memo = null, \StructType\SearchStringField $name = null, \StructType\SearchDateField $nextBillCycleDate = null, \StructType\SearchDateField $startDate = null, \StructType\SearchMultiSelectField $subsidiary = null, \StructType\SearchCustomFieldList $customFieldList = null)
    {
        $this
            ->setBillingSchedule($billingSchedule)
            ->setCashSaleForm($cashSaleForm)
            ->setClass($class)
            ->setCurrency($currency)
            ->setCustomer($customer)
            ->setCustomerDefault($customerDefault)
            ->setDateCreated($dateCreated)
            ->setDepartment($department)
            ->setExternalId($externalId)
            ->setExternalIdString($externalIdString)
            ->setFrequency($frequency)
            ->setIdNumber($idNumber)
            ->setInactive($inactive)
            ->setInternalId($internalId)
            ->setInternalIdNumber($internalIdNumber)
            ->setInvoiceForm($invoiceForm)
            ->setLastBillCycleDate($lastBillCycleDate)
            ->setLastBillDate($lastBillDate)
            ->setLocation($location)
            ->setMemo($memo)
            ->setName($name)
            ->setNextBillCycleDate($nextBillCycleDate)
            ->setStartDate($startDate)
            ->setSubsidiary($subsidiary)
            ->setCustomFieldList($customFieldList);
    }
    /**
     * Get billingSchedule value
     * @return \StructType\SearchMultiSelectField|null
     */
    public function getBillingSchedule()
    {
        return $this->billingSchedule;
    }
    /**
     * Set billingSchedule value
     * @param \StructType\SearchMultiSelectField $billingSchedule
     * @return \StructType\BillingAccountSearchBasic
     */
    public function setBillingSchedule(\StructType\SearchMultiSelectField $billingSchedule = null)
    {
        $this->billingSchedule = $billingSchedule;
        return $this;
    }
    /**
     * Get cashSaleForm value
     * @return \StructType\SearchMultiSelectField|null
     */
    public function getCashSaleForm()
    {
        return $this->cashSaleForm;
    }
    /**
     * Set cashSaleForm value
     * @param \StructType\SearchMultiSelectField $cashSaleForm
     * @return \StructType\BillingAccountSearchBasic
     */
    public function setCashSaleForm(\StructType\SearchMultiSelectField $cashSaleForm = null)
    {
        $this->cashSaleForm = $cashSaleForm;
        return $this;
    }
    /**
     * Get class value
     * @return \StructType\SearchMultiSelectField|null
     */
    public function getClass()
    {
        return $this->class;
    }
    /**
     * Set class value
     * @param \StructType\SearchMultiSelectField $class
     * @return \StructType\BillingAccountSearchBasic
     */
    public function setClass(\StructType\SearchMultiSelectField $class = null)
    {
        $this->class = $class;
        return $this;
    }
    /**
     * Get currency value
     * @return \StructType\SearchMultiSelectField|null
     */
    public function getCurrency()
    {
        return $this->currency;
    }
    /**
     * Set currency value
     * @param \StructType\SearchMultiSelectField $currency
     * @return \StructType\BillingAccountSearchBasic
     */
    public function setCurrency(\StructType\SearchMultiSelectField $currency = null)
    {
        $this->currency = $currency;
        return $this;
    }
    /**
     * Get customer value
     * @return \StructType\SearchMultiSelectField|null
     */
    public function getCustomer()
    {
        return $this->customer;
    }
    /**
     * Set customer value
     * @param \StructType\SearchMultiSelectField $customer
     * @return \StructType\BillingAccountSearchBasic
     */
    public function setCustomer(\StructType\SearchMultiSelectField $customer = null)
    {
        $this->customer = $customer;
        return $this;
    }
    /**
     * Get customerDefault value
     * @return \StructType\SearchBooleanField|null
     */
    public function getCustomerDefault()
    {
        return $this->customerDefault;
    }
    /**
     * Set customerDefault value
     * @param \StructType\SearchBooleanField $customerDefault
     * @return \StructType\BillingAccountSearchBasic
     */
    public function setCustomerDefault(\StructType\SearchBooleanField $customerDefault = null)
    {
        $this->customerDefault = $customerDefault;
        return $this;
    }
    /**
     * Get dateCreated value
     * @return \StructType\SearchDateField|null
     */
    public function getDateCreated()
    {
        return $this->dateCreated;
    }
    /**
     * Set dateCreated value
     * @param \StructType\SearchDateField $dateCreated
     * @return \StructType\BillingAccountSearchBasic
     */
    public function setDateCreated(\StructType\SearchDateField $dateCreated = null)
    {
        $this->dateCreated = $dateCreated;
        return $this;
    }
    /**
     * Get department value
     * @return \StructType\SearchMultiSelectField|null
     */
    public function getDepartment()
    {
        return $this->department;
    }
    /**
     * Set department value
     * @param \StructType\SearchMultiSelectField $department
     * @return \StructType\BillingAccountSearchBasic
     */
    public function setDepartment(\StructType\SearchMultiSelectField $department = null)
    {
        $this->department = $department;
        return $this;
    }
    /**
     * Get externalId value
     * @return \StructType\SearchMultiSelectField|null
     */
    public function getExternalId()
    {
        return $this->externalId;
    }
    /**
     * Set externalId value
     * @param \StructType\SearchMultiSelectField $externalId
     * @return \StructType\BillingAccountSearchBasic
     */
    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\BillingAccountSearchBasic
     */
    public function setExternalIdString(\StructType\SearchStringField $externalIdString = null)
    {
        $this->externalIdString = $externalIdString;
        return $this;
    }
    /**
     * Get frequency value
     * @return \StructType\SearchEnumMultiSelectField|null
     */
    public function getFrequency()
    {
        return $this->frequency;
    }
    /**
     * Set frequency value
     * @param \StructType\SearchEnumMultiSelectField $frequency
     * @return \StructType\BillingAccountSearchBasic
     */
    public function setFrequency(\StructType\SearchEnumMultiSelectField $frequency = null)
    {
        $this->frequency = $frequency;
        return $this;
    }
    /**
     * Get idNumber value
     * @return \StructType\SearchStringField|null
     */
    public function getIdNumber()
    {
        return $this->idNumber;
    }
    /**
     * Set idNumber value
     * @param \StructType\SearchStringField $idNumber
     * @return \StructType\BillingAccountSearchBasic
     */
    public function setIdNumber(\StructType\SearchStringField $idNumber = null)
    {
        $this->idNumber = $idNumber;
        return $this;
    }
    /**
     * Get inactive value
     * @return \StructType\SearchBooleanField|null
     */
    public function getInactive()
    {
        return $this->inactive;
    }
    /**
     * Set inactive value
     * @param \StructType\SearchBooleanField $inactive
     * @return \StructType\BillingAccountSearchBasic
     */
    public function setInactive(\StructType\SearchBooleanField $inactive = null)
    {
        $this->inactive = $inactive;
        return $this;
    }
    /**
     * Get internalId value
     * @return \StructType\SearchMultiSelectField|null
     */
    public function getInternalId()
    {
        return $this->internalId;
    }
    /**
     * Set internalId value
     * @param \StructType\SearchMultiSelectField $internalId
     * @return \StructType\BillingAccountSearchBasic
     */
    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\BillingAccountSearchBasic
     */
    public function setInternalIdNumber(\StructType\SearchLongField $internalIdNumber = null)
    {
        $this->internalIdNumber = $internalIdNumber;
        return $this;
    }
    /**
     * Get invoiceForm value
     * @return \StructType\SearchMultiSelectField|null
     */
    public function getInvoiceForm()
    {
        return $this->invoiceForm;
    }
    /**
     * Set invoiceForm value
     * @param \StructType\SearchMultiSelectField $invoiceForm
     * @return \StructType\BillingAccountSearchBasic
     */
    public function setInvoiceForm(\StructType\SearchMultiSelectField $invoiceForm = null)
    {
        $this->invoiceForm = $invoiceForm;
        return $this;
    }
    /**
     * Get lastBillCycleDate value
     * @return \StructType\SearchDateField|null
     */
    public function getLastBillCycleDate()
    {
        return $this->lastBillCycleDate;
    }
    /**
     * Set lastBillCycleDate value
     * @param \StructType\SearchDateField $lastBillCycleDate
     * @return \StructType\BillingAccountSearchBasic
     */
    public function setLastBillCycleDate(\StructType\SearchDateField $lastBillCycleDate = null)
    {
        $this->lastBillCycleDate = $lastBillCycleDate;
        return $this;
    }
    /**
     * Get lastBillDate value
     * @return \StructType\SearchDateField|null
     */
    public function getLastBillDate()
    {
        return $this->lastBillDate;
    }
    /**
     * Set lastBillDate value
     * @param \StructType\SearchDateField $lastBillDate
     * @return \StructType\BillingAccountSearchBasic
     */
    public function setLastBillDate(\StructType\SearchDateField $lastBillDate = null)
    {
        $this->lastBillDate = $lastBillDate;
        return $this;
    }
    /**
     * Get location value
     * @return \StructType\SearchMultiSelectField|null
     */
    public function getLocation()
    {
        return $this->location;
    }
    /**
     * Set location value
     * @param \StructType\SearchMultiSelectField $location
     * @return \StructType\BillingAccountSearchBasic
     */
    public function setLocation(\StructType\SearchMultiSelectField $location = null)
    {
        $this->location = $location;
        return $this;
    }
    /**
     * Get memo value
     * @return \StructType\SearchStringField|null
     */
    public function getMemo()
    {
        return $this->memo;
    }
    /**
     * Set memo value
     * @param \StructType\SearchStringField $memo
     * @return \StructType\BillingAccountSearchBasic
     */
    public function setMemo(\StructType\SearchStringField $memo = null)
    {
        $this->memo = $memo;
        return $this;
    }
    /**
     * Get name value
     * @return \StructType\SearchStringField|null
     */
    public function getName()
    {
        return $this->name;
    }
    /**
     * Set name value
     * @param \StructType\SearchStringField $name
     * @return \StructType\BillingAccountSearchBasic
     */
    public function setName(\StructType\SearchStringField $name = null)
    {
        $this->name = $name;
        return $this;
    }
    /**
     * Get nextBillCycleDate value
     * @return \StructType\SearchDateField|null
     */
    public function getNextBillCycleDate()
    {
        return $this->nextBillCycleDate;
    }
    /**
     * Set nextBillCycleDate value
     * @param \StructType\SearchDateField $nextBillCycleDate
     * @return \StructType\BillingAccountSearchBasic
     */
    public function setNextBillCycleDate(\StructType\SearchDateField $nextBillCycleDate = null)
    {
        $this->nextBillCycleDate = $nextBillCycleDate;
        return $this;
    }
    /**
     * Get startDate value
     * @return \StructType\SearchDateField|null
     */
    public function getStartDate()
    {
        return $this->startDate;
    }
    /**
     * Set startDate value
     * @param \StructType\SearchDateField $startDate
     * @return \StructType\BillingAccountSearchBasic
     */
    public function setStartDate(\StructType\SearchDateField $startDate = null)
    {
        $this->startDate = $startDate;
        return $this;
    }
    /**
     * Get subsidiary value
     * @return \StructType\SearchMultiSelectField|null
     */
    public function getSubsidiary()
    {
        return $this->subsidiary;
    }
    /**
     * Set subsidiary value
     * @param \StructType\SearchMultiSelectField $subsidiary
     * @return \StructType\BillingAccountSearchBasic
     */
    public function setSubsidiary(\StructType\SearchMultiSelectField $subsidiary = null)
    {
        $this->subsidiary = $subsidiary;
        return $this;
    }
    /**
     * Get customFieldList value
     * @return \StructType\SearchCustomFieldList|null
     */
    public function getCustomFieldList()
    {
        return $this->customFieldList;
    }
    /**
     * Set customFieldList value
     * @param \StructType\SearchCustomFieldList $customFieldList
     * @return \StructType\BillingAccountSearchBasic
     */
    public function setCustomFieldList(\StructType\SearchCustomFieldList $customFieldList = null)
    {
        $this->customFieldList = $customFieldList;
        return $this;
    }
}
