Skip to content

Commit

Permalink
Merge pull request #1062 from stripe/remi-webhook-description
Browse files Browse the repository at this point in the history
Add `Description` on `WebhookEndpoint`
  • Loading branch information
remi-stripe authored Apr 13, 2020
2 parents f2d2420 + 4b43c75 commit 3e86e4e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions webhookendpoint.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import "encoding/json"
type WebhookEndpointParams struct {
Params `form:"*"`
Connect *bool `form:"connect"`
Description *string `form:"description"`
Disabled *bool `form:"disabled"`
EnabledEvents []*string `form:"enabled_events"`
URL *string `form:"url"`
Expand All @@ -32,6 +33,7 @@ type WebhookEndpoint struct {
Connect bool `json:"connect"`
Created int64 `json:"created"`
Deleted bool `json:"deleted"`
Description string `json:"description"`
EnabledEvents []string `json:"enabled_events"`
ID string `json:"id"`
Livemode bool `json:"livemode"`
Expand Down

0 comments on commit 3e86e4e

Please sign in to comment.