Class OrderRequestGetFeeQuoteParams.Body
-
- All Implemented Interfaces:
public final class OrderRequestGetFeeQuoteParams.BodyInput parameters for requesting a fee quote for an
Order Request.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classOrderRequestGetFeeQuoteParams.Body.BuilderA builder for Body.
-
Method Summary
Modifier and Type Method Description final OrderSideorderSide()Indicates whether Order Requestis a buy or sell.final OrderTypeorderType()Type of Order Request.final Optional<String>alloyId()The AlloyID associated with the Order Requestfinal Optional<Double>assetTokenQuantity()Amount of dShare asset tokens involved. final Optional<Chain>chainId()CAIP-2 chain ID of the blockchain where the Order Requestwill be placed.final Optional<Double>limitPrice()Price per asset in the asset's native currency. final Optional<String>paymentTokenAddress()Address of the payment token to be used for an order. final Optional<Double>paymentTokenQuantity()Amount of payment tokens involved. final Optional<String>stockId()The StockID associated with the Order Requestfinal JsonField<OrderSide>_orderSide()Returns the raw JSON value of orderSide. final JsonField<OrderType>_orderType()Returns the raw JSON value of orderType. final JsonField<String>_alloyId()Returns the raw JSON value of alloyId. final JsonField<Double>_assetTokenQuantity()Returns the raw JSON value of assetTokenQuantity. final JsonField<Chain>_chainId()Returns the raw JSON value of chainId. final JsonField<Double>_limitPrice()Returns the raw JSON value of limitPrice. final JsonField<String>_paymentTokenAddress()Returns the raw JSON value of paymentTokenAddress. final JsonField<Double>_paymentTokenQuantity()Returns the raw JSON value of paymentTokenQuantity. final JsonField<String>_stockId()Returns the raw JSON value of stockId. final Map<String, JsonValue>_additionalProperties()final OrderRequestGetFeeQuoteParams.Body.BuildertoBuilder()final OrderRequestGetFeeQuoteParams.Bodyvalidate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static OrderRequestGetFeeQuoteParams.Body.Builderbuilder()Returns a mutable builder for constructing an instance of Body. -
-
Method Detail
-
assetTokenQuantity
final Optional<Double> assetTokenQuantity()
Amount of dShare asset tokens involved. Required for limit
Order Requestsand market sellOrder Requests. Must be a positive number with a precision of up to 4 decimal places for limitOrder Requestsor up to 6 decimal places for market sellOrder Requests.
-
chainId
final Optional<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.
-
limitPrice
final Optional<Double> limitPrice()
Price per asset in the asset's native currency. USD for US equities and ETFs. Required for limit
Order Requests.
-
paymentTokenAddress
final Optional<String> paymentTokenAddress()
Address of the payment token to be used for an order. If not provided, the default payment token (USD+) will be used.
-
paymentTokenQuantity
final Optional<Double> paymentTokenQuantity()
Amount of payment tokens involved. Required for market buy
Order Requests.
-
_orderSide
final JsonField<OrderSide> _orderSide()
Returns the raw JSON value of orderSide.
Unlike orderSide, this method doesn't throw if the JSON field has an unexpected type.
-
_orderType
final JsonField<OrderType> _orderType()
Returns the raw JSON value of orderType.
Unlike orderType, this method doesn't throw if the JSON field has an unexpected type.
-
_alloyId
final JsonField<String> _alloyId()
Returns the raw JSON value of alloyId.
Unlike alloyId, this method doesn't throw if the JSON field has an unexpected type.
-
_assetTokenQuantity
final JsonField<Double> _assetTokenQuantity()
Returns the raw JSON value of assetTokenQuantity.
Unlike assetTokenQuantity, this method doesn't throw if the JSON field has an unexpected type.
-
_chainId
final JsonField<Chain> _chainId()
Returns the raw JSON value of chainId.
Unlike chainId, this method doesn't throw if the JSON field has an unexpected type.
-
_limitPrice
final JsonField<Double> _limitPrice()
Returns the raw JSON value of limitPrice.
Unlike limitPrice, this method doesn't throw if the JSON field has an unexpected type.
-
_paymentTokenAddress
final JsonField<String> _paymentTokenAddress()
Returns the raw JSON value of paymentTokenAddress.
Unlike paymentTokenAddress, this method doesn't throw if the JSON field has an unexpected type.
-
_paymentTokenQuantity
final JsonField<Double> _paymentTokenQuantity()
Returns the raw JSON value of paymentTokenQuantity.
Unlike paymentTokenQuantity, this method doesn't throw if the JSON field has an unexpected type.
-
_stockId
final JsonField<String> _stockId()
Returns the raw JSON value of stockId.
Unlike stockId, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final OrderRequestGetFeeQuoteParams.Body.Builder toBuilder()
-
validate
final OrderRequestGetFeeQuoteParams.Body validate()
-
builder
final static OrderRequestGetFeeQuoteParams.Body.Builder builder()
Returns a mutable builder for constructing an instance of Body.
The following fields are required:
.orderSide() .orderType()
-
-
-
-