Class GetV1TradingAccountsAccountIdOrdersEstimationRequest
java.lang.Object
markets.alpaca.client.openapi.broker.model.GetV1TradingAccountsAccountIdOrdersEstimationRequest
- All Implemented Interfaces:
Serializable
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
comments="Generator version: 7.23.0")
public class GetV1TradingAccountsAccountIdOrdersEstimationRequest
extends Object
implements Serializable
GetV1TradingAccountsAccountIdOrdersEstimationRequest
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanCreate an instance of GetV1TradingAccountsAccountIdOrdersEstimationRequest given an JSON stringReturn the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Get notionalgetSide()Get sideGet swapFeeBpsGet symbolGet timeInForcegetType()Get typeinthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetNotional(String notional) voidvoidsetSwapFeeBps(Integer swapFeeBps) voidvoidsetTimeInForce(TimeInForce timeInForce) voidswapFeeBps(Integer swapFeeBps) timeInForce(TimeInForce timeInForce) toJson()Convert an instance of GetV1TradingAccountsAccountIdOrdersEstimationRequest to an JSON stringtoString()static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement) Validates the JSON Element and throws an exception if issues found
-
Field Details
-
SERIALIZED_NAME_NOTIONAL
- See Also:
-
SERIALIZED_NAME_SIDE
- See Also:
-
SERIALIZED_NAME_SWAP_FEE_BPS
- See Also:
-
SERIALIZED_NAME_SYMBOL
- See Also:
-
SERIALIZED_NAME_TIME_IN_FORCE
- See Also:
-
SERIALIZED_NAME_TYPE
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
GetV1TradingAccountsAccountIdOrdersEstimationRequest
public GetV1TradingAccountsAccountIdOrdersEstimationRequest()
-
-
Method Details
-
notional
-
getNotional
Get notional- Returns:
- notional
-
setNotional
-
side
-
getSide
Get side- Returns:
- side
-
setSide
-
swapFeeBps
public GetV1TradingAccountsAccountIdOrdersEstimationRequest swapFeeBps(@Nullable Integer swapFeeBps) -
getSwapFeeBps
Get swapFeeBps- Returns:
- swapFeeBps
-
setSwapFeeBps
-
symbol
-
getSymbol
Get symbol- Returns:
- symbol
-
setSymbol
-
timeInForce
public GetV1TradingAccountsAccountIdOrdersEstimationRequest timeInForce(@Nullable TimeInForce timeInForce) -
getTimeInForce
Get timeInForce- Returns:
- timeInForce
-
setTimeInForce
-
type
-
getType
Get type- Returns:
- type
-
setType
-
putAdditionalProperty
public GetV1TradingAccountsAccountIdOrdersEstimationRequest putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value. If the property does not already exist, create it otherwise replace it.- Parameters:
key- name of the propertyvalue- value of the property- Returns:
- the GetV1TradingAccountsAccountIdOrdersEstimationRequest instance itself
-
getAdditionalProperties
Return the additional (undeclared) property.- Returns:
- a map of objects
-
getAdditionalProperty
Return the additional (undeclared) property with the specified name.- Parameters:
key- name of the property- Returns:
- an object
-
equals
-
hashCode
public int hashCode() -
toString
-
validateJsonElement
Validates the JSON Element and throws an exception if issues found- Parameters:
jsonElement- JSON Element- Throws:
IOException- if the JSON Element is invalid with respect to GetV1TradingAccountsAccountIdOrdersEstimationRequest
-
fromJson
public static GetV1TradingAccountsAccountIdOrdersEstimationRequest fromJson(String jsonString) throws IOException Create an instance of GetV1TradingAccountsAccountIdOrdersEstimationRequest given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of GetV1TradingAccountsAccountIdOrdersEstimationRequest
- Throws:
IOException- if the JSON string is invalid with respect to GetV1TradingAccountsAccountIdOrdersEstimationRequest
-
toJson
Convert an instance of GetV1TradingAccountsAccountIdOrdersEstimationRequest to an JSON string- Returns:
- JSON string
-