Skip to content

Instantly share code, notes, and snippets.

@martinusadyh
Created October 3, 2014 18:18
Show Gist options
  • Select an option

  • Save martinusadyh/59705b33e55bb02918d9 to your computer and use it in GitHub Desktop.

Select an option

Save martinusadyh/59705b33e55bb02918d9 to your computer and use it in GitHub Desktop.
Contoh Penggunaan class ISOMsg
// bikin network request
ISOMsg networkReq = new ISOMsg();
networkReq.setMTI("1800");
networkReq.set(3, "123456");
networkReq.set(7, new SimpleDateFormat("yyyyMMdd").format(new Date()));
networkReq.set(11, "000001");
networkReq.set(12, new SimpleDateFormat("HHmmss").format(new Date()));
networkReq.set(13, new SimpleDateFormat("MMdd").format(new Date()));
networkReq.set(48, "Tutorial ISO 8583 Dengan Java");
networkReq.set(70, "001");
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment