authorization

package
v76.9.0 Latest Latest
Warning

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

Go to latest
Published: Dec 14, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package authorization provides the /issuing/authorizations APIs

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Approve

Approve is the method for the `POST /v1/issuing/authorizations/{authorization}/approve` API.

func Decline

Decline is the method for the `POST /v1/issuing/authorizations/{authorization}/decline` API.

func Get

Get returns the details of an issuing authorization.

func Update

Update updates an issuing authorization's properties.

Types

type Client

type Client struct {
	B   stripe.Backend
	Key string
}

Client is used to invoke /issuing/authorizations APIs.

func (Client) Approve

Approve is the method for the `POST /v1/issuing/authorizations/{authorization}/approve` API.

func (Client) Decline

Decline is the method for the `POST /v1/issuing/authorizations/{authorization}/decline` API.

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's properties.

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