org.knowm.xchange.cexio.dto.account.CexIOCryptoAddress Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of xchange-cexio Show documentation
Show all versions of xchange-cexio Show documentation
XChange implementation for the Cex.io Exchange
package org.knowm.xchange.cexio.dto.account;
import com.fasterxml.jackson.annotation.JsonProperty;
/**
* Response to get_address call. (From Cex.io documentation) Returns JSON dictionary representing
* order:
*
*
* - e - get_address
*
- ok - ok or error
*
- data - Crypto address
*
*
* @author bryant_harris
*/
public class CexIOCryptoAddress {
String e;
String ok;
String data;
String error;
public CexIOCryptoAddress(
@JsonProperty("e") String e,
@JsonProperty("ok") String ok,
@JsonProperty("currency") String data,
@JsonProperty("error") String error) {
this.e = e;
this.ok = ok;
this.data = data;
this.error = error;
}
public String getE() {
return e;
}
public String getOk() {
return ok;
}
public String getData() {
return data;
}
public String getError() {
return error;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy