Skip to content

Commit

Permalink
Add back PlanParams.ProductID (#1777)
Browse files Browse the repository at this point in the history
  • Loading branch information
anniel-stripe authored Dec 1, 2023
1 parent bbe27d5 commit e04b083
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions plan.go
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,8 @@ type PlanParams struct {
Nickname *string `form:"nickname"`
// The product the plan belongs to. This cannot be changed once it has been used in a subscription or subscription schedule.
Product *PlanProductParams `form:"product"`
// The product the plan belongs to. This cannot be changed once it has been used in a subscription or subscription schedule.
ProductID *string `form:"product"`
// Each element represents a pricing tier. This parameter requires `billing_scheme` to be set to `tiered`. See also the documentation for `billing_scheme`.
Tiers []*PlanTierParams `form:"tiers"`
// Defines if the tiering price should be `graduated` or `volume` based. In `volume`-based tiering, the maximum quantity within a period determines the per unit price, in `graduated` tiering pricing can successively change as the quantity grows.
Expand Down

0 comments on commit e04b083

Please sign in to comment.