Documentation ¶
Overview ¶
Package webhookendpoint provides the /webhook_endpoints APIs
Index ¶
- func Del(id string, params *stripe.WebhookEndpointParams) (*stripe.WebhookEndpoint, error)
- func Get(id string, params *stripe.WebhookEndpointParams) (*stripe.WebhookEndpoint, error)
- func New(params *stripe.WebhookEndpointParams) (*stripe.WebhookEndpoint, error)
- func Update(id string, params *stripe.WebhookEndpointParams) (*stripe.WebhookEndpoint, error)
- type Client
- func (c Client) Del(id string, params *stripe.WebhookEndpointParams) (*stripe.WebhookEndpoint, error)
- func (c Client) Get(id string, params *stripe.WebhookEndpointParams) (*stripe.WebhookEndpoint, error)
- func (c Client) List(listParams *stripe.WebhookEndpointListParams) *Iter
- func (c Client) New(params *stripe.WebhookEndpointParams) (*stripe.WebhookEndpoint, error)
- func (c Client) Update(id string, params *stripe.WebhookEndpointParams) (*stripe.WebhookEndpoint, error)
- type Iter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Del ¶
func Del(id string, params *stripe.WebhookEndpointParams) (*stripe.WebhookEndpoint, error)
Del removes a webhook endpoint.
func Get ¶
func Get(id string, params *stripe.WebhookEndpointParams) (*stripe.WebhookEndpoint, error)
Get returns the details of a webhook endpoint.
func New ¶
func New(params *stripe.WebhookEndpointParams) (*stripe.WebhookEndpoint, error)
New creates a new webhook_endpoint.
func Update ¶
func Update(id string, params *stripe.WebhookEndpointParams) (*stripe.WebhookEndpoint, error)
Update updates a webhook endpoint's properties.
Types ¶
type Client ¶
Client is used to invoke /webhook_endpoints APIs.
func (Client) Del ¶
func (c Client) Del(id string, params *stripe.WebhookEndpointParams) (*stripe.WebhookEndpoint, error)
Del removes a webhook endpoint.
func (Client) Get ¶
func (c Client) Get(id string, params *stripe.WebhookEndpointParams) (*stripe.WebhookEndpoint, error)
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 ¶
func (c Client) New(params *stripe.WebhookEndpointParams) (*stripe.WebhookEndpoint, error)
New creates a new webhook_endpoint.
func (Client) Update ¶
func (c Client) Update(id string, params *stripe.WebhookEndpointParams) (*stripe.WebhookEndpoint, error)
Update updates a webhook endpoint's properties.
type 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.
Click to show internal directories.
Click to hide internal directories.