Class AddCodeRequest
java.lang.Object
com.broadleafcommerce.cartoperation.web.endpoint.domain.CartModifyingRequest
com.broadleafcommerce.cartoperation.web.endpoint.domain.AddCodeRequest
- All Implemented Interfaces:
CartVersionedRequest
,Serializable
DTO for a request to add a promotional code to the Cart.
- Author:
- Nathan Moore (nathandmoore)
- See Also:
-
Constructor Summary
-
Method Summary
Methods inherited from class com.broadleafcommerce.cartoperation.web.endpoint.domain.CartModifyingRequest
getCartVersion, getVersion, setCartVersion, setVersion
-
Constructor Details
-
AddCodeRequest
public AddCodeRequest()
-
-
Method Details
-
getCode
The code to add.- Returns:
- The code to add.
-
setCode
The code to add.- Parameters:
code
- The code to add.
-
equals
- Overrides:
equals
in classCartModifyingRequest
-
canEqual
- Overrides:
canEqual
in classCartModifyingRequest
-
hashCode
public int hashCode()- Overrides:
hashCode
in classCartModifyingRequest
-
toString
- Overrides:
toString
in classCartModifyingRequest
-