Class AccountUpdateRequest

java.lang.Object
com.broadleafcommerce.customer.service.bulk.messaging.AccountUpdateRequest
All Implemented Interfaces:
Serializable

public class AccountUpdateRequest extends Object implements Serializable
Data about account parent updates.
Author:
Cade Rea (cade-rea)
See Also:
  • Constructor Details

    • AccountUpdateRequest

      public AccountUpdateRequest(String accountId, @Nullable String parentAccountId, String status, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
    • AccountUpdateRequest

      public AccountUpdateRequest()
  • Method Details

    • getAccountId

      public String getAccountId()
      The unique identifier for this account.
    • getParentAccountId

      @Nullable public String getParentAccountId()
      The parent account id for this account. If this account does not have a parent, this value will be null.
    • getStatus

      public String getStatus()
      Whether this account is active or some other status.
    • getContextInfo

      public com.broadleafcommerce.data.tracking.core.context.ContextInfo getContextInfo()
      Context information for tracking the source of this request.
    • getAccountNumber

      public String getAccountNumber()
      The account number associated with this account.
      Since:
      Customer Services 2.1.0, Release Train 2.3.0
    • setAccountId

      public void setAccountId(String accountId)
      The unique identifier for this account.
    • setParentAccountId

      public void setParentAccountId(@Nullable String parentAccountId)
      The parent account id for this account. If this account does not have a parent, this value will be null.
    • setStatus

      public void setStatus(String status)
      Whether this account is active or some other status.
    • setContextInfo

      public void setContextInfo(com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
      Context information for tracking the source of this request.
    • setAccountNumber

      public void setAccountNumber(String accountNumber)
      The account number associated with this account.
      Since:
      Customer Services 2.1.0, Release Train 2.3.0
    • 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