Package net.libyaguide.gpay.sdk.model
Class SendMoneyResult
java.lang.Object
net.libyaguide.gpay.sdk.model.SendMoneyResult
Represents the result of a send money operation.
Contains details of the transaction, including fees and balances.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the amount sent.Gets the balance after the transaction.Gets the balance before the transaction.Gets the reference number provided in the request, if any.Gets the response timestamp.Gets the fee charged to the sender.Gets the timestamp of the transaction.Gets the unique ID for the transaction.voidsetAmount(BigDecimal amount) Sets the amount sent.voidsetNewBalance(BigDecimal newBalance) Sets the balance after the transaction.voidsetOldBalance(BigDecimal oldBalance) Sets the balance before the transaction.voidsetReferenceNo(String referenceNo) Sets the reference number provided in the request, if any.voidsetResponseTimestamp(Date responseTimestamp) Sets the response timestamp.voidsetSenderFee(BigDecimal senderFee) Sets the fee charged to the sender.voidsetTimestamp(Date timestamp) Sets the timestamp of the transaction.voidsetTransactionId(String transactionId) Sets the unique ID for the transaction.
-
Constructor Details
-
SendMoneyResult
public SendMoneyResult()
-
-
Method Details
-
getAmount
Gets the amount sent.- Returns:
- the amount sent
-
setAmount
Sets the amount sent.- Parameters:
amount- the amount sent
-
getSenderFee
Gets the fee charged to the sender.- Returns:
- the sender fee
-
setSenderFee
Sets the fee charged to the sender.- Parameters:
senderFee- the sender fee
-
getTransactionId
Gets the unique ID for the transaction.- Returns:
- the transaction ID
-
setTransactionId
Sets the unique ID for the transaction.- Parameters:
transactionId- the transaction ID
-
getOldBalance
Gets the balance before the transaction.- Returns:
- the old balance
-
setOldBalance
Sets the balance before the transaction.- Parameters:
oldBalance- the old balance
-
getNewBalance
Gets the balance after the transaction.- Returns:
- the new balance
-
setNewBalance
Sets the balance after the transaction.- Parameters:
newBalance- the new balance
-
getTimestamp
Gets the timestamp of the transaction.- Returns:
- the timestamp
-
setTimestamp
Sets the timestamp of the transaction.- Parameters:
timestamp- the timestamp
-
getReferenceNo
Gets the reference number provided in the request, if any.- Returns:
- the reference number
-
setReferenceNo
Sets the reference number provided in the request, if any.- Parameters:
referenceNo- the reference number
-
getResponseTimestamp
Gets the response timestamp.- Returns:
- the response timestamp
-
setResponseTimestamp
Sets the response timestamp.- Parameters:
responseTimestamp- the response timestamp
-