configuration

package
v81.2.0 Latest Latest
Warning

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

Go to latest
Published: Dec 18, 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

Deletes a Configuration object.

func Get

Retrieves a Configuration object.

func New

Creates a new Configuration object.

func Update

Updates a new Configuration object.

Types

type Client

type Client struct {
	B   stripe.Backend
	Key string
}

Client is used to invoke /terminal/configurations APIs.

func (Client) Del

Deletes a Configuration object.

func (Client) Get

Retrieves a Configuration object.

func (Client) List

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

Returns a list of Configuration objects.

func (Client) New

Creates a new Configuration object.

func (Client) Update

Updates a new Configuration object.

type Iter

type Iter struct {
	*stripe.Iter
}

Iter is an iterator for terminal configurations.

func List

Returns a list of Configuration objects.

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