Class GetV1TradingAccountsAccountIdOrdersEstimationRequest
java.lang.Object
net.jacobpeterson.alpaca.openapi.broker.model.GetV1TradingAccountsAccountIdOrdersEstimationRequest
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-03-23T18:58:47.485165-07:00[America/Los_Angeles]")
public class GetV1TradingAccountsAccountIdOrdersEstimationRequest
extends Object
GetV1TradingAccountsAccountIdOrdersEstimationRequest
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
Create an instance of GetV1TradingAccountsAccountIdOrdersEstimationRequest given an JSON stringGet notionalgetSide()
Get sideGet swapFeeBpsGet symbolGet timeInForcegetType()
Get typeint
hashCode()
void
setNotional
(String notional) void
void
setSwapFeeBps
(Integer swapFeeBps) void
void
setTimeInForce
(TimeInForce timeInForce) void
swapFeeBps
(Integer swapFeeBps) timeInForce
(TimeInForce timeInForce) toJson()
Convert an instance of GetV1TradingAccountsAccountIdOrdersEstimationRequest to an JSON stringtoString()
static void
validateJsonElement
(com.google.gson.JsonElement jsonElement)
-
Field Details
-
SERIALIZED_NAME_SYMBOL
- See Also:
-
SERIALIZED_NAME_SIDE
- See Also:
-
SERIALIZED_NAME_TYPE
- See Also:
-
SERIALIZED_NAME_TIME_IN_FORCE
- See Also:
-
SERIALIZED_NAME_NOTIONAL
- See Also:
-
SERIALIZED_NAME_SWAP_FEE_BPS
- See Also:
-
openapiFields
-
openapiRequiredFields
-
validate
public static boolean validate -
isValid
-
-
Constructor Details
-
GetV1TradingAccountsAccountIdOrdersEstimationRequest
public GetV1TradingAccountsAccountIdOrdersEstimationRequest()
-
-
Method Details
-
symbol
-
getSymbol
Get symbol- Returns:
- symbol
-
setSymbol
-
side
-
getSide
Get side- Returns:
- side
-
setSide
-
type
-
getType
Get type- Returns:
- type
-
setType
-
timeInForce
-
getTimeInForce
Get timeInForce- Returns:
- timeInForce
-
setTimeInForce
-
notional
-
getNotional
Get notional- Returns:
- notional
-
setNotional
-
swapFeeBps
-
getSwapFeeBps
Get swapFeeBps- Returns:
- swapFeeBps
-
setSwapFeeBps
-
equals
-
hashCode
public int hashCode() -
toString
-
validateJsonElement
- Throws:
IOException
-
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
-