Class Eip155PrepareProxiedOrderParams.Builder
-
- All Implemented Interfaces:
public final class Eip155PrepareProxiedOrderParams.BuilderA builder for Eip155PrepareProxiedOrderParams.
-
-
Method Summary
-
-
Method Detail
-
accountId
final Eip155PrepareProxiedOrderParams.Builder accountId(String accountId)
-
accountId
final Eip155PrepareProxiedOrderParams.Builder accountId(Optional<String> accountId)
Alias for calling Builder.accountId with
accountId.orElse(null).
-
body
final Eip155PrepareProxiedOrderParams.Builder body(Eip155PrepareProxiedOrderParams.Body body)
Sets the entire request body.
This is generally only useful if you are already constructing the body separately. Otherwise, it's more convenient to use the top-level setters instead:
-
chainId
final Eip155PrepareProxiedOrderParams.Builder chainId(Chain chainId)
CAIP-2 chain ID of the blockchain where the
Orderwill be placed.
-
chainId
final Eip155PrepareProxiedOrderParams.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.Builder orderSide(OrderSide orderSide)
Indicates whether
Orderis a buy or sell.
-
orderSide
final Eip155PrepareProxiedOrderParams.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.Builder orderTif(OrderTif orderTif)
Time in force. Indicates how long
Orderis valid for.
-
orderTif
final Eip155PrepareProxiedOrderParams.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.Builder orderType(OrderType orderType)
Type of
Order.
-
orderType
final Eip155PrepareProxiedOrderParams.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.Builder paymentToken(String paymentToken)
Address of payment token.
-
paymentToken
final Eip155PrepareProxiedOrderParams.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.Builder assetTokenQuantity(Double assetTokenQuantity)
Amount of dShare asset tokens involved. Required for limit
Ordersand market sellOrders.
-
assetTokenQuantity
final Eip155PrepareProxiedOrderParams.Builder assetTokenQuantity(Double assetTokenQuantity)
Alias for Builder.assetTokenQuantity.
This unboxed primitive overload exists for backwards compatibility.
-
assetTokenQuantity
final Eip155PrepareProxiedOrderParams.Builder assetTokenQuantity(Optional<Double> assetTokenQuantity)
Alias for calling Builder.assetTokenQuantity with
assetTokenQuantity.orElse(null).
-
assetTokenQuantity
final Eip155PrepareProxiedOrderParams.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.Builder clientOrderId(String clientOrderId)
Customer-supplied unique identifier to map this
Orderto an order in the customer's systems.
-
clientOrderId
final Eip155PrepareProxiedOrderParams.Builder clientOrderId(Optional<String> clientOrderId)
Alias for calling Builder.clientOrderId with
clientOrderId.orElse(null).
-
clientOrderId
final Eip155PrepareProxiedOrderParams.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.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.Builder limitPrice(Double limitPrice)
Alias for Builder.limitPrice.
This unboxed primitive overload exists for backwards compatibility.
-
limitPrice
final Eip155PrepareProxiedOrderParams.Builder limitPrice(Optional<Double> limitPrice)
Alias for calling Builder.limitPrice with
limitPrice.orElse(null).
-
limitPrice
final Eip155PrepareProxiedOrderParams.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.Builder paymentTokenQuantity(Double paymentTokenQuantity)
Amount of payment tokens involved. Required for market buy
Orders.
-
paymentTokenQuantity
final Eip155PrepareProxiedOrderParams.Builder paymentTokenQuantity(Double paymentTokenQuantity)
Alias for Builder.paymentTokenQuantity.
This unboxed primitive overload exists for backwards compatibility.
-
paymentTokenQuantity
final Eip155PrepareProxiedOrderParams.Builder paymentTokenQuantity(Optional<Double> paymentTokenQuantity)
Alias for calling Builder.paymentTokenQuantity with
paymentTokenQuantity.orElse(null).
-
paymentTokenQuantity
final Eip155PrepareProxiedOrderParams.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.Builder stockId(String stockId)
The ID of the
Stockfor which theOrderis being placed.
-
stockId
final Eip155PrepareProxiedOrderParams.Builder stockId(Optional<String> stockId)
Alias for calling Builder.stockId with
stockId.orElse(null).
-
stockId
final Eip155PrepareProxiedOrderParams.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.Builder tokenId(String tokenId)
The ID of the
Tokenfor which theOrderis being placed.
-
tokenId
final Eip155PrepareProxiedOrderParams.Builder tokenId(Optional<String> tokenId)
Alias for calling Builder.tokenId with
tokenId.orElse(null).
-
tokenId
final Eip155PrepareProxiedOrderParams.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.
-
additionalBodyProperties
final Eip155PrepareProxiedOrderParams.Builder additionalBodyProperties(Map<String, JsonValue> additionalBodyProperties)
-
putAdditionalBodyProperty
final Eip155PrepareProxiedOrderParams.Builder putAdditionalBodyProperty(String key, JsonValue value)
-
putAllAdditionalBodyProperties
final Eip155PrepareProxiedOrderParams.Builder putAllAdditionalBodyProperties(Map<String, JsonValue> additionalBodyProperties)
-
removeAdditionalBodyProperty
final Eip155PrepareProxiedOrderParams.Builder removeAdditionalBodyProperty(String key)
-
removeAllAdditionalBodyProperties
final Eip155PrepareProxiedOrderParams.Builder removeAllAdditionalBodyProperties(Set<String> keys)
-
additionalHeaders
final Eip155PrepareProxiedOrderParams.Builder additionalHeaders(Headers additionalHeaders)
-
additionalHeaders
final Eip155PrepareProxiedOrderParams.Builder additionalHeaders(Map<String, Iterable<String>> additionalHeaders)
-
putAdditionalHeader
final Eip155PrepareProxiedOrderParams.Builder putAdditionalHeader(String name, String value)
-
putAdditionalHeaders
final Eip155PrepareProxiedOrderParams.Builder putAdditionalHeaders(String name, Iterable<String> values)
-
putAllAdditionalHeaders
final Eip155PrepareProxiedOrderParams.Builder putAllAdditionalHeaders(Headers additionalHeaders)
-
putAllAdditionalHeaders
final Eip155PrepareProxiedOrderParams.Builder putAllAdditionalHeaders(Map<String, Iterable<String>> additionalHeaders)
-
replaceAdditionalHeaders
final Eip155PrepareProxiedOrderParams.Builder replaceAdditionalHeaders(String name, String value)
-
replaceAdditionalHeaders
final Eip155PrepareProxiedOrderParams.Builder replaceAdditionalHeaders(String name, Iterable<String> values)
-
replaceAllAdditionalHeaders
final Eip155PrepareProxiedOrderParams.Builder replaceAllAdditionalHeaders(Headers additionalHeaders)
-
replaceAllAdditionalHeaders
final Eip155PrepareProxiedOrderParams.Builder replaceAllAdditionalHeaders(Map<String, Iterable<String>> additionalHeaders)
-
removeAdditionalHeaders
final Eip155PrepareProxiedOrderParams.Builder removeAdditionalHeaders(String name)
-
removeAllAdditionalHeaders
final Eip155PrepareProxiedOrderParams.Builder removeAllAdditionalHeaders(Set<String> names)
-
additionalQueryParams
final Eip155PrepareProxiedOrderParams.Builder additionalQueryParams(QueryParams additionalQueryParams)
-
additionalQueryParams
final Eip155PrepareProxiedOrderParams.Builder additionalQueryParams(Map<String, Iterable<String>> additionalQueryParams)
-
putAdditionalQueryParam
final Eip155PrepareProxiedOrderParams.Builder putAdditionalQueryParam(String key, String value)
-
putAdditionalQueryParams
final Eip155PrepareProxiedOrderParams.Builder putAdditionalQueryParams(String key, Iterable<String> values)
-
putAllAdditionalQueryParams
final Eip155PrepareProxiedOrderParams.Builder putAllAdditionalQueryParams(QueryParams additionalQueryParams)
-
putAllAdditionalQueryParams
final Eip155PrepareProxiedOrderParams.Builder putAllAdditionalQueryParams(Map<String, Iterable<String>> additionalQueryParams)
-
replaceAdditionalQueryParams
final Eip155PrepareProxiedOrderParams.Builder replaceAdditionalQueryParams(String key, String value)
-
replaceAdditionalQueryParams
final Eip155PrepareProxiedOrderParams.Builder replaceAdditionalQueryParams(String key, Iterable<String> values)
-
replaceAllAdditionalQueryParams
final Eip155PrepareProxiedOrderParams.Builder replaceAllAdditionalQueryParams(QueryParams additionalQueryParams)
-
replaceAllAdditionalQueryParams
final Eip155PrepareProxiedOrderParams.Builder replaceAllAdditionalQueryParams(Map<String, Iterable<String>> additionalQueryParams)
-
removeAdditionalQueryParams
final Eip155PrepareProxiedOrderParams.Builder removeAdditionalQueryParams(String key)
-
removeAllAdditionalQueryParams
final Eip155PrepareProxiedOrderParams.Builder removeAllAdditionalQueryParams(Set<String> keys)
-
build
final Eip155PrepareProxiedOrderParams build()
Returns an immutable instance of Eip155PrepareProxiedOrderParams.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.chainId() .orderSide() .orderTif() .orderType() .paymentToken()
-
-
-
-