subschedule

package
v72.108.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 19, 2022 License: MIT Imports: 3 Imported by: 1

Documentation

Overview

Package subschedule provides the /subscription_schedules APIs

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Cancel

Cancel is the method for the `POST /v1/subscription_schedules/{schedule}/cancel` API.

func Get

Get returns the details of a subscription schedule.

func New

New creates a new subscription schedule.

func Release

Release is the method for the `POST /v1/subscription_schedules/{schedule}/release` API.

func Update

Update updates a subscription schedule's properties.

Types

type Client

type Client struct {
	B   stripe.Backend
	Key string
}

Client is used to invoke /subscription_schedules APIs.

func (Client) Cancel

Cancel is the method for the `POST /v1/subscription_schedules/{schedule}/cancel` API.

func (Client) Get

Get returns the details of a subscription schedule.

func (Client) List

func (c Client) List(listParams *stripe.SubscriptionScheduleListParams) *Iter

List returns a list of subscription schedules.

func (Client) New

New creates a new subscription schedule.

func (Client) Release

Release is the method for the `POST /v1/subscription_schedules/{schedule}/release` API.

func (Client) Update

Update updates a subscription schedule's properties.

type Iter

type Iter struct {
	*stripe.Iter
}

Iter is an iterator for subscription schedules.

func List

List returns a list of subscription schedules.

func (*Iter) SubscriptionSchedule

func (i *Iter) SubscriptionSchedule() *stripe.SubscriptionSchedule

SubscriptionSchedule returns the subscription schedule which the iterator is currently pointing to.

func (*Iter) SubscriptionScheduleList

func (i *Iter) SubscriptionScheduleList() *stripe.SubscriptionScheduleList

SubscriptionScheduleList returns the current list object which the iterator is currently using. List objects will change as new API calls are made to continue pagination.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL