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 boolean
canEqual(Object other)
boolean
equals(Object o)
String
getEmailAddress()
Email addresses that should be used as a point of contact for the cart.int
hashCode()
void
setEmailAddress(String emailAddress)
Email addresses that should be used as a point of contact for the cart.String
toString()
-
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:
equals
in classCartModifyingRequest
-
canEqual
protected boolean canEqual(Object other)
- Overrides:
canEqual
in classCartModifyingRequest
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classCartModifyingRequest
-
toString
public String toString()
- Overrides:
toString
in classCartModifyingRequest
-
-