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

net.sealake.binance.api.client.domain.account.DepositAddress Maven / Gradle / Ivy

The newest version!
package net.sealake.binance.api.client.domain.account;

import net.sealake.binance.api.client.constant.BinanceApiConstants;

import org.apache.commons.lang3.builder.ToStringBuilder;

/**
 * A deposit address for a given asset.
 */
public class DepositAddress {

  private String address;

  private boolean success;

  private String addressTag;

  private String asset;

  public String getAddress() {
    return address;
  }

  public void setAddress(String address) {
    this.address = address;
  }

  public boolean isSuccess() {
    return success;
  }

  public void setSuccess(boolean success) {
    this.success = success;
  }

  public String getAddressTag() {
    return addressTag;
  }

  public void setAddressTag(String addressTag) {
    this.addressTag = addressTag;
  }

  public String getAsset() {
    return asset;
  }

  public void setAsset(String asset) {
    this.asset = asset;
  }

  @Override
  public String toString() {
    return new ToStringBuilder(this, BinanceApiConstants.TO_STRING_BUILDER_STYLE)
        .append("address", address)
        .append("success", success)
        .append("addressTag", addressTag)
        .append("asset", asset)
        .toString();
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy