Interface User


  • public interface User

    User interface. Get user data associated to the cart.

    Since:
    1.0.16
    Author:
    Logicommerce
    See Also:
    Cart, UserAddress
    • Method Detail

      • getId

        Integer getId()

        Get user ID value.

        Returns:
        a Integer object
        Since:
        1.0.16
      • getEmail

        String getEmail()

        Get user email value.

        Returns:
        a String object
        Since:
        1.0.16
      • getNick

        String getNick()

        Get user nick value.

        Returns:
        a String object
        Since:
        1.0.16
      • getGender

        String getGender()

        Get user gender value.

        Returns:
        a String object
        Since:
        1.0.16
      • getBirthday

        LocalDate getBirthday()

        Get user birthday date value.

        Returns:
        a LocalDate object
        Since:
        1.0.16
      • getCompany

        String getCompany()

        Get user company value.

        Returns:
        a String object
        Since:
        1.0.16
      • getSalesAgentId

        Integer getSalesAgentId()

        Get sales Agent ID associated to the user. This value is filled in if the purchase has been assisted by a sales agent.

        Returns:
        a Integer object
        Since:
        1.0.16
      • isSalesAgent

        Boolean isSalesAgent()

        Get sales agent. return true if the purchase has been realized by a sales agent.

        Returns:
        a Boolean object
        Since:
        1.0.16
      • getCustomTags

        Map<String,​String> getCustomTags()

        Get the user custom tags. This is a map with key, value, and de key is the name of the custom tag.

        Returns:
        a Map<String, String> object
        Since:
        1.0.16