Class Wallet
java.lang.Object
in.juspay.model.JuspayEntity
in.juspay.model.Wallet
-
Nested Class Summary
Nested classes/interfaces inherited from class in.juspay.model.JuspayEntity
JuspayEntity.AuthMethod, JuspayEntity.RequestMethod -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Walletauthenticate(String walletId) static Walletauthenticate(String walletId, RequestOptions requestOptions) static Walletstatic Walletcreate(String customerId, String gateway, RequestOptions requestOptions) static Walletstatic WalletcreateAndAuthenticate(String customerId, String gateway) static WalletcreateAndAuthenticate(String customerId, String gateway, RequestOptions requestOptions) static WalletcreateAndAuthenticate(String customerId, String gateway, Map<String, Object> params, RequestOptions requestOptions) static Walletstatic Walletdelink(String walletId, RequestOptions requestOptions) getId()com.google.gson.JsonElementgetToken()static Walletstatic Walletlink(String walletId, String otp, RequestOptions requestOptions) static WalletListstatic WalletListlist(String customerId, RequestOptions requestOptions) static WalletListstatic WalletListrefresh(String customerId, RequestOptions requestOptions) static WalletrefreshByWalletId(String walletId) static WalletrefreshByWalletId(String walletId, RequestOptions requestOptions) voidsetCurrentBalance(Double currentBalance) voidsetGatewayReferenceId(String gatewayReferenceId) voidvoidsetLastRefreshed(Date lastRefreshed) voidvoidsetMetadata(com.google.gson.JsonElement metadata) voidvoidvoidMethods inherited from class in.juspay.model.JuspayEntity
addInputParamsToResponse, createEntityFromResponse, decryptResponse, encryptRequest, getEncryptionMethodBasedOnConfig, makeServiceCall, makeServiceCall, makeServiceCallWithAuthDecider
-
Constructor Details
-
Wallet
public Wallet()
-
-
Method Details
-
list
public static WalletList list(String customerId) throws APIException, APIConnectionException, AuthorizationException, AuthenticationException, InvalidRequestException -
list
public static WalletList list(String customerId, RequestOptions requestOptions) throws APIException, APIConnectionException, AuthorizationException, AuthenticationException, InvalidRequestException -
refresh
public static WalletList refresh(String customerId) throws APIException, APIConnectionException, AuthorizationException, AuthenticationException, InvalidRequestException -
refresh
public static WalletList refresh(String customerId, RequestOptions requestOptions) throws APIException, APIConnectionException, AuthorizationException, AuthenticationException, InvalidRequestException -
refreshByWalletId
public static Wallet refreshByWalletId(String walletId) throws APIException, APIConnectionException, AuthorizationException, AuthenticationException, InvalidRequestException -
refreshByWalletId
public static Wallet refreshByWalletId(String walletId, RequestOptions requestOptions) throws APIException, APIConnectionException, AuthorizationException, AuthenticationException, InvalidRequestException -
create
public static Wallet create(String customerId, String gateway) throws APIException, APIConnectionException, AuthorizationException, AuthenticationException, InvalidRequestException -
create
public static Wallet create(String customerId, String gateway, RequestOptions requestOptions) throws APIException, APIConnectionException, AuthorizationException, AuthenticationException, InvalidRequestException -
create
public static Wallet create(String customerId, String gateway, Map<String, Object> params, RequestOptions requestOptions) throws APIException, APIConnectionException, AuthorizationException, AuthenticationException, InvalidRequestException -
createAndAuthenticate
public static Wallet createAndAuthenticate(String customerId, String gateway) throws APIException, APIConnectionException, AuthorizationException, AuthenticationException, InvalidRequestException -
createAndAuthenticate
public static Wallet createAndAuthenticate(String customerId, String gateway, RequestOptions requestOptions) throws APIException, APIConnectionException, AuthorizationException, AuthenticationException, InvalidRequestException -
createAndAuthenticate
public static Wallet createAndAuthenticate(String customerId, String gateway, Map<String, Object> params, RequestOptions requestOptions) throws APIException, APIConnectionException, AuthorizationException, AuthenticationException, InvalidRequestException -
authenticate
public static Wallet authenticate(String walletId) throws APIException, APIConnectionException, AuthorizationException, AuthenticationException, InvalidRequestException -
authenticate
public static Wallet authenticate(String walletId, RequestOptions requestOptions) throws APIException, APIConnectionException, AuthorizationException, AuthenticationException, InvalidRequestException -
link
public static Wallet link(String walletId, String otp) throws APIException, APIConnectionException, AuthorizationException, AuthenticationException, InvalidRequestException -
link
public static Wallet link(String walletId, String otp, RequestOptions requestOptions) throws APIException, APIConnectionException, AuthorizationException, AuthenticationException, InvalidRequestException -
delink
public static Wallet delink(String walletId) throws APIException, APIConnectionException, AuthorizationException, AuthenticationException, InvalidRequestException -
delink
public static Wallet delink(String walletId, RequestOptions requestOptions) throws APIException, APIConnectionException, AuthorizationException, AuthenticationException, InvalidRequestException -
getId
-
setId
-
getObject
-
setObject
-
getWallet
-
setWallet
-
getToken
-
setToken
-
getCurrentBalance
-
setCurrentBalance
-
getLastRefreshed
-
setLastRefreshed
-
getLinked
-
setLinked
-
getGatewayReferenceId
-
setGatewayReferenceId
-
getMetadata
public com.google.gson.JsonElement getMetadata() -
setMetadata
public void setMetadata(com.google.gson.JsonElement metadata)
-