Class RemoveSubscriptionItemAdjustmentResponse

java.lang.Object
com.broadleafcommerce.subscription.web.domain.RemoveSubscriptionItemAdjustmentResponse
All Implemented Interfaces:
Serializable

public class RemoveSubscriptionItemAdjustmentResponse extends Object implements Serializable
Represents the response from removing subscription item adjustments.
Author:
Sunny Yu
See Also:
  • Constructor Details

    • RemoveSubscriptionItemAdjustmentResponse

      public RemoveSubscriptionItemAdjustmentResponse()
  • Method Details

    • isSuccess

      public boolean isSuccess()
      Whether or not the request was successful.
    • getErrorMessage

      public String getErrorMessage()
      The error message associated with the request, if any.
    • getRemovedItemAdjustments

      public List<SubscriptionItemAdjustment> getRemovedItemAdjustments()
      The list of the removed SubscriptionItemAdjustment.
    • getLockedSubscriptionIds

      public Set<String> getLockedSubscriptionIds()
      The ids of subscriptions that were locked, not allowing the SubscriptionItemAdjustments to be removed.
    • getAdditionalAttributes

      public Map<String,Object> getAdditionalAttributes()
      Miscellaneous attributes that can be set to this request to inform business logic
    • setSuccess

      public void setSuccess(boolean success)
      Whether or not the request was successful.
    • setErrorMessage

      public void setErrorMessage(String errorMessage)
      The error message associated with the request, if any.
    • setRemovedItemAdjustments

      public void setRemovedItemAdjustments(List<SubscriptionItemAdjustment> removedItemAdjustments)
      The list of the removed SubscriptionItemAdjustment.
    • setLockedSubscriptionIds

      public void setLockedSubscriptionIds(Set<String> lockedSubscriptionIds)
      The ids of subscriptions that were locked, not allowing the SubscriptionItemAdjustments to be removed.
    • setAdditionalAttributes

      public void setAdditionalAttributes(Map<String,Object> additionalAttributes)
      Miscellaneous attributes that can be set to this request to inform business logic
    • 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