authorization

package
v72.35.0-capchase.4 Latest Latest
Warning

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

Go to latest
Published: Mar 1, 2021 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package authorization provides API functions related to issuing authorizations.

For more details, see: https://stripe.com/docs/api/go#issuing_authorizations

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Approve

Approve approves an issuing authorization.

func Decline

Decline decline an issuing authorization.

func Get

Get returns the details of an issuing authorization.

func Update

Update updates an issuing authorization.

Types

type Client

type Client struct {
	B   stripe.Backend
	Key string
}

Client is used to invoke /issuing/authorizations APIs.

func (Client) Approve

Approve updates an issuing authorization.

func (Client) Decline

Decline updates an issuing authorization.

func (Client) Get

Get returns the details of an issuing authorization.

func (Client) List

func (c Client) List(listParams *stripe.IssuingAuthorizationListParams) *Iter

List returns a list of issuing authorizations.

func (Client) Update

Update updates an issuing authorization.

type Iter

type Iter struct {
	*stripe.Iter
}

Iter is an iterator for issuing authorizations.

func List

List returns a list of issuing authorizations.

func (*Iter) IssuingAuthorization

func (i *Iter) IssuingAuthorization() *stripe.IssuingAuthorization

IssuingAuthorization returns the issuing authorization which the iterator is currently pointing to.

func (*Iter) IssuingAuthorizationList

func (i *Iter) IssuingAuthorizationList() *stripe.IssuingAuthorizationList

IssuingAuthorizationList 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