Class PriceDataChange
java.lang.Object
com.broadleafcommerce.subscription.domain.PriceDataChange
- All Implemented Interfaces:
Serializable
Structure representing a change to the pricing of the subscription.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanconvert(org.modelmapper.spi.MappingContext<?, ?> context) booleanAny additional information related to the price change.The price after the changeThe price before the changegetId()An identifying label for this change.The descriptor of when the price change should take effect.The ID of the price data that is changedinthashCode()voidsetAdditionalProperties(Map<String, Object> additionalProperties) Any additional information related to the price change.voidsetAfterRecurringPrice(BigDecimal afterRecurringPrice) The price after the changevoidsetBeforeRecurringPrice(BigDecimal beforeRecurringPrice) The price before the changevoidAn identifying label for this change.voidsetPriceChangeEffectiveType(String priceChangeEffectiveType) The descriptor of when the price change should take effect.voidsetPriceDataId(String priceDataId) The ID of the price data that is changedtoString()
-
Constructor Details
-
PriceDataChange
public PriceDataChange()
-
-
Method Details
-
convert
-
getId
An identifying label for this change. Generally relates back to an idempotent reference for the source of the change. This is a measure to allow repeat execution of the source flow without introducing duplicate price data change records on the subscription, since the equals and hashcode will be influenced by this field. -
getPriceDataId
The ID of the price data that is changed -
getBeforeRecurringPrice
The price before the change -
getAfterRecurringPrice
The price after the change -
getPriceChangeEffectiveType
The descriptor of when the price change should take effect.- See Also:
-
getAdditionalProperties
Any additional information related to the price change. -
setId
An identifying label for this change. Generally relates back to an idempotent reference for the source of the change. This is a measure to allow repeat execution of the source flow without introducing duplicate price data change records on the subscription, since the equals and hashcode will be influenced by this field. -
setPriceDataId
The ID of the price data that is changed -
setBeforeRecurringPrice
The price before the change -
setAfterRecurringPrice
The price after the change -
setPriceChangeEffectiveType
The descriptor of when the price change should take effect.- See Also:
-
setAdditionalProperties
Any additional information related to the price change. -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-