getValue

Returns the object value associated with the given field number.

public Object getValue(LrISOField fldno) throws LrISOException

public Object getValue(int fldno) throws LrISOException

Parameters

  • fldno: The ISOField number.

Return values

This function returns an Object that represents the field value.

Example

Copy code
LrISOMsg m = new LrISOMsg();
m.set(ISO87Fields.PAN_PRIMARY_ACCOUNT_NUMBER, "1234567891234567890");
Object PANValue = m.getValue(ISO87Fields.PAN_PRIMARY_ACCOUNT_NUMBER);