Class CreateLimitBuyOrderInput
-
- All Implemented Interfaces:
public final class CreateLimitBuyOrderInputInput parameters for creating a limit buy
OrderRequest.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classCreateLimitBuyOrderInput.BuilderA builder for CreateLimitBuyOrderInput.
-
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>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>_recipientAccountId()Returns the raw JSON value of recipientAccountId. final Map<String, JsonValue>_additionalProperties()final CreateLimitBuyOrderInput.BuildertoBuilder()final CreateLimitBuyOrderInputvalidate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static CreateLimitBuyOrderInput.Builderbuilder()Returns a mutable builder for constructing an instance of CreateLimitBuyOrderInput. -
-
Method Detail
-
assetQuantity
final Double assetQuantity()
Amount of dShare asset involved. Required for limit
Order Requestsand market sellOrder Requests. Must be a positive number with a precision of up to 4 decimal places.
-
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.
-
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.
-
_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 CreateLimitBuyOrderInput.Builder toBuilder()
-
validate
final CreateLimitBuyOrderInput validate()
-
builder
final static CreateLimitBuyOrderInput.Builder builder()
Returns a mutable builder for constructing an instance of CreateLimitBuyOrderInput.
The following fields are required:
.assetQuantity() .limitPrice() .stockId()
-
-
-
-