Class ULIDGuestTokenGenerator

    • Constructor Detail

      • ULIDGuestTokenGenerator

        public ULIDGuestTokenGenerator​(com.broadleafcommerce.common.extension.TypeFactory typeFactory)
    • Method Detail

      • generateGuestToken

        public com.broadleafcommerce.cart.client.domain.GuestToken generateGuestToken​(String cartId)
        Description copied from interface: GuestTokenGenerator
        Generates a GuestToken for the given cart ID.
        Specified by:
        generateGuestToken in interface GuestTokenGenerator
        Parameters:
        cartId - the cart ID
        Returns:
        the guest token
      • getTypeFactory

        protected com.broadleafcommerce.common.extension.TypeFactory getTypeFactory()
      • getTokenTimeout

        public Duration getTokenTimeout()
      • setTokenTimeout

        public void setTokenTimeout​(Duration tokenTimeout)