Skip to content

Commit

Permalink
Merge pull request #180 from stack11/feature/list-chargebacks-pagination
Browse files Browse the repository at this point in the history
Add missing fields to paginate chargebacks
  • Loading branch information
VictorAvelar authored Apr 1, 2022
2 parents 358deac + c02eb1e commit 6fb2863
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions mollie/chargebacks.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@ type ChargebackOptions struct {

// ChargebacksListOptions describes list chargebacks endpoint valid query string parameters.
type ChargebacksListOptions struct {
From string `url:"from,omitempty"`
Limit int `url:"limit,omitempty"`
Include string `url:"include,omitempty"`
Embed string `url:"embed,omitempty"`
ProfileID string `url:"profileId,omitempty"`
Expand Down

0 comments on commit 6fb2863

Please sign in to comment.