Record Class OrderCancelRequest
java.lang.Object
java.lang.Record
com.quantfinlib.fix.OrderCancelRequest
-
Constructor Summary
ConstructorsConstructorDescriptionOrderCancelRequest(String clOrdId, String origClOrdId, String symbol, Side side, long quantity) Creates an instance of aOrderCancelRequestrecord class. -
Method Summary
Modifier and TypeMethodDescriptionclOrdId()Returns the value of theclOrdIdrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of theorigClOrdIdrecord component.longquantity()Returns the value of thequantityrecord component.side()Returns the value of thesiderecord component.symbol()Returns the value of thesymbolrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
OrderCancelRequest
public OrderCancelRequest(String clOrdId, String origClOrdId, String symbol, Side side, long quantity) Creates an instance of aOrderCancelRequestrecord class.- Parameters:
clOrdId- the value for theclOrdIdrecord componentorigClOrdId- the value for theorigClOrdIdrecord componentsymbol- the value for thesymbolrecord componentside- the value for thesiderecord componentquantity- the value for thequantityrecord component
-
-
Method Details
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes. -
clOrdId
Returns the value of theclOrdIdrecord component.- Returns:
- the value of the
clOrdIdrecord component
-
origClOrdId
Returns the value of theorigClOrdIdrecord component.- Returns:
- the value of the
origClOrdIdrecord component
-
symbol
Returns the value of thesymbolrecord component.- Returns:
- the value of the
symbolrecord component
-
side
Returns the value of thesiderecord component.- Returns:
- the value of the
siderecord component
-
quantity
public long quantity()Returns the value of thequantityrecord component.- Returns:
- the value of the
quantityrecord component
-