Class OrderRequestGetFeeQuoteParams.Body.Builder
-
- All Implemented Interfaces:
public final class OrderRequestGetFeeQuoteParams.Body.BuilderA builder for Body.
-
-
Method Summary
-
-
Method Detail
-
orderSide
final OrderRequestGetFeeQuoteParams.Body.Builder orderSide(OrderSide orderSide)
Indicates whether
Order Requestis a buy or sell.
-
orderSide
final OrderRequestGetFeeQuoteParams.Body.Builder orderSide(JsonField<OrderSide> orderSide)
Sets Builder.orderSide to an arbitrary JSON value.
You should usually call Builder.orderSide with a well-typed OrderSide value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
orderType
final OrderRequestGetFeeQuoteParams.Body.Builder orderType(OrderType orderType)
Type of
Order Request.
-
orderType
final OrderRequestGetFeeQuoteParams.Body.Builder orderType(JsonField<OrderType> orderType)
Sets Builder.orderType to an arbitrary JSON value.
You should usually call Builder.orderType with a well-typed OrderType value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
stockId
final OrderRequestGetFeeQuoteParams.Body.Builder stockId(String stockId)
The Stock ID associated with the Order Request
-
stockId
final OrderRequestGetFeeQuoteParams.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.
-
assetTokenQuantity
final OrderRequestGetFeeQuoteParams.Body.Builder assetTokenQuantity(Double assetTokenQuantity)
Amount of dShare asset tokens involved. Required for limit
Ordersand market sellOrder Requests.
-
assetTokenQuantity
final OrderRequestGetFeeQuoteParams.Body.Builder assetTokenQuantity(Double assetTokenQuantity)
Alias for Builder.assetTokenQuantity.
This unboxed primitive overload exists for backwards compatibility.
-
assetTokenQuantity
final OrderRequestGetFeeQuoteParams.Body.Builder assetTokenQuantity(Optional<Double> assetTokenQuantity)
Alias for calling Builder.assetTokenQuantity with
assetTokenQuantity.orElse(null).
-
assetTokenQuantity
final OrderRequestGetFeeQuoteParams.Body.Builder assetTokenQuantity(JsonField<Double> assetTokenQuantity)
Sets Builder.assetTokenQuantity to an arbitrary JSON value.
You should usually call Builder.assetTokenQuantity with a well-typed Double value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
chainId
final OrderRequestGetFeeQuoteParams.Body.Builder chainId(Chain chainId)
CAIP-2 chain ID of the blockchain where the
Order Requestwill be placed. If not provided, the default chain ID (eip155:42161) will be used.
-
chainId
final OrderRequestGetFeeQuoteParams.Body.Builder chainId(Optional<Chain> chainId)
Alias for calling Builder.chainId with
chainId.orElse(null).
-
chainId
final OrderRequestGetFeeQuoteParams.Body.Builder chainId(JsonField<Chain> chainId)
Sets Builder.chainId to an arbitrary JSON value.
You should usually call Builder.chainId with a well-typed Chain value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
limitPrice
final OrderRequestGetFeeQuoteParams.Body.Builder limitPrice(Double limitPrice)
Price per asset in the asset's native currency. USD for US equities and ETFs. Required for limit
Order Requests.
-
limitPrice
final OrderRequestGetFeeQuoteParams.Body.Builder limitPrice(Double limitPrice)
Alias for Builder.limitPrice.
This unboxed primitive overload exists for backwards compatibility.
-
limitPrice
final OrderRequestGetFeeQuoteParams.Body.Builder limitPrice(Optional<Double> limitPrice)
Alias for calling Builder.limitPrice with
limitPrice.orElse(null).
-
limitPrice
final OrderRequestGetFeeQuoteParams.Body.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.
-
paymentTokenAddress
final OrderRequestGetFeeQuoteParams.Body.Builder paymentTokenAddress(String paymentTokenAddress)
Address of the payment token to be used for an order. If not provided, the default payment token (USD+) will be used.
-
paymentTokenAddress
final OrderRequestGetFeeQuoteParams.Body.Builder paymentTokenAddress(Optional<String> paymentTokenAddress)
Alias for calling Builder.paymentTokenAddress with
paymentTokenAddress.orElse(null).
-
paymentTokenAddress
final OrderRequestGetFeeQuoteParams.Body.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.
-
paymentTokenQuantity
final OrderRequestGetFeeQuoteParams.Body.Builder paymentTokenQuantity(Double paymentTokenQuantity)
Amount of payment tokens involved. Required for market buy
Order Requests.
-
paymentTokenQuantity
final OrderRequestGetFeeQuoteParams.Body.Builder paymentTokenQuantity(Double paymentTokenQuantity)
Alias for Builder.paymentTokenQuantity.
This unboxed primitive overload exists for backwards compatibility.
-
paymentTokenQuantity
final OrderRequestGetFeeQuoteParams.Body.Builder paymentTokenQuantity(Optional<Double> paymentTokenQuantity)
Alias for calling Builder.paymentTokenQuantity with
paymentTokenQuantity.orElse(null).
-
paymentTokenQuantity
final OrderRequestGetFeeQuoteParams.Body.Builder paymentTokenQuantity(JsonField<Double> paymentTokenQuantity)
Sets Builder.paymentTokenQuantity to an arbitrary JSON value.
You should usually call Builder.paymentTokenQuantity with a well-typed Double value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final OrderRequestGetFeeQuoteParams.Body.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final OrderRequestGetFeeQuoteParams.Body.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final OrderRequestGetFeeQuoteParams.Body.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final OrderRequestGetFeeQuoteParams.Body.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final OrderRequestGetFeeQuoteParams.Body.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final OrderRequestGetFeeQuoteParams.Body build()
Returns an immutable instance of Body.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.orderSide() .orderType() .stockId()
-
-
-
-