Class Eip155PrepareProxiedOrderParams.Body.Builder
-
- All Implemented Interfaces:
public final class Eip155PrepareProxiedOrderParams.Body.BuilderA builder for Body.
-
-
Method Summary
-
-
Method Detail
-
chainId
final Eip155PrepareProxiedOrderParams.Body.Builder chainId(Chain chainId)
CAIP-2 chain ID of the blockchain where the
Orderwill be placed.
-
chainId
final Eip155PrepareProxiedOrderParams.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.
-
orderSide
final Eip155PrepareProxiedOrderParams.Body.Builder orderSide(OrderSide orderSide)
Indicates whether
Orderis a buy or sell.
-
orderSide
final Eip155PrepareProxiedOrderParams.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.
-
orderTif
final Eip155PrepareProxiedOrderParams.Body.Builder orderTif(OrderTif orderTif)
Time in force. Indicates how long
Orderis valid for.
-
orderTif
final Eip155PrepareProxiedOrderParams.Body.Builder orderTif(JsonField<OrderTif> orderTif)
Sets Builder.orderTif to an arbitrary JSON value.
You should usually call Builder.orderTif with a well-typed OrderTif value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
orderType
final Eip155PrepareProxiedOrderParams.Body.Builder orderType(OrderType orderType)
Type of
Order.
-
orderType
final Eip155PrepareProxiedOrderParams.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.
-
paymentToken
final Eip155PrepareProxiedOrderParams.Body.Builder paymentToken(String paymentToken)
Address of payment token.
-
paymentToken
final Eip155PrepareProxiedOrderParams.Body.Builder paymentToken(JsonField<String> paymentToken)
Sets Builder.paymentToken to an arbitrary JSON value.
You should usually call Builder.paymentToken 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 Eip155PrepareProxiedOrderParams.Body.Builder assetTokenQuantity(Double assetTokenQuantity)
Amount of dShare asset tokens involved. Required for limit
Ordersand market sellOrders.
-
assetTokenQuantity
final Eip155PrepareProxiedOrderParams.Body.Builder assetTokenQuantity(Double assetTokenQuantity)
Alias for Builder.assetTokenQuantity.
This unboxed primitive overload exists for backwards compatibility.
-
assetTokenQuantity
final Eip155PrepareProxiedOrderParams.Body.Builder assetTokenQuantity(Optional<Double> assetTokenQuantity)
Alias for calling Builder.assetTokenQuantity with
assetTokenQuantity.orElse(null).
-
assetTokenQuantity
final Eip155PrepareProxiedOrderParams.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.
-
clientOrderId
final Eip155PrepareProxiedOrderParams.Body.Builder clientOrderId(String clientOrderId)
Customer-supplied unique identifier to map this
Orderto an order in the customer's systems.
-
clientOrderId
final Eip155PrepareProxiedOrderParams.Body.Builder clientOrderId(Optional<String> clientOrderId)
Alias for calling Builder.clientOrderId with
clientOrderId.orElse(null).
-
clientOrderId
final Eip155PrepareProxiedOrderParams.Body.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.
-
limitPrice
final Eip155PrepareProxiedOrderParams.Body.Builder limitPrice(Double limitPrice)
Price per asset in the asset's native currency. USD for US equities and ETFs. Required for limit
Orders.
-
limitPrice
final Eip155PrepareProxiedOrderParams.Body.Builder limitPrice(Double limitPrice)
Alias for Builder.limitPrice.
This unboxed primitive overload exists for backwards compatibility.
-
limitPrice
final Eip155PrepareProxiedOrderParams.Body.Builder limitPrice(Optional<Double> limitPrice)
Alias for calling Builder.limitPrice with
limitPrice.orElse(null).
-
limitPrice
final Eip155PrepareProxiedOrderParams.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.
-
paymentTokenQuantity
final Eip155PrepareProxiedOrderParams.Body.Builder paymentTokenQuantity(Double paymentTokenQuantity)
Amount of payment tokens involved. Required for market buy
Orders.
-
paymentTokenQuantity
final Eip155PrepareProxiedOrderParams.Body.Builder paymentTokenQuantity(Double paymentTokenQuantity)
Alias for Builder.paymentTokenQuantity.
This unboxed primitive overload exists for backwards compatibility.
-
paymentTokenQuantity
final Eip155PrepareProxiedOrderParams.Body.Builder paymentTokenQuantity(Optional<Double> paymentTokenQuantity)
Alias for calling Builder.paymentTokenQuantity with
paymentTokenQuantity.orElse(null).
-
paymentTokenQuantity
final Eip155PrepareProxiedOrderParams.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.
-
stockId
final Eip155PrepareProxiedOrderParams.Body.Builder stockId(String stockId)
The ID of the
Stockfor which theOrderis being placed.
-
stockId
final Eip155PrepareProxiedOrderParams.Body.Builder stockId(Optional<String> stockId)
Alias for calling Builder.stockId with
stockId.orElse(null).
-
stockId
final Eip155PrepareProxiedOrderParams.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.
-
tokenId
final Eip155PrepareProxiedOrderParams.Body.Builder tokenId(String tokenId)
The ID of the
Tokenfor which theOrderis being placed.
-
tokenId
final Eip155PrepareProxiedOrderParams.Body.Builder tokenId(Optional<String> tokenId)
Alias for calling Builder.tokenId with
tokenId.orElse(null).
-
tokenId
final Eip155PrepareProxiedOrderParams.Body.Builder tokenId(JsonField<String> tokenId)
Sets Builder.tokenId to an arbitrary JSON value.
You should usually call Builder.tokenId 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 Eip155PrepareProxiedOrderParams.Body.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final Eip155PrepareProxiedOrderParams.Body.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final Eip155PrepareProxiedOrderParams.Body.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final Eip155PrepareProxiedOrderParams.Body.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final Eip155PrepareProxiedOrderParams.Body.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final Eip155PrepareProxiedOrderParams.Body build()
Returns an immutable instance of Body.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.chainId() .orderSide() .orderTif() .orderType() .paymentToken()
-
-
-
-