All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.bitbucket.openisoj.Test Maven / Gradle / Ivy

Go to download

An extensible framework for creating ISO 8583 messages. Ported from OpenIso.Net http://code.google.com/p/openiso8583net/

There is a newer version: 1.1.4
Show newest version
package org.bitbucket.openisoj;

import org.bitbucket.openisoj.exceptions.UnknownFieldException;

public class Test {
	public static void main(String[] args) throws UnknownFieldException {
		Iso8583 msg = new Iso8583();
		msg.setMsgType(Iso8583.MsgType._0200_TRAN_REQ);
		msg.setFieldValue(Iso8583.Bit._002_PAN, "8564735641235874");
		msg.setTransactionAmount(6756);
		msg.setFieldValue(Iso8583.Bit._011_SYS_TRACE_AUDIT_NUM, "123456");

		System.out.println(msg);

	}
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy