Class ContactInfoRequest
- java.lang.Object
-
- com.broadleafcommerce.cartoperation.web.endpoint.domain.CartModifyingRequest
-
- com.broadleafcommerce.cartoperation.web.endpoint.domain.ContactInfoRequest
-
- All Implemented Interfaces:
CartVersionedRequest,Serializable
public class ContactInfoRequest extends CartModifyingRequest implements Serializable
DTO for a request to update the Cart's contact info.- Author:
- Chris Kittrell (ckittrell)
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ContactInfoRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleancanEqual(Object other)booleanequals(Object o)StringgetEmailAddress()Email addresses that should be used as a point of contact for the cart.inthashCode()voidsetEmailAddress(String emailAddress)Email addresses that should be used as a point of contact for the cart.StringtoString()-
Methods inherited from class com.broadleafcommerce.cartoperation.web.endpoint.domain.CartModifyingRequest
getCartVersion, getVersion, setCartVersion, setVersion
-
-
-
-
Method Detail
-
getEmailAddress
public String getEmailAddress()
Email addresses that should be used as a point of contact for the cart.- Returns:
- Email addresses that should be used as a point of contact for the cart.
-
setEmailAddress
public void setEmailAddress(String emailAddress)
Email addresses that should be used as a point of contact for the cart.
-
equals
public boolean equals(Object o)
- Overrides:
equalsin classCartModifyingRequest
-
canEqual
protected boolean canEqual(Object other)
- Overrides:
canEqualin classCartModifyingRequest
-
hashCode
public int hashCode()
- Overrides:
hashCodein classCartModifyingRequest
-
toString
public String toString()
- Overrides:
toStringin classCartModifyingRequest
-
-