@@ -34,6 +34,7 @@ pub enum PlanId {
3434 ConvexBase ,
3535 ConvexStarterPlus ,
3636 ConvexProfessional ,
37+ ConvexBusiness ,
3738}
3839
3940impl Display for PlanId {
@@ -56,7 +57,7 @@ impl PlanId {
5657 pub fn is_in_orb ( & self ) -> bool {
5758 match self {
5859 PlanId :: ConvexBase => false ,
59- PlanId :: ConvexStarterPlus | PlanId :: ConvexProfessional => true ,
60+ PlanId :: ConvexStarterPlus | PlanId :: ConvexProfessional | PlanId :: ConvexBusiness => true ,
6061 }
6162 }
6263
@@ -72,7 +73,7 @@ impl PlanId {
7273 pub fn gets_pro_resources ( & self ) -> bool {
7374 match self {
7475 PlanId :: ConvexBase | PlanId :: ConvexStarterPlus => false ,
75- PlanId :: ConvexProfessional => true ,
76+ PlanId :: ConvexProfessional | PlanId :: ConvexBusiness => true ,
7677 }
7778 }
7879}
@@ -87,6 +88,7 @@ mod tests {
8788 ( PlanId :: ConvexBase , "CONVEX_BASE" ) ,
8889 ( PlanId :: ConvexStarterPlus , "CONVEX_STARTER_PLUS" ) ,
8990 ( PlanId :: ConvexProfessional , "CONVEX_PROFESSIONAL" ) ,
91+ ( PlanId :: ConvexBusiness , "CONVEX_BUSINESS" ) ,
9092 ] ;
9193 for ( plan, expected) in plans {
9294 assert_eq ! ( plan. to_string( ) , expected) ;
0 commit comments