Skip to content

Commit

Permalink
Merge pull request #534 from Kaign/allow-amountzero-in-invoiceitemparams
Browse files Browse the repository at this point in the history
allow AmountZero in InvoiceItemParams
  • Loading branch information
brandur-stripe authored Mar 17, 2018
2 parents 31177c6 + d6b4f53 commit 06bc64e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions invoiceitem.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import "encoding/json"
type InvoiceItemParams struct {
Params `form:"*"`
Amount int64 `form:"amount"`
AmountZero bool `form:"amount,zero"`
Currency Currency `form:"currency"`
Customer string `form:"customer"`
Desc string `form:"description"`
Expand Down

0 comments on commit 06bc64e

Please sign in to comment.