webhookendpoint

package
v72.33.0 Latest Latest
Warning

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

Go to latest
Published: Feb 9, 2021 License: MIT Imports: 3 Imported by: 1

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.

func (*Iter) WebhookEndpointList

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

WebhookEndpointList 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