estonlabs.cxtl.exchanges.mexc.spot.v3.domain.NewOrderResponse Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of cxtl Show documentation
Show all versions of cxtl Show documentation
CXTL – Crypto eXchange Trading Library
package estonlabs.cxtl.exchanges.mexc.spot.v3.domain;
import com.fasterxml.jackson.annotation.JsonInclude;
import estonlabs.cxtl.exchanges.a.specification.domain.Ack;
import estonlabs.cxtl.exchanges.a.specification.domain.AckStatus;
import estonlabs.cxtl.exchanges.mexc.spot.v3.domain.enums.OrderSide;
import estonlabs.cxtl.exchanges.mexc.spot.v3.domain.enums.OrderType;
import lombok.Data;
@Data
@JsonInclude(JsonInclude.Include.NON_NULL)
public class NewOrderResponse implements Ack {
private String symbol;
private String orderId;
private int orderListId;
private String clientOrderId;
private String price;
private String origQty;
private OrderType type;
private OrderSide side;
private long transactTime;
@Override
public AckStatus getAckStatus() {
return AckStatus.NOT_FAILED;
}
}