public class OrderUpdated extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
OrderUpdated.Builder
Class to build instances of
OrderUpdated. |
| Constructor and Description |
|---|
OrderUpdated(String orderId,
Integer version,
String locationId,
String state,
String createdAt,
String updatedAt)
Initialization constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getCreatedAt()
Getter for CreatedAt.
|
String |
getLocationId()
Getter for LocationId.
|
String |
getOrderId()
Getter for OrderId.
|
String |
getState()
Getter for State.
|
String |
getUpdatedAt()
Getter for UpdatedAt.
|
Integer |
getVersion()
Getter for Version.
|
int |
hashCode() |
OrderUpdated.Builder |
toBuilder()
Builds a new
OrderUpdated.Builder object. |
String |
toString()
Converts this OrderUpdated into string format.
|
public OrderUpdated(String orderId, Integer version, String locationId, String state, String createdAt, String updatedAt)
orderId - String value for orderId.version - Integer value for version.locationId - String value for locationId.state - String value for state.createdAt - String value for createdAt.updatedAt - String value for updatedAt.public String getOrderId()
public Integer getVersion()
public String getLocationId()
public String getState()
public String getCreatedAt()
public String getUpdatedAt()
public String toString()
public OrderUpdated.Builder toBuilder()
OrderUpdated.Builder object.
Creates the instance with the state of the current model.OrderUpdated.Builder objectCopyright © 2022. All rights reserved.