Skip to content

Commit

Permalink
feat: add trial period to PlanInput (#94)
Browse files Browse the repository at this point in the history
* feat: add trial period to PlanInput

* fix: trial period type

Co-authored-by: Romain Sempé <[email protected]>

---------

Co-authored-by: Federico Sordillo <[email protected]>
Co-authored-by: Romain Sempé <[email protected]>
  • Loading branch information
3 people authored Jun 6, 2023
1 parent 461b46d commit 70d5d72
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions plan.go
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ type PlanInput struct {
AmountCurrency Currency `json:"amount_currency,omitempty"`
PayInAdvance bool `json:"pay_in_advance"`
BillChargeMonthly bool `json:"bill_charge_monthly"`
TrialPeriod float32 `json:"trial_period"`
Charges []PlanChargeInput `json:"charges,omitempty"`
}

Expand Down

0 comments on commit 70d5d72

Please sign in to comment.