webhookendpoint

package
v70.15.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Apr 14, 2020 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package webhookendpoint provides the /webhook_endpoints APIs

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Del

Del removes a webhook endpoint.

func Get

Get returns the details of a webhook endpoint.

func New

New creates a new webhook_endpoint.

func Update

Update updates a webhook endpoint's properties.

Types

type Client

type Client struct {
	B   stripe.Backend
	Key string
}

Client is used to invoke /webhook_endpoints APIs.

func (Client) Del

Del removes a webhook endpoint.

func (Client) Get

Get returns the details of a webhook endpoint.

func (Client) List

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

List returns a list of webhook_endpoints.

func (Client) New

New creates a new webhook_endpoint.

func (Client) Update

Update updates a webhook endpoint's properties.

type Iter

type Iter struct {
	*stripe.Iter
}

Iter is an iterator for webhook_endpoints.

func List

func List(params *stripe.WebhookEndpointListParams) *Iter

List returns a list of webhook_endpoints.

func (*Iter) WebhookEndpoint

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

WebhookEndpoint returns the endpoint 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