Class Balance

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

public class Balance extends Object
Represents the wallet balance response. Contains the current available balance and the response timestamp.
  • Constructor Details

    • Balance

      public Balance()
  • Method Details

    • getBalance

      public BigDecimal getBalance()
      Gets the current available balance.
      Returns:
      the balance in LYD
    • setBalance

      public void setBalance(BigDecimal balance)
      Sets the current available balance.
      Parameters:
      balance - the balance in LYD
    • getResponseTimestamp

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

      public void setResponseTimestamp(Date responseTimestamp)
      Sets the response timestamp.
      Parameters:
      responseTimestamp - the response timestamp as a Date