Class CreateMarketSellOrderInput.Builder
-
- All Implemented Interfaces:
public final class CreateMarketSellOrderInput.BuilderA builder for CreateMarketSellOrderInput.
-
-
Method Summary
-
-
Method Detail
-
assetQuantity
final CreateMarketSellOrderInput.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 CreateMarketSellOrderInput.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 CreateMarketSellOrderInput.Builder stockId(String stockId)
ID of
Stock.
-
stockId
final CreateMarketSellOrderInput.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.
-
paymentTokenAddress
final CreateMarketSellOrderInput.Builder paymentTokenAddress(String paymentTokenAddress)
Address of the payment token to be used for the sell order. If not provided, the default payment token (USD+) will be used. Should only be specified if
recipient_account_idfor a non-managed wallet account is also provided.
-
paymentTokenAddress
final CreateMarketSellOrderInput.Builder paymentTokenAddress(JsonField<String> paymentTokenAddress)
Sets Builder.paymentTokenAddress to an arbitrary JSON value.
You should usually call Builder.paymentTokenAddress 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 CreateMarketSellOrderInput.Builder recipientAccountId(String recipientAccountId)
ID of
Accountto receive theOrder.
-
recipientAccountId
final CreateMarketSellOrderInput.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 CreateMarketSellOrderInput.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final CreateMarketSellOrderInput.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final CreateMarketSellOrderInput.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final CreateMarketSellOrderInput.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final CreateMarketSellOrderInput.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final CreateMarketSellOrderInput build()
Returns an immutable instance of CreateMarketSellOrderInput.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.assetQuantity() .stockId()
-
-
-
-