Skip to content

Commit

Permalink
Merge branch 'ben/commerce-feature-plans' of github.com:clerk/clerk-s…
Browse files Browse the repository at this point in the history
…dk-go into ben/commerce-feature-plans
  • Loading branch information
benhowdle89 committed Dec 20, 2024
2 parents 29a1247 + 7e140dd commit c5ca308
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions commerce.go
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,7 @@ type CreatePlanParams struct {
Amount int64 `json:"amount"`
IsRecurring bool `json:"is_recurring"`
IsProrated bool `json:"is_prorated"`
IsFree bool `json:"is_free"`
Period string `json:"period"`
Interval int `json:"interval"`
AvatarURL string `json:"avatar_url"`
Expand All @@ -195,6 +196,7 @@ type UpdatePlanParams struct {
IsRecurring *bool `json:"is_recurring,omitempty"`
Description *string `json:"description,omitempty"`
IsProrated *bool `json:"is_prorated,omitempty"`
IsFree bool `json:"is_free"`
Period *string `json:"period,omitempty"`
Interval *int `json:"interval,omitempty"`
AvatarURL *string `json:"avatar_url,omitempty"`
Expand All @@ -213,6 +215,8 @@ type CommercePlan struct {
Amount int64 `json:"amount"`
IsRecurring bool `json:"is_recurring"`
IsProrated bool `json:"is_prorated"`
IsFree bool `json:"is_free"`
IsDefault bool `json:"is_default"`
Period string `json:"period"`
Interval int `json:"interval"`
AvatarURL string `json:"avatar_url"`
Expand Down

0 comments on commit c5ca308

Please sign in to comment.