Package net.libyaguide.gpay.sdk.model
Class Balance
java.lang.Object
net.libyaguide.gpay.sdk.model.Balance
Represents the wallet balance response.
Contains the current available balance and the response timestamp.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the current available balance.Gets the response timestamp.voidsetBalance(BigDecimal balance) Sets the current available balance.voidsetResponseTimestamp(Date responseTimestamp) Sets the response timestamp.
-
Constructor Details
-
Balance
public Balance()
-
-
Method Details
-
getBalance
Gets the current available balance.- Returns:
- the balance in LYD
-
setBalance
Sets the current available balance.- Parameters:
balance- the balance in LYD
-
getResponseTimestamp
Gets the response timestamp.- Returns:
- the response timestamp as a Date
-
setResponseTimestamp
Sets the response timestamp.- Parameters:
responseTimestamp- the response timestamp as a Date
-