Class BillingJobProperties

java.lang.Object
com.broadleafcommerce.billing.job.config.BillingJobProperties

@ConfigurationProperties("billing.job") public class BillingJobProperties extends Object
Author:
venkat
  • Field Details

    • requestGeneratorLimit

      protected Integer requestGeneratorLimit
      Informs the number of requests processed at once in various stages of subscription and billing jobs
    • gatewayErrorRetryLimit

      protected Integer gatewayErrorRetryLimit
      Number of retries after gateway errors in payment processing
      See Also:
    • taxCalculationErrorRetryLimit

      protected Integer taxCalculationErrorRetryLimit
      Number of retries after tax calculation gateway errors
      See Also:
    • defaultPaymentRetryScheduleCode

      protected String defaultPaymentRetryScheduleCode
      Code value of the default payment retry schedule
    • defaultPaymentRetrySchedule

      protected BillingRetrySchedule defaultPaymentRetrySchedule
      Object of the default payment retry schedule
    • defaultRefundRetryScheduleCode

      protected String defaultRefundRetryScheduleCode
      Code value of the default payment retry schedule
    • defaultRefundRetrySchedule

      protected BillingRetrySchedule defaultRefundRetrySchedule
      Object of the default payment retry schedule
    • executeOnlyTaxCalculation

      protected boolean executeOnlyTaxCalculation
      Determines if the billing job should only execute tax calculation and not process payments
    • paymentGatewayConfig

    • entitlements

      protected BillingJobProperties.Entitlements entitlements
    • payments

      protected BillingJobProperties.Payments payments
  • Constructor Details

    • BillingJobProperties

      public BillingJobProperties()
  • Method Details

    • defaultRetries

      protected List<IntervalBillingRetrySpecs> defaultRetries()
    • shouldCallProcessorIfTransactionNotFound

      public boolean shouldCallProcessorIfTransactionNotFound(@NonNull @NonNull String gatewayType)
    • mapToExpectedGatewayType

      public String mapToExpectedGatewayType(@NonNull @NonNull String gatewayType)
    • getEntitlementPrincipalTypeOverride

      @Nullable public String getEntitlementPrincipalTypeOverride(@NonNull @NonNull String userType)
    • getRequestGeneratorLimit

      public Integer getRequestGeneratorLimit()
      Informs the number of requests processed at once in various stages of subscription and billing jobs
    • getGatewayErrorRetryLimit

      public Integer getGatewayErrorRetryLimit()
      Number of retries after gateway errors in payment processing
      See Also:
    • getTaxCalculationErrorRetryLimit

      public Integer getTaxCalculationErrorRetryLimit()
      Number of retries after tax calculation gateway errors
      See Also:
    • getDefaultPaymentRetryScheduleCode

      public String getDefaultPaymentRetryScheduleCode()
      Code value of the default payment retry schedule
    • getDefaultPaymentRetrySchedule

      public BillingRetrySchedule getDefaultPaymentRetrySchedule()
      Object of the default payment retry schedule
    • getDefaultRefundRetryScheduleCode

      public String getDefaultRefundRetryScheduleCode()
      Code value of the default payment retry schedule
    • getDefaultRefundRetrySchedule

      public BillingRetrySchedule getDefaultRefundRetrySchedule()
      Object of the default payment retry schedule
    • isExecuteOnlyTaxCalculation

      public boolean isExecuteOnlyTaxCalculation()
      Determines if the billing job should only execute tax calculation and not process payments
    • getEntitlements

      public BillingJobProperties.Entitlements getEntitlements()
    • getPayments

      public BillingJobProperties.Payments getPayments()
    • setRequestGeneratorLimit

      public void setRequestGeneratorLimit(Integer requestGeneratorLimit)
      Informs the number of requests processed at once in various stages of subscription and billing jobs
    • setGatewayErrorRetryLimit

      public void setGatewayErrorRetryLimit(Integer gatewayErrorRetryLimit)
      Number of retries after gateway errors in payment processing
      See Also:
    • setTaxCalculationErrorRetryLimit

      public void setTaxCalculationErrorRetryLimit(Integer taxCalculationErrorRetryLimit)
      Number of retries after tax calculation gateway errors
      See Also:
    • setDefaultPaymentRetryScheduleCode

      public void setDefaultPaymentRetryScheduleCode(String defaultPaymentRetryScheduleCode)
      Code value of the default payment retry schedule
    • setDefaultPaymentRetrySchedule

      public void setDefaultPaymentRetrySchedule(BillingRetrySchedule defaultPaymentRetrySchedule)
      Object of the default payment retry schedule
    • setDefaultRefundRetryScheduleCode

      public void setDefaultRefundRetryScheduleCode(String defaultRefundRetryScheduleCode)
      Code value of the default payment retry schedule
    • setDefaultRefundRetrySchedule

      public void setDefaultRefundRetrySchedule(BillingRetrySchedule defaultRefundRetrySchedule)
      Object of the default payment retry schedule
    • setExecuteOnlyTaxCalculation

      public void setExecuteOnlyTaxCalculation(boolean executeOnlyTaxCalculation)
      Determines if the billing job should only execute tax calculation and not process payments
    • setPaymentGatewayConfig

      public void setPaymentGatewayConfig(Map<String,BillingJobProperties.PaymentGatewayConfiguration> paymentGatewayConfig)
    • setEntitlements

      public void setEntitlements(BillingJobProperties.Entitlements entitlements)
    • setPayments

      public void setPayments(BillingJobProperties.Payments payments)
    • 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
    • toString

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

      protected Map<String,BillingJobProperties.PaymentGatewayConfiguration> getPaymentGatewayConfig()