Class V2ListOrdersResponse.Builder
-
- All Implemented Interfaces:
public final class V2ListOrdersResponse.BuilderA builder for V2ListOrdersResponse.
-
-
Method Summary
-
-
Method Detail
-
id
final V2ListOrdersResponse.Builder id(String id)
ID of the
Order.
-
id
final V2ListOrdersResponse.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.
-
chainId
final V2ListOrdersResponse.Builder chainId(Chain chainId)
CAIP-2 formatted chain ID of the blockchain that the
Ordertransaction was run on.
-
chainId
final V2ListOrdersResponse.Builder chainId(JsonField<Chain> chainId)
Sets Builder.chainId to an arbitrary JSON value.
You should usually call Builder.chainId with a well-typed Chain value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
createdDt
final V2ListOrdersResponse.Builder createdDt(OffsetDateTime createdDt)
Datetime at which the
Orderwas created. ISO 8601 timestamp.
-
createdDt
final V2ListOrdersResponse.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.
-
orderContractAddress
final V2ListOrdersResponse.Builder orderContractAddress(String orderContractAddress)
Smart contract address that
Orderwas created from.
-
orderContractAddress
final V2ListOrdersResponse.Builder orderContractAddress(JsonField<String> orderContractAddress)
Sets Builder.orderContractAddress to an arbitrary JSON value.
You should usually call Builder.orderContractAddress with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
orderSide
final V2ListOrdersResponse.Builder orderSide(OrderSide orderSide)
Indicates whether
Orderis a buy or sell.
-
orderSide
final V2ListOrdersResponse.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 V2ListOrdersResponse.Builder orderTif(OrderTif orderTif)
Time in force. Indicates how long
Orderis valid for.
-
orderTif
final V2ListOrdersResponse.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.
-
orderTransactionHash
final V2ListOrdersResponse.Builder orderTransactionHash(String orderTransactionHash)
Transaction hash for the
Ordercreation.
-
orderTransactionHash
final V2ListOrdersResponse.Builder orderTransactionHash(JsonField<String> orderTransactionHash)
Sets Builder.orderTransactionHash to an arbitrary JSON value.
You should usually call Builder.orderTransactionHash with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
orderType
final V2ListOrdersResponse.Builder orderType(OrderType orderType)
Type of
Order.
-
orderType
final V2ListOrdersResponse.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.
-
paymentToken
final V2ListOrdersResponse.Builder paymentToken(String paymentToken)
The payment token (stablecoin) address.
-
paymentToken
final V2ListOrdersResponse.Builder paymentToken(JsonField<String> paymentToken)
Sets Builder.paymentToken to an arbitrary JSON value.
You should usually call Builder.paymentToken with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
status
final V2ListOrdersResponse.Builder status(BrokerageOrderStatus status)
Status of the
Order.
-
status
final V2ListOrdersResponse.Builder status(JsonField<BrokerageOrderStatus> status)
Sets Builder.status to an arbitrary JSON value.
You should usually call Builder.status with a well-typed BrokerageOrderStatus value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
accountId
final V2ListOrdersResponse.Builder accountId(String accountId)
Account ID the order was made for.
-
accountId
final V2ListOrdersResponse.Builder accountId(Optional<String> accountId)
Alias for calling Builder.accountId with
accountId.orElse(null).
-
accountId
final V2ListOrdersResponse.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.
-
alloyId
final V2ListOrdersResponse.Builder alloyId(String alloyId)
The
AlloyID associated with theOrder
-
alloyId
final V2ListOrdersResponse.Builder alloyId(Optional<String> alloyId)
Alias for calling Builder.alloyId with
alloyId.orElse(null).
-
alloyId
final V2ListOrdersResponse.Builder alloyId(JsonField<String> alloyId)
Sets Builder.alloyId to an arbitrary JSON value.
You should usually call Builder.alloyId with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
assetToken
final V2ListOrdersResponse.Builder assetToken(String assetToken)
The dShare asset token address.
-
assetToken
final V2ListOrdersResponse.Builder assetToken(Optional<String> assetToken)
Alias for calling Builder.assetToken with
assetToken.orElse(null).
-
assetToken
final V2ListOrdersResponse.Builder assetToken(JsonField<String> assetToken)
Sets Builder.assetToken to an arbitrary JSON value.
You should usually call Builder.assetToken with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
assetTokenQuantity
final V2ListOrdersResponse.Builder assetTokenQuantity(Double assetTokenQuantity)
Total amount of assets involved.
-
assetTokenQuantity
final V2ListOrdersResponse.Builder assetTokenQuantity(Double assetTokenQuantity)
Alias for Builder.assetTokenQuantity.
This unboxed primitive overload exists for backwards compatibility.
-
assetTokenQuantity
final V2ListOrdersResponse.Builder assetTokenQuantity(Optional<Double> assetTokenQuantity)
Alias for calling Builder.assetTokenQuantity with
assetTokenQuantity.orElse(null).
-
assetTokenQuantity
final V2ListOrdersResponse.Builder assetTokenQuantity(JsonField<Double> assetTokenQuantity)
Sets Builder.assetTokenQuantity to an arbitrary JSON value.
You should usually call Builder.assetTokenQuantity with a well-typed Double value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
cancelTransactionHash
final V2ListOrdersResponse.Builder cancelTransactionHash(String cancelTransactionHash)
Transaction hash for cancellation of
Order, if theOrderwas cancelled.
-
cancelTransactionHash
final V2ListOrdersResponse.Builder cancelTransactionHash(Optional<String> cancelTransactionHash)
Alias for calling Builder.cancelTransactionHash with
cancelTransactionHash.orElse(null).
-
cancelTransactionHash
final V2ListOrdersResponse.Builder cancelTransactionHash(JsonField<String> cancelTransactionHash)
Sets Builder.cancelTransactionHash to an arbitrary JSON value.
You should usually call Builder.cancelTransactionHash with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
clientOrderId
final V2ListOrdersResponse.Builder clientOrderId(String clientOrderId)
Customer-supplied unique identifier to map this
Orderto an order in the customer's systems.
-
clientOrderId
final V2ListOrdersResponse.Builder clientOrderId(Optional<String> clientOrderId)
Alias for calling Builder.clientOrderId with
clientOrderId.orElse(null).
-
clientOrderId
final V2ListOrdersResponse.Builder clientOrderId(JsonField<String> clientOrderId)
Sets Builder.clientOrderId to an arbitrary JSON value.
You should usually call Builder.clientOrderId with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
entityId
final V2ListOrdersResponse.Builder entityId(String entityId)
Entity ID of the Order
-
entityId
final V2ListOrdersResponse.Builder entityId(Optional<String> entityId)
Alias for calling Builder.entityId with
entityId.orElse(null).
-
entityId
final V2ListOrdersResponse.Builder entityId(JsonField<String> entityId)
Sets Builder.entityId to an arbitrary JSON value.
You should usually call Builder.entityId with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
fee
final V2ListOrdersResponse.Builder fee(Double fee)
Fee amount associated with
Order.
-
fee
final V2ListOrdersResponse.Builder fee(Double fee)
Alias for Builder.fee.
This unboxed primitive overload exists for backwards compatibility.
-
fee
final V2ListOrdersResponse.Builder fee(Optional<Double> fee)
Alias for calling Builder.fee with
fee.orElse(null).
-
fee
final V2ListOrdersResponse.Builder fee(JsonField<Double> fee)
Sets Builder.fee to an arbitrary JSON value.
You should usually call Builder.fee with a well-typed Double value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
limitPrice
final V2ListOrdersResponse.Builder limitPrice(Double limitPrice)
For limit
Orders, the price per asset, specified in theStock's native currency (USD for US equities and ETFs).
-
limitPrice
final V2ListOrdersResponse.Builder limitPrice(Double limitPrice)
Alias for Builder.limitPrice.
This unboxed primitive overload exists for backwards compatibility.
-
limitPrice
final V2ListOrdersResponse.Builder limitPrice(Optional<Double> limitPrice)
Alias for calling Builder.limitPrice with
limitPrice.orElse(null).
-
limitPrice
final V2ListOrdersResponse.Builder limitPrice(JsonField<Double> limitPrice)
Sets Builder.limitPrice to an arbitrary JSON value.
You should usually call Builder.limitPrice with a well-typed Double value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
orderRequestId
final V2ListOrdersResponse.Builder orderRequestId(String orderRequestId)
Order Request ID for the
Order
-
orderRequestId
final V2ListOrdersResponse.Builder orderRequestId(Optional<String> orderRequestId)
Alias for calling Builder.orderRequestId with
orderRequestId.orElse(null).
-
orderRequestId
final V2ListOrdersResponse.Builder orderRequestId(JsonField<String> orderRequestId)
Sets Builder.orderRequestId to an arbitrary JSON value.
You should usually call Builder.orderRequestId with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
paymentTokenQuantity
final V2ListOrdersResponse.Builder paymentTokenQuantity(Double paymentTokenQuantity)
Total amount of payment involved.
-
paymentTokenQuantity
final V2ListOrdersResponse.Builder paymentTokenQuantity(Double paymentTokenQuantity)
Alias for Builder.paymentTokenQuantity.
This unboxed primitive overload exists for backwards compatibility.
-
paymentTokenQuantity
final V2ListOrdersResponse.Builder paymentTokenQuantity(Optional<Double> paymentTokenQuantity)
Alias for calling Builder.paymentTokenQuantity with
paymentTokenQuantity.orElse(null).
-
paymentTokenQuantity
final V2ListOrdersResponse.Builder paymentTokenQuantity(JsonField<Double> paymentTokenQuantity)
Sets Builder.paymentTokenQuantity to an arbitrary JSON value.
You should usually call Builder.paymentTokenQuantity with a well-typed Double value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
stockId
final V2ListOrdersResponse.Builder stockId(String stockId)
The
StockID associated with theOrder
-
stockId
final V2ListOrdersResponse.Builder stockId(Optional<String> stockId)
Alias for calling Builder.stockId with
stockId.orElse(null).
-
stockId
final V2ListOrdersResponse.Builder stockId(JsonField<String> stockId)
Sets Builder.stockId to an arbitrary JSON value.
You should usually call Builder.stockId 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 V2ListOrdersResponse.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final V2ListOrdersResponse.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final V2ListOrdersResponse.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final V2ListOrdersResponse.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final V2ListOrdersResponse.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final V2ListOrdersResponse build()
Returns an immutable instance of V2ListOrdersResponse.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.id() .chainId() .createdDt() .orderContractAddress() .orderSide() .orderTif() .orderTransactionHash() .orderType() .paymentToken() .status()
-
-
-
-