reportrun

package
v63.1.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Sep 13, 2019 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package reportrun provides API functions related to report runs.

For more details, see: https://stripe.com/docs/api/go#reporting_report_run

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Get

func Get(id string, params *stripe.ReportRunParams) (*stripe.ReportRun, error)

Get returns the details of a report run.

func New

func New(params *stripe.ReportRunParams) (*stripe.ReportRun, error)

New creates a new report run.

Types

type Client

type Client struct {
	B   stripe.Backend
	Key string
}

Client is used to invoke /reporting/report_runs APIs.

func (Client) Get

func (c Client) Get(id string, params *stripe.ReportRunParams) (*stripe.ReportRun, error)

Get returns the details of a report run.

func (Client) List

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

List returns a list of report runs.

func (Client) New

func (c Client) New(params *stripe.ReportRunParams) (*stripe.ReportRun, error)

New creates a new report run.

type Iter

type Iter struct {
	*stripe.Iter
}

Iter is an iterator for report runs.

func List

func List(params *stripe.ReportRunListParams) *Iter

List returns a list of report runs.

func (*Iter) ReportRun

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

ReportRun returns the report run which the iterator is currently pointing to.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL