public class CashDrawerShiftEvent extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
CashDrawerShiftEvent.Builder
Class to build instances of
CashDrawerShiftEvent. |
| Constructor and Description |
|---|
CashDrawerShiftEvent(String id,
String employeeId,
String eventType,
Money eventMoney,
String createdAt,
String description)
Initialization constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getCreatedAt()
Getter for CreatedAt.
|
String |
getDescription()
Getter for Description.
|
String |
getEmployeeId()
Getter for EmployeeId.
|
Money |
getEventMoney()
Getter for EventMoney.
|
String |
getEventType()
Getter for EventType.
|
String |
getId()
Getter for Id.
|
int |
hashCode() |
CashDrawerShiftEvent.Builder |
toBuilder()
Builds a new
CashDrawerShiftEvent.Builder object. |
String |
toString()
Converts this CashDrawerShiftEvent into string format.
|
public CashDrawerShiftEvent(String id, String employeeId, String eventType, Money eventMoney, String createdAt, String description)
id - String value for id.employeeId - String value for employeeId.eventType - String value for eventType.eventMoney - Money value for eventMoney.createdAt - String value for createdAt.description - String value for description.public String getId()
public String getEmployeeId()
public String getEventType()
public Money getEventMoney()
public String getCreatedAt()
public String getDescription()
public String toString()
public CashDrawerShiftEvent.Builder toBuilder()
CashDrawerShiftEvent.Builder object.
Creates the instance with the state of the current model.CashDrawerShiftEvent.Builder objectCopyright © 2022. All rights reserved.