Documentation ¶
Overview ¶
Package cardholder provides API functions related to issuing cardholders.
For more details, see: https://stripe.com/docs/api/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.
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.
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.