reader

package
v70.15.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Apr 14, 2020 License: MIT Imports: 3 Imported by: 48

Documentation

Overview

Package reader provides API functions related to terminal readers

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Del

Del removes a reader.

func Get

Get returns the details of a terminal reader.

func New

New creates a new terminal reader.

func Update

Update updates a terminal reader.

Types

type Client

type Client struct {
	B   stripe.Backend
	Key string
}

Client is used to invoke /terminal/readers APIs.

func (Client) Del

Del removes a reader.

func (Client) Get

Get returns the details of a terminal reader.

func (Client) List

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

List returns a list of terminal readers.

func (Client) New

New creates a new terminal reader.

func (Client) Update

Update updates a terminal reader.

type Iter

type Iter struct {
	*stripe.Iter
}

Iter is an iterator for terminal readers.

func List

func List(params *stripe.TerminalReaderListParams) *Iter

List returns a list of terminal readers.

func (*Iter) TerminalReader

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

TerminalReader returns the terminal reader which the iterator is currently pointing to.

Jump to

Keyboard shortcuts

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