public PoloniexTradeResponse(
@JsonProperty("orderNumber") Integer orderNumber,
@JsonProperty("resultingTrades") List<PoloniexPublicTrade> resultingTrades) {
if (orderNumber == null) {
throw new ExceptionalReturnContentException("No trade data in response");
}
this.orderNumber = orderNumber;
if (resultingTrades != null) {
this.resultingTrades.addAll(resultingTrades);
}