getJSChangePassword static method

String getJSChangePassword(
  1. BioPayload payload
)

Implementation

static String getJSChangePassword(BioPayload payload) {
  var token = payload.userToken ?? "";
  return "BootpaySDK.requestChangePassword('" +
      token +
      "')" +
      ".then( function (data) {" +
      easySuccess() +
      "}, function (data) {" +
      cancel() +
      easyError() +
      "})";
}