Documentation ¶
Overview ¶
Package card provides the /issuing/cards APIs
Index ¶
- func Get(id string, params *stripe.IssuingCardParams) (*stripe.IssuingCard, error)
- func New(params *stripe.IssuingCardParams) (*stripe.IssuingCard, error)
- func Update(id string, params *stripe.IssuingCardParams) (*stripe.IssuingCard, error)
- type Client
- func (c Client) Get(id string, params *stripe.IssuingCardParams) (*stripe.IssuingCard, error)
- func (c Client) List(listParams *stripe.IssuingCardListParams) *Iter
- func (c Client) New(params *stripe.IssuingCardParams) (*stripe.IssuingCard, error)
- func (c Client) Update(id string, params *stripe.IssuingCardParams) (*stripe.IssuingCard, error)
- type Iter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Get ¶
func Get(id string, params *stripe.IssuingCardParams) (*stripe.IssuingCard, error)
Retrieves an Issuing Card object.
func New ¶
func New(params *stripe.IssuingCardParams) (*stripe.IssuingCard, error)
Creates an Issuing Card object.
func Update ¶
func Update(id string, params *stripe.IssuingCardParams) (*stripe.IssuingCard, error)
Updates the specified Issuing Card object by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
Types ¶
type Client ¶
Client is used to invoke /issuing/cards APIs.
func (Client) Get ¶
func (c Client) Get(id string, params *stripe.IssuingCardParams) (*stripe.IssuingCard, error)
Retrieves an Issuing Card object.
func (Client) List ¶
func (c Client) List(listParams *stripe.IssuingCardListParams) *Iter
Returns a list of Issuing Card objects. The objects are sorted in descending order by creation date, with the most recently created object appearing first.
func (Client) New ¶
func (c Client) New(params *stripe.IssuingCardParams) (*stripe.IssuingCard, error)
Creates an Issuing Card object.
func (Client) Update ¶
func (c Client) Update(id string, params *stripe.IssuingCardParams) (*stripe.IssuingCard, error)
Updates the specified Issuing Card object by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
type Iter ¶
Iter is an iterator for issuing cards.
func List ¶
func List(params *stripe.IssuingCardListParams) *Iter
Returns a list of Issuing Card objects. The objects are sorted in descending order by creation date, with the most recently created object appearing first.
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.