Skip to content

Commit

Permalink
made PlanOverridesInput struct in the SubscriptionInput a pointer (#136)
Browse files Browse the repository at this point in the history
Co-authored-by: Luc van Kessel <[email protected]>
  • Loading branch information
lucvankessel and Luc van Kessel authored Oct 25, 2023
1 parent 3eb0645 commit 1a06e5a
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions subscription.go
Original file line number Diff line number Diff line change
Expand Up @@ -62,14 +62,14 @@ type PlanOverridesInput struct {
}

type SubscriptionInput struct {
ExternalCustomerID string `json:"external_customer_id,omitempty"`
PlanCode string `json:"plan_code,omitempty"`
SubscriptionAt *time.Time `json:"subscription_at,omitempty"`
EndingAt *time.Time `json:"ending_at,omitempty"`
BillingTime BillingTime `json:"billing_time,omitempty"`
PlanOverrides PlanOverridesInput `json:"plan_overrides,omitempty"`
ExternalID string `json:"external_id"`
Name string `json:"name"`
ExternalCustomerID string `json:"external_customer_id,omitempty"`
PlanCode string `json:"plan_code,omitempty"`
SubscriptionAt *time.Time `json:"subscription_at,omitempty"`
EndingAt *time.Time `json:"ending_at,omitempty"`
BillingTime BillingTime `json:"billing_time,omitempty"`
PlanOverrides *PlanOverridesInput `json:"plan_overrides,omitempty"`
ExternalID string `json:"external_id"`
Name string `json:"name"`
}

type SubscriptionTerminateInput struct {
Expand Down

0 comments on commit 1a06e5a

Please sign in to comment.