request

package
v76.24.0 Latest Latest
Warning

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

Go to latest
Published: Apr 4, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package request provides the /forwarding/requests APIs

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Get

Get returns the details of a forwarding request.

func New

New creates a new forwarding request.

Types

type Client

type Client struct {
	B   stripe.Backend
	Key string
}

Client is used to invoke /forwarding/requests APIs.

func (Client) Get

Get returns the details of a forwarding request.

func (Client) List

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

List returns a list of forwarding requests.

func (Client) New

New creates a new forwarding request.

type Iter

type Iter struct {
	*stripe.Iter
}

Iter is an iterator for forwarding requests.

func List

List returns a list of forwarding requests.

func (*Iter) ForwardingRequest

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

ForwardingRequest returns the forwarding request which the iterator is currently pointing to.

func (*Iter) ForwardingRequestList

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

ForwardingRequestList 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