Class CancellationPolicyRef
java.lang.Object
com.broadleafcommerce.order.common.domain.subscription.CancellationPolicyRef
- All Implemented Interfaces:
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanThe additional attributes.getId()The id of the cancellation policy.The id of the source where the cancellation policy came from.The source type of where the cancellation policy came from, e.g.inthashCode()voidsetAttributes(Map<String, Object> attributes) The additional attributes.voidThe id of the cancellation policy.voidsetSourceId(String sourceId) The id of the source where the cancellation policy came from.voidsetSourceType(String sourceType) The source type of where the cancellation policy came from, e.g.toString()
-
Constructor Details
-
CancellationPolicyRef
public CancellationPolicyRef()
-
-
Method Details
-
getId
The id of the cancellation policy. -
getSourceType
The source type of where the cancellation policy came from, e.g. BLC_PRICE_DATA, BLC_PRODUCT.- See Also:
-
getSourceId
The id of the source where the cancellation policy came from. -
getAttributes
The additional attributes. -
setId
The id of the cancellation policy. -
setSourceType
The source type of where the cancellation policy came from, e.g. BLC_PRICE_DATA, BLC_PRODUCT.- See Also:
-
setSourceId
The id of the source where the cancellation policy came from. -
setAttributes
The additional attributes. -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-