Documentation ¶
Overview ¶
Package reader provides API functions related to terminal readers
Index ¶
- func Get(id string, params *stripe.TerminalReaderGetParams) (*stripe.TerminalReader, error)
- func New(params *stripe.TerminalReaderParams) (*stripe.TerminalReader, error)
- func Update(id string, params *stripe.TerminalReaderParams) (*stripe.TerminalReader, error)
- type Client
- func (c Client) Get(id string, params *stripe.TerminalReaderGetParams) (*stripe.TerminalReader, error)
- func (c Client) List(listParams *stripe.TerminalReaderListParams) *Iter
- func (c Client) New(params *stripe.TerminalReaderParams) (*stripe.TerminalReader, error)
- func (c Client) Update(id string, params *stripe.TerminalReaderParams) (*stripe.TerminalReader, error)
- type Iter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Get ¶
func Get(id string, params *stripe.TerminalReaderGetParams) (*stripe.TerminalReader, error)
Get returns the details of a terminal reader.
func New ¶
func New(params *stripe.TerminalReaderParams) (*stripe.TerminalReader, error)
New creates a new terminal reader.
func Update ¶
func Update(id string, params *stripe.TerminalReaderParams) (*stripe.TerminalReader, error)
Update updates a terminal reader.
Types ¶
type Client ¶
Client is used to invoke /terminal/readers APIs.
func (Client) Get ¶
func (c Client) Get(id string, params *stripe.TerminalReaderGetParams) (*stripe.TerminalReader, error)
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 ¶
func (c Client) New(params *stripe.TerminalReaderParams) (*stripe.TerminalReader, error)
New creates a new terminal reader.
func (Client) Update ¶
func (c Client) Update(id string, params *stripe.TerminalReaderParams) (*stripe.TerminalReader, error)
Update updates a terminal reader.
type 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.
Click to show internal directories.
Click to hide internal directories.