configuration

package
v79.8.0 Latest Latest
Warning

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

Go to latest
Published: Aug 15, 2024 License: MIT Imports: 3 Imported by: 1

Documentation

Overview

Package configuration provides the /billing_portal/configurations APIs

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Get

Retrieves a configuration that describes the functionality of the customer portal.

func New

Creates a configuration that describes the functionality and behavior of a PortalSession

func Update

Updates a configuration that describes the functionality of the customer portal.

Types

type Client

type Client struct {
	B   stripe.Backend
	Key string
}

Client is used to invoke /billing_portal/configurations APIs.

func (Client) Get

Retrieves a configuration that describes the functionality of the customer portal.

func (Client) List

Returns a list of configurations that describe the functionality of the customer portal.

func (Client) New

Creates a configuration that describes the functionality and behavior of a PortalSession

func (Client) Update

Updates a configuration that describes the functionality of the customer portal.

type Iter

type Iter struct {
	*stripe.Iter
}

Iter is an iterator for billing portal configurations.

func List

Returns a list of configurations that describe the functionality of the customer portal.

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