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

com.xeiam.xchange.bitstamp.dto.account.DepositTransaction Maven / Gradle / Ivy

There is a newer version: 3.1.0
Show newest version
package com.xeiam.xchange.bitstamp.dto.account;

import java.math.BigDecimal;

import com.fasterxml.jackson.annotation.JsonProperty;

public class DepositTransaction {

  public DepositTransaction(@JsonProperty("amount") BigDecimal amount, @JsonProperty("confirmations") Integer confirmations,
      @JsonProperty("address") String address) {
    this.amount = amount;
    this.confirmations = confirmations;
    this.address = address;
  }

  private BigDecimal amount;

  private Integer confirmations;

  private String address;

  public BigDecimal getAmount() {
    return amount;
  }

  public Integer getConfirmations() {
    return confirmations;
  }

  public String getAddress() {
    return address;
  }

  @Override
  public String toString() {
    return String.format("DepositTransaction{amount=%s, confirmations=%d, address='%s'}", amount, confirmations, address);
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy