Class GuestTokenResponse
java.lang.Object
com.broadleafcommerce.cartoperation.web.endpoint.domain.GuestTokenResponse
- All Implemented Interfaces:
Serializable
A DTO object used for returning the cart and guest token.
- Author:
- Nick Crum (ncrum)
- See Also:
-
Constructor Summary
ConstructorDescriptionGuestTokenResponse
(com.broadleafcommerce.cart.client.domain.Cart cart, com.broadleafcommerce.cart.client.domain.GuestToken token) -
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
com.broadleafcommerce.cart.client.domain.Cart
getCart()
com.broadleafcommerce.cart.client.domain.GuestToken
getToken()
int
hashCode()
void
setCart
(com.broadleafcommerce.cart.client.domain.Cart cart) void
setToken
(com.broadleafcommerce.cart.client.domain.GuestToken token) toString()
-
Constructor Details
-
GuestTokenResponse
public GuestTokenResponse(com.broadleafcommerce.cart.client.domain.Cart cart, com.broadleafcommerce.cart.client.domain.GuestToken token)
-
-
Method Details
-
getCart
public com.broadleafcommerce.cart.client.domain.Cart getCart() -
getToken
public com.broadleafcommerce.cart.client.domain.GuestToken getToken() -
setCart
public void setCart(com.broadleafcommerce.cart.client.domain.Cart cart) -
setToken
public void setToken(com.broadleafcommerce.cart.client.domain.GuestToken token) -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-