~evanj/cms

ref: 977e0de28ca8f9d30d073665642e89fddfde493f cms/vendor/github.com/stripe/stripe-go/v71/lineitem/client.go -rw-r--r-- 422 bytes
977e0de2Evan J Feat(cms.go): Retrying if requests last too long. Effective max request 1 year, 18 days ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// Package lineitem provides the tools needs to interact with the LineItem resource.
package lineitem

import (
	stripe "github.com/stripe/stripe-go/v71"
)

// Iter is an iterator for line items across various resources.
type Iter struct {
	*stripe.Iter
}

// LineItem returns the line item which the iterator is currently pointing to.
func (i *Iter) LineItem() *stripe.LineItem {
	return i.Current().(*stripe.LineItem)
}