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 ¶
- func Del(id string, params *stripe.RadarValueListParams) (*stripe.RadarValueList, error)
- func Get(id string, params *stripe.RadarValueListParams) (*stripe.RadarValueList, error)
- func New(params *stripe.RadarValueListParams) (*stripe.RadarValueList, error)
- func Update(id string, params *stripe.RadarValueListParams) (*stripe.RadarValueList, error)
- type Client
- func (c Client) Del(id string, params *stripe.RadarValueListParams) (*stripe.RadarValueList, error)
- func (c Client) Get(id string, params *stripe.RadarValueListParams) (*stripe.RadarValueList, error)
- func (c Client) List(listParams *stripe.RadarValueListListParams) *Iter
- func (c Client) New(params *stripe.RadarValueListParams) (*stripe.RadarValueList, error)
- func (c Client) Update(id string, params *stripe.RadarValueListParams) (*stripe.RadarValueList, error)
- type Iter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Del ¶
func Del(id string, params *stripe.RadarValueListParams) (*stripe.RadarValueList, error)
Del removes a value list.
func Get ¶
func Get(id string, params *stripe.RadarValueListParams) (*stripe.RadarValueList, error)
Get returns the details of a value list.
func New ¶
func New(params *stripe.RadarValueListParams) (*stripe.RadarValueList, error)
New creates a new value list.
func Update ¶
func Update(id string, params *stripe.RadarValueListParams) (*stripe.RadarValueList, error)
Update updates a vl's properties.
Types ¶
type Client ¶
Client is used to invoke /radar/value_lists APIs.
func (Client) Del ¶
func (c Client) Del(id string, params *stripe.RadarValueListParams) (*stripe.RadarValueList, error)
Del removes a value list.
func (Client) Get ¶
func (c Client) Get(id string, params *stripe.RadarValueListParams) (*stripe.RadarValueList, error)
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 ¶
func (c Client) New(params *stripe.RadarValueListParams) (*stripe.RadarValueList, error)
New creates a new value list.
func (Client) Update ¶
func (c Client) Update(id string, params *stripe.RadarValueListParams) (*stripe.RadarValueList, error)
Update updates a vl's properties.
type Iter ¶
Iter is an iterator for vls.
func (*Iter) RadarValueList ¶
func (i *Iter) RadarValueList() *stripe.RadarValueList
RadarValueList returns the vl which the iterator is currently pointing to.
Click to show internal directories.
Click to hide internal directories.