Package net.libyaguide.gpay.sdk.model
Class WalletCheck
java.lang.Object
net.libyaguide.gpay.sdk.model.WalletCheck
Represents the result of checking a wallet.
Contains wallet existence, details, and ability to receive money.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanGets whether the wallet can receive money.booleanexists()Gets whether the wallet exists.Gets the response timestamp.Gets the user account name, or null if not found.Gets the wallet gateway ID.Gets the name of the wallet, or null if not found.voidsetCanReceiveMoney(boolean canReceiveMoney) Sets whether the wallet can receive money.voidsetExists(boolean exists) Sets whether the wallet exists.voidsetResponseTimestamp(Date responseTimestamp) Sets the response timestamp.voidsetUserAccountName(String userAccountName) Sets the user account name, or null if not found.voidsetWalletGatewayId(String walletGatewayId) Sets the wallet gateway ID.voidsetWalletName(String walletName) Sets the name of the wallet, or null if not found.
-
Constructor Details
-
WalletCheck
public WalletCheck()
-
-
Method Details
-
exists
public boolean exists()Gets whether the wallet exists.- Returns:
- true if the wallet exists, false otherwise
-
setExists
public void setExists(boolean exists) Sets whether the wallet exists.- Parameters:
exists- true if the wallet exists, false otherwise
-
getWalletGatewayId
Gets the wallet gateway ID.- Returns:
- the wallet gateway ID
-
setWalletGatewayId
Sets the wallet gateway ID.- Parameters:
walletGatewayId- the wallet gateway ID
-
getWalletName
Gets the name of the wallet, or null if not found.- Returns:
- the wallet name, or null if not found
-
setWalletName
Sets the name of the wallet, or null if not found.- Parameters:
walletName- the wallet name, or null if not found
-
getUserAccountName
Gets the user account name, or null if not found.- Returns:
- the user account name, or null if not found
-
setUserAccountName
Sets the user account name, or null if not found.- Parameters:
userAccountName- the user account name, or null if not found
-
canReceiveMoney
public boolean canReceiveMoney()Gets whether the wallet can receive money.- Returns:
- true if the wallet can receive money, false otherwise
-
setCanReceiveMoney
public void setCanReceiveMoney(boolean canReceiveMoney) Sets whether the wallet can receive money.- Parameters:
canReceiveMoney- true if the wallet can receive money, false otherwise
-
getResponseTimestamp
Gets the response timestamp.- Returns:
- the response timestamp
-
setResponseTimestamp
Sets the response timestamp.- Parameters:
responseTimestamp- the response timestamp
-