java.lang.Object
com.broadleafcommerce.cartoperation.web.endpoint.domain.GuestTokenResponse
All Implemented Interfaces:
Serializable

public class GuestTokenResponse extends Object implements Serializable
A DTO object used for returning the cart and guest token.
Author:
Nick Crum (ncrum)
See Also:
  • Constructor Summary

    Constructors
    Constructor
    Description
    GuestTokenResponse(com.broadleafcommerce.cart.client.domain.Cart cart, com.broadleafcommerce.cart.client.domain.GuestToken token)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected boolean
     
    boolean
     
    com.broadleafcommerce.cart.client.domain.Cart
     
    com.broadleafcommerce.cart.client.domain.GuestToken
     
    int
     
    void
    setCart(com.broadleafcommerce.cart.client.domain.Cart cart)
     
    void
    setToken(com.broadleafcommerce.cart.client.domain.GuestToken token)
     
     

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • 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

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object