Class BillingJobProperties.Entitlements

java.lang.Object
com.broadleafcommerce.billing.job.config.BillingJobProperties.Entitlements
Enclosing class:
BillingJobProperties

public static class BillingJobProperties.Entitlements extends Object
  • Constructor Details

    • Entitlements

      public Entitlements()
  • Method Details

    • isEnabled

      public boolean isEnabled()
      Determines whether entitlements will be provisioned or revoked (as well as any other Entitlement interactions) during the billing job
    • getPrincipalTypeOverrides

      public Map<String,String> getPrincipalTypeOverrides()
      Defines a mapping from a Subscription.getUserRefType() (typically a value) to a different principal type.

      Note: Historically, "user" was used instead of DefaultUserTypes.BLC_CUSTOMER.name(), so a reasonable mapping may be "BLC_CUSTOMER" -> "user"

    • setEnabled

      public void setEnabled(boolean enabled)
      Determines whether entitlements will be provisioned or revoked (as well as any other Entitlement interactions) during the billing job
    • setPrincipalTypeOverrides

      public void setPrincipalTypeOverrides(Map<String,String> principalTypeOverrides)
      Defines a mapping from a Subscription.getUserRefType() (typically a value) to a different principal type.

      Note: Historically, "user" was used instead of DefaultUserTypes.BLC_CUSTOMER.name(), so a reasonable mapping may be "BLC_CUSTOMER" -> "user"

    • 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