Class JpaBillingEvent
java.lang.Object
com.broadleafcommerce.billing.provider.jpa.domain.JpaBillingEvent
- 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.mapping.money.CurrencyProvider,com.broadleafcommerce.data.tracking.core.TenantTrackable<BillingTenantJpaTracking>,com.broadleafcommerce.data.tracking.core.Trackable,com.broadleafcommerce.data.tracking.core.TypedTrackable<BillingTenantJpaTracking>,Serializable,javax.money.CurrencySupplier
@Entity
public class JpaBillingEvent
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, com.broadleafcommerce.data.tracking.core.mapping.money.CurrencyProvider, javax.money.CurrencySupplier
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Map<String,JpaBillingEventAttribute> protected Stringprotected Dateprotected Dateprotected Dateprotected Stringprotected BigDecimalprotected BigDecimalprotected Stringprotected javax.money.CurrencyUnitprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Integerprotected 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<?>javax.money.CurrencyUnitinthashCode()voidpreFromMe(com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo, Object businessDomain) voidpreToMe(com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo, Object businessDomain) voidsetAdditionalAttributes(Map<String, String> additionalAttributes) voidsetAlternateUserRef(String alternateUserRef) voidsetBillDate(Date billDate) voidsetBillingCycleEndDate(Date billingCycleEndDate) voidsetBillingCycleStartDate(Date billingCycleStartDate) voidsetBillingEventAddressId(String billingEventAddressId) voidvoidsetBillTotal(BigDecimal billTotal) voidsetBillTotalTax(BigDecimal billTotalTax) voidsetContextId(String contextId) voidsetCurrency(javax.money.CurrencyUnit currency) voidsetCurrencyCode(String currencyCode) voidsetEventNotificationChannel(String eventNotificationChannel) voidsetIsRecurring(String isRecurring) voidsetOrderId(String orderId) voidsetOrderReference(String orderReference) voidsetOrderSource(String orderSource) voidsetSiteIdentifier(String siteIdentifier) voidvoidsetSourceId(String sourceId) voidsetSubscriptionPeriod(Integer subscriptionPeriod) voidsetSubscriptionRef(String subscriptionRef) voidsetTracking(BillingTenantJpaTracking tracking) voidsetTracking(com.broadleafcommerce.data.tracking.core.filtering.domain.Tracking tracking) voidsetUserRef(String userRef) 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, postToMeMethods 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
-
orderReference
-
orderId
-
orderSource
-
userRef
-
alternateUserRef
-
isRecurring
-
currency
protected javax.money.CurrencyUnit currency -
additionalAttributes
-
siteIdentifier
-
subscriptionRef
-
billingCycleStartDate
-
billingCycleEndDate
-
billDate
-
billTotal
-
billTotalTax
-
eventNotificationChannel
-
source
-
sourceId
-
billingEventAddressId
-
subscriptionPeriod
-
version
-
-
Constructor Details
-
JpaBillingEvent
public JpaBillingEvent()
-
-
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
-
preFromMe
public void preFromMe(com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo, @NonNull Object businessDomain) - Specified by:
preFromMein interfacecom.broadleafcommerce.data.tracking.core.mapping.ModelMapperMappable
-
preToMe
public void preToMe(com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo, @NonNull Object businessDomain) - Specified by:
preToMein interfacecom.broadleafcommerce.data.tracking.core.mapping.ModelMapperMappable
-
setBillingEventId
-
getBillingEventId
-
setCurrencyCode
-
getCurrencyCode
-
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
-
getOrderReference
-
getOrderId
-
getOrderSource
-
getUserRef
-
getAlternateUserRef
-
getIsRecurring
-
getCurrency
public javax.money.CurrencyUnit getCurrency()- Specified by:
getCurrencyin interfacejavax.money.CurrencySupplier
-
getSiteIdentifier
-
getSubscriptionRef
-
getBillingCycleStartDate
-
getBillingCycleEndDate
-
getBillDate
-
getBillTotal
-
getBillTotalTax
-
getEventNotificationChannel
-
getSource
-
getSourceId
-
getBillingEventAddressId
-
getSubscriptionPeriod
-
getVersion
-
getTracking
- Specified by:
getTrackingin interfacecom.broadleafcommerce.data.tracking.core.Trackable
-
setContextId
- Specified by:
setContextIdin interfacecom.broadleafcommerce.data.tracking.core.Trackable
-
setOrderReference
-
setOrderId
-
setOrderSource
-
setUserRef
-
setAlternateUserRef
-
setIsRecurring
-
setCurrency
public void setCurrency(javax.money.CurrencyUnit currency) -
setSiteIdentifier
-
setSubscriptionRef
-
setBillingCycleStartDate
-
setBillingCycleEndDate
-
setBillDate
-
setBillTotal
-
setBillTotalTax
-
setEventNotificationChannel
-
setSource
-
setSourceId
-
setBillingEventAddressId
-
setSubscriptionPeriod
-
setVersion
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-