public class Wallet extends JuspayEntity
JuspayEntity.RequestMethod| Constructor and Description |
|---|
Wallet() |
addInputParamsToResponse, createEntityFromResponse, makeServiceCallpublic static WalletList list(String customerId) throws APIException, APIConnectionException, AuthorizationException, AuthenticationException, InvalidRequestException
public static WalletList list(String customerId, RequestOptions requestOptions) throws APIException, APIConnectionException, AuthorizationException, AuthenticationException, InvalidRequestException
public static WalletList refresh(String customerId) throws APIException, APIConnectionException, AuthorizationException, AuthenticationException, InvalidRequestException
public static WalletList refresh(String customerId, RequestOptions requestOptions) throws APIException, APIConnectionException, AuthorizationException, AuthenticationException, InvalidRequestException
public static Wallet refreshByWalletId(String walletId) throws APIException, APIConnectionException, AuthorizationException, AuthenticationException, InvalidRequestException
public static Wallet refreshByWalletId(String walletId, RequestOptions requestOptions) throws APIException, APIConnectionException, AuthorizationException, AuthenticationException, InvalidRequestException
public static Wallet create(String customerId, String gateway) throws APIException, APIConnectionException, AuthorizationException, AuthenticationException, InvalidRequestException
public static Wallet create(String customerId, String gateway, RequestOptions requestOptions) throws APIException, APIConnectionException, AuthorizationException, AuthenticationException, InvalidRequestException
public static Wallet create(String customerId, String gateway, Map<String,Object> params, RequestOptions requestOptions) throws APIException, APIConnectionException, AuthorizationException, AuthenticationException, InvalidRequestException
public static Wallet createAndAuthenticate(String customerId, String gateway) throws APIException, APIConnectionException, AuthorizationException, AuthenticationException, InvalidRequestException
public static Wallet createAndAuthenticate(String customerId, String gateway, RequestOptions requestOptions) throws APIException, APIConnectionException, AuthorizationException, AuthenticationException, InvalidRequestException
public static Wallet createAndAuthenticate(String customerId, String gateway, Map<String,Object> params, RequestOptions requestOptions) throws APIException, APIConnectionException, AuthorizationException, AuthenticationException, InvalidRequestException
public static Wallet authenticate(String walletId) throws APIException, APIConnectionException, AuthorizationException, AuthenticationException, InvalidRequestException
public static Wallet authenticate(String walletId, RequestOptions requestOptions) throws APIException, APIConnectionException, AuthorizationException, AuthenticationException, InvalidRequestException
public static Wallet link(String walletId, String otp) throws APIException, APIConnectionException, AuthorizationException, AuthenticationException, InvalidRequestException
public static Wallet link(String walletId, String otp, RequestOptions requestOptions) throws APIException, APIConnectionException, AuthorizationException, AuthenticationException, InvalidRequestException
public static Wallet delink(String walletId) throws APIException, APIConnectionException, AuthorizationException, AuthenticationException, InvalidRequestException
public static Wallet delink(String walletId, RequestOptions requestOptions) throws APIException, APIConnectionException, AuthorizationException, AuthenticationException, InvalidRequestException
public String getId()
public void setId(String id)
public String getObject()
public void setObject(String object)
public String getWallet()
public void setWallet(String wallet)
public String getToken()
public void setToken(String token)
public Double getCurrentBalance()
public void setCurrentBalance(Double currentBalance)
public Date getLastRefreshed()
public void setLastRefreshed(Date lastRefreshed)
public Boolean getLinked()
public void setLinked(Boolean linked)
public String getGatewayReferenceId()
public void setGatewayReferenceId(String gatewayReferenceId)
public com.google.gson.JsonElement getMetadata()
public void setMetadata(com.google.gson.JsonElement metadata)
Copyright © 2023 Juspay. All rights reserved.