feature

package
v78.5.0 Latest Latest
Warning

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

Go to latest
Published: May 2, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package feature provides the /entitlements/features APIs

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Get

Get returns the details of an entitlements feature.

func New

New creates a new entitlements feature.

func Update

Update updates an entitlements feature's properties.

Types

type Client

type Client struct {
	B   stripe.Backend
	Key string
}

Client is used to invoke /entitlements/features APIs.

func (Client) Get

Get returns the details of an entitlements feature.

func (Client) List

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

List returns a list of entitlements features.

func (Client) New

New creates a new entitlements feature.

func (Client) Update

Update updates an entitlements feature's properties.

type Iter

type Iter struct {
	*stripe.Iter
}

Iter is an iterator for entitlements features.

func List

List returns a list of entitlements features.

func (*Iter) EntitlementsFeature

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

EntitlementsFeature returns the entitlements feature which the iterator is currently pointing to.

func (*Iter) EntitlementsFeatureList

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

EntitlementsFeatureList 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