public class CashDrawerDevice extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
CashDrawerDevice.Builder
Class to build instances of
CashDrawerDevice. |
| Modifier | Constructor and Description |
|---|---|
protected |
CashDrawerDevice(String id,
io.apimatic.core.types.OptionalNullable<String> name)
Internal initialization constructor.
|
|
CashDrawerDevice(String id,
String name)
Initialization constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getId()
Getter for Id.
|
String |
getName()
Getter for Name.
|
int |
hashCode() |
protected io.apimatic.core.types.OptionalNullable<String> |
internalGetName()
Internal Getter for Name.
|
CashDrawerDevice.Builder |
toBuilder()
Builds a new
CashDrawerDevice.Builder object. |
String |
toString()
Converts this CashDrawerDevice into string format.
|
public CashDrawerDevice(String id, String name)
id - String value for id.name - String value for name.public String getId()
protected io.apimatic.core.types.OptionalNullable<String> internalGetName()
public String getName()
public String toString()
public CashDrawerDevice.Builder toBuilder()
CashDrawerDevice.Builder object.
Creates the instance with the state of the current model.CashDrawerDevice.Builder objectCopyright © 2023. All rights reserved.