Class JpaBillingEventPayment

java.lang.Object
com.broadleafcommerce.billing.provider.jpa.domain.JpaBillingEventPayment
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 JpaBillingEventPayment 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
Author:
venkat
See Also:
  • Field Details

    • contextId

      protected String contextId
    • billingEventId

      protected String billingEventId
    • paymentProcessType

      protected String paymentProcessType
    • paymentStatus

      protected String paymentStatus
    • nextRetryDate

      protected Date nextRetryDate
    • paymentAmount

      protected BigDecimal paymentAmount
    • preferredPaymentAccountId

      protected String preferredPaymentAccountId
    • retryScheduleCode

      protected String retryScheduleCode
    • remainingRetryCount

      protected Integer remainingRetryCount
    • attemptCount

      protected Integer attemptCount
    • billingEvent

      protected JpaBillingEvent billingEvent
    • version

      protected Integer version
  • Constructor Details

    • JpaBillingEventPayment

      public JpaBillingEventPayment()
  • Method Details

    • getBusinessDomainType

      public Class<?> getBusinessDomainType()
      Specified by:
      getBusinessDomainType in interface com.broadleafcommerce.data.tracking.core.mapping.BusinessTypeAware
    • fromMe

      @NonNull public org.modelmapper.ModelMapper fromMe()
      Specified by:
      fromMe in interface com.broadleafcommerce.data.tracking.core.mapping.ModelMapperMappable
    • toMe

      @NonNull public org.modelmapper.ModelMapper toMe()
      Specified by:
      toMe in interface com.broadleafcommerce.data.tracking.core.mapping.ModelMapperMappable
    • convertFromMe

      public Object convertFromMe(org.modelmapper.spi.MappingContext<?,?> context)
    • convertToMe

      public Object convertToMe(org.modelmapper.spi.MappingContext<?,?> context)
    • setBillingEventPaymentId

      public void setBillingEventPaymentId(String id)
    • getBillingEventPaymentId

      public String getBillingEventPaymentId()
    • setTracking

      public void setTracking(BillingTenantJpaTracking tracking)
      Specified by:
      setTracking in interface com.broadleafcommerce.data.tracking.core.TypedTrackable<BillingTenantJpaTracking>
    • setTracking

      public void setTracking(com.broadleafcommerce.data.tracking.core.filtering.domain.Tracking tracking)
      Specified by:
      setTracking in interface com.broadleafcommerce.data.tracking.core.Trackable
      Specified by:
      setTracking in interface com.broadleafcommerce.data.tracking.core.TypedTrackable<BillingTenantJpaTracking>
    • getContextId

      public String getContextId()
      Specified by:
      getContextId in interface com.broadleafcommerce.data.tracking.core.Trackable
    • getBillingEventId

      public String getBillingEventId()
    • getPaymentProcessType

      public String getPaymentProcessType()
    • getPaymentStatus

      public String getPaymentStatus()
    • getNextRetryDate

      public Date getNextRetryDate()
    • getPaymentAmount

      public BigDecimal getPaymentAmount()
    • getPreferredPaymentAccountId

      public String getPreferredPaymentAccountId()
    • getRetryScheduleCode

      public String getRetryScheduleCode()
    • getRemainingRetryCount

      public Integer getRemainingRetryCount()
    • getAttemptCount

      public Integer getAttemptCount()
    • getBillingEvent

      public JpaBillingEvent getBillingEvent()
    • getVersion

      public Integer getVersion()
    • getTracking

      public BillingTenantJpaTracking getTracking()
      Specified by:
      getTracking in interface com.broadleafcommerce.data.tracking.core.Trackable
    • setContextId

      public void setContextId(String contextId)
      Specified by:
      setContextId in interface com.broadleafcommerce.data.tracking.core.Trackable
    • setBillingEventId

      public void setBillingEventId(String billingEventId)
    • setPaymentProcessType

      public void setPaymentProcessType(String paymentProcessType)
    • setPaymentStatus

      public void setPaymentStatus(String paymentStatus)
    • setNextRetryDate

      public void setNextRetryDate(Date nextRetryDate)
    • setPaymentAmount

      public void setPaymentAmount(BigDecimal paymentAmount)
    • setPreferredPaymentAccountId

      public void setPreferredPaymentAccountId(String preferredPaymentAccountId)
    • setRetryScheduleCode

      public void setRetryScheduleCode(String retryScheduleCode)
    • setRemainingRetryCount

      public void setRemainingRetryCount(Integer remainingRetryCount)
    • setAttemptCount

      public void setAttemptCount(Integer attemptCount)
    • setBillingEvent

      public void setBillingEvent(JpaBillingEvent billingEvent)
    • setVersion

      public void setVersion(Integer version)
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object