event

package
v30.8.0+incompatible Latest Latest
Warning

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

Go to latest
Published: May 22, 2018 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package event provides the /events APIs

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Get

func Get(id string, params *stripe.Params) (*stripe.Event, error)

Get returns the details of an event For more details see https://stripe.com/docs/api#retrieve_event.

Types

type Client

type Client struct {
	B   stripe.Backend
	Key string
}

Client is used to invoke /events APIs.

func (Client) Get

func (c Client) Get(id string, params *stripe.Params) (*stripe.Event, error)

func (Client) List

func (c Client) List(params *stripe.EventListParams) *Iter

type Iter

type Iter struct {
	*stripe.Iter
}

Iter is an iterator for lists of Events. The embedded Iter carries methods with it; see its documentation for details.

func List

func List(params *stripe.EventListParams) *Iter

List returns a list of events. For more details see https://stripe.com/docs/api#list_events

func (*Iter) Event

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

Event returns the most recent Event visited by a call to Next.

Jump to

Keyboard shortcuts

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