Class GuestTokenValidationResponse

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

public class GuestTokenValidationResponse extends Object implements Serializable
A DTO object used for returning whether a guest token is valid and its details.
Author:
Nick Crum (ncrum)
See Also:
  • Constructor Details

    • GuestTokenValidationResponse

      public GuestTokenValidationResponse(boolean valid, com.broadleafcommerce.cart.client.domain.GuestToken token)
  • Method Details

    • isValid

      public boolean isValid()
    • getToken

      public com.broadleafcommerce.cart.client.domain.GuestToken getToken()
    • setValid

      public void setValid(boolean valid)
    • 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