cardholder

package
v79.12.0 Latest Latest
Warning

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

Go to latest
Published: Sep 18, 2024 License: MIT Imports: 3 Imported by: 1

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

Retrieves an Issuing Cardholder object.

func New

Creates a new Issuing Cardholder object that can be issued cards.

func Update

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

type Client struct {
	B   stripe.Backend
	Key string
}

Client is used to invoke /issuing/cardholders APIs.

func (Client) Get

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

Creates a new Issuing Cardholder object that can be issued cards.

func (Client) Update

Updates the specified Issuing Cardholder object by setting the values of the parameters passed. Any parameters not provided will be left unchanged.

type Iter

type Iter struct {
	*stripe.Iter
}

Iter is an iterator for issuing cardholders.

func List

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.

Jump to

Keyboard shortcuts

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