Documentation ¶
Overview ¶
Package token provides the /issuing/tokens APIs
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Get ¶
func Get(id string, params *stripe.IssuingTokenParams) (*stripe.IssuingToken, error)
Retrieves an Issuing Token object.
func Update ¶
func Update(id string, params *stripe.IssuingTokenParams) (*stripe.IssuingToken, error)
Attempts to update the specified Issuing Token object to the status specified.
Types ¶
type Client ¶
Client is used to invoke /issuing/tokens APIs.
func (Client) Get ¶
func (c Client) Get(id string, params *stripe.IssuingTokenParams) (*stripe.IssuingToken, error)
Retrieves an Issuing Token object.
func (Client) List ¶
func (c Client) List(listParams *stripe.IssuingTokenListParams) *Iter
Lists all Issuing Token objects for a given card.
func (Client) Update ¶
func (c Client) Update(id string, params *stripe.IssuingTokenParams) (*stripe.IssuingToken, error)
Attempts to update the specified Issuing Token object to the status specified.
type Iter ¶
Iter is an iterator for issuing tokens.
func List ¶
func List(params *stripe.IssuingTokenListParams) *Iter
Lists all Issuing Token objects for a given card.
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.