reportrun

package
v80.2.1 Latest Latest
Warning

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

Go to latest
Published: Oct 29, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package reportrun provides the /reporting/report_runs APIs

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Get

Retrieves the details of an existing Report Run.

func New

Creates a new object and begin running the report. (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_runs APIs.

func (Client) Get

Retrieves the details of an existing Report Run.

func (Client) List

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

Returns a list of Report Runs, with the most recent appearing first.

func (Client) New

Creates a new object and begin running the report. (Certain report types require a [live-mode API key](https://stripe.com/docs/keys#test-live-modes).)

type Iter

type Iter struct {
	*stripe.Iter
}

Iter is an iterator for reporting report runs.

func List

Returns a list of Report Runs, with the most recent appearing first.

func (*Iter) ReportingReportRun

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

ReportingReportRun returns the reporting report run which the iterator is currently pointing to.

func (*Iter) ReportingReportRunList

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

ReportingReportRunList 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