public class OrderCreated extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
OrderCreated.Builder
Class to build instances of
OrderCreated. |
| Constructor and Description |
|---|
OrderCreated(String orderId,
Integer version,
String locationId,
String state,
String createdAt)
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.
|
Integer |
getVersion()
Getter for Version.
|
int |
hashCode() |
OrderCreated.Builder |
toBuilder()
Builds a new
OrderCreated.Builder object. |
String |
toString()
Converts this OrderCreated into string format.
|
public OrderCreated(String orderId, Integer version, String locationId, String state, String createdAt)
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.public String getOrderId()
public Integer getVersion()
public String getLocationId()
public String getState()
public String getCreatedAt()
public String toString()
public OrderCreated.Builder toBuilder()
OrderCreated.Builder object.
Creates the instance with the state of the current model.OrderCreated.Builder objectCopyright © 2022. All rights reserved.