Class TaxRate
java.lang.Object
com.example.vehicletaxsystem.models.TaxRate
Class for the tax rate values held in the database, they are monetary values which vary base don the category of vehicle and the timeframe for payment.
See Vehicle tax rates
See Vehicle tax rates
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleangetId()inthashCode()voidvoidsetSingle12month(Double single12month) voidsetSingle12monthDirectDebit(Double single12monthDirectDebit) voidsetSingle6monthDirectDebit(Double single6monthDirectDebit) voidsetSingle6monthPayment(Double single6monthPayment) voidsetTaxBandList(List<TaxBand> taxBandList) voidsetTotal12monthlyPayments(Double total12monthlyPayments) toString()
-
Field Details
-
id
-
single12month
-
single12monthDirectDebit
-
single6monthDirectDebit
-
single6monthPayment
-
total12monthlyPayments
-
taxBandList
-
-
Constructor Details
-
TaxRate
public TaxRate()
-
-
Method Details
-
getId
-
setId
-
getSingle12month
-
setSingle12month
-
getSingle12monthDirectDebit
-
setSingle12monthDirectDebit
-
getSingle6monthDirectDebit
-
setSingle6monthDirectDebit
-
getSingle6monthPayment
-
setSingle6monthPayment
-
getTotal12monthlyPayments
-
setTotal12monthlyPayments
-
getTaxBandList
-
setTaxBandList
-
equals
-
hashCode
public int hashCode() -
toString
-