Package net.libyaguide.gpay.sdk.model
Class Statement
java.lang.Object
net.libyaguide.gpay.sdk.model.Statement
Represents a wallet statement for a specific day.
Contains balances and a list of transactions for the given day.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the available balance at the time of the request.Gets the balance at the end of the given day.Gets the list of transactions for the given day.Gets the total credited on the given day.Gets the total debited on the given day.Gets the total outstanding credit.Gets the total outstanding debit.Gets the response timestamp.voidsetAvailableBalance(BigDecimal availableBalance) Sets the available balance at the time of the request.voidsetDayBalance(BigDecimal dayBalance) Sets the balance at the end of the given day.voidsetDayStatement(List<StatementTransaction> dayStatement) Sets the list of transactions for the given day.voidsetDayTotalIn(BigDecimal dayTotalIn) Sets the total credited on the given day.voidsetDayTotalOut(BigDecimal dayTotalOut) Sets the total debited on the given day.voidsetOutstandingCredit(BigDecimal outstandingCredit) Sets the total outstanding credit.voidsetOutstandingDebit(BigDecimal outstandingDebit) Sets the total outstanding debit.voidsetResponseTimestamp(Date responseTimestamp) Sets the response timestamp.
-
Constructor Details
-
Statement
public Statement()
-
-
Method Details
-
getAvailableBalance
Gets the available balance at the time of the request.- Returns:
- the available balance
-
setAvailableBalance
Sets the available balance at the time of the request.- Parameters:
availableBalance- the available balance
-
getOutstandingCredit
Gets the total outstanding credit.- Returns:
- the total outstanding credit
-
setOutstandingCredit
Sets the total outstanding credit.- Parameters:
outstandingCredit- the total outstanding credit
-
getOutstandingDebit
Gets the total outstanding debit.- Returns:
- the total outstanding debit
-
setOutstandingDebit
Sets the total outstanding debit.- Parameters:
outstandingDebit- the total outstanding debit
-
getDayBalance
Gets the balance at the end of the given day.- Returns:
- the day balance
-
setDayBalance
Sets the balance at the end of the given day.- Parameters:
dayBalance- the day balance
-
getDayTotalIn
Gets the total credited on the given day.- Returns:
- the total credited on the day
-
setDayTotalIn
Sets the total credited on the given day.- Parameters:
dayTotalIn- the total credited on the day
-
getDayTotalOut
Gets the total debited on the given day.- Returns:
- the total debited on the day
-
setDayTotalOut
Sets the total debited on the given day.- Parameters:
dayTotalOut- the total debited on the day
-
getResponseTimestamp
Gets the response timestamp.- Returns:
- the response timestamp
-
setResponseTimestamp
Sets the response timestamp.- Parameters:
responseTimestamp- the response timestamp
-
getDayStatement
Gets the list of transactions for the given day.- Returns:
- the list of transactions for the day
-
setDayStatement
Sets the list of transactions for the given day.- Parameters:
dayStatement- the list of transactions for the day
-