Class OrderRequestCreateMarketSellParams.Body
-
- All Implemented Interfaces:
public final class OrderRequestCreateMarketSellParams.BodyInput parameters for creating a market sell
OrderRequest.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classOrderRequestCreateMarketSellParams.Body.BuilderA builder for Body.
-
Method Summary
Modifier and Type Method Description final DoubleassetQuantity()Quantity of shares to trade. final StringstockId()ID of Stock.final JsonField<Double>_assetQuantity()Returns the raw JSON value of assetQuantity. final JsonField<String>_stockId()Returns the raw JSON value of stockId. final Map<String, JsonValue>_additionalProperties()final OrderRequestCreateMarketSellParams.Body.BuildertoBuilder()final OrderRequestCreateMarketSellParams.Bodyvalidate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static OrderRequestCreateMarketSellParams.Body.Builderbuilder()Returns a mutable builder for constructing an instance of Body. -
-
Method Detail
-
assetQuantity
final Double assetQuantity()
Quantity of shares to trade. Must be a positive number with a precision of up to 9 decimal places.
-
_assetQuantity
final JsonField<Double> _assetQuantity()
Returns the raw JSON value of assetQuantity.
Unlike assetQuantity, 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 OrderRequestCreateMarketSellParams.Body.Builder toBuilder()
-
validate
final OrderRequestCreateMarketSellParams.Body validate()
-
builder
final static OrderRequestCreateMarketSellParams.Body.Builder builder()
Returns a mutable builder for constructing an instance of Body.
The following fields are required:
.assetQuantity() .stockId()
-
-
-
-