/** * Constructor to create a EftTransactionUpdateFromAccountNoOpRequest * * @param id Unique request name * @param noOpIn Simulated response object */ public EftTransactionUpdateFromAccountNoOpRequest(String id, EftTransactionObjectData noOpIn) { super(id, "EftTransactionUpdateFromAccountNoOpRequest"); if (noOpIn != null) { addInput( "EftTransaction", EftTransactionObjectHelper.toMap(noOpIn, new HashMap(), "EftTransaction") .get("EftTransaction")); } }
/** * Constructor to create a EftTransactionFindNoOpRequest * * @param id Unique request name * @param noOpIn Simulated response object */ public EftTransactionFindNoOpRequest(String id, EftTransactionObjectDataList noOpIn) { super(id, "EftTransactionFindNoOpRequest"); if (noOpIn != null) { Map mapList = new HashMap(); Map[] mapArray = null; mapList.put("Count", noOpIn.getLength()); mapList.put("TotalCount", noOpIn.getTotalCount()); mapList.put("Index", noOpIn.getIndex()); mapArray = new HashMap[noOpIn.getLength()]; for (int i = 0; i < noOpIn.getLength(); i++) { mapArray[i] = EftTransactionObjectHelper.toMap(noOpIn.getArray()[i], null); addInput("EftTransaction", noOpIn); } addInput("EftTransaction", mapList); } }
/** * Retrieves the EftTransactionObjectDataList passed into the constructor * * @return Simulated response */ public EftTransactionObjectDataList getOutput() { return EftTransactionObjectHelper.fromMapList(outputMap, "EftTransactionList"); }
/** * Retrieves the EftTransactionObjectData passed into the constructor * * @return Simulated response */ public EftTransactionObjectData getOutput() { return EftTransactionObjectHelper.fromMap(outputMap, "EftTransaction"); }