card

package
v72.122.0 Latest Latest
Warning

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

Go to latest
Published: Jul 26, 2022 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package card provides the /issuing/cards APIs

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Get

Get returns the details of an issuing card.

func New

New creates a new issuing card.

func Update

func Update(id string, params *stripe.IssuingCardParams) (*stripe.IssuingCard, error)

Update updates an issuing card's properties.

Types

type Client

type Client struct {
	B   stripe.Backend
	Key string
}

Client is used to invoke /issuing/cards APIs.

func (Client) Get

func (c Client) Get(id string, params *stripe.IssuingCardParams) (*stripe.IssuingCard, error)

Get returns the details of an issuing card.

func (Client) List

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

List returns a list of issuing cards.

func (Client) New

New creates a new issuing card.

func (Client) Update

func (c Client) Update(id string, params *stripe.IssuingCardParams) (*stripe.IssuingCard, error)

Update updates an issuing card's properties.

type Iter

type Iter struct {
	*stripe.Iter
}

Iter is an iterator for issuing cards.

func List

func List(params *stripe.IssuingCardListParams) *Iter

List returns a list of issuing cards.

func (*Iter) IssuingCard

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

IssuingCard returns the issuing card which the iterator is currently pointing to.

func (*Iter) IssuingCardList

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

IssuingCardList 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