Skip to content

Commit

Permalink
Merge pull request #390 from arifmahmudrana/bugfix/389-payment-struct…
Browse files Browse the repository at this point in the history
…-amountchargedback-wrong-json-tag

fixes Payment struct AmountChargedBack json field tag
  • Loading branch information
VictorAvelar authored Sep 3, 2024
2 parents 8a9927e + 74a6fda commit d7c9735
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3937,7 +3937,7 @@ type Payment struct {
AmountRefunded *Amount `json:"amountRefunded,omitempty"`
AmountRemaining *Amount `json:"amountRemaining,omitempty"`
AmountCaptured *Amount `json:"amountCaptured,omitempty"`
AmountChargedBack *Amount `json:"amountChargeback,omitempty"`
AmountChargedBack *Amount `json:"amountChargedback,omitempty"`
SettlementAmount *Amount `json:"settlementAmount,omitempty"`

// Beta fields
Expand Down
2 changes: 1 addition & 1 deletion mollie/payments.go
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ type Payment struct {
AmountRefunded *Amount `json:"amountRefunded,omitempty"`
AmountRemaining *Amount `json:"amountRemaining,omitempty"`
AmountCaptured *Amount `json:"amountCaptured,omitempty"`
AmountChargedBack *Amount `json:"amountChargeback,omitempty"`
AmountChargedBack *Amount `json:"amountChargedback,omitempty"`
SettlementAmount *Amount `json:"settlementAmount,omitempty"`

// Beta fields
Expand Down

0 comments on commit d7c9735

Please sign in to comment.