product

package
v80.2.0-beta.2 Latest Latest
Warning

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

Go to latest
Published: Oct 8, 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

Retrieves the details of a Climate product with the given ID.

Types

type Client

type Client struct {
	B   stripe.Backend
	Key string
}

Client is used to invoke /climate/products APIs.

func (Client) Get

Retrieves the details of a Climate product with the given ID.

func (Client) List

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

Lists all available Climate product objects.

type Iter

type Iter struct {
	*stripe.Iter
}

Iter is an iterator for climate products.

func List

func List(params *stripe.ClimateProductListParams) *Iter

Lists all available Climate product objects.

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