valuelistitem

package
v78.7.0 Latest Latest
Warning

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

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

Documentation

Overview

Package valuelistitem provides the /radar/value_list_items APIs For more details, see: https://stripe.com/docs/api/radar/list_items?lang=go

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Del

Deletes a ValueListItem object, removing it from its parent value list.

func Get

Retrieves a ValueListItem object.

func New

Creates a new ValueListItem object, which is added to the specified parent value list.

Types

type Client

type Client struct {
	B   stripe.Backend
	Key string
}

Client is used to invoke /radar/value_list_items APIs.

func (Client) Del

Deletes a ValueListItem object, removing it from its parent value list.

func (Client) Get

Retrieves a ValueListItem object.

func (Client) List

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

Returns a list of ValueListItem objects. The objects are sorted in descending order by creation date, with the most recently created object appearing first.

func (Client) New

Creates a new ValueListItem object, which is added to the specified parent value list.

type Iter

type Iter struct {
	*stripe.Iter
}

Iter is an iterator for radar value list items.

func List

Returns a list of ValueListItem objects. The objects are sorted in descending order by creation date, with the most recently created object appearing first.

func (*Iter) RadarValueListItem

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

RadarValueListItem returns the radar value list item which the iterator is currently pointing to.

func (*Iter) RadarValueListItemList

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

RadarValueListItemList 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