Class Reimbursement


  • public class Reimbursement
    extends Object
    Reimbursement
    • Constructor Detail

      • Reimbursement

        public Reimbursement()
    • Method Detail

      • reimbursementID

        public Reimbursement reimbursementID​(UUID reimbursementID)
        Xero unique identifier for a reimbursement
        Parameters:
        reimbursementID - UUID
        Returns:
        Reimbursement
      • getReimbursementID

        public UUID getReimbursementID()
        Xero unique identifier for a reimbursement
        Returns:
        reimbursementID
      • setReimbursementID

        public void setReimbursementID​(UUID reimbursementID)
        Xero unique identifier for a reimbursement
        Parameters:
        reimbursementID - UUID
      • name

        public Reimbursement name​(String name)
        Name of the reimbursement
        Parameters:
        name - String
        Returns:
        Reimbursement
      • getName

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

        public void setName​(String name)
        Name of the reimbursement
        Parameters:
        name - String
      • accountID

        public Reimbursement accountID​(UUID accountID)
        Xero unique identifier for the account used for the reimbursement
        Parameters:
        accountID - UUID
        Returns:
        Reimbursement
      • getAccountID

        public UUID getAccountID()
        Xero unique identifier for the account used for the reimbursement
        Returns:
        accountID
      • setAccountID

        public void setAccountID​(UUID accountID)
        Xero unique identifier for the account used for the reimbursement
        Parameters:
        accountID - UUID
      • currentRecord

        public Reimbursement currentRecord​(Boolean currentRecord)
        Indicates that whether the reimbursement is active
        Parameters:
        currentRecord - Boolean
        Returns:
        Reimbursement
      • getCurrentRecord

        public Boolean getCurrentRecord()
        Indicates that whether the reimbursement is active
        Returns:
        currentRecord
      • setCurrentRecord

        public void setCurrentRecord​(Boolean currentRecord)
        Indicates that whether the reimbursement is active
        Parameters:
        currentRecord - Boolean
      • setReimbursementCategory

        public void setReimbursementCategory​(Reimbursement.ReimbursementCategoryEnum reimbursementCategory)
        See Reimbursement Categories
        Parameters:
        reimbursementCategory - ReimbursementCategoryEnum
      • setCalculationType

        public void setCalculationType​(Reimbursement.CalculationTypeEnum calculationType)
        See Calculation Types
        Parameters:
        calculationType - CalculationTypeEnum
      • standardAmount

        public Reimbursement standardAmount​(String standardAmount)
        Optional Fixed Rate Amount. Applicable when calculation type is Fixed Amount
        Parameters:
        standardAmount - String
        Returns:
        Reimbursement
      • getStandardAmount

        public String getStandardAmount()
        Optional Fixed Rate Amount. Applicable when calculation type is Fixed Amount
        Returns:
        standardAmount
      • setStandardAmount

        public void setStandardAmount​(String standardAmount)
        Optional Fixed Rate Amount. Applicable when calculation type is Fixed Amount
        Parameters:
        standardAmount - String
      • standardTypeOfUnits

        public Reimbursement standardTypeOfUnits​(Reimbursement.StandardTypeOfUnitsEnum standardTypeOfUnits)
        Optional Type Of Units. Applicable when calculation type is Rate Per Unit
        Parameters:
        standardTypeOfUnits - StandardTypeOfUnitsEnum
        Returns:
        Reimbursement
      • getStandardTypeOfUnits

        public Reimbursement.StandardTypeOfUnitsEnum getStandardTypeOfUnits()
        Optional Type Of Units. Applicable when calculation type is Rate Per Unit
        Returns:
        standardTypeOfUnits
      • setStandardTypeOfUnits

        public void setStandardTypeOfUnits​(Reimbursement.StandardTypeOfUnitsEnum standardTypeOfUnits)
        Optional Type Of Units. Applicable when calculation type is Rate Per Unit
        Parameters:
        standardTypeOfUnits - StandardTypeOfUnitsEnum
      • standardRatePerUnit

        public Reimbursement standardRatePerUnit​(Double standardRatePerUnit)
        Optional Rate Per Unit. Applicable when calculation type is Rate Per Unit
        Parameters:
        standardRatePerUnit - Double
        Returns:
        Reimbursement
      • getStandardRatePerUnit

        public Double getStandardRatePerUnit()
        Optional Rate Per Unit. Applicable when calculation type is Rate Per Unit
        Returns:
        standardRatePerUnit
      • setStandardRatePerUnit

        public void setStandardRatePerUnit​(Double standardRatePerUnit)
        Optional Rate Per Unit. Applicable when calculation type is Rate Per Unit
        Parameters:
        standardRatePerUnit - Double
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object