public class AddCodeRequest extends CartModifyingRequest implements Serializable
| Constructor and Description |
|---|
AddCodeRequest() |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
String |
getCode()
The code to add.
|
int |
hashCode() |
void |
setCode(String code)
The code to add.
|
String |
toString() |
getCartVersion, getVersion, setCartVersion, setVersionpublic String getCode()
public void setCode(String code)
code - The code to add.public boolean equals(Object o)
equals in class CartModifyingRequestprotected boolean canEqual(Object other)
canEqual in class CartModifyingRequestpublic int hashCode()
hashCode in class CartModifyingRequestpublic String toString()
toString in class CartModifyingRequestCopyright © 2021. All rights reserved.