Class StatementLine

java.lang.Object
com.xero.models.bankfeeds.StatementLine

public class StatementLine
extends Object
the lines details for a statement
  • Constructor Details

    • StatementLine

      public StatementLine()
  • Method Details

    • postedDate

      public StatementLine postedDate​(org.threeten.bp.LocalDate postedDate)
    • getPostedDate

      public org.threeten.bp.LocalDate getPostedDate()
      The date that the transaction was processed or cleared as seen in internet banking ISO-8601 YYYY-MM-DD
      Returns:
      postedDate
    • setPostedDate

      public void setPostedDate​(org.threeten.bp.LocalDate postedDate)
    • description

      public StatementLine description​(String description)
    • getDescription

      public String getDescription()
      Transaction description maximum: 2000
      Returns:
      description
    • setDescription

      public void setDescription​(String description)
    • amount

      public StatementLine amount​(Double amount)
    • getAmount

      public Double getAmount()
      Transaction amount
      Returns:
      amount
    • setAmount

      public void setAmount​(Double amount)
    • creditDebitIndicator

      public StatementLine creditDebitIndicator​(CreditDebitIndicator creditDebitIndicator)
    • getCreditDebitIndicator

      public CreditDebitIndicator getCreditDebitIndicator()
      Get creditDebitIndicator
      Returns:
      creditDebitIndicator
    • setCreditDebitIndicator

      public void setCreditDebitIndicator​(CreditDebitIndicator creditDebitIndicator)
    • transactionId

      public StatementLine transactionId​(String transactionId)
    • getTransactionId

      public String getTransactionId()
      Financial institute's internal transaction identifier. If provided this field is factored into duplicate detection.
      Returns:
      transactionId
    • setTransactionId

      public void setTransactionId​(String transactionId)
    • payeeName

      public StatementLine payeeName​(String payeeName)
    • getPayeeName

      public String getPayeeName()
      Typically the merchant or payee name maximum: 255
      Returns:
      payeeName
    • setPayeeName

      public void setPayeeName​(String payeeName)
    • reference

      public StatementLine reference​(String reference)
    • getReference

      public String getReference()
      Optional field to enhance the Description maximum: 255
      Returns:
      reference
    • setReference

      public void setReference​(String reference)
    • chequeNumber

      public StatementLine chequeNumber​(String chequeNumber)
    • getChequeNumber

      public String getChequeNumber()
      The cheque/check number maximum: 20
      Returns:
      chequeNumber
    • setChequeNumber

      public void setChequeNumber​(String chequeNumber)
    • 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