configuration

package
v76.25.0 Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package configuration provides the /terminal/configurations APIs

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Del

Del removes a terminal configuration.

func Get

Get returns the details of a terminal configuration.

func New

New creates a new terminal configuration.

func Update

Update updates a terminal configuration's properties.

Types

type Client

type Client struct {
	B   stripe.Backend
	Key string
}

Client is used to invoke /terminal/configurations APIs.

func (Client) Del

Del removes a terminal configuration.

func (Client) Get

Get returns the details of a terminal configuration.

func (Client) List

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

List returns a list of terminal configurations.

func (Client) New

New creates a new terminal configuration.

func (Client) Update

Update updates a terminal configuration's properties.

type Iter

type Iter struct {
	*stripe.Iter
}

Iter is an iterator for terminal configurations.

func List

List returns a list of terminal configurations.

func (*Iter) TerminalConfiguration

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

TerminalConfiguration returns the terminal configuration which the iterator is currently pointing to.

func (*Iter) TerminalConfigurationList

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

TerminalConfigurationList 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