valuelist

package
v67.3.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2019 License: MIT Imports: 3 Imported by: 48

Documentation

Overview

Package valuelist provides API functions related to value lists.

For more details, see: https://stripe.com/docs/api/radar/lists?lang=go

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Del

Del removes a value list.

func Get

Get returns the details of a value list.

func New

New creates a new value list.

func Update

Update updates a vl's properties.

Types

type Client

type Client struct {
	B   stripe.Backend
	Key string
}

Client is used to invoke /radar/value_lists APIs.

func (Client) Del

Del removes a value list.

func (Client) Get

Get returns the details of a value list.

func (Client) List

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

List returns a list of vls.

func (Client) New

New creates a new value list.

func (Client) Update

Update updates a vl's properties.

type Iter

type Iter struct {
	*stripe.Iter
}

Iter is an iterator for vls.

func List

func List(params *stripe.RadarValueListListParams) *Iter

List returns a list of vls.

func (*Iter) RadarValueList

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

RadarValueList returns the vl which the iterator is currently pointing to.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL