Class UpdateAccountMemberRequest

java.lang.Object
com.broadleafcommerce.customer.web.endpoint.domain.UpdateAccountMemberRequest
All Implemented Interfaces:
Serializable

public class UpdateAccountMemberRequest extends Object implements Serializable
Used to describe an update that should be made to an AccountMember
Author:
Chris Kittrell (ckittrell)
See Also:
  • Constructor Details

    • UpdateAccountMemberRequest

      public UpdateAccountMemberRequest()
  • Method Details

    • getAccountRoleIds

      public Set<String> getAccountRoleIds()
      The roles assigned to this AccountMember.
      Returns:
      The roles assigned to this account member.
    • getEmail

      @Deprecated public String getEmail()
      Deprecated.
      We use the customer's email instead.
      An updated email address for the account member.
      Returns:
      an updated email address for the account member
    • getPhone

      @Deprecated public Phone getPhone()
      Deprecated.
      Use the customer's phone numbers instead
      An updated primary phone number of the account member.
      Returns:
      an updated primary phone number of the account member
    • getAdditionalPhones

      @Deprecated public List<AdditionalPhone> getAdditionalPhones()
      Deprecated.
      Use the customer's phone numbers instead
      Additional phone numbers associated with the account member.
      Returns:
      additional phone numbers associated with the account member
    • getAttributes

      public Map<String,Object> getAttributes()
      Additional attributes that are used to describe the account member
      Returns:
      additional attributes that are used to describe the account member
    • setAccountRoleIds

      public void setAccountRoleIds(Set<String> accountRoleIds)
      The roles assigned to this AccountMember.
      Parameters:
      accountRoleIds - The roles assigned to this account member.
    • setEmail

      @Deprecated public void setEmail(String email)
      Deprecated.
      We use the customer's email instead.
      An updated email address for the account member.
      Parameters:
      email - an updated email address for the account member
    • setPhone

      @Deprecated public void setPhone(Phone phone)
      Deprecated.
      Use the customer's phone numbers instead
      An updated primary phone number of the account member.
      Parameters:
      phone - an updated primary phone number of the account member
    • setAdditionalPhones

      @Deprecated public void setAdditionalPhones(List<AdditionalPhone> additionalPhones)
      Deprecated.
      Use the customer's phone numbers instead
      Additional phone numbers associated with the account member.
      Parameters:
      additionalPhones - additional phone numbers associated with the account member
    • setAttributes

      public void setAttributes(Map<String,Object> attributes)
      Additional attributes that are used to describe the account member
      Parameters:
      attributes - additional attributes that are used to describe the account member
    • 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