Documentation ¶
Overview ¶
Package cardholder provides the /issuing/cardholders APIs For more details, see: https://stripe.com/docs/api/?lang=go#issuing_cardholders
Index ¶
- func Get(id string, params *stripe.IssuingCardholderParams) (*stripe.IssuingCardholder, error)
- func New(params *stripe.IssuingCardholderParams) (*stripe.IssuingCardholder, error)
- func Update(id string, params *stripe.IssuingCardholderParams) (*stripe.IssuingCardholder, error)
- type Client
- func (c Client) Get(id string, params *stripe.IssuingCardholderParams) (*stripe.IssuingCardholder, error)
- func (c Client) List(listParams *stripe.IssuingCardholderListParams) *Iter
- func (c Client) New(params *stripe.IssuingCardholderParams) (*stripe.IssuingCardholder, error)
- func (c Client) Update(id string, params *stripe.IssuingCardholderParams) (*stripe.IssuingCardholder, error)
- type Iter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Get ¶
func Get(id string, params *stripe.IssuingCardholderParams) (*stripe.IssuingCardholder, error)
Retrieves an Issuing Cardholder object.
func New ¶
func New(params *stripe.IssuingCardholderParams) (*stripe.IssuingCardholder, error)
Creates a new Issuing Cardholder object that can be issued cards.
func Update ¶
func Update(id string, params *stripe.IssuingCardholderParams) (*stripe.IssuingCardholder, error)
Updates the specified Issuing Cardholder 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/cardholders APIs.
func (Client) Get ¶
func (c Client) Get(id string, params *stripe.IssuingCardholderParams) (*stripe.IssuingCardholder, error)
Retrieves an Issuing Cardholder object.
func (Client) List ¶
func (c Client) List(listParams *stripe.IssuingCardholderListParams) *Iter
Returns a list of Issuing Cardholder 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.IssuingCardholderParams) (*stripe.IssuingCardholder, error)
Creates a new Issuing Cardholder object that can be issued cards.
func (Client) Update ¶
func (c Client) Update(id string, params *stripe.IssuingCardholderParams) (*stripe.IssuingCardholder, error)
Updates the specified Issuing Cardholder 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 cardholders.
func List ¶
func List(params *stripe.IssuingCardholderListParams) *Iter
Returns a list of Issuing Cardholder objects. The objects are sorted in descending order by creation date, with the most recently created object appearing first.
func (*Iter) IssuingCardholder ¶
func (i *Iter) IssuingCardholder() *stripe.IssuingCardholder
IssuingCardholder returns the issuing cardholder which the iterator is currently pointing to.
func (*Iter) IssuingCardholderList ¶
func (i *Iter) IssuingCardholderList() *stripe.IssuingCardholderList
IssuingCardholderList returns the current list object which the iterator is currently using. List objects will change as new API calls are made to continue pagination.