code: public SearchRejectedMessagesResponse searchRejectedMessages(Date date, String to) throws IOException, NexmoClientException {
          return this.searchRejectedMessages(new SearchRejectedMessagesRequest(date, to));
      }
docs: Search for rejected SMS transactions by date and recipient MSISDN.
  
  @param date the date of the rejected SMS message to be looked up
  @param to   the MSISDN number of the SMS recipient
  
  @return rejection data matching the provided criteria