Class MoneyWiseUKChargeableGainsScheme.MoneyWiseUKSlicedTaxDueBucket

java.lang.Object
io.github.tonywasher.joceanus.moneywise.tax.MoneyWiseTaxDueBucket
io.github.tonywasher.joceanus.moneywise.tax.uk.MoneyWiseUKChargeableGainsScheme.MoneyWiseUKSlicedTaxDueBucket
All Implemented Interfaces:
MetisDataItem.MetisDataObjectFormat, MetisFieldItem
Enclosing class:
MoneyWiseUKChargeableGainsScheme

public static class MoneyWiseUKChargeableGainsScheme.MoneyWiseUKSlicedTaxDueBucket extends io.github.tonywasher.joceanus.moneywise.tax.MoneyWiseTaxDueBucket
Chargeable Gains Sliced Tax Due.
  • Constructor Details

    • MoneyWiseUKSlicedTaxDueBucket

      protected MoneyWiseUKSlicedTaxDueBucket(io.github.tonywasher.joceanus.moneywise.tax.MoneyWiseTaxDueBucket pBase, io.github.tonywasher.joceanus.moneywise.tax.MoneyWiseTaxSource pSource)
      Constructor.
      Parameters:
      pBase - the underlying bucket
      pSource - the tax source
  • Method Details

    • getTotalGains

      public OceanusMoney getTotalGains()
      Obtain the total gains.
      Returns:
      the gains
    • getTotalSlices

      public OceanusMoney getTotalSlices()
      Obtain the total slices.
      Returns:
      the slices
    • getRatio

      public OceanusRatio getRatio()
      Obtain the ratio.
      Returns:
      the ratio
    • getTaxedSlices

      public io.github.tonywasher.joceanus.moneywise.tax.MoneyWiseTaxDueBucket getTaxedSlices()
      Obtain the taxed slices.
      Returns:
      the taxed slices
    • getNettTaxDue

      public OceanusMoney getNettTaxDue()
      Obtain the tax due.
      Returns:
      the tax due
    • getTaxRelief

      public OceanusMoney getTaxRelief()
      Obtain the tax relief.
      Returns:
      the tax relief
    • formatObject

      public String formatObject(OceanusDataFormatter pFormatter)
      Description copied from interface: MetisDataItem.MetisDataObjectFormat
      Obtain Object summary.
      Specified by:
      formatObject in interface MetisDataItem.MetisDataObjectFormat
      Overrides:
      formatObject in class io.github.tonywasher.joceanus.moneywise.tax.MoneyWiseTaxDueBucket
      Parameters:
      pFormatter - the data formatter
      Returns:
      the display summary of the object
    • getDataFieldSet

      Description copied from interface: MetisFieldItem
      Obtain the fieldSet.
      Specified by:
      getDataFieldSet in interface MetisFieldItem
      Overrides:
      getDataFieldSet in class io.github.tonywasher.joceanus.moneywise.tax.MoneyWiseTaxDueBucket
      Returns:
      the fieldSet