Package net.libyaguide.gpay.sdk.model
Class StatementTransaction
java.lang.Object
net.libyaguide.gpay.sdk.model.StatementTransaction
Represents a single transaction in a wallet statement.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the amount.Gets the balance.Gets the creation date.Gets the datetime string.Gets the description.Gets the operation type.Gets the reference number.Gets the transaction status.Gets the timestamp.Gets the transaction ID.voidsetAmount(BigDecimal amount) Sets the amount.voidsetBalance(BigDecimal balance) Sets the balance.voidsetCreatedAt(Date createdAt) Sets the creation date.voidsetDatetime(String datetime) Sets the datetime string.voidsetDescription(String description) Sets the description.voidsetOpTypeId(OperationType opTypeId) Sets the operation type.voidsetReferenceNo(String referenceNo) Sets the reference number.voidsetStatus(TransactionStatus status) Sets the transaction status.voidsetTimestamp(Date timestamp) Sets the timestamp.voidsetTransactionId(String transactionId) Sets the transaction ID.
-
Constructor Details
-
StatementTransaction
public StatementTransaction()
-
-
Method Details
-
getTransactionId
Gets the transaction ID.- Returns:
- the transaction ID
-
setTransactionId
Sets the transaction ID.- Parameters:
transactionId- the transaction ID
-
getDatetime
Gets the datetime string.- Returns:
- the datetime string
-
setDatetime
Sets the datetime string.- Parameters:
datetime- the datetime string
-
getTimestamp
Gets the timestamp.- Returns:
- the timestamp
-
setTimestamp
Sets the timestamp.- Parameters:
timestamp- the timestamp
-
getDescription
Gets the description.- Returns:
- the description
-
setDescription
Sets the description.- Parameters:
description- the description
-
getAmount
Gets the amount.- Returns:
- the amount
-
setAmount
Sets the amount.- Parameters:
amount- the amount
-
getBalance
Gets the balance.- Returns:
- the balance
-
setBalance
Sets the balance.- Parameters:
balance- the balance
-
getReferenceNo
Gets the reference number.- Returns:
- the reference number
-
setReferenceNo
Sets the reference number.- Parameters:
referenceNo- the reference number
-
getOpTypeId
Gets the operation type.- Returns:
- the operation type
-
setOpTypeId
Sets the operation type.- Parameters:
opTypeId- the operation type
-
getStatus
Gets the transaction status.- Returns:
- the transaction status
-
setStatus
Sets the transaction status.- Parameters:
status- the transaction status
-
getCreatedAt
Gets the creation date.- Returns:
- the creation date
-
setCreatedAt
Sets the creation date.- Parameters:
createdAt- the creation date
-