reporttype

package
v58.1.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Mar 19, 2019 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package reporttype provides API functions related to report types.

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

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.

Jump to

Keyboard shortcuts

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