Class JpaBillingEventItem
java.lang.Object
com.broadleafcommerce.billing.provider.jpa.domain.JpaBillingEventItem
- 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 JpaBillingEventItem
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 Map<String,JpaBillingEventItemAttribute> protected Stringprotected Stringprotected BigDecimalprotected Stringprotected Stringprotected BigDecimalprotected BigDecimalprotected Stringprotected Integerprotected Stringprotected booleanprotected Stringprotected Stringprotected BigDecimalprotected BigDecimalprotected 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()booleanvoidsetAdditionalAttributes(Map<String, String> additionalAttributes) voidsetBillingEventId(String billingEventId) voidvoidsetContextId(String contextId) voidsetFullSubscriptionPeriodItemUnitPrice(BigDecimal fullSubscriptionPeriodItemUnitPrice) voidsetItemName(String itemName) voidsetItemRef(String itemRef) voidsetItemSubtotal(BigDecimal itemSubtotal) voidsetItemUnitPrice(BigDecimal itemUnitPrice) voidsetOrderItemRef(String orderItemRef) voidsetQuantity(Integer quantity) voidsetSubscriptionItemRef(String subscriptionItemRef) voidsetTaxable(boolean taxable) voidsetTaxCategory(String taxCategory) voidsetTaxNexus(String taxNexus) voidsetTotalAmount(BigDecimal totalAmount) voidsetTotalTax(BigDecimal totalTax) 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
-
billingEventId
-
subscriptionItemRef
-
orderItemRef
-
itemRef
-
itemName
-
fullSubscriptionPeriodItemUnitPrice
-
itemUnitPrice
-
quantity
-
itemSubtotal
-
totalTax
-
totalAmount
-
taxCategory
-
taxNexus
-
taxable
protected boolean taxable -
additionalAttributes
-
version
-
-
Constructor Details
-
JpaBillingEventItem
public JpaBillingEventItem()
-
-
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
-
setBillingEventItemId
-
getBillingEventItemId
-
getAdditionalAttributes
-
setAdditionalAttributes
-
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
-
getBillingEventId
-
getSubscriptionItemRef
-
getOrderItemRef
-
getItemRef
-
getItemName
-
getFullSubscriptionPeriodItemUnitPrice
-
getItemUnitPrice
-
getQuantity
-
getItemSubtotal
-
getTotalTax
-
getTotalAmount
-
getTaxCategory
-
getTaxNexus
-
isTaxable
public boolean isTaxable() -
getVersion
-
getTracking
- Specified by:
getTrackingin interfacecom.broadleafcommerce.data.tracking.core.Trackable
-
setContextId
- Specified by:
setContextIdin interfacecom.broadleafcommerce.data.tracking.core.Trackable
-
setBillingEventId
-
setSubscriptionItemRef
-
setOrderItemRef
-
setItemRef
-
setItemName
-
setFullSubscriptionPeriodItemUnitPrice
-
setItemUnitPrice
-
setQuantity
-
setItemSubtotal
-
setTotalTax
-
setTotalAmount
-
setTaxCategory
-
setTaxNexus
-
setTaxable
public void setTaxable(boolean taxable) -
setVersion
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-