All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.xeiam.xchange.hitbtc.dto.trade.HitbtcExecutionReportResponse Maven / Gradle / Ivy

The newest version!
package com.xeiam.xchange.hitbtc.dto.trade;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.xeiam.xchange.hitbtc.dto.HitbtcBaseResponse;

public class HitbtcExecutionReportResponse extends HitbtcBaseResponse {

  HitbtcExecutionReport executionReport;
  HitbtcCancelReject cancelReject;

  public HitbtcExecutionReportResponse(@JsonProperty(value = "ExecutionReport", required = false) HitbtcExecutionReport executionReport,
      @JsonProperty(value = "CancelReject", required = false) HitbtcCancelReject cancelReject) {

    super();
    this.executionReport = executionReport;
    this.cancelReject = cancelReject;
  }

  public HitbtcExecutionReport getExecutionReport() {

    return executionReport;
  }

  public HitbtcCancelReject getCancelReject() {

    return cancelReject;
  }

  @Override
  public String toString() {

    StringBuilder builder = new StringBuilder();
    builder.append("HitbtcExecutionReportResponse [executionReport=");
    builder.append(executionReport);
    builder.append(", cancelReject=");
    builder.append(cancelReject);
    builder.append("]");
    return builder.toString();
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy