Class MoneyWiseUKBasicAllowance
java.lang.Object
io.github.tonywasher.joceanus.moneywise.tax.uk.MoneyWiseUKBasicAllowance
- All Implemented Interfaces:
MetisDataItem.MetisDataObjectFormat,MetisFieldItem,MoneyWiseUKTax.MoneyWiseUKBasicAllowanceCtl
- Direct Known Subclasses:
MoneyWiseUKAgeAllowance,MoneyWiseUKSavingsAllowance
public abstract class MoneyWiseUKBasicAllowance
extends Object
implements MetisFieldItem, MoneyWiseUKTax.MoneyWiseUKBasicAllowanceCtl
Basic UK Tax Allowance.
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.github.tonywasher.joceanus.metis.field.MetisFieldItem
MetisFieldItem.MetisFieldDef, MetisFieldItem.MetisFieldItemType, MetisFieldItem.MetisFieldSetCtl<T extends MetisFieldItem>, MetisFieldItem.MetisFieldSetDef, MetisFieldItem.MetisFieldTableItem, MetisFieldItem.MetisFieldVersionedDef -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedMoneyWiseUKBasicAllowance(OceanusMoney pAllowance, OceanusMoney pRentalAllowance, OceanusMoney pCapitalAllowance) Constructor.protectedMoneyWiseUKBasicAllowance(OceanusMoney pAllowance, OceanusMoney pRentalAllowance, OceanusMoney pCapitalAllowance, io.github.tonywasher.joceanus.moneywise.tax.MoneyWiseMarginalReduction pReduction) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionCalculate the allowance.Calculate the dividend allowance.io.github.tonywasher.joceanus.moneywise.tax.MoneyWiseTaxBandSet.MoneyWiseTaxBandcalculateLoSavingsBand(MoneyWiseUKTax.MoneyWiseUKTaxConfigCtl pConfig, io.github.tonywasher.joceanus.moneywise.tax.MoneyWiseTaxBandSet.MoneyWiseTaxBand pLoSavings) Calculate the loSavings band.Calculate the savings allowance.Obtain the allowance.protected static MetisFieldSet<? extends MoneyWiseUKBasicAllowance> Obtain the data fields.Obtain the capital allowance.protected io.github.tonywasher.joceanus.moneywise.tax.MoneyWiseMarginalReductionObtain the marginal reduction.Obtain the rental allowance.protected OceanusMoneyObtain zero amount.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.github.tonywasher.joceanus.metis.data.MetisDataItem.MetisDataObjectFormat
formatObjectMethods inherited from interface io.github.tonywasher.joceanus.metis.field.MetisFieldItem
getDataFieldSet
-
Constructor Details
-
MoneyWiseUKBasicAllowance
protected MoneyWiseUKBasicAllowance(OceanusMoney pAllowance, OceanusMoney pRentalAllowance, OceanusMoney pCapitalAllowance, io.github.tonywasher.joceanus.moneywise.tax.MoneyWiseMarginalReduction pReduction) Constructor.- Parameters:
pAllowance- the allowancepRentalAllowance- the rental allowancepCapitalAllowance- the capital allowancepReduction- the marginal reduction
-
MoneyWiseUKBasicAllowance
protected MoneyWiseUKBasicAllowance(OceanusMoney pAllowance, OceanusMoney pRentalAllowance, OceanusMoney pCapitalAllowance) Constructor.- Parameters:
pAllowance- the allowancepRentalAllowance- the rental allowancepCapitalAllowance- the capital allowance
-
-
Method Details
-
getAllowance
Description copied from interface:MoneyWiseUKTax.MoneyWiseUKBasicAllowanceCtlObtain the allowance.- Specified by:
getAllowancein interfaceMoneyWiseUKTax.MoneyWiseUKBasicAllowanceCtl- Returns:
- the Allowance
-
getRentalAllowance
Description copied from interface:MoneyWiseUKTax.MoneyWiseUKBasicAllowanceCtlObtain the rental allowance.- Specified by:
getRentalAllowancein interfaceMoneyWiseUKTax.MoneyWiseUKBasicAllowanceCtl- Returns:
- the Allowance
-
getCapitalAllowance
Description copied from interface:MoneyWiseUKTax.MoneyWiseUKBasicAllowanceCtlObtain the capital allowance.- Specified by:
getCapitalAllowancein interfaceMoneyWiseUKTax.MoneyWiseUKBasicAllowanceCtl- Returns:
- the Allowance
-
getMarginalReduction
protected io.github.tonywasher.joceanus.moneywise.tax.MoneyWiseMarginalReduction getMarginalReduction()Obtain the marginal reduction.- Returns:
- the Reduction
-
calculateBasicAllowance
Description copied from interface:MoneyWiseUKTax.MoneyWiseUKBasicAllowanceCtlCalculate the allowance.- Specified by:
calculateBasicAllowancein interfaceMoneyWiseUKTax.MoneyWiseUKBasicAllowanceCtl- Parameters:
pConfig- the tax configuration- Returns:
- the calculated allowance
-
calculateSavingsAllowance
Description copied from interface:MoneyWiseUKTax.MoneyWiseUKBasicAllowanceCtlCalculate the savings allowance.- Specified by:
calculateSavingsAllowancein interfaceMoneyWiseUKTax.MoneyWiseUKBasicAllowanceCtl- Parameters:
pConfig- the tax configuration- Returns:
- the savings allowance
-
calculateDividendAllowance
Description copied from interface:MoneyWiseUKTax.MoneyWiseUKBasicAllowanceCtlCalculate the dividend allowance.- Specified by:
calculateDividendAllowancein interfaceMoneyWiseUKTax.MoneyWiseUKBasicAllowanceCtl- Returns:
- the dividend allowance
-
calculateLoSavingsBand
public io.github.tonywasher.joceanus.moneywise.tax.MoneyWiseTaxBandSet.MoneyWiseTaxBand calculateLoSavingsBand(MoneyWiseUKTax.MoneyWiseUKTaxConfigCtl pConfig, io.github.tonywasher.joceanus.moneywise.tax.MoneyWiseTaxBandSet.MoneyWiseTaxBand pLoSavings) Description copied from interface:MoneyWiseUKTax.MoneyWiseUKBasicAllowanceCtlCalculate the loSavings band.- Specified by:
calculateLoSavingsBandin interfaceMoneyWiseUKTax.MoneyWiseUKBasicAllowanceCtl- Parameters:
pConfig- the tax configurationpLoSavings- the low savings band- Returns:
- the loSavings band
-
getZeroAmount
Obtain zero amount.- Returns:
- the zero amount
-
getBaseFieldSet
Obtain the data fields.- Returns:
- the data fields
-