Class CreateOrderRequestTakeProfit
java.lang.Object
net.jacobpeterson.alpaca.openapi.broker.model.CreateOrderRequestTakeProfit
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-03-23T18:58:47.485165-07:00[America/Los_Angeles]")
public class CreateOrderRequestTakeProfit
extends Object
Takes in a string/number value for limit_price
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
static CreateOrderRequestTakeProfit
Create an instance of CreateOrderRequestTakeProfit given an JSON stringGet limitPriceint
hashCode()
limitPrice
(BigDecimal limitPrice) void
setLimitPrice
(BigDecimal limitPrice) toJson()
Convert an instance of CreateOrderRequestTakeProfit to an JSON stringtoString()
static void
validateJsonElement
(com.google.gson.JsonElement jsonElement)
-
Field Details
-
SERIALIZED_NAME_LIMIT_PRICE
- See Also:
-
openapiFields
-
openapiRequiredFields
-
validate
public static boolean validate -
isValid
-
-
Constructor Details
-
CreateOrderRequestTakeProfit
public CreateOrderRequestTakeProfit()
-
-
Method Details
-
limitPrice
-
getLimitPrice
Get limitPrice- Returns:
- limitPrice
-
setLimitPrice
-
equals
-
hashCode
public int hashCode() -
toString
-
validateJsonElement
- Throws:
IOException
-
fromJson
Create an instance of CreateOrderRequestTakeProfit given an JSON string- Parameters:
jsonString
- JSON string- Returns:
- An instance of CreateOrderRequestTakeProfit
- Throws:
IOException
- if the JSON string is invalid with respect to CreateOrderRequestTakeProfit
-
toJson
Convert an instance of CreateOrderRequestTakeProfit to an JSON string- Returns:
- JSON string
-