<?php

namespace StructType;

use \WsdlToPhp\PackageBase\AbstractStructBase;

/**
 * This class stands for BillingScheduleSearchBasic StructType
 * @subpackage Structs
 */
class BillingScheduleSearchBasic extends SearchRecordBasic
{
    /**
     * The applyToSubtotal
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var \StructType\SearchBooleanField
     */
    public $applyToSubtotal;
    /**
     * 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 inArrears
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var \StructType\SearchBooleanField
     */
    public $inArrears;
    /**
     * The initialAmount
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var \StructType\SearchDoubleField
     */
    public $initialAmount;
    /**
     * The initialTerms
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var \StructType\SearchMultiSelectField
     */
    public $initialTerms;
    /**
     * 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 isInactive
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var \StructType\SearchBooleanField
     */
    public $isInactive;
    /**
     * The isPublic
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var \StructType\SearchBooleanField
     */
    public $isPublic;
    /**
     * The name
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var \StructType\SearchStringField
     */
    public $name;
    /**
     * The recurrenceCount
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var \StructType\SearchLongField
     */
    public $recurrenceCount;
    /**
     * The recurrencePattern
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var \StructType\SearchEnumMultiSelectField
     */
    public $recurrencePattern;
    /**
     * The recurrenceTerms
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var \StructType\SearchMultiSelectField
     */
    public $recurrenceTerms;
    /**
     * The repeatEvery
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var \StructType\SearchLongField
     */
    public $repeatEvery;
    /**
     * The type
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var \StructType\SearchEnumMultiSelectField
     */
    public $type;
    /**
     * Constructor method for BillingScheduleSearchBasic
     * @uses BillingScheduleSearchBasic::setApplyToSubtotal()
     * @uses BillingScheduleSearchBasic::setExternalId()
     * @uses BillingScheduleSearchBasic::setExternalIdString()
     * @uses BillingScheduleSearchBasic::setFrequency()
     * @uses BillingScheduleSearchBasic::setInArrears()
     * @uses BillingScheduleSearchBasic::setInitialAmount()
     * @uses BillingScheduleSearchBasic::setInitialTerms()
     * @uses BillingScheduleSearchBasic::setInternalId()
     * @uses BillingScheduleSearchBasic::setInternalIdNumber()
     * @uses BillingScheduleSearchBasic::setIsInactive()
     * @uses BillingScheduleSearchBasic::setIsPublic()
     * @uses BillingScheduleSearchBasic::setName()
     * @uses BillingScheduleSearchBasic::setRecurrenceCount()
     * @uses BillingScheduleSearchBasic::setRecurrencePattern()
     * @uses BillingScheduleSearchBasic::setRecurrenceTerms()
     * @uses BillingScheduleSearchBasic::setRepeatEvery()
     * @uses BillingScheduleSearchBasic::setType()
     * @param \StructType\SearchBooleanField $applyToSubtotal
     * @param \StructType\SearchMultiSelectField $externalId
     * @param \StructType\SearchStringField $externalIdString
     * @param \StructType\SearchEnumMultiSelectField $frequency
     * @param \StructType\SearchBooleanField $inArrears
     * @param \StructType\SearchDoubleField $initialAmount
     * @param \StructType\SearchMultiSelectField $initialTerms
     * @param \StructType\SearchMultiSelectField $internalId
     * @param \StructType\SearchLongField $internalIdNumber
     * @param \StructType\SearchBooleanField $isInactive
     * @param \StructType\SearchBooleanField $isPublic
     * @param \StructType\SearchStringField $name
     * @param \StructType\SearchLongField $recurrenceCount
     * @param \StructType\SearchEnumMultiSelectField $recurrencePattern
     * @param \StructType\SearchMultiSelectField $recurrenceTerms
     * @param \StructType\SearchLongField $repeatEvery
     * @param \StructType\SearchEnumMultiSelectField $type
     */
    public function __construct(\StructType\SearchBooleanField $applyToSubtotal = null, \StructType\SearchMultiSelectField $externalId = null, \StructType\SearchStringField $externalIdString = null, \StructType\SearchEnumMultiSelectField $frequency = null, \StructType\SearchBooleanField $inArrears = null, \StructType\SearchDoubleField $initialAmount = null, \StructType\SearchMultiSelectField $initialTerms = null, \StructType\SearchMultiSelectField $internalId = null, \StructType\SearchLongField $internalIdNumber = null, \StructType\SearchBooleanField $isInactive = null, \StructType\SearchBooleanField $isPublic = null, \StructType\SearchStringField $name = null, \StructType\SearchLongField $recurrenceCount = null, \StructType\SearchEnumMultiSelectField $recurrencePattern = null, \StructType\SearchMultiSelectField $recurrenceTerms = null, \StructType\SearchLongField $repeatEvery = null, \StructType\SearchEnumMultiSelectField $type = null)
    {
        $this
            ->setApplyToSubtotal($applyToSubtotal)
            ->setExternalId($externalId)
            ->setExternalIdString($externalIdString)
            ->setFrequency($frequency)
            ->setInArrears($inArrears)
            ->setInitialAmount($initialAmount)
            ->setInitialTerms($initialTerms)
            ->setInternalId($internalId)
            ->setInternalIdNumber($internalIdNumber)
            ->setIsInactive($isInactive)
            ->setIsPublic($isPublic)
            ->setName($name)
            ->setRecurrenceCount($recurrenceCount)
            ->setRecurrencePattern($recurrencePattern)
            ->setRecurrenceTerms($recurrenceTerms)
            ->setRepeatEvery($repeatEvery)
            ->setType($type);
    }
    /**
     * Get applyToSubtotal value
     * @return \StructType\SearchBooleanField|null
     */
    public function getApplyToSubtotal()
    {
        return $this->applyToSubtotal;
    }
    /**
     * Set applyToSubtotal value
     * @param \StructType\SearchBooleanField $applyToSubtotal
     * @return \StructType\BillingScheduleSearchBasic
     */
    public function setApplyToSubtotal(\StructType\SearchBooleanField $applyToSubtotal = null)
    {
        $this->applyToSubtotal = $applyToSubtotal;
        return $this;
    }
    /**
     * Get externalId value
     * @return \StructType\SearchMultiSelectField|null
     */
    public function getExternalId()
    {
        return $this->externalId;
    }
    /**
     * Set externalId value
     * @param \StructType\SearchMultiSelectField $externalId
     * @return \StructType\BillingScheduleSearchBasic
     */
    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\BillingScheduleSearchBasic
     */
    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\BillingScheduleSearchBasic
     */
    public function setFrequency(\StructType\SearchEnumMultiSelectField $frequency = null)
    {
        $this->frequency = $frequency;
        return $this;
    }
    /**
     * Get inArrears value
     * @return \StructType\SearchBooleanField|null
     */
    public function getInArrears()
    {
        return $this->inArrears;
    }
    /**
     * Set inArrears value
     * @param \StructType\SearchBooleanField $inArrears
     * @return \StructType\BillingScheduleSearchBasic
     */
    public function setInArrears(\StructType\SearchBooleanField $inArrears = null)
    {
        $this->inArrears = $inArrears;
        return $this;
    }
    /**
     * Get initialAmount value
     * @return \StructType\SearchDoubleField|null
     */
    public function getInitialAmount()
    {
        return $this->initialAmount;
    }
    /**
     * Set initialAmount value
     * @param \StructType\SearchDoubleField $initialAmount
     * @return \StructType\BillingScheduleSearchBasic
     */
    public function setInitialAmount(\StructType\SearchDoubleField $initialAmount = null)
    {
        $this->initialAmount = $initialAmount;
        return $this;
    }
    /**
     * Get initialTerms value
     * @return \StructType\SearchMultiSelectField|null
     */
    public function getInitialTerms()
    {
        return $this->initialTerms;
    }
    /**
     * Set initialTerms value
     * @param \StructType\SearchMultiSelectField $initialTerms
     * @return \StructType\BillingScheduleSearchBasic
     */
    public function setInitialTerms(\StructType\SearchMultiSelectField $initialTerms = null)
    {
        $this->initialTerms = $initialTerms;
        return $this;
    }
    /**
     * Get internalId value
     * @return \StructType\SearchMultiSelectField|null
     */
    public function getInternalId()
    {
        return $this->internalId;
    }
    /**
     * Set internalId value
     * @param \StructType\SearchMultiSelectField $internalId
     * @return \StructType\BillingScheduleSearchBasic
     */
    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\BillingScheduleSearchBasic
     */
    public function setInternalIdNumber(\StructType\SearchLongField $internalIdNumber = null)
    {
        $this->internalIdNumber = $internalIdNumber;
        return $this;
    }
    /**
     * Get isInactive value
     * @return \StructType\SearchBooleanField|null
     */
    public function getIsInactive()
    {
        return $this->isInactive;
    }
    /**
     * Set isInactive value
     * @param \StructType\SearchBooleanField $isInactive
     * @return \StructType\BillingScheduleSearchBasic
     */
    public function setIsInactive(\StructType\SearchBooleanField $isInactive = null)
    {
        $this->isInactive = $isInactive;
        return $this;
    }
    /**
     * Get isPublic value
     * @return \StructType\SearchBooleanField|null
     */
    public function getIsPublic()
    {
        return $this->isPublic;
    }
    /**
     * Set isPublic value
     * @param \StructType\SearchBooleanField $isPublic
     * @return \StructType\BillingScheduleSearchBasic
     */
    public function setIsPublic(\StructType\SearchBooleanField $isPublic = null)
    {
        $this->isPublic = $isPublic;
        return $this;
    }
    /**
     * Get name value
     * @return \StructType\SearchStringField|null
     */
    public function getName()
    {
        return $this->name;
    }
    /**
     * Set name value
     * @param \StructType\SearchStringField $name
     * @return \StructType\BillingScheduleSearchBasic
     */
    public function setName(\StructType\SearchStringField $name = null)
    {
        $this->name = $name;
        return $this;
    }
    /**
     * Get recurrenceCount value
     * @return \StructType\SearchLongField|null
     */
    public function getRecurrenceCount()
    {
        return $this->recurrenceCount;
    }
    /**
     * Set recurrenceCount value
     * @param \StructType\SearchLongField $recurrenceCount
     * @return \StructType\BillingScheduleSearchBasic
     */
    public function setRecurrenceCount(\StructType\SearchLongField $recurrenceCount = null)
    {
        $this->recurrenceCount = $recurrenceCount;
        return $this;
    }
    /**
     * Get recurrencePattern value
     * @return \StructType\SearchEnumMultiSelectField|null
     */
    public function getRecurrencePattern()
    {
        return $this->recurrencePattern;
    }
    /**
     * Set recurrencePattern value
     * @param \StructType\SearchEnumMultiSelectField $recurrencePattern
     * @return \StructType\BillingScheduleSearchBasic
     */
    public function setRecurrencePattern(\StructType\SearchEnumMultiSelectField $recurrencePattern = null)
    {
        $this->recurrencePattern = $recurrencePattern;
        return $this;
    }
    /**
     * Get recurrenceTerms value
     * @return \StructType\SearchMultiSelectField|null
     */
    public function getRecurrenceTerms()
    {
        return $this->recurrenceTerms;
    }
    /**
     * Set recurrenceTerms value
     * @param \StructType\SearchMultiSelectField $recurrenceTerms
     * @return \StructType\BillingScheduleSearchBasic
     */
    public function setRecurrenceTerms(\StructType\SearchMultiSelectField $recurrenceTerms = null)
    {
        $this->recurrenceTerms = $recurrenceTerms;
        return $this;
    }
    /**
     * Get repeatEvery value
     * @return \StructType\SearchLongField|null
     */
    public function getRepeatEvery()
    {
        return $this->repeatEvery;
    }
    /**
     * Set repeatEvery value
     * @param \StructType\SearchLongField $repeatEvery
     * @return \StructType\BillingScheduleSearchBasic
     */
    public function setRepeatEvery(\StructType\SearchLongField $repeatEvery = null)
    {
        $this->repeatEvery = $repeatEvery;
        return $this;
    }
    /**
     * Get type value
     * @return \StructType\SearchEnumMultiSelectField|null
     */
    public function getType()
    {
        return $this->type;
    }
    /**
     * Set type value
     * @param \StructType\SearchEnumMultiSelectField $type
     * @return \StructType\BillingScheduleSearchBasic
     */
    public function setType(\StructType\SearchEnumMultiSelectField $type = null)
    {
        $this->type = $type;
        return $this;
    }
}
