Class Statement

java.lang.Object
net.libyaguide.gpay.sdk.model.Statement

public class Statement extends Object
Represents a wallet statement for a specific day. Contains balances and a list of transactions for the given day.
  • Constructor Details

    • Statement

      public Statement()
  • Method Details

    • getAvailableBalance

      public BigDecimal getAvailableBalance()
      Gets the available balance at the time of the request.
      Returns:
      the available balance
    • setAvailableBalance

      public void setAvailableBalance(BigDecimal availableBalance)
      Sets the available balance at the time of the request.
      Parameters:
      availableBalance - the available balance
    • getOutstandingCredit

      public BigDecimal getOutstandingCredit()
      Gets the total outstanding credit.
      Returns:
      the total outstanding credit
    • setOutstandingCredit

      public void setOutstandingCredit(BigDecimal outstandingCredit)
      Sets the total outstanding credit.
      Parameters:
      outstandingCredit - the total outstanding credit
    • getOutstandingDebit

      public BigDecimal getOutstandingDebit()
      Gets the total outstanding debit.
      Returns:
      the total outstanding debit
    • setOutstandingDebit

      public void setOutstandingDebit(BigDecimal outstandingDebit)
      Sets the total outstanding debit.
      Parameters:
      outstandingDebit - the total outstanding debit
    • getDayBalance

      public BigDecimal getDayBalance()
      Gets the balance at the end of the given day.
      Returns:
      the day balance
    • setDayBalance

      public void setDayBalance(BigDecimal dayBalance)
      Sets the balance at the end of the given day.
      Parameters:
      dayBalance - the day balance
    • getDayTotalIn

      public BigDecimal getDayTotalIn()
      Gets the total credited on the given day.
      Returns:
      the total credited on the day
    • setDayTotalIn

      public void setDayTotalIn(BigDecimal dayTotalIn)
      Sets the total credited on the given day.
      Parameters:
      dayTotalIn - the total credited on the day
    • getDayTotalOut

      public BigDecimal getDayTotalOut()
      Gets the total debited on the given day.
      Returns:
      the total debited on the day
    • setDayTotalOut

      public void setDayTotalOut(BigDecimal dayTotalOut)
      Sets the total debited on the given day.
      Parameters:
      dayTotalOut - the total debited on the day
    • getResponseTimestamp

      public Date getResponseTimestamp()
      Gets the response timestamp.
      Returns:
      the response timestamp
    • setResponseTimestamp

      public void setResponseTimestamp(Date responseTimestamp)
      Sets the response timestamp.
      Parameters:
      responseTimestamp - the response timestamp
    • getDayStatement

      public List<StatementTransaction> getDayStatement()
      Gets the list of transactions for the given day.
      Returns:
      the list of transactions for the day
    • setDayStatement

      public void setDayStatement(List<StatementTransaction> dayStatement)
      Sets the list of transactions for the given day.
      Parameters:
      dayStatement - the list of transactions for the day