Class CreateLimitBuyOrderInput.Builder
-
- All Implemented Interfaces:
public final class CreateLimitBuyOrderInput.BuilderA builder for CreateLimitBuyOrderInput.
-
-
Method Summary
-
-
Method Detail
-
assetQuantity
final CreateLimitBuyOrderInput.Builder assetQuantity(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.
-
assetQuantity
final CreateLimitBuyOrderInput.Builder assetQuantity(JsonField<Double> assetQuantity)
Sets Builder.assetQuantity to an arbitrary JSON value.
You should usually call Builder.assetQuantity with a well-typed Double value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
limitPrice
final CreateLimitBuyOrderInput.Builder limitPrice(Double limitPrice)
Price at which to execute the order. Must be a positive number with a precision of up to 2 decimal places.
-
limitPrice
final CreateLimitBuyOrderInput.Builder limitPrice(JsonField<Double> limitPrice)
Sets Builder.limitPrice to an arbitrary JSON value.
You should usually call Builder.limitPrice with a well-typed Double value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
stockId
final CreateLimitBuyOrderInput.Builder stockId(String stockId)
ID of
Stock.
-
stockId
final CreateLimitBuyOrderInput.Builder stockId(JsonField<String> stockId)
Sets Builder.stockId to an arbitrary JSON value.
You should usually call Builder.stockId with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
clientOrderId
final CreateLimitBuyOrderInput.Builder clientOrderId(String clientOrderId)
Customer-supplied ID to map this order to an order in their own systems. Must be unique within the entity.
-
clientOrderId
final CreateLimitBuyOrderInput.Builder clientOrderId(Optional<String> clientOrderId)
Alias for calling Builder.clientOrderId with
clientOrderId.orElse(null).
-
clientOrderId
final CreateLimitBuyOrderInput.Builder clientOrderId(JsonField<String> clientOrderId)
Sets Builder.clientOrderId to an arbitrary JSON value.
You should usually call Builder.clientOrderId with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
recipientAccountId
final CreateLimitBuyOrderInput.Builder recipientAccountId(String recipientAccountId)
ID of
Accountto receive theOrder.
-
recipientAccountId
final CreateLimitBuyOrderInput.Builder recipientAccountId(Optional<String> recipientAccountId)
Alias for calling Builder.recipientAccountId with
recipientAccountId.orElse(null).
-
recipientAccountId
final CreateLimitBuyOrderInput.Builder recipientAccountId(JsonField<String> recipientAccountId)
Sets Builder.recipientAccountId to an arbitrary JSON value.
You should usually call Builder.recipientAccountId with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final CreateLimitBuyOrderInput.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final CreateLimitBuyOrderInput.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final CreateLimitBuyOrderInput.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final CreateLimitBuyOrderInput.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final CreateLimitBuyOrderInput.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final CreateLimitBuyOrderInput build()
Returns an immutable instance of CreateLimitBuyOrderInput.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.assetQuantity() .limitPrice() .stockId()
-
-
-
-