cardholder

package
v76.2.0-beta.1 Latest Latest
Warning

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

Go to latest
Published: Oct 17, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package cardholder provides the /issuing/cardholders APIs For more details, see: https://stripe.com/docs/api/?lang=go#issuing_cardholders

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Get

Get returns the details of an issuing cardholder.

func New

New creates a new issuing cardholder.

func Update

Update updates an issuing cardholder's properties.

Types

type Client

type Client struct {
	B   stripe.Backend
	Key string
}

Client is used to invoke /issuing/cardholders APIs.

func (Client) Get

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

New creates a new issuing cardholder.

func (Client) Update

Update updates an issuing cardholder's properties.

type Iter

type Iter struct {
	*stripe.Iter
}

Iter is an iterator for issuing cardholders.

func List

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL