Class OrderRequestCreateMarketSellParams.Body.Builder
-
- All Implemented Interfaces:
public final class OrderRequestCreateMarketSellParams.Body.BuilderA builder for Body.
-
-
Method Summary
-
-
Method Detail
-
assetQuantity
final OrderRequestCreateMarketSellParams.Body.Builder assetQuantity(Double assetQuantity)
Quantity of shares to trade. Must be a positive number with a precision of up to 9 decimal places.
-
assetQuantity
final OrderRequestCreateMarketSellParams.Body.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.
-
stockId
final OrderRequestCreateMarketSellParams.Body.Builder stockId(String stockId)
ID of
Stock.
-
stockId
final OrderRequestCreateMarketSellParams.Body.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.
-
additionalProperties
final OrderRequestCreateMarketSellParams.Body.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final OrderRequestCreateMarketSellParams.Body.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final OrderRequestCreateMarketSellParams.Body.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final OrderRequestCreateMarketSellParams.Body.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final OrderRequestCreateMarketSellParams.Body.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final OrderRequestCreateMarketSellParams.Body build()
Returns an immutable instance of Body.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.assetQuantity() .stockId()
-
-
-
-