orderreturn

package
v72.28.0 Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2020 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Get

Get returns the details of an order return

Types

type Client

type Client struct {
	B   stripe.Backend
	Key string
}

Client is used to invoke /orders APIs.

func (Client) Get

func (c Client) Get(id string, params *stripe.OrderReturnParams) (*stripe.OrderReturn, error)

Get returns the details of an order return

func (Client) List

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

List returns a list of order returns.

type Iter

type Iter struct {
	*stripe.Iter
}

Iter is an iterator for order returns.

func List

func List(params *stripe.OrderReturnListParams) *Iter

List returns a list of order returns.

func (*Iter) OrderReturn

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

OrderReturn returns the order return which the iterator is currently pointing to.

func (*Iter) OrderReturnList

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

OrderReturnList 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