id = $id; return $this; } /** * Gets id. * * @return int */ public function getId() { return $this->id; } /** * Set reductionType * * @param string $reductionType * * @return BillingSettingRent */ public function setReductionType($reductionType) { $this->reductionType = $reductionType; return $this; } /** * Get reductionType * * @return string */ public function getReductionType() { return $this->reductionType; } /** * Set instrumentFamilyReduction * * @param array $instrumentFamilyReduction * * @return BillingSettingRent */ public function setInstrumentFamilyReduction($instrumentFamilyReduction) { $this->instrumentFamilyReduction = $instrumentFamilyReduction; return $this; } /** * Get instrumentFamilyReduction * * @return array */ public function getInstrumentFamilyReduction() { return $this->instrumentFamilyReduction; } /** * Set purchaseDateReduction * * @param array $purchaseDateReduction * * @return BillingSettingRent */ public function setPurchaseDateReduction($purchaseDateReduction) { $this->purchaseDateReduction = $purchaseDateReduction; return $this; } /** * Get purchaseDateReduction * * @return array */ public function getPurchaseDateReduction() { return $this->purchaseDateReduction; } /** * Set purchaseAmountReduction * * @param array $purchaseAmountReduction * * @return BillingSettingRent */ public function setPurchaseAmountReduction($purchaseAmountReduction) { $this->purchaseAmountReduction = $purchaseAmountReduction; return $this; } /** * Get purchaseAmountReduction * * @return array */ public function getPurchaseAmountReduction() { return $this->purchaseAmountReduction; } /** * Set rentalYearsReduction * * @param array $rentalYearsReduction * * @return BillingSettingRent */ public function setRentalYearsReduction($rentalYearsReduction) { $this->rentalYearsReduction = $rentalYearsReduction; return $this; } /** * Get rentalYearsReduction * * @return array */ public function getRentalYearsReduction() { return $this->rentalYearsReduction; } /** * Set billingSetting * * @param \AppBundle\Entity\Billing\BillingSetting $billingSetting * * @return BillingSettingRent */ public function setBillingSetting(\AppBundle\Entity\Billing\BillingSetting $billingSetting) { $this->billingSetting = $billingSetting; return $this; } /** * Get billingSetting * * @return \AppBundle\Entity\Billing\BillingSetting */ public function getBillingSetting() { return $this->billingSetting; } /** * Set thresholdFirstAmount * * @param float $thresholdFirstAmount * * @return BillingSettingRent */ public function setThresholdFirstAmount($thresholdFirstAmount) { $this->thresholdFirstAmount = floatval($thresholdFirstAmount); return $this; } /** * Get thresholdFirstAmount * * @return float */ public function getThresholdFirstAmount() { return $this->thresholdFirstAmount; } /** * Set thresholdSecondAmount * * @param float $thresholdSecondAmount * * @return BillingSettingRent */ public function setThresholdSecondAmount($thresholdSecondAmount) { $this->thresholdSecondAmount = floatval($thresholdSecondAmount); return $this; } /** * Get thresholdSecondAmount * * @return float */ public function getThresholdSecondAmount() { return $this->thresholdSecondAmount; } /** * Set thresholdNumberYear * * @param \Integer $thresholdNumberYear * * @return BillingSettingRent */ public function setThresholdNumberYear($thresholdNumberYear) { $this->thresholdNumberYear = $thresholdNumberYear; return $this; } /** * Get thresholdNumberYear * * @return \Integer */ public function getThresholdNumberYear() { return $this->thresholdNumberYear; } /** * Set instrumentFamilyAndRentalYearsReduction * * @param array $instrumentFamilyAndRentalYearsReduction * * @return BillingSettingRent */ public function setInstrumentFamilyAndRentalYearsReduction($instrumentFamilyAndRentalYearsReduction) { $this->instrumentFamilyAndRentalYearsReduction = $instrumentFamilyAndRentalYearsReduction; return $this; } /** * Get instrumentFamilyAndRentalYearsReduction * * @return array */ public function getInstrumentFamilyAndRentalYearsReduction() { return $this->instrumentFamilyAndRentalYearsReduction; } /** * Set singleAmount * * @param float $singleAmount * * @return BillingSettingRent */ public function setSingleAmount($singleAmount) { $this->singleAmount = floatval($singleAmount); return $this; } /** * Get singleAmount * * @return float */ public function getSingleAmount() { return $this->singleAmount; } /** * Set periodicity * * @param string $periodicity * * @return BillingSettingRent */ public function setPeriodicity($periodicity) { $this->periodicity = $periodicity; return $this; } /** * Get periodicity * * @return string */ public function getPeriodicity() { return $this->periodicity; } /** * Set accountingCode * * @param integer $accountingCode * * @return BillingSettingRent */ public function setAccountingCode($accountingCode) { $this->accountingCode = $accountingCode; return $this; } /** * Get accountingCode * * @return integer */ public function getAccountingCode() { return $this->accountingCode; } /** * Set nature * * @param integer $nature * * @return BillingSettingRent */ public function setNature($nature) { $this->nature = $nature; return $this; } /** * Get nature * * @return integer */ public function getNature() { return $this->nature; } /** * Set accountingCodelabel * * @param string $accountingCodelabel * * @return BillingSettingRent */ public function setAccountingCodelabel($accountingCodelabel) { $this->accountingCodelabel = $accountingCodelabel; return $this; } /** * Get accountingCodelabel * * @return string */ public function getAccountingCodelabel() { return $this->accountingCodelabel; } }