authorization

package
Version: v70.15.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Apr 14, 2020 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.

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL