java.lang.Object
io.github.tonywasher.joceanus.moneywise.tax.uk.MoneyWiseUKTaxBands
All Implemented Interfaces:
MetisDataItem.MetisDataObjectFormat, MetisFieldItem

public class MoneyWiseUKTaxBands extends Object implements MetisFieldItem
UK TaxBands.
  • Constructor Details

    • MoneyWiseUKTaxBands

      protected MoneyWiseUKTaxBands(io.github.tonywasher.joceanus.moneywise.tax.MoneyWiseTaxBandSet pStandard)
      Constructor.
      Parameters:
      pStandard - the standard taxBands
    • MoneyWiseUKTaxBands

      protected MoneyWiseUKTaxBands(io.github.tonywasher.joceanus.moneywise.tax.MoneyWiseTaxBandSet pStandard, Boolean pHasLoTaxBand)
      Constructor.
      Parameters:
      pStandard - the standard taxBands
      pHasLoTaxBand - do we have a low tax band?
    • MoneyWiseUKTaxBands

      protected MoneyWiseUKTaxBands(io.github.tonywasher.joceanus.moneywise.tax.MoneyWiseTaxBandSet pStandard, io.github.tonywasher.joceanus.moneywise.tax.MoneyWiseTaxBandSet.MoneyWiseTaxBand pLoSavings)
      Constructor.
      Parameters:
      pStandard - the standard taxBands
      pLoSavings - the loSavings taxBand
    • MoneyWiseUKTaxBands

      protected MoneyWiseUKTaxBands(MoneyWiseUKTaxBands pSource)
      Constructor.
      Parameters:
      pSource - the source taxBands
  • Method Details

    • getStandardSet

      public io.github.tonywasher.joceanus.moneywise.tax.MoneyWiseTaxBandSet getStandardSet()
      Obtain the standard taxBands.
      Returns:
      the taxBands
    • hasLoTaxBand

      public Boolean hasLoTaxBand()
      Do we have a Low taxBand?
      Returns:
      true/false
    • getLoSavings

      public io.github.tonywasher.joceanus.moneywise.tax.MoneyWiseTaxBandSet.MoneyWiseTaxBand getLoSavings()
      Obtain the low savings taxBand.
      Returns:
      the taxBands
    • getBasicTaxRate

      protected OceanusRate getBasicTaxRate()
      Obtain the basic rate of income tax.
      Returns:
      the rate
    • formatObject

      public String formatObject(OceanusDataFormatter pFormatter)
      Description copied from interface: MetisDataItem.MetisDataObjectFormat
      Obtain Object summary.
      Specified by:
      formatObject in interface MetisDataItem.MetisDataObjectFormat
      Parameters:
      pFormatter - the data formatter
      Returns:
      the display summary of the object
    • getDataFieldSet

      public MetisFieldSet<MoneyWiseUKTaxBands> getDataFieldSet()
      Description copied from interface: MetisFieldItem
      Obtain the fieldSet.
      Specified by:
      getDataFieldSet in interface MetisFieldItem
      Returns:
      the fieldSet