Documentation ¶
Overview ¶
Package reader provides the /terminal/readers APIs
Index ¶
- func Del(id string, params *stripe.TerminalReaderParams) (*stripe.TerminalReader, error)
- 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) Del(id string, params *stripe.TerminalReaderParams) (*stripe.TerminalReader, error)
- 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 Del ¶
func Del(id string, params *stripe.TerminalReaderParams) (*stripe.TerminalReader, error)
Del removes a terminal reader.
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's properties.
Types ¶
type Client ¶
Client is used to invoke /terminal/readers APIs.
func (Client) Del ¶
func (c Client) Del(id string, params *stripe.TerminalReaderParams) (*stripe.TerminalReader, error)
Del removes a terminal reader.
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's properties.
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.
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.