reporttype

package
v78.12.0 Latest Latest
Warning

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

Go to latest
Published: Jun 17, 2024 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

Retrieves the details of a Report Type. (Certain report types require a [live-mode API key](https://stripe.com/docs/keys#test-live-modes).)

Types

type Client

type Client struct {
	B   stripe.Backend
	Key string
}

Client is used to invoke /reporting/report_types APIs.

func (Client) Get

Retrieves the details of a Report Type. (Certain report types require a [live-mode API key](https://stripe.com/docs/keys#test-live-modes).)

func (Client) List

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

Returns a full list of Report Types.

type Iter

type Iter struct {
	*stripe.Iter
}

Iter is an iterator for reporting report types.

func List

Returns a full list of Report Types.

func (*Iter) ReportingReportType

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

ReportingReportType returns the reporting report type which the iterator is currently pointing to.

func (*Iter) ReportingReportTypeList

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

ReportingReportTypeList 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