Documentation
¶
Overview ¶
Package entitlements provides internal functionality for managing entitlemnets via combinations of pkg/entitlements and pkg/catalog
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AllMonthlyPrices ¶
func AllMonthlyPrices(useSandbox bool) []entitlements.Price
AllMonthlyPrices returns prices for all monthly modules regardless of trial status
func FreeMonthlyPriceIDs ¶
FreeMonthlyPriceIDs returns Stripe price IDs for monthly prices that cost nothing. These are the modules an organization keeps when its subscription is downgraded rather than cancelled, so the organization stays active and can recover by adding a payment method
func TrialMonthlyPriceIDs ¶
TrialMonthlyPriceIDs returns Stripe price IDs for monthly prices of modules included with trial subscriptions
func TrialMonthlyPrices ¶
func TrialMonthlyPrices(useSandbox bool) []entitlements.Price
TrialMonthlyPrices returns prices for monthly modules included with trial subscriptions
Types ¶
This section is empty.
Directories
¶
| Path | Synopsis |
|---|---|
|
Package entmapping provides some builders to assist in the type mapping between Stripe + the external generic definitions in pkg/catalog and pkg/entitlements and the internal ent generated types not intended for external use, but rather as a helper for the Openlane core application
|
Package entmapping provides some builders to assist in the type mapping between Stripe + the external generic definitions in pkg/catalog and pkg/entitlements and the internal ent generated types not intended for external use, but rather as a helper for the Openlane core application |
|
code generated by local feature mapping, DO NOT EDIT.
|
code generated by local feature mapping, DO NOT EDIT. |