public class CatalogModifier extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
CatalogModifier.Builder
Class to build instances of
CatalogModifier. |
| Constructor and Description |
|---|
CatalogModifier(String name,
Money priceMoney,
Integer ordinal,
String modifierListId,
List<String> imageIds)
Initialization constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
List<String> |
getImageIds()
Getter for ImageIds.
|
String |
getModifierListId()
Getter for ModifierListId.
|
String |
getName()
Getter for Name.
|
Integer |
getOrdinal()
Getter for Ordinal.
|
Money |
getPriceMoney()
Getter for PriceMoney.
|
int |
hashCode() |
CatalogModifier.Builder |
toBuilder()
Builds a new
CatalogModifier.Builder object. |
String |
toString()
Converts this CatalogModifier into string format.
|
public CatalogModifier(String name, Money priceMoney, Integer ordinal, String modifierListId, List<String> imageIds)
name - String value for name.priceMoney - Money value for priceMoney.ordinal - Integer value for ordinal.modifierListId - String value for modifierListId.imageIds - List of String value for imageIds.public String getName()
public Money getPriceMoney()
public Integer getOrdinal()
public String getModifierListId()
public List<String> getImageIds()
public String toString()
public CatalogModifier.Builder toBuilder()
CatalogModifier.Builder object.
Creates the instance with the state of the current model.CatalogModifier.Builder objectCopyright © 2022. All rights reserved.