public void renderValidationMessages(PaymentItem paymentItem){
  fieldIdsOfErrorMessagesShowing.clear();
  for (  ValidationErrorMessage validationResult : validationMessages) {
    renderValidationMessageOnScreen(validationResult,paymentItem);
  }
}

public void renderValidationMessages ( PaymentItem paymentItem ) { fieldIdsOfErrorMessagesShowing . clear ( ) ; for ( ValidationErrorMessage validationResult : validationMessages ) { renderValidationMessageOnScreen ( validationResult , paymentItem ) ; } }
renders validationmessage for every invalid field in the invalidfields list
