Class ManualJournalLine


  • public class ManualJournalLine
    extends Object
    ManualJournalLine
    • Constructor Detail

      • ManualJournalLine

        public ManualJournalLine()
    • Method Detail

      • lineAmount

        public ManualJournalLine lineAmount​(Double lineAmount)
        total for line. Debits are positive, credits are negative value
        Parameters:
        lineAmount - Double
        Returns:
        ManualJournalLine
      • getLineAmount

        public Double getLineAmount()
        total for line. Debits are positive, credits are negative value
        Returns:
        lineAmount
      • setLineAmount

        public void setLineAmount​(Double lineAmount)
        total for line. Debits are positive, credits are negative value
        Parameters:
        lineAmount - Double
      • accountCode

        public ManualJournalLine accountCode​(String accountCode)
        See Accounts
        Parameters:
        accountCode - String
        Returns:
        ManualJournalLine
      • getAccountCode

        public String getAccountCode()
        See Accounts
        Returns:
        accountCode
      • setAccountCode

        public void setAccountCode​(String accountCode)
        See Accounts
        Parameters:
        accountCode - String
      • accountID

        public ManualJournalLine accountID​(UUID accountID)
        See Accounts
        Parameters:
        accountID - UUID
        Returns:
        ManualJournalLine
      • getAccountID

        public UUID getAccountID()
        See Accounts
        Returns:
        accountID
      • setAccountID

        public void setAccountID​(UUID accountID)
        See Accounts
        Parameters:
        accountID - UUID
      • description

        public ManualJournalLine description​(String description)
        Description for journal line
        Parameters:
        description - String
        Returns:
        ManualJournalLine
      • getDescription

        public String getDescription()
        Description for journal line
        Returns:
        description
      • setDescription

        public void setDescription​(String description)
        Description for journal line
        Parameters:
        description - String
      • taxType

        public ManualJournalLine taxType​(String taxType)
        The tax type from TaxRates
        Parameters:
        taxType - String
        Returns:
        ManualJournalLine
      • getTaxType

        public String getTaxType()
        The tax type from TaxRates
        Returns:
        taxType
      • setTaxType

        public void setTaxType​(String taxType)
        The tax type from TaxRates
        Parameters:
        taxType - String
      • tracking

        public ManualJournalLine tracking​(List<TrackingCategory> tracking)
        Optional Tracking Category – see Tracking. Any JournalLine can have a maximum of 2 <TrackingCategory> elements.
        Parameters:
        tracking - List<TrackingCategory>
        Returns:
        ManualJournalLine
      • addTrackingItem

        public ManualJournalLine addTrackingItem​(TrackingCategory trackingItem)
        Optional Tracking Category – see Tracking. Any JournalLine can have a maximum of 2 <TrackingCategory> elements.
        Parameters:
        trackingItem - TrackingCategory
        Returns:
        ManualJournalLine
      • getTracking

        public List<TrackingCategory> getTracking()
        Optional Tracking Category – see Tracking. Any JournalLine can have a maximum of 2 <TrackingCategory> elements.
        Returns:
        tracking
      • setTracking

        public void setTracking​(List<TrackingCategory> tracking)
        Optional Tracking Category – see Tracking. Any JournalLine can have a maximum of 2 <TrackingCategory> elements.
        Parameters:
        tracking - List<TrackingCategory>
      • taxAmount

        public ManualJournalLine taxAmount​(Double taxAmount)
        The calculated tax amount based on the TaxType and LineAmount
        Parameters:
        taxAmount - Double
        Returns:
        ManualJournalLine
      • getTaxAmount

        public Double getTaxAmount()
        The calculated tax amount based on the TaxType and LineAmount
        Returns:
        taxAmount
      • setTaxAmount

        public void setTaxAmount​(Double taxAmount)
        The calculated tax amount based on the TaxType and LineAmount
        Parameters:
        taxAmount - Double
      • isBlank

        public ManualJournalLine isBlank​(Boolean isBlank)
        is the line blank
        Parameters:
        isBlank - Boolean
        Returns:
        ManualJournalLine
      • getIsBlank

        public Boolean getIsBlank()
        is the line blank
        Returns:
        isBlank
      • setIsBlank

        public void setIsBlank​(Boolean isBlank)
        is the line blank
        Parameters:
        isBlank - Boolean
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object