Skip to content

Commit

Permalink
Merge pull request #913 from stripe/remi-remove-subscriptionscheduler…
Browse files Browse the repository at this point in the history
…evision

Remove SubscriptionScheduleRevision
  • Loading branch information
ob-stripe authored Aug 9, 2019
2 parents ea87859 + d494430 commit 691239f
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 167 deletions.
4 changes: 0 additions & 4 deletions client/api.go
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,6 @@ import (
"github.com/stripe/stripe-go/sub"
"github.com/stripe/stripe-go/subitem"
"github.com/stripe/stripe-go/subschedule"
"github.com/stripe/stripe-go/subschedulerevision"
"github.com/stripe/stripe-go/taxid"
"github.com/stripe/stripe-go/taxrate"
terminalconnectiontoken "github.com/stripe/stripe-go/terminal/connectiontoken"
Expand Down Expand Up @@ -206,8 +205,6 @@ type API struct {
SubscriptionItems *subitem.Client
// SubscriptionSchedules is the client used to invoke subscription schedules related APIs.
SubscriptionSchedules *subschedule.Client
// SubscriptionScheduleRevisions is the client used to invoke subscription schedule revision related APIs.
SubscriptionScheduleRevisions *subschedulerevision.Client
// TaxIDs is the client used to invoke /tax_ids APIs.
TaxIDs *taxid.Client
// TaxRates is the client used to invoke /tax_rates APIs.
Expand Down Expand Up @@ -307,7 +304,6 @@ func (a *API) Init(key string, backends *stripe.Backends) {
a.Subscriptions = &sub.Client{B: backends.API, Key: key}
a.SubscriptionItems = &subitem.Client{B: backends.API, Key: key}
a.SubscriptionSchedules = &subschedule.Client{B: backends.API, Key: key}
a.SubscriptionScheduleRevisions = &subschedulerevision.Client{B: backends.API, Key: key}
a.TaxIDs = &taxid.Client{B: backends.API, Key: key}
a.TaxRates = &taxrate.Client{B: backends.API, Key: key}
a.TerminalConnectionTokens = &terminalconnectiontoken.Client{B: backends.API, Key: key}
Expand Down
1 change: 0 additions & 1 deletion subschedule.go
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,6 @@ type SubscriptionSchedule struct {
Object string `json:"object"`
Phases []*SubscriptionSchedulePhase `json:"phases"`
ReleasedSubscription *Subscription `json:"released_subscription"`
Revision *SubscriptionScheduleRevision `json:"revision"`
RenewalBehavior SubscriptionScheduleRenewalBehavior `json:"renewal_behavior"`
RenewalInterval *SubscriptionScheduleRenewalInterval `json:"renewal_interval"`
Status SubscriptionScheduleStatus `json:"status"`
Expand Down
57 changes: 0 additions & 57 deletions subschedulerevision.go

This file was deleted.

75 changes: 0 additions & 75 deletions subschedulerevision/client.go

This file was deleted.

30 changes: 0 additions & 30 deletions subschedulerevision/client_test.go

This file was deleted.

0 comments on commit 691239f

Please sign in to comment.