Class JpaSubscriptionItemAdjustment
java.lang.Object
com.broadleafcommerce.subscription.provider.jpa.domain.JpaSubscriptionItemAdjustment
- All Implemented Interfaces:
com.broadleafcommerce.common.messaging.notification.domain.NotificationStateAware,com.broadleafcommerce.data.tracking.core.ApplicationTrackable<BillingApplicationJpaTracking>,com.broadleafcommerce.data.tracking.core.mapping.BusinessTypeAware,com.broadleafcommerce.data.tracking.core.mapping.ModelMapperCloneable,com.broadleafcommerce.data.tracking.core.mapping.ModelMapperMappable,com.broadleafcommerce.data.tracking.core.Trackable,com.broadleafcommerce.data.tracking.core.TypedTrackable<BillingApplicationJpaTracking>,Serializable
@Entity
@PolicyVariance(TENANT_TRACKABLE_APP_CONTEXT)
public class JpaSubscriptionItemAdjustment
extends Object
implements Serializable, com.broadleafcommerce.data.tracking.core.ApplicationTrackable<BillingApplicationJpaTracking>, com.broadleafcommerce.data.tracking.core.mapping.ModelMapperMappable, com.broadleafcommerce.data.tracking.core.mapping.BusinessTypeAware, com.broadleafcommerce.data.tracking.core.mapping.ModelMapperCloneable
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanorg.modelmapper.ModelMappercloneMe()convertFromMe(org.modelmapper.spi.MappingContext<?, ?> context) convertToMe(org.modelmapper.spi.MappingContext<?, ?> context) booleanorg.modelmapper.ModelMapperfromMe()get_id()Class<?>inthashCode()protected voidinitializeCurrencyConversionDetailIfNecessary(@NonNull SubscriptionItemAdjustment destination, @NonNull org.modelmapper.spi.MappingContext<?, ?> context) voidvoidsetAdjustmentAmount(BigDecimal adjustmentAmount) voidsetAdjustmentCartLabel(String adjustmentCartLabel) voidsetAdjustmentCodeRef(String adjustmentCodeRef) voidsetAdjustmentDescription(String adjustmentDescription) voidsetAdjustmentDiscountFactor(BigDecimal adjustmentDiscountFactor) voidsetAdjustmentDiscountMethodType(String adjustmentDiscountMethodType) voidsetAdjustmentName(String adjustmentName) voidsetAdjustmentProrationType(String adjustmentProrationType) voidsetAdjustmentRef(String adjustmentRef) voidsetAdjustmentType(String adjustmentType) voidsetAttributes(Map<String, Object> attributes) voidsetBeginPeriod(Integer beginPeriod) voidsetCampaignTrackingId(String campaignTrackingId) voidsetCodeUsed(String codeUsed) voidsetContextId(String contextId) voidsetConvertedCurrencyRate(BigDecimal convertedCurrencyRate) voidsetConvertedCurrencySource(String convertedCurrencySource) voidsetConvertedCurrencyTarget(String convertedCurrencyTarget) voidsetDiscountType(String discountType) voidsetEndPeriod(Integer endPeriod) voidsetFreeTrialLength(Integer freeTrialLength) voidsetFreeTrialLengthUnits(String freeTrialLengthUnits) voidvoidsetItemAdjustmentQuantity(Integer itemAdjustmentQuantity) voidsetQualifierDetails(List<OfferItemDetail> qualifierDetails) voidsetSubscriptionItemId(String subscriptionItemId) voidsetTracking(BillingApplicationJpaTracking tracking) voidsetTracking(com.broadleafcommerce.data.tracking.core.filtering.domain.Tracking tracking) voidsetVersion(Integer version) org.modelmapper.ModelMappertoMe()toString()Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.broadleafcommerce.data.tracking.core.mapping.ModelMapperMappable
postFromMe, postToMe, preFromMe, preToMeMethods inherited from interface com.broadleafcommerce.common.messaging.notification.domain.NotificationStateAware
findNotificationStateMethods inherited from interface com.broadleafcommerce.data.tracking.core.Trackable
getDisplay, getNotificationStates, getNotificationStates, setNotificationStates
-
Field Details
-
version
-
-
Constructor Details
-
JpaSubscriptionItemAdjustment
public JpaSubscriptionItemAdjustment()
-
-
Method Details
-
getBusinessDomainType
- Specified by:
getBusinessDomainTypein interfacecom.broadleafcommerce.data.tracking.core.mapping.BusinessTypeAware
-
fromMe
@NonNull public org.modelmapper.ModelMapper fromMe()- Specified by:
fromMein interfacecom.broadleafcommerce.data.tracking.core.mapping.ModelMapperMappable
-
toMe
@NonNull public org.modelmapper.ModelMapper toMe()- Specified by:
toMein interfacecom.broadleafcommerce.data.tracking.core.mapping.ModelMapperMappable
-
cloneMe
@NonNull public org.modelmapper.ModelMapper cloneMe()- Specified by:
cloneMein interfacecom.broadleafcommerce.data.tracking.core.mapping.ModelMapperCloneable
-
convertFromMe
-
convertToMe
-
setItemAdjustmentId
-
getItemAdjustmentId
-
setTracking
- Specified by:
setTrackingin interfacecom.broadleafcommerce.data.tracking.core.TypedTrackable<BillingApplicationJpaTracking>
-
setTracking
public void setTracking(com.broadleafcommerce.data.tracking.core.filtering.domain.Tracking tracking) - Specified by:
setTrackingin interfacecom.broadleafcommerce.data.tracking.core.Trackable- Specified by:
setTrackingin interfacecom.broadleafcommerce.data.tracking.core.TypedTrackable<BillingApplicationJpaTracking>
-
initializeCurrencyConversionDetailIfNecessary
protected void initializeCurrencyConversionDetailIfNecessary(@NonNull @NonNull SubscriptionItemAdjustment destination, @NonNull @NonNull org.modelmapper.spi.MappingContext<?, ?> context) -
get_id
-
getContextId
- Specified by:
getContextIdin interfacecom.broadleafcommerce.data.tracking.core.Trackable
-
getSubscriptionItemId
-
getAdjustmentRef
-
getAdjustmentType
-
getAdjustmentAmount
-
getBeginPeriod
-
getEndPeriod
-
getVersion
-
getAdjustmentName
-
getAdjustmentCartLabel
-
getAdjustmentDescription
-
getAdjustmentProrationType
-
getAdjustmentCodeRef
-
getCodeUsed
-
getCampaignTrackingId
-
getDiscountType
-
getFreeTrialLength
-
getFreeTrialLengthUnits
-
getQualifierDetails
-
getItemAdjustmentQuantity
-
getAdjustmentDiscountMethodType
-
getAdjustmentDiscountFactor
-
getConvertedCurrencySource
-
getConvertedCurrencyTarget
-
getConvertedCurrencyRate
-
getAttributes
-
getTracking
- Specified by:
getTrackingin interfacecom.broadleafcommerce.data.tracking.core.Trackable
-
set_id
-
setContextId
- Specified by:
setContextIdin interfacecom.broadleafcommerce.data.tracking.core.Trackable
-
setSubscriptionItemId
-
setAdjustmentRef
-
setAdjustmentType
-
setAdjustmentAmount
-
setBeginPeriod
-
setEndPeriod
-
setVersion
-
setAdjustmentName
-
setAdjustmentCartLabel
-
setAdjustmentDescription
-
setAdjustmentProrationType
-
setAdjustmentCodeRef
-
setCodeUsed
-
setCampaignTrackingId
-
setDiscountType
-
setFreeTrialLength
-
setFreeTrialLengthUnits
-
setQualifierDetails
-
setItemAdjustmentQuantity
-
setAdjustmentDiscountMethodType
-
setAdjustmentDiscountFactor
-
setConvertedCurrencySource
-
setConvertedCurrencyTarget
-
setConvertedCurrencyRate
-
setAttributes
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-