public class Wallet extends JuspayEntity
JuspayEntity.RequestMethod| Constructor and Description |
|---|
Wallet() |
| Modifier and Type | Method and Description |
|---|---|
static Wallet |
authenticate(String walletId) |
static Wallet |
authenticate(String walletId,
RequestOptions requestOptions) |
static Wallet |
create(String customerId,
String gateway) |
static Wallet |
create(String customerId,
String gateway,
Map<String,Object> params,
RequestOptions requestOptions) |
static Wallet |
create(String customerId,
String gateway,
RequestOptions requestOptions) |
static Wallet |
createAndAuthenticate(String customerId,
String gateway) |
static Wallet |
createAndAuthenticate(String customerId,
String gateway,
Map<String,Object> params,
RequestOptions requestOptions) |
static Wallet |
createAndAuthenticate(String customerId,
String gateway,
RequestOptions requestOptions) |
static Wallet |
delink(String walletId) |
static Wallet |
delink(String walletId,
RequestOptions requestOptions) |
Double |
getCurrentBalance() |
String |
getGatewayReferenceId() |
String |
getId() |
Date |
getLastRefreshed() |
Boolean |
getLinked() |
com.google.gson.JsonObject |
getMetadata() |
String |
getObject() |
String |
getToken() |
String |
getWallet() |
static Wallet |
link(String walletId,
String otp) |
static Wallet |
link(String walletId,
String otp,
RequestOptions requestOptions) |
static WalletList |
list(String customerId) |
static WalletList |
list(String customerId,
RequestOptions requestOptions) |
static WalletList |
refresh(String customerId) |
static WalletList |
refresh(String customerId,
RequestOptions requestOptions) |
static Wallet |
refreshByWalletId(String walletId) |
static Wallet |
refreshByWalletId(String walletId,
RequestOptions requestOptions) |
void |
setCurrentBalance(Double currentBalance) |
void |
setGatewayReferenceId(String gatewayReferenceId) |
void |
setId(String id) |
void |
setLastRefreshed(Date lastRefreshed) |
void |
setLinked(Boolean linked) |
void |
setMetadata(com.google.gson.JsonObject metadata) |
void |
setObject(String object) |
void |
setToken(String token) |
void |
setWallet(String 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.JsonObject getMetadata()
public void setMetadata(com.google.gson.JsonObject metadata)
Copyright © 2019 Juspay. All rights reserved.