Documentation ¶
Overview ¶
Package invoiceitem provides the /invoiceitems APIs
Index ¶
- func Del(id string, params *stripe.InvoiceItemParams) (*stripe.InvoiceItem, error)
- func Get(id string, params *stripe.InvoiceItemParams) (*stripe.InvoiceItem, error)
- func New(params *stripe.InvoiceItemParams) (*stripe.InvoiceItem, error)
- func Update(id string, params *stripe.InvoiceItemParams) (*stripe.InvoiceItem, error)
- type Client
- func (c Client) Del(id string, params *stripe.InvoiceItemParams) (*stripe.InvoiceItem, error)
- func (c Client) Get(id string, params *stripe.InvoiceItemParams) (*stripe.InvoiceItem, error)
- func (c Client) List(listParams *stripe.InvoiceItemListParams) *Iter
- func (c Client) New(params *stripe.InvoiceItemParams) (*stripe.InvoiceItem, error)
- func (c Client) Update(id string, params *stripe.InvoiceItemParams) (*stripe.InvoiceItem, error)
- type Iter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Del ¶
func Del(id string, params *stripe.InvoiceItemParams) (*stripe.InvoiceItem, error)
Del removes an invoice item.
func Get ¶
func Get(id string, params *stripe.InvoiceItemParams) (*stripe.InvoiceItem, error)
Get returns the details of an invoice item.
func New ¶
func New(params *stripe.InvoiceItemParams) (*stripe.InvoiceItem, error)
New creates a new invoice item.
func Update ¶
func Update(id string, params *stripe.InvoiceItemParams) (*stripe.InvoiceItem, error)
Update updates an invoice item.
Types ¶
type Client ¶
Client is used to invoke /invoiceitems APIs.
func (Client) Del ¶
func (c Client) Del(id string, params *stripe.InvoiceItemParams) (*stripe.InvoiceItem, error)
Del removes an invoice item.
func (Client) Get ¶
func (c Client) Get(id string, params *stripe.InvoiceItemParams) (*stripe.InvoiceItem, error)
Get returns the details of an invoice item.
func (Client) List ¶
func (c Client) List(listParams *stripe.InvoiceItemListParams) *Iter
List returns a list of invoice items.
func (Client) New ¶
func (c Client) New(params *stripe.InvoiceItemParams) (*stripe.InvoiceItem, error)
New creates a new invoice item.
func (Client) Update ¶
func (c Client) Update(id string, params *stripe.InvoiceItemParams) (*stripe.InvoiceItem, error)
Update updates an invoice item.
type Iter ¶
Iter is an iterator for invoice items.
func List ¶
func List(params *stripe.InvoiceItemListParams) *Iter
List returns a list of invoice items.
func (*Iter) InvoiceItem ¶
func (i *Iter) InvoiceItem() *stripe.InvoiceItem
InvoiceItem returns the invoice item which the iterator is currently pointing to.
Click to show internal directories.
Click to hide internal directories.