Class AddAttributeRequest
java.lang.Object
com.broadleafcommerce.cartoperation.web.endpoint.domain.CartModifyingRequest
com.broadleafcommerce.cartoperation.web.endpoint.domain.AddAttributeRequest
- All Implemented Interfaces:
CartVersionedRequest
,Serializable
DTO for a request to add a Cart attribute.
- 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
-
AddAttributeRequest
public AddAttributeRequest()
-
-
Method Details
-
getKey
The attribute's key.- Returns:
- The attribute's key.
-
getValue
The attribute's value.- Returns:
- The attribute's value.
-
setKey
The attribute's key.- Parameters:
key
- The attribute's key.
-
setValue
The attribute's value.- Parameters:
value
- The attribute's value.
-
equals
- Overrides:
equals
in classCartModifyingRequest
-
canEqual
- Overrides:
canEqual
in classCartModifyingRequest
-
hashCode
public int hashCode()- Overrides:
hashCode
in classCartModifyingRequest
-
toString
- Overrides:
toString
in classCartModifyingRequest
-