Class JpaSubscriptionAdjustment
java.lang.Object
com.broadleafcommerce.subscription.provider.jpa.domain.JpaSubscriptionAdjustment
- 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 JpaSubscriptionAdjustment
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()voidvoidsetAdjustmentAmount(BigDecimal adjustmentAmount) voidsetAdjustmentCartLabel(String adjustmentCartLabel) voidsetAdjustmentCodeRef(String adjustmentCodeRef) voidsetAdjustmentDescription(String adjustmentDescription) voidsetAdjustmentDiscountFactor(BigDecimal adjustmentDiscountFactor) voidsetAdjustmentDiscountMethodType(String adjustmentDiscountMethodType) voidvoidsetAdjustmentName(String adjustmentName) voidsetAdjustmentProrationType(String adjustmentProrationType) voidsetAdjustmentRef(String adjustmentRef) voidsetAdjustmentType(String adjustmentType) voidsetBeginPeriod(Integer beginPeriod) voidsetCampaignTrackingId(String campaignTrackingId) voidsetCodeUsed(String codeUsed) voidsetContextId(String contextId) voidsetDiscountType(String discountType) voidsetEndPeriod(Integer endPeriod) voidsetFreeTrialLength(Integer freeTrialLength) voidsetFreeTrialLengthUnits(String freeTrialLengthUnits) voidsetSubscriptionId(String subscriptionId) 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
-
JpaSubscriptionAdjustment
public JpaSubscriptionAdjustment()
-
-
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
-
setAdjustmentId
-
getAdjustmentId
-
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>
-
get_id
-
getContextId
- Specified by:
getContextIdin interfacecom.broadleafcommerce.data.tracking.core.Trackable
-
getSubscriptionId
-
getAdjustmentRef
-
getAdjustmentType
-
getAdjustmentAmount
-
getBeginPeriod
-
getEndPeriod
-
getVersion
-
getAdjustmentName
-
getAdjustmentCartLabel
-
getAdjustmentDescription
-
getAdjustmentProrationType
-
getAdjustmentCodeRef
-
getCodeUsed
-
getCampaignTrackingId
-
getDiscountType
-
getFreeTrialLength
-
getFreeTrialLengthUnits
-
getAdjustmentDiscountMethodType
-
getAdjustmentDiscountFactor
-
getTracking
- Specified by:
getTrackingin interfacecom.broadleafcommerce.data.tracking.core.Trackable
-
set_id
-
setContextId
- Specified by:
setContextIdin interfacecom.broadleafcommerce.data.tracking.core.Trackable
-
setSubscriptionId
-
setAdjustmentRef
-
setAdjustmentType
-
setAdjustmentAmount
-
setBeginPeriod
-
setEndPeriod
-
setVersion
-
setAdjustmentName
-
setAdjustmentCartLabel
-
setAdjustmentDescription
-
setAdjustmentProrationType
-
setAdjustmentCodeRef
-
setCodeUsed
-
setCampaignTrackingId
-
setDiscountType
-
setFreeTrialLength
-
setFreeTrialLengthUnits
-
setAdjustmentDiscountMethodType
-
setAdjustmentDiscountFactor
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-