Class EarningsOrder

java.lang.Object
com.xero.models.payrollnz.EarningsOrder

public class EarningsOrder
extends Object
EarningsOrder
  • Constructor Details

    • EarningsOrder

      public EarningsOrder()
  • Method Details

    • id

      public EarningsOrder id​(UUID id)
    • getId

      public UUID getId()
      Xero unique identifier for an earning rate
      Returns:
      id
    • setId

      public void setId​(UUID id)
    • name

      public EarningsOrder name​(String name)
    • getName

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

      public void setName​(String name)
    • statutoryDeductionCategory

      public EarningsOrder statutoryDeductionCategory​(StatutoryDeductionCategory statutoryDeductionCategory)
    • getStatutoryDeductionCategory

      public StatutoryDeductionCategory getStatutoryDeductionCategory()
      Get statutoryDeductionCategory
      Returns:
      statutoryDeductionCategory
    • setStatutoryDeductionCategory

      public void setStatutoryDeductionCategory​(StatutoryDeductionCategory statutoryDeductionCategory)
    • liabilityAccountId

      public EarningsOrder liabilityAccountId​(UUID liabilityAccountId)
    • getLiabilityAccountId

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

      public void setLiabilityAccountId​(UUID liabilityAccountId)
    • currentRecord

      public EarningsOrder currentRecord​(Boolean currentRecord)
    • getCurrentRecord

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

      public void setCurrentRecord​(Boolean currentRecord)
    • equals

      public boolean equals​(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object