Class CreateLimitOrderInput
-
- All Implemented Interfaces:
public final class CreateLimitOrderInputInput parameters for creating a limit
OrderRequest.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classCreateLimitOrderInput.BuilderA builder for CreateLimitOrderInput.
-
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>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>_recipientAccountId()Returns the raw JSON value of recipientAccountId. final Map<String, JsonValue>_additionalProperties()final CreateLimitOrderInput.BuildertoBuilder()final CreateLimitOrderInputvalidate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static CreateLimitOrderInput.Builderbuilder()Returns a mutable builder for constructing an instance of CreateLimitOrderInput. -
-
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.
-
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.
-
_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 CreateLimitOrderInput.Builder toBuilder()
-
validate
final CreateLimitOrderInput validate()
-
builder
final static CreateLimitOrderInput.Builder builder()
Returns a mutable builder for constructing an instance of CreateLimitOrderInput.
The following fields are required:
.assetQuantity() .limitPrice() .stockId()
-
-
-
-