webhookendpoint

package
v76.6.0-beta.1 Latest Latest
Warning

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

Go to latest
Published: Nov 17, 2023 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 webhook 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