Documentation ¶
Overview ¶
Package subschedule provides the /subscription_schedules APIs
Index ¶
- func Cancel(id string, params *stripe.SubscriptionScheduleCancelParams) (*stripe.SubscriptionSchedule, error)
- func Get(id string, params *stripe.SubscriptionScheduleParams) (*stripe.SubscriptionSchedule, error)
- func New(params *stripe.SubscriptionScheduleParams) (*stripe.SubscriptionSchedule, error)
- func Release(id string, params *stripe.SubscriptionScheduleReleaseParams) (*stripe.SubscriptionSchedule, error)
- func Update(id string, params *stripe.SubscriptionScheduleParams) (*stripe.SubscriptionSchedule, error)
- type Client
- func (c Client) Cancel(id string, params *stripe.SubscriptionScheduleCancelParams) (*stripe.SubscriptionSchedule, error)
- func (c Client) Get(id string, params *stripe.SubscriptionScheduleParams) (*stripe.SubscriptionSchedule, error)
- func (c Client) List(listParams *stripe.SubscriptionScheduleListParams) *Iter
- func (c Client) New(params *stripe.SubscriptionScheduleParams) (*stripe.SubscriptionSchedule, error)
- func (c Client) Release(id string, params *stripe.SubscriptionScheduleReleaseParams) (*stripe.SubscriptionSchedule, error)
- func (c Client) Update(id string, params *stripe.SubscriptionScheduleParams) (*stripe.SubscriptionSchedule, error)
- type Iter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Cancel ¶
func Cancel(id string, params *stripe.SubscriptionScheduleCancelParams) (*stripe.SubscriptionSchedule, error)
Cancel removes a subscription schedule.
func Get ¶
func Get(id string, params *stripe.SubscriptionScheduleParams) (*stripe.SubscriptionSchedule, error)
Get returns the details of a subscription schedule.
func New ¶
func New(params *stripe.SubscriptionScheduleParams) (*stripe.SubscriptionSchedule, error)
New creates a new subscription schedule.
func Release ¶
func Release(id string, params *stripe.SubscriptionScheduleReleaseParams) (*stripe.SubscriptionSchedule, error)
Release releases a subscription schedule's properties.
func Update ¶
func Update(id string, params *stripe.SubscriptionScheduleParams) (*stripe.SubscriptionSchedule, error)
Update updates a subscription schedule's properties.
Types ¶
type Client ¶
Client is used to invoke /subscription_schedules APIs.
func (Client) Cancel ¶
func (c Client) Cancel(id string, params *stripe.SubscriptionScheduleCancelParams) (*stripe.SubscriptionSchedule, error)
Cancel removes a subscription schedule.
func (Client) Get ¶
func (c Client) Get(id string, params *stripe.SubscriptionScheduleParams) (*stripe.SubscriptionSchedule, error)
Get returns the details of a subscription schedule.
func (Client) List ¶
func (c Client) List(listParams *stripe.SubscriptionScheduleListParams) *Iter
List returns a list of subscriptions.
func (Client) New ¶
func (c Client) New(params *stripe.SubscriptionScheduleParams) (*stripe.SubscriptionSchedule, error)
New creates a new subscription schedule.
func (Client) Release ¶
func (c Client) Release(id string, params *stripe.SubscriptionScheduleReleaseParams) (*stripe.SubscriptionSchedule, error)
Release releases a subscription schedule's properties.
func (Client) Update ¶
func (c Client) Update(id string, params *stripe.SubscriptionScheduleParams) (*stripe.SubscriptionSchedule, error)
Update updates a subscription schedule's properties.
type Iter ¶
Iter is an iterator for subscription schedules.
func List ¶
func List(params *stripe.SubscriptionScheduleListParams) *Iter
List returns a list of subscriptions.
func (*Iter) SubscriptionSchedule ¶
func (i *Iter) SubscriptionSchedule() *stripe.SubscriptionSchedule
SubscriptionSchedule returns the subscription schedule which the iterator is currently pointing to.