Class Contact

java.lang.Object
com.broadleafcommerce.vendor.domain.Contact
All Implemented Interfaces:
Serializable

public class Contact extends Object implements Serializable
Represents contact information for a Vendor.
Author:
Jon Fleschler (jfleschler)
See Also:
  • Constructor Details

    • Contact

      public Contact()
  • Method Details

    • getFullName

      public String getFullName()
      The combined names of the contact. It is considered better UX to use a full name field in place of separate first and last name fields.
      Returns:
      The combined names of contact
    • getEmailAddress

      public String getEmailAddress()
      The email address of the contact.
      Returns:
      The email address of the contact
    • getAddress

      public Address getAddress()
      The address of the contact.
      Returns:
      The address The address of the contact.
    • setFullName

      public void setFullName(String fullName)
      The combined names of the contact. It is considered better UX to use a full name field in place of separate first and last name fields.
      Parameters:
      fullName - The combined names of the contact
    • setEmailAddress

      public void setEmailAddress(String emailAddress)
      The email address of the contact.
      Parameters:
      emailAddress - The email address of the contact
    • setAddress

      public void setAddress(Address address)
      The address of the contact.
      Parameters:
      address - The address of the contact.
    • 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