<?php

namespace StructType;

use \WsdlToPhp\PackageBase\AbstractStructBase;

/**
 * This class stands for RevRecTemplateSearchBasic StructType
 * @subpackage Structs
 */
class RevRecTemplateSearchBasic extends SearchRecordBasic
{
    /**
     * The amorMethod
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var \StructType\SearchEnumMultiSelectField
     */
    public $amorMethod;
    /**
     * The amorPeriod
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var \StructType\SearchLongField
     */
    public $amorPeriod;
    /**
     * The amorStartOffset
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var \StructType\SearchLongField
     */
    public $amorStartOffset;
    /**
     * The amorTermSrc
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var \StructType\SearchEnumMultiSelectField
     */
    public $amorTermSrc;
    /**
     * The amorType
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var \StructType\SearchEnumMultiSelectField
     */
    public $amorType;
    /**
     * The contraAccount
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var \StructType\SearchMultiSelectField
     */
    public $contraAccount;
    /**
     * The deferralAccount
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var \StructType\SearchMultiSelectField
     */
    public $deferralAccount;
    /**
     * 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 isInactive
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var \StructType\SearchBooleanField
     */
    public $isInactive;
    /**
     * The name
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var \StructType\SearchStringField
     */
    public $name;
    /**
     * The periodOffset
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var \StructType\SearchLongField
     */
    public $periodOffset;
    /**
     * The targetAccount
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var \StructType\SearchMultiSelectField
     */
    public $targetAccount;
    /**
     * The useForeignAmounts
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var \StructType\SearchBooleanField
     */
    public $useForeignAmounts;
    /**
     * Constructor method for RevRecTemplateSearchBasic
     * @uses RevRecTemplateSearchBasic::setAmorMethod()
     * @uses RevRecTemplateSearchBasic::setAmorPeriod()
     * @uses RevRecTemplateSearchBasic::setAmorStartOffset()
     * @uses RevRecTemplateSearchBasic::setAmorTermSrc()
     * @uses RevRecTemplateSearchBasic::setAmorType()
     * @uses RevRecTemplateSearchBasic::setContraAccount()
     * @uses RevRecTemplateSearchBasic::setDeferralAccount()
     * @uses RevRecTemplateSearchBasic::setExternalId()
     * @uses RevRecTemplateSearchBasic::setExternalIdString()
     * @uses RevRecTemplateSearchBasic::setInternalId()
     * @uses RevRecTemplateSearchBasic::setInternalIdNumber()
     * @uses RevRecTemplateSearchBasic::setIsInactive()
     * @uses RevRecTemplateSearchBasic::setName()
     * @uses RevRecTemplateSearchBasic::setPeriodOffset()
     * @uses RevRecTemplateSearchBasic::setTargetAccount()
     * @uses RevRecTemplateSearchBasic::setUseForeignAmounts()
     * @param \StructType\SearchEnumMultiSelectField $amorMethod
     * @param \StructType\SearchLongField $amorPeriod
     * @param \StructType\SearchLongField $amorStartOffset
     * @param \StructType\SearchEnumMultiSelectField $amorTermSrc
     * @param \StructType\SearchEnumMultiSelectField $amorType
     * @param \StructType\SearchMultiSelectField $contraAccount
     * @param \StructType\SearchMultiSelectField $deferralAccount
     * @param \StructType\SearchMultiSelectField $externalId
     * @param \StructType\SearchStringField $externalIdString
     * @param \StructType\SearchMultiSelectField $internalId
     * @param \StructType\SearchLongField $internalIdNumber
     * @param \StructType\SearchBooleanField $isInactive
     * @param \StructType\SearchStringField $name
     * @param \StructType\SearchLongField $periodOffset
     * @param \StructType\SearchMultiSelectField $targetAccount
     * @param \StructType\SearchBooleanField $useForeignAmounts
     */
    public function __construct(\StructType\SearchEnumMultiSelectField $amorMethod = null, \StructType\SearchLongField $amorPeriod = null, \StructType\SearchLongField $amorStartOffset = null, \StructType\SearchEnumMultiSelectField $amorTermSrc = null, \StructType\SearchEnumMultiSelectField $amorType = null, \StructType\SearchMultiSelectField $contraAccount = null, \StructType\SearchMultiSelectField $deferralAccount = null, \StructType\SearchMultiSelectField $externalId = null, \StructType\SearchStringField $externalIdString = null, \StructType\SearchMultiSelectField $internalId = null, \StructType\SearchLongField $internalIdNumber = null, \StructType\SearchBooleanField $isInactive = null, \StructType\SearchStringField $name = null, \StructType\SearchLongField $periodOffset = null, \StructType\SearchMultiSelectField $targetAccount = null, \StructType\SearchBooleanField $useForeignAmounts = null)
    {
        $this
            ->setAmorMethod($amorMethod)
            ->setAmorPeriod($amorPeriod)
            ->setAmorStartOffset($amorStartOffset)
            ->setAmorTermSrc($amorTermSrc)
            ->setAmorType($amorType)
            ->setContraAccount($contraAccount)
            ->setDeferralAccount($deferralAccount)
            ->setExternalId($externalId)
            ->setExternalIdString($externalIdString)
            ->setInternalId($internalId)
            ->setInternalIdNumber($internalIdNumber)
            ->setIsInactive($isInactive)
            ->setName($name)
            ->setPeriodOffset($periodOffset)
            ->setTargetAccount($targetAccount)
            ->setUseForeignAmounts($useForeignAmounts);
    }
    /**
     * Get amorMethod value
     * @return \StructType\SearchEnumMultiSelectField|null
     */
    public function getAmorMethod()
    {
        return $this->amorMethod;
    }
    /**
     * Set amorMethod value
     * @param \StructType\SearchEnumMultiSelectField $amorMethod
     * @return \StructType\RevRecTemplateSearchBasic
     */
    public function setAmorMethod(\StructType\SearchEnumMultiSelectField $amorMethod = null)
    {
        $this->amorMethod = $amorMethod;
        return $this;
    }
    /**
     * Get amorPeriod value
     * @return \StructType\SearchLongField|null
     */
    public function getAmorPeriod()
    {
        return $this->amorPeriod;
    }
    /**
     * Set amorPeriod value
     * @param \StructType\SearchLongField $amorPeriod
     * @return \StructType\RevRecTemplateSearchBasic
     */
    public function setAmorPeriod(\StructType\SearchLongField $amorPeriod = null)
    {
        $this->amorPeriod = $amorPeriod;
        return $this;
    }
    /**
     * Get amorStartOffset value
     * @return \StructType\SearchLongField|null
     */
    public function getAmorStartOffset()
    {
        return $this->amorStartOffset;
    }
    /**
     * Set amorStartOffset value
     * @param \StructType\SearchLongField $amorStartOffset
     * @return \StructType\RevRecTemplateSearchBasic
     */
    public function setAmorStartOffset(\StructType\SearchLongField $amorStartOffset = null)
    {
        $this->amorStartOffset = $amorStartOffset;
        return $this;
    }
    /**
     * Get amorTermSrc value
     * @return \StructType\SearchEnumMultiSelectField|null
     */
    public function getAmorTermSrc()
    {
        return $this->amorTermSrc;
    }
    /**
     * Set amorTermSrc value
     * @param \StructType\SearchEnumMultiSelectField $amorTermSrc
     * @return \StructType\RevRecTemplateSearchBasic
     */
    public function setAmorTermSrc(\StructType\SearchEnumMultiSelectField $amorTermSrc = null)
    {
        $this->amorTermSrc = $amorTermSrc;
        return $this;
    }
    /**
     * Get amorType value
     * @return \StructType\SearchEnumMultiSelectField|null
     */
    public function getAmorType()
    {
        return $this->amorType;
    }
    /**
     * Set amorType value
     * @param \StructType\SearchEnumMultiSelectField $amorType
     * @return \StructType\RevRecTemplateSearchBasic
     */
    public function setAmorType(\StructType\SearchEnumMultiSelectField $amorType = null)
    {
        $this->amorType = $amorType;
        return $this;
    }
    /**
     * Get contraAccount value
     * @return \StructType\SearchMultiSelectField|null
     */
    public function getContraAccount()
    {
        return $this->contraAccount;
    }
    /**
     * Set contraAccount value
     * @param \StructType\SearchMultiSelectField $contraAccount
     * @return \StructType\RevRecTemplateSearchBasic
     */
    public function setContraAccount(\StructType\SearchMultiSelectField $contraAccount = null)
    {
        $this->contraAccount = $contraAccount;
        return $this;
    }
    /**
     * Get deferralAccount value
     * @return \StructType\SearchMultiSelectField|null
     */
    public function getDeferralAccount()
    {
        return $this->deferralAccount;
    }
    /**
     * Set deferralAccount value
     * @param \StructType\SearchMultiSelectField $deferralAccount
     * @return \StructType\RevRecTemplateSearchBasic
     */
    public function setDeferralAccount(\StructType\SearchMultiSelectField $deferralAccount = null)
    {
        $this->deferralAccount = $deferralAccount;
        return $this;
    }
    /**
     * Get externalId value
     * @return \StructType\SearchMultiSelectField|null
     */
    public function getExternalId()
    {
        return $this->externalId;
    }
    /**
     * Set externalId value
     * @param \StructType\SearchMultiSelectField $externalId
     * @return \StructType\RevRecTemplateSearchBasic
     */
    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\RevRecTemplateSearchBasic
     */
    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\RevRecTemplateSearchBasic
     */
    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\RevRecTemplateSearchBasic
     */
    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\RevRecTemplateSearchBasic
     */
    public function setIsInactive(\StructType\SearchBooleanField $isInactive = null)
    {
        $this->isInactive = $isInactive;
        return $this;
    }
    /**
     * Get name value
     * @return \StructType\SearchStringField|null
     */
    public function getName()
    {
        return $this->name;
    }
    /**
     * Set name value
     * @param \StructType\SearchStringField $name
     * @return \StructType\RevRecTemplateSearchBasic
     */
    public function setName(\StructType\SearchStringField $name = null)
    {
        $this->name = $name;
        return $this;
    }
    /**
     * Get periodOffset value
     * @return \StructType\SearchLongField|null
     */
    public function getPeriodOffset()
    {
        return $this->periodOffset;
    }
    /**
     * Set periodOffset value
     * @param \StructType\SearchLongField $periodOffset
     * @return \StructType\RevRecTemplateSearchBasic
     */
    public function setPeriodOffset(\StructType\SearchLongField $periodOffset = null)
    {
        $this->periodOffset = $periodOffset;
        return $this;
    }
    /**
     * Get targetAccount value
     * @return \StructType\SearchMultiSelectField|null
     */
    public function getTargetAccount()
    {
        return $this->targetAccount;
    }
    /**
     * Set targetAccount value
     * @param \StructType\SearchMultiSelectField $targetAccount
     * @return \StructType\RevRecTemplateSearchBasic
     */
    public function setTargetAccount(\StructType\SearchMultiSelectField $targetAccount = null)
    {
        $this->targetAccount = $targetAccount;
        return $this;
    }
    /**
     * Get useForeignAmounts value
     * @return \StructType\SearchBooleanField|null
     */
    public function getUseForeignAmounts()
    {
        return $this->useForeignAmounts;
    }
    /**
     * Set useForeignAmounts value
     * @param \StructType\SearchBooleanField $useForeignAmounts
     * @return \StructType\RevRecTemplateSearchBasic
     */
    public function setUseForeignAmounts(\StructType\SearchBooleanField $useForeignAmounts = null)
    {
        $this->useForeignAmounts = $useForeignAmounts;
        return $this;
    }
}
