product

package
v76.12.0-beta.1 Latest Latest
Warning

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

Go to latest
Published: Jan 4, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package product provides the /climate/products APIs

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Get

Get returns the details of a climate product.

Types

type Client

type Client struct {
	B   stripe.Backend
	Key string
}

Client is used to invoke /climate/products APIs.

func (Client) Get

Get returns the details of a climate product.

func (Client) List

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

List returns a list of climate products.

type Iter

type Iter struct {
	*stripe.Iter
}

Iter is an iterator for climate products.

func List

func List(params *stripe.ClimateProductListParams) *Iter

List returns a list of climate products.

func (*Iter) ClimateProduct

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

ClimateProduct returns the climate product which the iterator is currently pointing to.

func (*Iter) ClimateProductList

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

ClimateProductList 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