org.knowm.xchange.poloniex.dto.account.TransferResponse Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of xchange-poloniex Show documentation
Show all versions of xchange-poloniex Show documentation
XChange implementation for the Poloniex Exchange
package org.knowm.xchange.poloniex.dto.account;
import com.fasterxml.jackson.annotation.JsonProperty;
import si.mazi.rescu.ExceptionalReturnContentException;
/** Created by John on 03/12/2017. */
public class TransferResponse {
private int success;
private String message;
public TransferResponse(
@JsonProperty("success") int success, @JsonProperty("message") String message) {
if (success != 1) {
throw new ExceptionalReturnContentException("Error returned: " + success);
}
this.message = message;
}
public String getMessage() {
return message;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy