Class Eip155SubmitResponse
-
- All Implemented Interfaces:
public final class Eip155SubmitResponseA request to create an
Order.An
EIP155OrderRequestis created when a user places an order through the Dinari API. TheEIP155OrderRequestis then fulfilled by creating anOrderon-chain.The
EIP155OrderRequestis a record of the user's intent to place an order, while theOrderis the actual transaction that occurs on the blockchain.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classEip155SubmitResponse.BuilderA builder for Eip155SubmitResponse.
-
Method Summary
Modifier and Type Method Description final Stringid()ID of EIP155OrderRequest.final StringaccountId()ID of Accountplacing theEIP155OrderRequest.final OffsetDateTimecreatedDt()Datetime at which the EIP155OrderRequestwas created.final OrderSideorderSide()Indicates whether Orderis a buy or sell.final OrderTiforderTif()Indicates how long Orderis valid for.final OrderTypeorderType()Type of Order.final OrderRequestStatusstatus()Status of EIP155OrderRequest.final Optional<String>cancelMessage()Reason for the order cancellation if the order status is CANCELLED final Optional<String>orderId()ID of Ordercreated from theEIP155OrderRequest.final Optional<String>recipientAccountId()ID of recipient Account.final JsonField<String>_id()Returns the raw JSON value of id. final JsonField<String>_accountId()Returns the raw JSON value of accountId. final JsonField<OffsetDateTime>_createdDt()Returns the raw JSON value of createdDt. final JsonField<OrderSide>_orderSide()Returns the raw JSON value of orderSide. final JsonField<OrderTif>_orderTif()Returns the raw JSON value of orderTif. final JsonField<OrderType>_orderType()Returns the raw JSON value of orderType. final JsonField<OrderRequestStatus>_status()Returns the raw JSON value of status. final JsonField<String>_cancelMessage()Returns the raw JSON value of cancelMessage. final JsonField<String>_orderId()Returns the raw JSON value of orderId. final JsonField<String>_recipientAccountId()Returns the raw JSON value of recipientAccountId. final Map<String, JsonValue>_additionalProperties()final Eip155SubmitResponse.BuildertoBuilder()final Eip155SubmitResponsevalidate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static Eip155SubmitResponse.Builderbuilder()Returns a mutable builder for constructing an instance of Eip155SubmitResponse. -
-
Method Detail
-
id
final String id()
ID of
EIP155OrderRequest. This is the primary identifier for the/order_requestsroutes.
-
createdDt
final OffsetDateTime createdDt()
Datetime at which the
EIP155OrderRequestwas created. ISO 8601 timestamp.
-
status
final OrderRequestStatus status()
Status of
EIP155OrderRequest. Possible values:QUOTED: Order request created with fee quote provided, ready for processingPENDING: Order request is being prepared for submissionPENDING_BRIDGE: Order is waiting for bridge transaction to completeSUBMITTED: Order has been successfully submitted to the order bookERROR: An error occurred during order processingCANCELLED: Order request was cancelledEXPIRED: Order request expired due to deadline passing
-
cancelMessage
final Optional<String> cancelMessage()
Reason for the order cancellation if the order status is CANCELLED
-
orderId
final Optional<String> orderId()
ID of
Ordercreated from theEIP155OrderRequest. This is the primary identifier for the/ordersroutes.
-
recipientAccountId
final Optional<String> recipientAccountId()
ID of recipient
Account.
-
_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.
-
_accountId
final JsonField<String> _accountId()
Returns the raw JSON value of accountId.
Unlike accountId, 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.
-
_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.
-
_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.
-
_status
final JsonField<OrderRequestStatus> _status()
Returns the raw JSON value of status.
Unlike status, this method doesn't throw if the JSON field has an unexpected type.
-
_cancelMessage
final JsonField<String> _cancelMessage()
Returns the raw JSON value of cancelMessage.
Unlike cancelMessage, this method doesn't throw if the JSON field has an unexpected type.
-
_orderId
final JsonField<String> _orderId()
Returns the raw JSON value of orderId.
Unlike orderId, this method doesn't throw if the JSON field has an unexpected type.
-
_recipientAccountId
final JsonField<String> _recipientAccountId()
Returns the raw JSON value of recipientAccountId.
Unlike recipientAccountId, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final Eip155SubmitResponse.Builder toBuilder()
-
validate
final Eip155SubmitResponse validate()
-
builder
final static Eip155SubmitResponse.Builder builder()
Returns a mutable builder for constructing an instance of Eip155SubmitResponse.
The following fields are required:
.id() .accountId() .createdDt() .orderSide() .orderTif() .orderType() .status()
-
-
-
-