reader

package
v72.108.0 Latest Latest
Warning

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

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

Documentation

Overview

Package reader provides the /terminal/readers APIs

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CancelAction added in v72.98.0

CancelAction is the method for the `POST /v1/terminal/readers/{reader}/cancel_action` API.

func Del

Del removes a terminal reader.

func Get

Get returns the details of a terminal reader.

func New

New creates a new terminal reader.

func ProcessPaymentIntent added in v72.98.0

ProcessPaymentIntent is the method for the `POST /v1/terminal/readers/{reader}/process_payment_intent` API.

func ProcessSetupIntent added in v72.98.0

ProcessSetupIntent is the method for the `POST /v1/terminal/readers/{reader}/process_setup_intent` API.

func SetReaderDisplay added in v72.98.0

SetReaderDisplay is the method for the `POST /v1/terminal/readers/{reader}/set_reader_display` API.

func Update

Update updates a terminal reader's properties.

Types

type Client

type Client struct {
	B   stripe.Backend
	Key string
}

Client is used to invoke /terminal/readers APIs.

func (Client) CancelAction added in v72.98.0

CancelAction is the method for the `POST /v1/terminal/readers/{reader}/cancel_action` API.

func (Client) Del

Del removes a terminal 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) ProcessPaymentIntent added in v72.98.0

ProcessPaymentIntent is the method for the `POST /v1/terminal/readers/{reader}/process_payment_intent` API.

func (Client) ProcessSetupIntent added in v72.98.0

ProcessSetupIntent is the method for the `POST /v1/terminal/readers/{reader}/process_setup_intent` API.

func (Client) SetReaderDisplay added in v72.98.0

SetReaderDisplay is the method for the `POST /v1/terminal/readers/{reader}/set_reader_display` API.

func (Client) Update

Update updates a terminal reader's properties.

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.

func (*Iter) TerminalReaderList

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

TerminalReaderList 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