Documentation ¶
Overview ¶
Package location provides API functions related to terminal locations
Index ¶
- func Get(id string, params *stripe.TerminalLocationParams) (*stripe.TerminalLocation, error)
- func New(params *stripe.TerminalLocationParams) (*stripe.TerminalLocation, error)
- func Update(id string, params *stripe.TerminalLocationParams) (*stripe.TerminalLocation, error)
- type Client
- func (c Client) Get(id string, params *stripe.TerminalLocationParams) (*stripe.TerminalLocation, error)
- func (c Client) List(listParams *stripe.TerminalLocationListParams) *Iter
- func (c Client) New(params *stripe.TerminalLocationParams) (*stripe.TerminalLocation, error)
- func (c Client) Update(id string, params *stripe.TerminalLocationParams) (*stripe.TerminalLocation, error)
- type Iter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Get ¶
func Get(id string, params *stripe.TerminalLocationParams) (*stripe.TerminalLocation, error)
Get returns the details of a terminal location.
func New ¶
func New(params *stripe.TerminalLocationParams) (*stripe.TerminalLocation, error)
New creates a new terminal location.
func Update ¶
func Update(id string, params *stripe.TerminalLocationParams) (*stripe.TerminalLocation, error)
Update updates a terminal location.
Types ¶
type Client ¶
Client is used to invokte /terminal/locations APIs
func (Client) Get ¶
func (c Client) Get(id string, params *stripe.TerminalLocationParams) (*stripe.TerminalLocation, error)
Get returns the details of a terminal location.
func (Client) List ¶
func (c Client) List(listParams *stripe.TerminalLocationListParams) *Iter
List returns a list of terminal location.
func (Client) New ¶
func (c Client) New(params *stripe.TerminalLocationParams) (*stripe.TerminalLocation, error)
New creates a new terminal location.
func (Client) Update ¶
func (c Client) Update(id string, params *stripe.TerminalLocationParams) (*stripe.TerminalLocation, error)
Update updates a terminal location.
type Iter ¶
Iter is an iterator for terminal locations.
func List ¶
func List(params *stripe.TerminalLocationListParams) *Iter
List returns a list of terminal location.
func (*Iter) TerminalLocation ¶
func (i *Iter) TerminalLocation() *stripe.TerminalLocation
TerminalLocation returns the terminal location which the iterator is currently pointing to.
Click to show internal directories.
Click to hide internal directories.