getJSDestroyWallet static method
Implementation
static String getJSDestroyWallet(BioPayload payload) {
var wallet = {
"authenticate_type": "password",
"user_token": payload.userToken,
"wallet_id": payload.walletId,
"token": payload.token,
};
return "BootpaySDK.destroyWallet(" +
json.encode(wallet) +
")" +
".then( function (data) {" +
easySuccess() +
"}, function (data) {" +
cancel() +
easyError() +
"})";
}