public class CatalogItemFoodAndBeverageDetailsIngredient extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
CatalogItemFoodAndBeverageDetailsIngredient.Builder
Class to build instances of
CatalogItemFoodAndBeverageDetailsIngredient. |
| Modifier | Constructor and Description |
|---|---|
protected |
CatalogItemFoodAndBeverageDetailsIngredient(String type,
String standardName,
io.apimatic.core.types.OptionalNullable<String> customName)
Initialization constructor.
|
|
CatalogItemFoodAndBeverageDetailsIngredient(String type,
String standardName,
String customName)
Initialization constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getCustomName()
Getter for CustomName.
|
String |
getStandardName()
Getter for StandardName.
|
String |
getType()
Getter for Type.
|
int |
hashCode() |
protected io.apimatic.core.types.OptionalNullable<String> |
internalGetCustomName()
Internal Getter for CustomName.
|
CatalogItemFoodAndBeverageDetailsIngredient.Builder |
toBuilder()
Builds a new
CatalogItemFoodAndBeverageDetailsIngredient.Builder object. |
String |
toString()
Converts this CatalogItemFoodAndBeverageDetailsIngredient into string format.
|
public CatalogItemFoodAndBeverageDetailsIngredient(String type, String standardName, String customName)
type - String value for type.standardName - String value for standardName.customName - String value for customName.protected CatalogItemFoodAndBeverageDetailsIngredient(String type, String standardName, io.apimatic.core.types.OptionalNullable<String> customName)
type - String value for type.standardName - String value for standardName.customName - String value for customName.public String getType()
public String getStandardName()
protected io.apimatic.core.types.OptionalNullable<String> internalGetCustomName()
public String getCustomName()
public String toString()
public CatalogItemFoodAndBeverageDetailsIngredient.Builder toBuilder()
CatalogItemFoodAndBeverageDetailsIngredient.Builder object.
Creates the instance with the state of the current model.CatalogItemFoodAndBeverageDetailsIngredient.Builder objectCopyright © 2024. All rights reserved.