reporttype

package
v72.122.0 Latest Latest
Warning

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

Go to latest
Published: Jul 26, 2022 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package reporttype provides the /reporting/report_types APIs

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Get

func Get(id string, params *stripe.ReportTypeParams) (*stripe.ReportType, error)

Get returns the details of a report type.

Types

type Client

type Client struct {
	B   stripe.Backend
	Key string
}

Client is used to invoke /reporting/report_types APIs.

func (Client) Get

func (c Client) Get(id string, params *stripe.ReportTypeParams) (*stripe.ReportType, error)

Get returns the details of a report type.

func (Client) List

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

List returns a list of report types.

type Iter

type Iter struct {
	*stripe.Iter
}

Iter is an iterator for report types.

func List

func List(params *stripe.ReportTypeListParams) *Iter

List returns a list of report types.

func (*Iter) ReportType

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

ReportType returns the report type which the iterator is currently pointing to.

func (*Iter) ReportTypeList

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

ReportTypeList 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