Documentation ¶
Overview ¶
Package configuration provides the /terminal/configurations APIs
Index ¶
- func Del(id string, params *stripe.TerminalConfigurationParams) (*stripe.TerminalConfiguration, error)
- func Get(id string, params *stripe.TerminalConfigurationParams) (*stripe.TerminalConfiguration, error)
- func New(params *stripe.TerminalConfigurationParams) (*stripe.TerminalConfiguration, error)
- func Update(id string, params *stripe.TerminalConfigurationParams) (*stripe.TerminalConfiguration, error)
- type Client
- func (c Client) Del(id string, params *stripe.TerminalConfigurationParams) (*stripe.TerminalConfiguration, error)
- func (c Client) Get(id string, params *stripe.TerminalConfigurationParams) (*stripe.TerminalConfiguration, error)
- func (c Client) List(listParams *stripe.TerminalConfigurationListParams) *Iter
- func (c Client) New(params *stripe.TerminalConfigurationParams) (*stripe.TerminalConfiguration, error)
- func (c Client) Update(id string, params *stripe.TerminalConfigurationParams) (*stripe.TerminalConfiguration, error)
- type Iter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Del ¶
func Del(id string, params *stripe.TerminalConfigurationParams) (*stripe.TerminalConfiguration, error)
Del removes a terminal configuration.
func Get ¶
func Get(id string, params *stripe.TerminalConfigurationParams) (*stripe.TerminalConfiguration, error)
Get returns the details of a terminal configuration.
func New ¶
func New(params *stripe.TerminalConfigurationParams) (*stripe.TerminalConfiguration, error)
New creates a new terminal configuration.
func Update ¶
func Update(id string, params *stripe.TerminalConfigurationParams) (*stripe.TerminalConfiguration, error)
Update updates a terminal configuration's properties.
Types ¶
type Client ¶
Client is used to invoke /terminal/configurations APIs.
func (Client) Del ¶
func (c Client) Del(id string, params *stripe.TerminalConfigurationParams) (*stripe.TerminalConfiguration, error)
Del removes a terminal configuration.
func (Client) Get ¶
func (c Client) Get(id string, params *stripe.TerminalConfigurationParams) (*stripe.TerminalConfiguration, error)
Get returns the details of a terminal configuration.
func (Client) List ¶
func (c Client) List(listParams *stripe.TerminalConfigurationListParams) *Iter
List returns a list of terminal configurations.
func (Client) New ¶
func (c Client) New(params *stripe.TerminalConfigurationParams) (*stripe.TerminalConfiguration, error)
New creates a new terminal configuration.
func (Client) Update ¶
func (c Client) Update(id string, params *stripe.TerminalConfigurationParams) (*stripe.TerminalConfiguration, error)
Update updates a terminal configuration's properties.
type Iter ¶
Iter is an iterator for terminal configurations.
func List ¶
func List(params *stripe.TerminalConfigurationListParams) *Iter
List returns a list of terminal configurations.
func (*Iter) TerminalConfiguration ¶
func (i *Iter) TerminalConfiguration() *stripe.TerminalConfiguration
TerminalConfiguration returns the terminal configuration which the iterator is currently pointing to.
func (*Iter) TerminalConfigurationList ¶
func (i *Iter) TerminalConfigurationList() *stripe.TerminalConfigurationList
TerminalConfigurationList returns the current list object which the iterator is currently using. List objects will change as new API calls are made to continue pagination.