public class AttributeChoiceValue extends Object implements Serializable
Constructor and Description |
---|
AttributeChoiceValue() |
AttributeChoiceValue(String optionLabel,
String label,
String value) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
String |
getLabel()
What the customer sees for display.
|
String |
getOptionLabel()
The label shown to customers for the option.
|
String |
getValue()
The value based on what the user selected.
|
int |
hashCode() |
void |
setLabel(String label)
What the customer sees for display.
|
void |
setOptionLabel(String optionLabel)
The label shown to customers for the option.
|
void |
setValue(String value)
The value based on what the user selected.
|
String |
toString() |
public String getOptionLabel()
public String getLabel()
value
which is what was added to the cartgetValue()
should be used for
displaypublic String getValue()
public void setOptionLabel(String optionLabel)
optionLabel
- the display shown to customers for the optionpublic void setLabel(String label)
value
which is what was added to the cartlabel
- customer-facing display of this valuepublic void setValue(String value)
value
- the value the user selectedprotected boolean canEqual(Object other)
Copyright © 2021. All rights reserved.