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
Constructors -
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:
equalsin classCartModifyingRequest
-
canEqual
- Overrides:
canEqualin classCartModifyingRequest
-
hashCode
public int hashCode()- Overrides:
hashCodein classCartModifyingRequest
-
toString
- Overrides:
toStringin classCartModifyingRequest
-