token

package
v75.11.0 Latest Latest
Warning

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

Go to latest
Published: Oct 16, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package token provides the /issuing/tokens APIs

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Get

Get returns the details of an issuing token.

func Update

func Update(id string, params *stripe.IssuingTokenParams) (*stripe.IssuingToken, error)

Update updates an issuing token's properties.

Types

type Client

type Client struct {
	B   stripe.Backend
	Key string
}

Client is used to invoke /issuing/tokens APIs.

func (Client) Get

Get returns the details of an issuing token.

func (Client) List

func (c Client) List(listParams *stripe.IssuingTokenListParams) *Iter

List returns a list of issuing tokens.

func (Client) Update

func (c Client) Update(id string, params *stripe.IssuingTokenParams) (*stripe.IssuingToken, error)

Update updates an issuing token's properties.

type Iter

type Iter struct {
	*stripe.Iter
}

Iter is an iterator for issuing tokens.

func List

func List(params *stripe.IssuingTokenListParams) *Iter

List returns a list of issuing tokens.

func (*Iter) IssuingToken

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

IssuingToken returns the issuing token which the iterator is currently pointing to.

func (*Iter) IssuingTokenList

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

IssuingTokenList 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