activeentitlement

package
v80.2.1 Latest Latest
Warning

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

Go to latest
Published: Oct 29, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package activeentitlement provides the /entitlements/active_entitlements APIs

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Get

Retrieve an active entitlement

Types

type Client

type Client struct {
	B   stripe.Backend
	Key string
}

Client is used to invoke /entitlements/active_entitlements APIs.

func (Client) Get

Retrieve an active entitlement

func (Client) List

Retrieve a list of active entitlements for a customer

type Iter

type Iter struct {
	*stripe.Iter
}

Iter is an iterator for entitlements active entitlements.

func List

Retrieve a list of active entitlements for a customer

func (*Iter) EntitlementsActiveEntitlement

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

EntitlementsActiveEntitlement returns the entitlements active entitlement which the iterator is currently pointing to.

func (*Iter) EntitlementsActiveEntitlementList

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

EntitlementsActiveEntitlementList 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