Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove SubscriptionScheduleRevision #913

Merged
merged 1 commit into from
Aug 9, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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.