Class SendMoneyResult

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

public class SendMoneyResult extends Object
Represents the result of a send money operation. Contains details of the transaction, including fees and balances.
  • Constructor Details

    • SendMoneyResult

      public SendMoneyResult()
  • Method Details

    • getAmount

      public BigDecimal getAmount()
      Gets the amount sent.
      Returns:
      the amount sent
    • setAmount

      public void setAmount(BigDecimal amount)
      Sets the amount sent.
      Parameters:
      amount - the amount sent
    • getSenderFee

      public BigDecimal getSenderFee()
      Gets the fee charged to the sender.
      Returns:
      the sender fee
    • setSenderFee

      public void setSenderFee(BigDecimal senderFee)
      Sets the fee charged to the sender.
      Parameters:
      senderFee - the sender fee
    • getTransactionId

      public String getTransactionId()
      Gets the unique ID for the transaction.
      Returns:
      the transaction ID
    • setTransactionId

      public void setTransactionId(String transactionId)
      Sets the unique ID for the transaction.
      Parameters:
      transactionId - the transaction ID
    • getOldBalance

      public BigDecimal getOldBalance()
      Gets the balance before the transaction.
      Returns:
      the old balance
    • setOldBalance

      public void setOldBalance(BigDecimal oldBalance)
      Sets the balance before the transaction.
      Parameters:
      oldBalance - the old balance
    • getNewBalance

      public BigDecimal getNewBalance()
      Gets the balance after the transaction.
      Returns:
      the new balance
    • setNewBalance

      public void setNewBalance(BigDecimal newBalance)
      Sets the balance after the transaction.
      Parameters:
      newBalance - the new balance
    • getTimestamp

      public Date getTimestamp()
      Gets the timestamp of the transaction.
      Returns:
      the timestamp
    • setTimestamp

      public void setTimestamp(Date timestamp)
      Sets the timestamp of the transaction.
      Parameters:
      timestamp - the timestamp
    • getReferenceNo

      public String getReferenceNo()
      Gets the reference number provided in the request, if any.
      Returns:
      the reference number
    • setReferenceNo

      public void setReferenceNo(String referenceNo)
      Sets the reference number provided in the request, if any.
      Parameters:
      referenceNo - the reference number
    • 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