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

Method IsOnUltraPlan

api/pkg/entities/user.go:104–106  ·  view source on GitHub ↗

IsOnUltraPlan checks if a user is on the ultra plan

()

Source from the content-addressed store, hash-verified

102
103// IsOnUltraPlan checks if a user is on the ultra plan
104func (user User) IsOnUltraPlan() bool {
105 return user.SubscriptionName == SubscriptionNameUltraMonthly || user.SubscriptionName == SubscriptionNameUltraYearly
106}
107
108// IsOn20kPlan checks if a user is on the 20k plan
109func (user User) IsOn20kPlan() bool {

Callers 1

shouldSendAlertMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected