public class OrderCreated extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
OrderCreated.Builder
Class to build instances of
OrderCreated. |
| Modifier | Constructor and Description |
|---|---|
protected |
OrderCreated(io.apimatic.core.types.OptionalNullable<String> orderId,
Integer version,
io.apimatic.core.types.OptionalNullable<String> locationId,
String state,
String createdAt)
Internal initialization constructor.
|
|
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() |
protected io.apimatic.core.types.OptionalNullable<String> |
internalGetLocationId()
Internal Getter for LocationId.
|
protected io.apimatic.core.types.OptionalNullable<String> |
internalGetOrderId()
Internal Getter for OrderId.
|
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.protected io.apimatic.core.types.OptionalNullable<String> internalGetOrderId()
public String getOrderId()
public Integer getVersion()
protected io.apimatic.core.types.OptionalNullable<String> internalGetLocationId()
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 © 2023. All rights reserved.