Class Order
-
- All Implemented Interfaces:
public final class Order
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classOrder.BuilderA builder for Order.
-
Method Summary
Modifier and Type Method Description final Stringid()ID of the Order.final ChainchainId()CAIP-2 formatted chain ID of the blockchain that the Ordertransaction was run on.final OffsetDateTimecreatedDt()Datetime at which the Orderwas created.final StringorderContractAddress()Smart contract address that Orderwas created from.final OrderSideorderSide()Indicates whether Orderis a buy or sell.final OrderTiforderTif()Time in force. final StringorderTransactionHash()Transaction hash for the Ordercreation.final OrderTypeorderType()Type of Order.final StringpaymentToken()The payment token (stablecoin) address. final BrokerageOrderStatusstatus()Status of the Order.final StringstockId()The StockID associated with theOrderfinal Optional<String>assetToken()The dShare asset token address. final Optional<Double>assetTokenQuantity()Total amount of assets involved. final Optional<String>cancelTransactionHash()Transaction hash for cancellation of Order, if theOrderwas cancelled.final Optional<Double>fee()Fee amount associated with Order.final Optional<Double>limitPrice()For limit Orders, the price per asset, specified in theStock's native currency (USD for US equities and ETFs).final Optional<String>orderRequestId()Order Request ID for the Orderfinal Optional<Double>paymentTokenQuantity()Total amount of payment involved. final JsonField<String>_id()Returns the raw JSON value of id. final JsonField<Chain>_chainId()Returns the raw JSON value of chainId. final JsonField<OffsetDateTime>_createdDt()Returns the raw JSON value of createdDt. final JsonField<String>_orderContractAddress()Returns the raw JSON value of orderContractAddress. final JsonField<OrderSide>_orderSide()Returns the raw JSON value of orderSide. final JsonField<OrderTif>_orderTif()Returns the raw JSON value of orderTif. final JsonField<String>_orderTransactionHash()Returns the raw JSON value of orderTransactionHash. final JsonField<OrderType>_orderType()Returns the raw JSON value of orderType. final JsonField<String>_paymentToken()Returns the raw JSON value of paymentToken. final JsonField<BrokerageOrderStatus>_status()Returns the raw JSON value of status. final JsonField<String>_stockId()Returns the raw JSON value of stockId. final JsonField<String>_assetToken()Returns the raw JSON value of assetToken. final JsonField<Double>_assetTokenQuantity()Returns the raw JSON value of assetTokenQuantity. final JsonField<String>_cancelTransactionHash()Returns the raw JSON value of cancelTransactionHash. final JsonField<Double>_fee()Returns the raw JSON value of fee. final JsonField<Double>_limitPrice()Returns the raw JSON value of limitPrice. final JsonField<String>_orderRequestId()Returns the raw JSON value of orderRequestId. final JsonField<Double>_paymentTokenQuantity()Returns the raw JSON value of paymentTokenQuantity. final Map<String, JsonValue>_additionalProperties()final Order.BuildertoBuilder()final Ordervalidate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static Order.Builderbuilder()Returns a mutable builder for constructing an instance of Order. -
-
Method Detail
-
chainId
final Chain chainId()
CAIP-2 formatted chain ID of the blockchain that the
Ordertransaction was run on.
-
createdDt
final OffsetDateTime createdDt()
Datetime at which the
Orderwas created. ISO 8601 timestamp.
-
orderContractAddress
final String orderContractAddress()
Smart contract address that
Orderwas created from.
-
orderTransactionHash
final String orderTransactionHash()
Transaction hash for the
Ordercreation.
-
paymentToken
final String paymentToken()
The payment token (stablecoin) address.
-
status
final BrokerageOrderStatus status()
Status of the
Order.
-
assetToken
final Optional<String> assetToken()
The dShare asset token address.
-
assetTokenQuantity
final Optional<Double> assetTokenQuantity()
Total amount of assets involved.
-
cancelTransactionHash
final Optional<String> cancelTransactionHash()
Transaction hash for cancellation of
Order, if theOrderwas cancelled.
-
limitPrice
final Optional<Double> limitPrice()
For limit
Orders, the price per asset, specified in theStock's native currency (USD for US equities and ETFs).
-
orderRequestId
final Optional<String> orderRequestId()
Order Request ID for the
Order
-
paymentTokenQuantity
final Optional<Double> paymentTokenQuantity()
Total amount of payment involved.
-
_id
final JsonField<String> _id()
Returns the raw JSON value of id.
Unlike id, this method doesn't throw if the JSON field has an unexpected type.
-
_chainId
final JsonField<Chain> _chainId()
Returns the raw JSON value of chainId.
Unlike chainId, this method doesn't throw if the JSON field has an unexpected type.
-
_createdDt
final JsonField<OffsetDateTime> _createdDt()
Returns the raw JSON value of createdDt.
Unlike createdDt, this method doesn't throw if the JSON field has an unexpected type.
-
_orderContractAddress
final JsonField<String> _orderContractAddress()
Returns the raw JSON value of orderContractAddress.
Unlike orderContractAddress, this method doesn't throw if the JSON field has an unexpected type.
-
_orderSide
final JsonField<OrderSide> _orderSide()
Returns the raw JSON value of orderSide.
Unlike orderSide, this method doesn't throw if the JSON field has an unexpected type.
-
_orderTif
final JsonField<OrderTif> _orderTif()
Returns the raw JSON value of orderTif.
Unlike orderTif, this method doesn't throw if the JSON field has an unexpected type.
-
_orderTransactionHash
final JsonField<String> _orderTransactionHash()
Returns the raw JSON value of orderTransactionHash.
Unlike orderTransactionHash, this method doesn't throw if the JSON field has an unexpected type.
-
_orderType
final JsonField<OrderType> _orderType()
Returns the raw JSON value of orderType.
Unlike orderType, this method doesn't throw if the JSON field has an unexpected type.
-
_paymentToken
final JsonField<String> _paymentToken()
Returns the raw JSON value of paymentToken.
Unlike paymentToken, this method doesn't throw if the JSON field has an unexpected type.
-
_status
final JsonField<BrokerageOrderStatus> _status()
Returns the raw JSON value of status.
Unlike status, this method doesn't throw if the JSON field has an unexpected type.
-
_stockId
final JsonField<String> _stockId()
Returns the raw JSON value of stockId.
Unlike stockId, this method doesn't throw if the JSON field has an unexpected type.
-
_assetToken
final JsonField<String> _assetToken()
Returns the raw JSON value of assetToken.
Unlike assetToken, this method doesn't throw if the JSON field has an unexpected type.
-
_assetTokenQuantity
final JsonField<Double> _assetTokenQuantity()
Returns the raw JSON value of assetTokenQuantity.
Unlike assetTokenQuantity, this method doesn't throw if the JSON field has an unexpected type.
-
_cancelTransactionHash
final JsonField<String> _cancelTransactionHash()
Returns the raw JSON value of cancelTransactionHash.
Unlike cancelTransactionHash, this method doesn't throw if the JSON field has an unexpected type.
-
_fee
final JsonField<Double> _fee()
Returns the raw JSON value of fee.
Unlike fee, this method doesn't throw if the JSON field has an unexpected type.
-
_limitPrice
final JsonField<Double> _limitPrice()
Returns the raw JSON value of limitPrice.
Unlike limitPrice, this method doesn't throw if the JSON field has an unexpected type.
-
_orderRequestId
final JsonField<String> _orderRequestId()
Returns the raw JSON value of orderRequestId.
Unlike orderRequestId, this method doesn't throw if the JSON field has an unexpected type.
-
_paymentTokenQuantity
final JsonField<Double> _paymentTokenQuantity()
Returns the raw JSON value of paymentTokenQuantity.
Unlike paymentTokenQuantity, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final Order.Builder toBuilder()
-
builder
final static Order.Builder builder()
Returns a mutable builder for constructing an instance of Order.
The following fields are required:
.id() .chainId() .createdDt() .orderContractAddress() .orderSide() .orderTif() .orderTransactionHash() .orderType() .paymentToken() .status() .stockId()
-
-
-
-