org.knowm.xchange.poloniex.dto.account.WithdrawalResponse 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;
public class WithdrawalResponse {
private String response;
public WithdrawalResponse(
@JsonProperty("response") String response, @JsonProperty("error") String error) {
if (error != null) {
throw new ExceptionalReturnContentException("Error returned: " + error);
}
this.response = response;
}
public String getResponse() {
return response;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy