From cf8e41440497085327eacf1b0b2d427eecbee936 Mon Sep 17 00:00:00 2001 From: Remi Jannel Date: Mon, 7 Jan 2019 13:44:43 -0800 Subject: [PATCH] Add support for listing invoice items per invoice or pending status --- invoiceitem.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/invoiceitem.go b/invoiceitem.go index 9a51a1209b..432c80d304 100644 --- a/invoiceitem.go +++ b/invoiceitem.go @@ -24,6 +24,8 @@ type InvoiceItemListParams struct { Created *int64 `form:"created"` CreatedRange *RangeQueryParams `form:"created"` Customer *string `form:"customer"` + Invoice *string `form:"invoice"` + Pending *bool `form:"pending"` } // InvoiceItem is the resource represneting a Stripe invoice item.