Class PendingSubscriptionItemAdjustmentRemoval
java.lang.Object
com.broadleafcommerce.subscriptionoperation.domain.offer.PendingSubscriptionItemAdjustmentRemoval
- All Implemented Interfaces:
Serializable
Represents details of a subscription item adjustment that will be removed from the subscription
item, typically due to the cancellation of a subscription that is a qualifier of that offer.
For example, let's say a customer has 2 subscriptions, subA and subB. subB has a 10% discount
because subA is a qualifier of that offer. If the customer cancels subA, then the discount on
subB will be removed. This class holds the details of the subscription item adjustment that will
be removed from subB.
- Author:
- Sunny Yu
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanThe amount of the adjustment that will be removed.The cart label of the adjustment that will be removed.javax.money.CurrencyUnitThe currency of the adjustment that will be removed.The description of the adjustment that will be removed.The name of the adjustment that will be removed.The reference of the adjustment that will be removed.The id of the subscription of which the adjustment going to be removed belongs to.The id of the subscription item adjustment that will actually be removed.The id of the subscription item of which the adjustment going to be removed belongs to.The id of the subscription item of which the adjustment going to be removed belongs to.The id of the subscription of which the adjustment going to be removed belongs to.inthashCode()voidsetAdditionalAttributes(Map<String, Object> additionalAttributes) voidsetAdjustmentAmount(BigDecimal adjustmentAmount) The amount of the adjustment that will be removed.voidsetAdjustmentCartLabel(String adjustmentCartLabel) The cart label of the adjustment that will be removed.voidsetAdjustmentCurrency(javax.money.CurrencyUnit adjustmentCurrency) The currency of the adjustment that will be removed.voidsetAdjustmentDescription(String adjustmentDescription) The description of the adjustment that will be removed.voidsetAdjustmentName(String adjustmentName) The name of the adjustment that will be removed.voidsetAdjustmentRef(String adjustmentRef) The reference of the adjustment that will be removed.voidsetSubscriptionId(String subscriptionId) The id of the subscription of which the adjustment going to be removed belongs to.voidsetSubscriptionItemAdjustmentId(String subscriptionItemAdjustmentId) The id of the subscription item adjustment that will actually be removed.voidsetSubscriptionItemId(String subscriptionItemId) The id of the subscription item of which the adjustment going to be removed belongs to.voidsetSubscriptionItemName(String subscriptionItemName) The id of the subscription item of which the adjustment going to be removed belongs to.voidsetSubscriptionName(String subscriptionName) The id of the subscription of which the adjustment going to be removed belongs to.toString()
-
Constructor Details
-
PendingSubscriptionItemAdjustmentRemoval
public PendingSubscriptionItemAdjustmentRemoval()
-
-
Method Details
-
getSubscriptionItemAdjustmentId
The id of the subscription item adjustment that will actually be removed. -
getSubscriptionId
The id of the subscription of which the adjustment going to be removed belongs to. -
getSubscriptionName
The id of the subscription of which the adjustment going to be removed belongs to. -
getSubscriptionItemId
The id of the subscription item of which the adjustment going to be removed belongs to. -
getSubscriptionItemName
The id of the subscription item of which the adjustment going to be removed belongs to. -
getAdjustmentRef
The reference of the adjustment that will be removed. -
getAdjustmentAmount
The amount of the adjustment that will be removed. -
getAdjustmentCurrency
public javax.money.CurrencyUnit getAdjustmentCurrency()The currency of the adjustment that will be removed. -
getAdjustmentName
The name of the adjustment that will be removed. -
getAdjustmentCartLabel
The cart label of the adjustment that will be removed. -
getAdjustmentDescription
The description of the adjustment that will be removed. -
getAdditionalAttributes
-
setSubscriptionItemAdjustmentId
The id of the subscription item adjustment that will actually be removed. -
setSubscriptionId
The id of the subscription of which the adjustment going to be removed belongs to. -
setSubscriptionName
The id of the subscription of which the adjustment going to be removed belongs to. -
setSubscriptionItemId
The id of the subscription item of which the adjustment going to be removed belongs to. -
setSubscriptionItemName
The id of the subscription item of which the adjustment going to be removed belongs to. -
setAdjustmentRef
The reference of the adjustment that will be removed. -
setAdjustmentAmount
The amount of the adjustment that will be removed. -
setAdjustmentCurrency
public void setAdjustmentCurrency(javax.money.CurrencyUnit adjustmentCurrency) The currency of the adjustment that will be removed. -
setAdjustmentName
The name of the adjustment that will be removed. -
setAdjustmentCartLabel
The cart label of the adjustment that will be removed. -
setAdjustmentDescription
The description of the adjustment that will be removed. -
setAdditionalAttributes
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-