Documentation ¶
Overview ¶
package plan provides the /plans APIs
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Create ¶
func Create(params *PlanParams) (*Plan, error)
Create POSTs a new plan. For more details see https://stripe.com/docs/api#create_plan.
func Delete ¶
Delete removes a plan. For more details see https://stripe.com/docs/api#delete_plan.
func Get ¶
Get returns the details of a plan. For more details see https://stripe.com/docs/api#retrieve_plan.
func List ¶
func List(params *PlanListParams) *PlanIter
List returns a list of plans. For more details see https://stripe.com/docs/api#list_plans.
func Update ¶
Update updates a plan's properties. For more details see https://stripe.com/docs/api#update_plan.
Types ¶
Click to show internal directories.
Click to hide internal directories.