public class BatchAmendItem extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
SERIALIZED_NAME_ACCOUNT |
static String |
SERIALIZED_NAME_AMEND_TEXT |
static String |
SERIALIZED_NAME_AMOUNT |
static String |
SERIALIZED_NAME_CURRENCY_PAIR |
static String |
SERIALIZED_NAME_ORDER_ID |
static String |
SERIALIZED_NAME_PRICE |
| Constructor and Description |
|---|
BatchAmendItem() |
| Modifier and Type | Method and Description |
|---|---|
BatchAmendItem |
account(String account) |
BatchAmendItem |
amendText(String amendText) |
BatchAmendItem |
amount(String amount) |
BatchAmendItem |
currencyPair(String currencyPair) |
boolean |
equals(Object o) |
String |
getAccount()
Default to spot, portfolio, and margin accounts if not specified.
|
String |
getAmendText()
Custom info during amending order
|
String |
getAmount()
trade amount, only one of amount and price can be specified
|
String |
getCurrencyPair()
Currency pair
|
String |
getOrderId()
The order ID returned upon successful creation or the custom ID specified by the user during creation (i.e., the 'text' field).
|
String |
getPrice()
trade price, only one of amount and price can be specified
|
int |
hashCode() |
BatchAmendItem |
orderId(String orderId) |
BatchAmendItem |
price(String price) |
void |
setAccount(String account) |
void |
setAmendText(String amendText) |
void |
setAmount(String amount) |
void |
setCurrencyPair(String currencyPair) |
void |
setOrderId(String orderId) |
void |
setPrice(String price) |
String |
toString() |
public static final String SERIALIZED_NAME_ORDER_ID
public static final String SERIALIZED_NAME_CURRENCY_PAIR
public static final String SERIALIZED_NAME_ACCOUNT
public static final String SERIALIZED_NAME_AMOUNT
public static final String SERIALIZED_NAME_PRICE
public static final String SERIALIZED_NAME_AMEND_TEXT
public BatchAmendItem orderId(String orderId)
public String getOrderId()
public void setOrderId(String orderId)
public BatchAmendItem currencyPair(String currencyPair)
public String getCurrencyPair()
public void setCurrencyPair(String currencyPair)
public BatchAmendItem account(String account)
@Nullable public String getAccount()
public void setAccount(String account)
public BatchAmendItem amount(String amount)
@Nullable public String getAmount()
public void setAmount(String amount)
public BatchAmendItem price(String price)
@Nullable public String getPrice()
public void setPrice(String price)
public BatchAmendItem amendText(String amendText)
@Nullable public String getAmendText()
public void setAmendText(String amendText)
Copyright © 2023. All rights reserved.