getJSPasswordToken static method

String getJSPasswordToken(
  1. String token
)

Implementation

static String getJSPasswordToken(String token) {
  return "BootpaySDK.requestPasswordToken('" +
      token +
      "')" +
      ".then( function (data) {" +
      easySuccess() +
      "}, function (data) {" +
      cancel() +
      easyError() +
      "})";
}