Class IdentifyCancellationPolicyResponse

java.lang.Object
com.broadleafcommerce.cartoperation.service.provider.domain.IdentifyCancellationPolicyResponse
All Implemented Interfaces:
Serializable

public class IdentifyCancellationPolicyResponse extends Object implements Serializable
Response DTO describing the result of identifying the cancellation policies for the CartItems
Since:
Cart Operation Service 2.3.0, Release Train 2.3.0
Author:
Sunny Yu
See Also:
  • Constructor Details

    • IdentifyCancellationPolicyResponse

      public IdentifyCancellationPolicyResponse()
  • Method Details

    • getPolicyByCartItemId

      public Map<String,com.broadleafcommerce.order.common.domain.subscription.CancellationPolicyRef> getPolicyByCartItemId()
      A map of CartItem.getId() to the matching CancellationPolicyRef.
    • getAdditionalAttributes

      public Map<String,Object> getAdditionalAttributes()
      Miscellaneous attributes that can be added to the response in order to provide more information.
    • setPolicyByCartItemId

      public void setPolicyByCartItemId(Map<String,com.broadleafcommerce.order.common.domain.subscription.CancellationPolicyRef> policyByCartItemId)
      A map of CartItem.getId() to the matching CancellationPolicyRef.
    • setAdditionalAttributes

      public void setAdditionalAttributes(Map<String,Object> additionalAttributes)
      Miscellaneous attributes that can be added to the response in order to provide more information.
    • 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