Class WalletCheck

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

public class WalletCheck extends Object
Represents the result of checking a wallet. Contains wallet existence, details, and ability to receive money.
  • 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

      public String getWalletGatewayId()
      Gets the wallet gateway ID.
      Returns:
      the wallet gateway ID
    • setWalletGatewayId

      public void setWalletGatewayId(String walletGatewayId)
      Sets the wallet gateway ID.
      Parameters:
      walletGatewayId - the wallet gateway ID
    • getWalletName

      public String getWalletName()
      Gets the name of the wallet, or null if not found.
      Returns:
      the wallet name, or null if not found
    • setWalletName

      public void setWalletName(String walletName)
      Sets the name of the wallet, or null if not found.
      Parameters:
      walletName - the wallet name, or null if not found
    • getUserAccountName

      public String getUserAccountName()
      Gets the user account name, or null if not found.
      Returns:
      the user account name, or null if not found
    • setUserAccountName

      public void setUserAccountName(String userAccountName)
      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

      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