Class CreateLimitOrderInput.Builder
-
- All Implemented Interfaces:
public final class CreateLimitOrderInput.BuilderA builder for CreateLimitOrderInput.
-
-
Method Summary
-
-
Method Detail
-
assetQuantity
final CreateLimitOrderInput.Builder assetQuantity(Double assetQuantity)
Amount of dShare asset involved. Required for limit
Ordersand market sellOrders.
-
assetQuantity
final CreateLimitOrderInput.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 CreateLimitOrderInput.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 CreateLimitOrderInput.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 CreateLimitOrderInput.Builder stockId(String stockId)
ID of
Stock.
-
stockId
final CreateLimitOrderInput.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.
-
recipientAccountId
final CreateLimitOrderInput.Builder recipientAccountId(String recipientAccountId)
ID of
Accountto receive theOrder.
-
recipientAccountId
final CreateLimitOrderInput.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 CreateLimitOrderInput.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final CreateLimitOrderInput.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final CreateLimitOrderInput.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final CreateLimitOrderInput.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final CreateLimitOrderInput.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final CreateLimitOrderInput build()
Returns an immutable instance of CreateLimitOrderInput.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.assetQuantity() .limitPrice() .stockId()
-
-
-
-