MCPcopy Index your code
hub / github.com/NdoleStudio/httpsms / IsOnFreePlan

Method IsOnFreePlan

api/pkg/entities/user.go:99–101  ·  view source on GitHub ↗

IsOnFreePlan checks if a user is on the free plan

()

Source from the content-addressed store, hash-verified

97
98// IsOnFreePlan checks if a user is on the free plan
99func (user User) IsOnFreePlan() bool {
100 return user.SubscriptionName == SubscriptionNameFree || user.SubscriptionName == ""
101}
102
103// IsOnUltraPlan checks if a user is on the ultra plan
104func (user User) IsOnUltraPlan() bool {

Callers 3

GetBillingAnchorDayMethod · 0.95
shouldSendAlertMethod · 0.80
DeleteMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected