Skip to content

Commit

Permalink
Merge pull request #207 from getlago/portal-subscriptions-dates
Browse files Browse the repository at this point in the history
feat: Add current billing period dates
  • Loading branch information
rsempe authored Oct 11, 2024
2 parents 01439e1 + e3716e9 commit ea3a175
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions subscription.go
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,9 @@ type Subscription struct {
NextPlanCode string `json:"next_plan_code"`
DowngradePlanDate string `json:"downgrade_plan_date"`

CurrentBillingPeriodStartedAt *time.Time `json:"current_billing_period_started_at"`
CurrentBillingPeriodEndingAt *time.Time `json:"current_billing_period_ending_at"`

Plan *Plan `json:"plan,omitempty"`

CreatedAt *time.Time `json:"created_at"`
Expand Down

0 comments on commit ea3a175

Please sign in to comment.