Class RejectMapResponse

java.lang.Object
com.broadleafcommerce.data.tracking.core.mapping.RejectMapResponse

public class RejectMapResponse extends Object
The result of a request to reject a previous promotion
Author:
Jeff Fischer
  • Constructor Details

    • RejectMapResponse

      public RejectMapResponse(Trackable userState)
  • Method Details

    • withAdvancedState

      public RejectMapResponse withAdvancedState(Trackable advancedState)
    • withShouldArchiveAdvancedState

      public RejectMapResponse withShouldArchiveAdvancedState(boolean shouldArchiveAdvancedState)
    • getAdvancedState

      public Trackable getAdvancedState()
      The resulting promotion sandbox state after any ChangeDetail instances have been removed, and the entity state updated to reflect the removal. This can be null in cases where the reject request resulted in the removal of all change details.
      Returns:
      The resulting promotion sandbox state after a reject request
    • getUserState

      public Trackable getUserState()
      The resulting user sandbox state after the reject request. The user state contains only changes related to the rejected promotion.
      Returns:
      The resulting user sandbox state after the reject request
    • isShouldArchiveAdvancedState

      public boolean isShouldArchiveAdvancedState()
    • setAdvancedState

      public void setAdvancedState(Trackable advancedState)
      The resulting promotion sandbox state after any ChangeDetail instances have been removed, and the entity state updated to reflect the removal. This can be null in cases where the reject request resulted in the removal of all change details.
      Parameters:
      advancedState - The resulting promotion sandbox state after a reject request
    • setShouldArchiveAdvancedState

      public void setShouldArchiveAdvancedState(boolean shouldArchiveAdvancedState)
    • 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