The function for a Missed Transactions validation.
/* 1) Get list of records */
CldcPaymentModule payModule =
((CldcPaymentModule) PaymentModule.getInstance());
int paymentID = payModule.getPaymentID(suiteId);
String[] recs =
payModule.getMissedRecordsHeaders(suiteId);
/* 2) Prepare message from record feature tile and price */
if (recs == null) {
return null;
}
StringBuffer mess = new StringBuffer(
Resource.getString(ResourceConstants
.AMS_PERMISSION_PAYMENT_DELETION_QUESTION));
for (int i = 0; i < recs.length; i++) {
mess.append(i + 1);
mess.append(") ");
mess.append(recs[i]);
mess.append("\n");
}
return mess.toString();