Class BillingJobProperties.Entitlements
java.lang.Object
com.broadleafcommerce.billing.job.config.BillingJobProperties.Entitlements
- Enclosing class:
- BillingJobProperties
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanDefines a mapping from aSubscription.getUserRefType()(typically avalue) to a different principal type.inthashCode()booleanDetermines whether entitlements will be provisioned or revoked (as well as any other Entitlement interactions) during the billing jobvoidsetEnabled(boolean enabled) Determines whether entitlements will be provisioned or revoked (as well as any other Entitlement interactions) during the billing jobvoidsetPrincipalTypeOverrides(Map<String, String> principalTypeOverrides) Defines a mapping from aSubscription.getUserRefType()(typically avalue) to a different principal type.toString()
-
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
Defines a mapping from aSubscription.getUserRefType()(typically avalue) to a different principal type. Note: Historically, "user" was used instead ofDefaultUserTypes.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
Defines a mapping from aSubscription.getUserRefType()(typically avalue) to a different principal type. Note: Historically, "user" was used instead ofDefaultUserTypes.BLC_CUSTOMER.name(), so a reasonable mapping may be "BLC_CUSTOMER" -> "user" -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-