Record Class CAICommandStockSearchBegin
java.lang.Object
java.lang.Record
com.io7m.cardant.protocol.inventory.CAICommandStockSearchBegin
- Record Components:
searchParameters- The search parameters
- All Implemented Interfaces:
CAProtocolMessageType,CAICommandType<CAIResponseStockSearch>,CAIMessageType,com.io7m.hibiscus.api.HBMessageType
public record CAICommandStockSearchBegin(CAStockSearchParameters searchParameters)
extends Record
implements CAICommandType<CAIResponseStockSearch>
Search for stock.
-
Constructor Summary
ConstructorsConstructorDescriptionCAICommandStockSearchBegin(CAStockSearchParameters searchParameters) Search for stock. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of thesearchParametersrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
CAICommandStockSearchBegin
Search for stock.- Parameters:
searchParameters- The search parameters
-
-
Method Details
-
responseClass
- Specified by:
responseClassin interfaceCAICommandType<CAIResponseStockSearch>- Returns:
- The response class associated with this command (excluding the error response)
-
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. All components in this record class are compared withObjects::equals(Object,Object). -
searchParameters
Returns the value of thesearchParametersrecord component.- Returns:
- the value of the
searchParametersrecord component
-