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, setVersion
public String getCode()
public void setCode(String code)
code
- The code to add.public boolean equals(Object o)
equals
in class CartModifyingRequest
protected boolean canEqual(Object other)
canEqual
in class CartModifyingRequest
public int hashCode()
hashCode
in class CartModifyingRequest
public String toString()
toString
in class CartModifyingRequest
Copyright © 2021. All rights reserved.