configuration

package
v72.109.0 Latest Latest
Warning

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

Go to latest
Published: May 23, 2022 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package configuration provides the /billing_portal/configurations APIs

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Get

Get returns the details of a billing portal configuration.

func New

New creates a new billing portal configuration.

func Update

Update updates a billing portal configuration's properties.

Types

type Client

type Client struct {
	B   stripe.Backend
	Key string
}

Client is used to invoke /billing_portal/configurations APIs.

func (Client) Get

Get returns the details of a billing portal configuration.

func (Client) List

List returns a list of billing portal configurations.

func (Client) New

New creates a new billing portal configuration.

func (Client) Update

Update updates a billing portal configuration's properties.

type Iter

type Iter struct {
	*stripe.Iter
}

Iter is an iterator for billing portal configurations.

func List

List returns a list of billing portal configurations.

func (*Iter) BillingPortalConfiguration

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

BillingPortalConfiguration returns the billing portal configuration which the iterator is currently pointing to.

func (*Iter) BillingPortalConfigurationList

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

BillingPortalConfigurationList 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