Class OrderRequest.Builder
-
- All Implemented Interfaces:
public final class OrderRequest.BuilderA builder for OrderRequest.
-
-
Method Summary
-
-
Method Detail
-
id
final OrderRequest.Builder id(String id)
ID of
OrderRequest. This is the primary identifier for the/order_requestsroutes.
-
id
final OrderRequest.Builder id(JsonField<String> id)
Sets Builder.id to an arbitrary JSON value.
You should usually call Builder.id with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
accountId
final OrderRequest.Builder accountId(String accountId)
ID of
Accountplacing theOrderRequest.
-
accountId
final OrderRequest.Builder accountId(JsonField<String> accountId)
Sets Builder.accountId to an arbitrary JSON value.
You should usually call Builder.accountId with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
createdDt
final OrderRequest.Builder createdDt(OffsetDateTime createdDt)
Datetime at which the
OrderRequestwas created. ISO 8601 timestamp.
-
createdDt
final OrderRequest.Builder createdDt(JsonField<OffsetDateTime> createdDt)
Sets Builder.createdDt to an arbitrary JSON value.
You should usually call Builder.createdDt with a well-typed OffsetDateTime value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
orderSide
final OrderRequest.Builder orderSide(OrderSide orderSide)
Indicates whether
Orderis a buy or sell.
-
orderSide
final OrderRequest.Builder orderSide(JsonField<OrderSide> orderSide)
Sets Builder.orderSide to an arbitrary JSON value.
You should usually call Builder.orderSide with a well-typed OrderSide value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
orderTif
final OrderRequest.Builder orderTif(OrderTif orderTif)
Indicates how long
Orderis valid for.
-
orderTif
final OrderRequest.Builder orderTif(JsonField<OrderTif> orderTif)
Sets Builder.orderTif to an arbitrary JSON value.
You should usually call Builder.orderTif with a well-typed OrderTif value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
orderType
final OrderRequest.Builder orderType(OrderType orderType)
Type of
Order.
-
orderType
final OrderRequest.Builder orderType(JsonField<OrderType> orderType)
Sets Builder.orderType to an arbitrary JSON value.
You should usually call Builder.orderType with a well-typed OrderType value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
status
final OrderRequest.Builder status(OrderRequest.Status status)
Status of
OrderRequest.
-
status
final OrderRequest.Builder status(JsonField<OrderRequest.Status> status)
Sets Builder.status to an arbitrary JSON value.
You should usually call Builder.status with a well-typed Status value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
orderId
final OrderRequest.Builder orderId(String orderId)
ID of
Ordercreated from theOrderRequest. This is the primary identifier for the/ordersroutes.
-
orderId
final OrderRequest.Builder orderId(JsonField<String> orderId)
Sets Builder.orderId to an arbitrary JSON value.
You should usually call Builder.orderId with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
recipientAccountId
final OrderRequest.Builder recipientAccountId(String recipientAccountId)
ID of recipient
Account.
-
recipientAccountId
final OrderRequest.Builder recipientAccountId(JsonField<String> recipientAccountId)
Sets Builder.recipientAccountId to an arbitrary JSON value.
You should usually call Builder.recipientAccountId with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final OrderRequest.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final OrderRequest.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final OrderRequest.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final OrderRequest.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final OrderRequest.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final OrderRequest build()
Returns an immutable instance of OrderRequest.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.id() .accountId() .createdDt() .orderSide() .orderTif() .orderType() .status()
-
-
-
-