usagerecordsummary

package
v76.18.0 Latest Latest
Warning

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

Go to latest
Published: Feb 22, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package usagerecordsummary provides the /subscription_items/{subscription_item}/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 /subscription_items/{subscription_item}/usage_record_summaries APIs.

func (Client) List

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

List returns a list of usage record summaries.

type Iter

type Iter struct {
	*stripe.Iter
}

Iter is an iterator for usage record summaries.

func List

List returns a list of 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