Skip to content

Commit

Permalink
Merge pull request #702 from stripe/karlr-event-list
Browse files Browse the repository at this point in the history
Add support for the `delivery_success` param on the list event endpoint
  • Loading branch information
remi-stripe authored Oct 9, 2018
2 parents f736816 + 63cee8b commit bbf1ac6
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions event.go
Original file line number Diff line number Diff line change
Expand Up @@ -53,11 +53,12 @@ type EventList struct {
// EventListParams is the set of parameters that can be used when listing events.
// For more details see https://stripe.com/docs/api#list_events.
type EventListParams struct {
ListParams `form:"*"`
Created *int64 `form:"created"`
CreatedRange *RangeQueryParams `form:"created"`
Type *string `form:"type"`
Types []*string `form:"types"`
ListParams `form:"*"`
Created *int64 `form:"created"`
CreatedRange *RangeQueryParams `form:"created"`
DeliverySuccess *bool `form:"delivery_success"`
Type *string `form:"type"`
Types []*string `form:"types"`
}

// GetObjectValue returns the value from the e.Data.Object bag based on the keys hierarchy.
Expand Down

0 comments on commit bbf1ac6

Please sign in to comment.