Class CancellationPolicyRef

java.lang.Object
com.broadleafcommerce.order.common.domain.subscription.CancellationPolicyRef
All Implemented Interfaces:
Serializable

public class CancellationPolicyRef extends Object implements Serializable
A simple data structure describing a reference to a cancellation policy and where it came from.
Since:
Order Common 2.0.4
Author:
Sunny Yu
See Also:
  • Constructor Details

    • CancellationPolicyRef

      public CancellationPolicyRef()
  • Method Details

    • getId

      public String getId()
      The id of the cancellation policy.
    • getSourceType

      public String getSourceType()
      The source type of where the cancellation policy came from, e.g. BLC_PRICE_DATA, BLC_PRODUCT.
      See Also:
    • getSourceId

      public String getSourceId()
      The id of the source where the cancellation policy came from.
    • getAttributes

      public Map<String,Object> getAttributes()
      The additional attributes.
    • setId

      public void setId(String id)
      The id of the cancellation policy.
    • setSourceType

      public void setSourceType(String sourceType)
      The source type of where the cancellation policy came from, e.g. BLC_PRICE_DATA, BLC_PRODUCT.
      See Also:
    • setSourceId

      public void setSourceId(String sourceId)
      The id of the source where the cancellation policy came from.
    • setAttributes

      public void setAttributes(Map<String,Object> attributes)
      The additional attributes.
    • 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