Class JpaBillingEventItemAdjustment
java.lang.Object
com.broadleafcommerce.billing.provider.jpa.domain.JpaBillingEventItemAdjustment
- All Implemented Interfaces:
com.broadleafcommerce.common.messaging.notification.domain.NotificationStateAware,com.broadleafcommerce.data.tracking.core.mapping.BusinessTypeAware,com.broadleafcommerce.data.tracking.core.mapping.ModelMapperMappable,com.broadleafcommerce.data.tracking.core.TenantTrackable<BillingTenantJpaTracking>,com.broadleafcommerce.data.tracking.core.Trackable,com.broadleafcommerce.data.tracking.core.TypedTrackable<BillingTenantJpaTracking>,Serializable
@Entity
public class JpaBillingEventItemAdjustment
extends Object
implements Serializable, com.broadleafcommerce.data.tracking.core.TenantTrackable<BillingTenantJpaTracking>, com.broadleafcommerce.data.tracking.core.mapping.ModelMapperMappable, com.broadleafcommerce.data.tracking.core.mapping.BusinessTypeAware
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Stringprotected BigDecimalprotected Stringprotected Stringprotected BigDecimalprotected Stringprotected Stringprotected Integer -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanconvertFromMe(org.modelmapper.spi.MappingContext<?, ?> context) convertToMe(org.modelmapper.spi.MappingContext<?, ?> context) booleanorg.modelmapper.ModelMapperfromMe()Class<?>inthashCode()voidsetAdditionalAttributes(Map<String, Object> additionalAttributes) voidsetAdjustmentRef(String adjustmentRef) voidsetAdjustmentUnitAmount(BigDecimal adjustmentUnitAmount) voidsetBillingEventItemId(String billingEventItemId) voidsetContextId(String contextId) voidsetFullSubscriptionPeriodAdjustmentUnitAmount(BigDecimal fullSubscriptionPeriodAdjustmentUnitAmount) voidvoidsetItemAdjustmentQuantity(Integer itemAdjustmentQuantity) voidsetProratedFromEventAdjustmentId(String proratedFromEventAdjustmentId) voidsetSubscriptionItemAdjustmentRef(String subscriptionItemAdjustmentRef) voidsetTracking(BillingTenantJpaTracking 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
-
contextId
-
billingEventItemId
-
adjustmentRef
-
subscriptionItemAdjustmentRef
-
fullSubscriptionPeriodAdjustmentUnitAmount
-
adjustmentUnitAmount
-
proratedFromEventAdjustmentId
-
version
-
-
Constructor Details
-
JpaBillingEventItemAdjustment
public JpaBillingEventItemAdjustment()
-
-
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
-
convertFromMe
-
convertToMe
-
setItemAdjustmentId
-
getItemAdjustmentId
-
setTracking
- Specified by:
setTrackingin interfacecom.broadleafcommerce.data.tracking.core.TypedTrackable<BillingTenantJpaTracking>
-
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<BillingTenantJpaTracking>
-
getContextId
- Specified by:
getContextIdin interfacecom.broadleafcommerce.data.tracking.core.Trackable
-
getBillingEventItemId
-
getAdjustmentRef
-
getSubscriptionItemAdjustmentRef
-
getFullSubscriptionPeriodAdjustmentUnitAmount
-
getAdjustmentUnitAmount
-
getItemAdjustmentQuantity
-
getProratedFromEventAdjustmentId
-
getAdditionalAttributes
-
getVersion
-
getTracking
- Specified by:
getTrackingin interfacecom.broadleafcommerce.data.tracking.core.Trackable
-
setContextId
- Specified by:
setContextIdin interfacecom.broadleafcommerce.data.tracking.core.Trackable
-
setBillingEventItemId
-
setAdjustmentRef
-
setSubscriptionItemAdjustmentRef
-
setFullSubscriptionPeriodAdjustmentUnitAmount
public void setFullSubscriptionPeriodAdjustmentUnitAmount(BigDecimal fullSubscriptionPeriodAdjustmentUnitAmount) -
setAdjustmentUnitAmount
-
setItemAdjustmentQuantity
-
setProratedFromEventAdjustmentId
-
setAdditionalAttributes
-
setVersion
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-