Class Benefit


  • public class Benefit
    extends Object
    Benefit
    • Constructor Detail

      • Benefit

        public Benefit()
    • Method Detail

      • id

        public Benefit id​(UUID id)
        The Xero identifier for superannuation
        Parameters:
        id - UUID
        Returns:
        Benefit
      • getId

        public UUID getId()
        The Xero identifier for superannuation
        Returns:
        id
      • setId

        public void setId​(UUID id)
        The Xero identifier for superannuation
        Parameters:
        id - UUID
      • name

        public Benefit name​(String name)
        Name of the superannuations
        Parameters:
        name - String
        Returns:
        Benefit
      • getName

        public String getName()
        Name of the superannuations
        Returns:
        name
      • setName

        public void setName​(String name)
        Name of the superannuations
        Parameters:
        name - String
      • category

        public Benefit category​(Benefit.CategoryEnum category)
        Superannuations Category type
        Parameters:
        category - CategoryEnum
        Returns:
        Benefit
      • getCategory

        public Benefit.CategoryEnum getCategory()
        Superannuations Category type
        Returns:
        category
      • setCategory

        public void setCategory​(Benefit.CategoryEnum category)
        Superannuations Category type
        Parameters:
        category - CategoryEnum
      • liabilityAccountId

        public Benefit liabilityAccountId​(UUID liabilityAccountId)
        Xero identifier for Liability Account
        Parameters:
        liabilityAccountId - UUID
        Returns:
        Benefit
      • getLiabilityAccountId

        public UUID getLiabilityAccountId()
        Xero identifier for Liability Account
        Returns:
        liabilityAccountId
      • setLiabilityAccountId

        public void setLiabilityAccountId​(UUID liabilityAccountId)
        Xero identifier for Liability Account
        Parameters:
        liabilityAccountId - UUID
      • expenseAccountId

        public Benefit expenseAccountId​(UUID expenseAccountId)
        Xero identifier for Expense Account
        Parameters:
        expenseAccountId - UUID
        Returns:
        Benefit
      • getExpenseAccountId

        public UUID getExpenseAccountId()
        Xero identifier for Expense Account
        Returns:
        expenseAccountId
      • setExpenseAccountId

        public void setExpenseAccountId​(UUID expenseAccountId)
        Xero identifier for Expense Account
        Parameters:
        expenseAccountId - UUID
      • calculationTypeNZ

        public Benefit calculationTypeNZ​(Benefit.CalculationTypeNZEnum calculationTypeNZ)
        Calculation Type of the superannuation either FixedAmount or PercentageOfTaxableEarnings
        Parameters:
        calculationTypeNZ - CalculationTypeNZEnum
        Returns:
        Benefit
      • getCalculationTypeNZ

        public Benefit.CalculationTypeNZEnum getCalculationTypeNZ()
        Calculation Type of the superannuation either FixedAmount or PercentageOfTaxableEarnings
        Returns:
        calculationTypeNZ
      • setCalculationTypeNZ

        public void setCalculationTypeNZ​(Benefit.CalculationTypeNZEnum calculationTypeNZ)
        Calculation Type of the superannuation either FixedAmount or PercentageOfTaxableEarnings
        Parameters:
        calculationTypeNZ - CalculationTypeNZEnum
      • standardAmount

        public Benefit standardAmount​(Double standardAmount)
        Standard amount of the superannuation
        Parameters:
        standardAmount - Double
        Returns:
        Benefit
      • getStandardAmount

        public Double getStandardAmount()
        Standard amount of the superannuation
        Returns:
        standardAmount
      • setStandardAmount

        public void setStandardAmount​(Double standardAmount)
        Standard amount of the superannuation
        Parameters:
        standardAmount - Double
      • percentage

        public Benefit percentage​(Double percentage)
        Percentage of Taxable Earnings of the superannuation
        Parameters:
        percentage - Double
        Returns:
        Benefit
      • getPercentage

        public Double getPercentage()
        Percentage of Taxable Earnings of the superannuation
        Returns:
        percentage
      • setPercentage

        public void setPercentage​(Double percentage)
        Percentage of Taxable Earnings of the superannuation
        Parameters:
        percentage - Double
      • companyMax

        public Benefit companyMax​(Double companyMax)
        Company Maximum amount of the superannuation
        Parameters:
        companyMax - Double
        Returns:
        Benefit
      • getCompanyMax

        public Double getCompanyMax()
        Company Maximum amount of the superannuation
        Returns:
        companyMax
      • setCompanyMax

        public void setCompanyMax​(Double companyMax)
        Company Maximum amount of the superannuation
        Parameters:
        companyMax - Double
      • currentRecord

        public Benefit currentRecord​(Boolean currentRecord)
        Identifier of a record is active or not.
        Parameters:
        currentRecord - Boolean
        Returns:
        Benefit
      • getCurrentRecord

        public Boolean getCurrentRecord()
        Identifier of a record is active or not.
        Returns:
        currentRecord
      • setCurrentRecord

        public void setCurrentRecord​(Boolean currentRecord)
        Identifier of a record is active or not.
        Parameters:
        currentRecord - Boolean
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object