usagerecordsummary

package
v72.30.0 Latest Latest
Warning

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

Go to latest
Published: Jan 15, 2021 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package usagerecordsummary provides the /subscription_items/{SUBSCRIPTION_ITEM_ID}/usage_record_summaries APIs

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	B   stripe.Backend
	Key string
}

Client is used to invoke APIs related to usage record summaries.

func (Client) List

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

List returns an iterator that iterates all usage record summaries.

type Iter

type Iter struct {
	*stripe.Iter
}

Iter is an iterator for usage record summaries.

func List

List returns an iterator that iterates all usage record summaries.

func (*Iter) UsageRecordSummary

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

UsageRecordSummary returns the usage record summary which the iterator is currently pointing to.

func (*Iter) UsageRecordSummaryList

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

UsageRecordSummaryList 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