public class MyFuturesTrade extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
MyFuturesTrade.RoleEnum
Trade role.
|
| Modifier and Type | Field and Description |
|---|---|
static String |
SERIALIZED_NAME_CONTRACT |
static String |
SERIALIZED_NAME_CREATE_TIME |
static String |
SERIALIZED_NAME_ID |
static String |
SERIALIZED_NAME_ORDER_ID |
static String |
SERIALIZED_NAME_PRICE |
static String |
SERIALIZED_NAME_ROLE |
static String |
SERIALIZED_NAME_SIZE |
| Constructor and Description |
|---|
MyFuturesTrade() |
| Modifier and Type | Method and Description |
|---|---|
MyFuturesTrade |
contract(String contract) |
MyFuturesTrade |
createTime(Double createTime) |
boolean |
equals(Object o) |
String |
getContract()
Futures contract
|
Double |
getCreateTime()
Trading time
|
Long |
getId()
Trade ID
|
String |
getOrderId()
Order ID related
|
String |
getPrice()
Trading price
|
MyFuturesTrade.RoleEnum |
getRole()
Trade role.
|
Long |
getSize()
Trading size
|
int |
hashCode() |
MyFuturesTrade |
id(Long id) |
MyFuturesTrade |
orderId(String orderId) |
MyFuturesTrade |
price(String price) |
MyFuturesTrade |
role(MyFuturesTrade.RoleEnum role) |
void |
setContract(String contract) |
void |
setCreateTime(Double createTime) |
void |
setId(Long id) |
void |
setOrderId(String orderId) |
void |
setPrice(String price) |
void |
setRole(MyFuturesTrade.RoleEnum role) |
void |
setSize(Long size) |
MyFuturesTrade |
size(Long size) |
String |
toString() |
public static final String SERIALIZED_NAME_ID
public static final String SERIALIZED_NAME_CREATE_TIME
public static final String SERIALIZED_NAME_CONTRACT
public static final String SERIALIZED_NAME_ORDER_ID
public static final String SERIALIZED_NAME_SIZE
public static final String SERIALIZED_NAME_PRICE
public static final String SERIALIZED_NAME_ROLE
public MyFuturesTrade id(Long id)
public void setId(Long id)
public MyFuturesTrade createTime(Double createTime)
public void setCreateTime(Double createTime)
public MyFuturesTrade contract(String contract)
public void setContract(String contract)
public MyFuturesTrade orderId(String orderId)
public void setOrderId(String orderId)
public MyFuturesTrade size(Long size)
public void setSize(Long size)
public MyFuturesTrade price(String price)
public void setPrice(String price)
public MyFuturesTrade role(MyFuturesTrade.RoleEnum role)
@Nullable public MyFuturesTrade.RoleEnum getRole()
public void setRole(MyFuturesTrade.RoleEnum role)
Copyright © 2021. All rights reserved.