set

Creates an ISOField associated with the given field number within this LrISOMsg.

public void set(LrISOField fldno, String value) throws LrISOException

public void set(LrISOField fldno, byte[] value) throws LrISOException

Parameters

ParameterDescription
fldnoThe field number.
valueThe field value in string or primitive byte array.

Return values

This function does not return any values.

Example

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