src/main/java/com/github/ka4ok85/wca/command/GetReportIdByDateCommand.java
@Override
	public void buildXmlRequest(GetReportIdByDateOptions options) {
		Objects.requireNonNull(options, "GetReportIdByDateOptions must not be null");

		Element methodElement = doc.createElement(apiMethodName);
		currentNode = addChildNode(methodElement, null);

		Element mailingId = doc.createElement("MAILING_ID");
		mailingId.setTextContent(options.getMailingId().toString());
		addChildNode(mailingId, currentNode);

		final DateTimeFormatter formatter = DateTimeFormatter.ofPattern("MM/dd/yyyy HH:mm:ss");

		Element dateStart = doc.createElement("DATE_START");
		dateStart.setTextContent(options.getDateStart().format(formatter));
		addChildNode(dateStart, currentNode);

		Element dateEnd = doc.createElement("DATE_END");
		dateEnd.setTextContent(options.getDateEnd().format(formatter));
		addChildNode(dateEnd, currentNode);
	}
/**
	 * Builds XML request for GetReportIdByDate API using
	 * {@link com.github.ka4ok85.wca.options.GetReportIdByDateOptions}
	 * 
	 * @param options
	 *            - settings for API call
	 */
Builds XML request for GetReportIdByDate API using
com.github.ka4ok85.wca.options.GetReportIdByDateOptions

@param options
- settings for API call
Builds XML request for GetReportIdByDate API using com . github . ka4ok85 . wca . options . GetReportIdByDateOptions @param options - settings for API call
@Override
	public void buildXmlRequest(GetReportIdByDateOptions options) {
		Objects.requireNonNull(options, "GetReportIdByDateOptions must not be null");
		Element methodElement = doc.createElement(apiMethodName);
		currentNode = addChildNode(methodElement, null);
		Element mailingId = doc.createElement("MAILING_ID");
		mailingId.setTextContent(options.getMailingId().toString());
		addChildNode(mailingId, currentNode);
		final DateTimeFormatter formatter = DateTimeFormatter.ofPattern("MM/dd/yyyy HH:mm:ss");
		Element dateStart = doc.createElement("DATE_START");
		dateStart.setTextContent(options.getDateStart().format(formatter));
		addChildNode(dateStart, currentNode);
		Element dateEnd = doc.createElement("DATE_END");
		dateEnd.setTextContent(options.getDateEnd().format(formatter));
		addChildNode(dateEnd, currentNode);
	}
@ Override public void buildXmlRequest ( GetReportIdByDateOptions options ) { Objects . requireNonNull ( options , "GetReportIdByDateOptions must not be null" ) ; Element methodElement = doc . createElement ( apiMethodName ) ; currentNode = addChildNode ( methodElement , null ) ; Element mailingId = doc . createElement ( "MAILING_ID" ) ; mailingId . setTextContent ( options . getMailingId ( ) . toString ( ) ) ; addChildNode ( mailingId , currentNode ) ; final DateTimeFormatter formatter = DateTimeFormatter . ofPattern ( "MM/dd/yyyy HH:mm:ss" ) ; Element dateStart = doc . createElement ( "DATE_START" ) ; dateStart . setTextContent ( options . getDateStart ( ) . format ( formatter ) ) ; addChildNode ( dateStart , currentNode ) ; Element dateEnd = doc . createElement ( "DATE_END" ) ; dateEnd . setTextContent ( options . getDateEnd ( ) . format ( formatter ) ) ; addChildNode ( dateEnd , currentNode ) ; }
Builds XML request for GetReportIdByDate API using
 {@link com.github.ka4ok85.wca.options.GetReportIdByDateOptions}
Builds XML request for GetReportIdByDate API using { @link com . github . ka4ok85 . wca . options . GetReportIdByDateOptions }