com.xeiam.xchange.mexbt.dto.account.MeXBTWithdrawRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of xchange-mexbt Show documentation
Show all versions of xchange-mexbt Show documentation
XChange implementation for the Mexican Bitcoin Exchange.
The newest version!
package com.xeiam.xchange.mexbt.dto.account;
import java.math.BigDecimal;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.xeiam.xchange.mexbt.dto.BigDecimalAsStringSerializer;
import com.xeiam.xchange.mexbt.dto.MeXBTInsRequest;
import com.xeiam.xchange.mexbt.service.MeXBTDigest;
import si.mazi.rescu.SynchronizedValueFactory;
public class MeXBTWithdrawRequest extends MeXBTInsRequest {
private final BigDecimal amount;
private final String sendToAddress;
public MeXBTWithdrawRequest(String apiKey, SynchronizedValueFactory nonceFactory, MeXBTDigest meXBTDigest, String ins, BigDecimal amount,
String sendToAddress) {
super(apiKey, nonceFactory, meXBTDigest, ins);
this.amount = amount;
this.sendToAddress = sendToAddress;
}
@JsonSerialize(using = BigDecimalAsStringSerializer.class)
public BigDecimal getAmount() {
return amount;
}
public String getSendToAddress() {
return sendToAddress;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy