Class CreateLimitSellOrderInput
-
- All Implemented Interfaces:
public final class CreateLimitSellOrderInputInput parameters for creating a limit sell
OrderRequest.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classCreateLimitSellOrderInput.BuilderA builder for CreateLimitSellOrderInput.
-
Method Summary
Modifier and Type Method Description final DoubleassetQuantity()Amount of dShare asset involved. final DoublelimitPrice()Price at which to execute the order. final StringstockId()ID of Stock.final Optional<String>clientOrderId()Customer-supplied ID to map this order to an order in their own systems. final Optional<String>paymentTokenAddress()Address of the payment token to be used for the sell order. final Optional<String>recipientAccountId()ID of Accountto receive theOrder.final JsonField<Double>_assetQuantity()Returns the raw JSON value of assetQuantity. final JsonField<Double>_limitPrice()Returns the raw JSON value of limitPrice. final JsonField<String>_stockId()Returns the raw JSON value of stockId. final JsonField<String>_clientOrderId()Returns the raw JSON value of clientOrderId. final JsonField<String>_paymentTokenAddress()Returns the raw JSON value of paymentTokenAddress. final JsonField<String>_recipientAccountId()Returns the raw JSON value of recipientAccountId. final Map<String, JsonValue>_additionalProperties()final CreateLimitSellOrderInput.BuildertoBuilder()final CreateLimitSellOrderInputvalidate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static CreateLimitSellOrderInput.Builderbuilder()Returns a mutable builder for constructing an instance of CreateLimitSellOrderInput. -
-
Method Detail
-
assetQuantity
final Double assetQuantity()
Amount of dShare asset involved. Required for limit
Ordersand market sellOrders.
-
limitPrice
final Double limitPrice()
Price at which to execute the order. Must be a positive number with a precision of up to 2 decimal places.
-
clientOrderId
final Optional<String> clientOrderId()
Customer-supplied ID to map this order to an order in their own systems. Must be unique within the entity.
-
paymentTokenAddress
final Optional<String> paymentTokenAddress()
Address of the payment token to be used for the sell order. If not provided, the default payment token (USD+) will be used. Should only be specified if
recipient_account_idfor a non-managed wallet account is also provided.
-
recipientAccountId
final Optional<String> recipientAccountId()
ID of
Accountto receive theOrder.
-
_assetQuantity
final JsonField<Double> _assetQuantity()
Returns the raw JSON value of assetQuantity.
Unlike assetQuantity, this method doesn't throw if the JSON field has an unexpected type.
-
_limitPrice
final JsonField<Double> _limitPrice()
Returns the raw JSON value of limitPrice.
Unlike limitPrice, this method doesn't throw if the JSON field has an unexpected type.
-
_stockId
final JsonField<String> _stockId()
Returns the raw JSON value of stockId.
Unlike stockId, this method doesn't throw if the JSON field has an unexpected type.
-
_clientOrderId
final JsonField<String> _clientOrderId()
Returns the raw JSON value of clientOrderId.
Unlike clientOrderId, this method doesn't throw if the JSON field has an unexpected type.
-
_paymentTokenAddress
final JsonField<String> _paymentTokenAddress()
Returns the raw JSON value of paymentTokenAddress.
Unlike paymentTokenAddress, this method doesn't throw if the JSON field has an unexpected type.
-
_recipientAccountId
final JsonField<String> _recipientAccountId()
Returns the raw JSON value of recipientAccountId.
Unlike recipientAccountId, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final CreateLimitSellOrderInput.Builder toBuilder()
-
validate
final CreateLimitSellOrderInput validate()
-
builder
final static CreateLimitSellOrderInput.Builder builder()
Returns a mutable builder for constructing an instance of CreateLimitSellOrderInput.
The following fields are required:
.assetQuantity() .limitPrice() .stockId()
-
-
-
-