Class SubscriptionBillingProperties
java.lang.Object
com.broadleafcommerce.subscription.job.config.SubscriptionBillingProperties
@ConfigurationProperties("broadleaf.billing")
public class SubscriptionBillingProperties
extends Object
Configuration properties related to subscription billing.
- Author:
- Sunny Yu
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleaninthashCode()booleanWhether to saveBillingEventswhoseBillingEvent.getBillTotal()is zero.voidsetSaveZeroDollarBillingEvents(boolean saveZeroDollarBillingEvents) Whether to saveBillingEventswhoseBillingEvent.getBillTotal()is zero.toString()
-
Constructor Details
-
SubscriptionBillingProperties
public SubscriptionBillingProperties()
-
-
Method Details
-
isSaveZeroDollarBillingEvents
public boolean isSaveZeroDollarBillingEvents()Whether to saveBillingEventswhoseBillingEvent.getBillTotal()is zero. If set to true, the BillingEvents will be persisted but theirBillingEventPayment.getPaymentStatus()would be set toPaymentStatusEnum.SUCCESSto avoid unnecessary payment processing. -
setSaveZeroDollarBillingEvents
public void setSaveZeroDollarBillingEvents(boolean saveZeroDollarBillingEvents) Whether to saveBillingEventswhoseBillingEvent.getBillTotal()is zero. If set to true, the BillingEvents will be persisted but theirBillingEventPayment.getPaymentStatus()would be set toPaymentStatusEnum.SUCCESSto avoid unnecessary payment processing. -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-