3
3
namespace ArtisanBuild \Till \SubscriptionPlans ;
4
4
5
5
use ArtisanBuild \Till \Attributes \TeamPlan ;
6
- use ArtisanBuild \Till \Contracts \ PlanInterface ;
6
+ use ArtisanBuild \Till \Enums \ LedgerPeriods ;
7
7
use ArtisanBuild \Till \Enums \PlanTerms ;
8
+ use ArtisanBuild \Till \SubscriptionPlans \Abilities \AddSeats ;
8
9
9
10
#[TeamPlan]
10
- class StartupPlan extends BasePlan
11
+ class CityTrollPlan extends BasePlan
11
12
{
12
13
/**
13
14
* Prices
@@ -46,9 +47,9 @@ class StartupPlan extends BasePlan
46
47
'inset ' => '' , // https://fluxui.dev/components/badge#inset
47
48
];
48
49
49
- public string $ heading = 'Startup ' ;
50
+ public string $ heading = 'City Troll ' ;
50
51
51
- public string $ subheading = 'Everything you need for your growing company ' ;
52
+ public string $ subheading = 'Everything you need to annoy your neighbors ' ;
52
53
53
54
/**
54
55
* Define Your Features
@@ -68,7 +69,13 @@ class StartupPlan extends BasePlan
68
69
['text ' => '5 Subtweets / Day ' , 'icon ' => null ],
69
70
['text ' => '10 Guy Replies / Week ' , 'icon ' => null ],
70
71
['text ' => '5 Rick Rolls / Month ' , 'icon ' => null ],
72
+ ];
71
73
74
+ public array $ ledgers = [
75
+ ['ledger ' => Ledgers::Memes, 'limit ' => 5 , 'period ' => LedgerPeriods::Hour],
76
+ ['ledger ' => Ledgers::SubTweets, 'limit ' => 5 , 'period ' => LedgerPeriods::Day],
77
+ ['ledger ' => Ledgers::GuyReplies, 'limit ' => 5 , 'period ' => LedgerPeriods::Week],
78
+ ['ledger ' => Ledgers::RickRolls, 'limit ' => 5 , 'period ' => LedgerPeriods::Month],
72
79
];
73
80
74
81
/**
@@ -85,7 +92,7 @@ class StartupPlan extends BasePlan
85
92
* so it significantly simplifies the way we process and handle the data.
86
93
*/
87
94
public array $ can = [
88
- [' AddSeats ' , ['limit ' => 1 ]],
95
+ [AddSeats::class , ['limit ' => 1 ]],
89
96
];
90
97
91
98
/**
0 commit comments