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)
Get returns the details of an issuing cardholder.
func New ¶
func New(params *stripe.IssuingCardholderParams) (*stripe.IssuingCardholder, error)
New creates a new issuing cardholder.
func Update ¶
func Update(id string, params *stripe.IssuingCardholderParams) (*stripe.IssuingCardholder, error)
Update updates an issuing cardholder's properties.
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)
Get returns the details of an issuing cardholder.
func (Client) List ¶
func (c Client) List(listParams *stripe.IssuingCardholderListParams) *Iter
List returns a list of issuing cardholders.
func (Client) New ¶
func (c Client) New(params *stripe.IssuingCardholderParams) (*stripe.IssuingCardholder, error)
New creates a new issuing cardholder.
func (Client) Update ¶
func (c Client) Update(id string, params *stripe.IssuingCardholderParams) (*stripe.IssuingCardholder, error)
Update updates an issuing cardholder's properties.
type Iter ¶
Iter is an iterator for issuing cardholders.
func List ¶
func List(params *stripe.IssuingCardholderListParams) *Iter
List returns a list of issuing cardholders.
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.