invoiceitem

package
v68.2.0+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 9, 2019 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package invoiceitem provides the /invoiceitems APIs

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Del

Del removes an invoice item.

func Get

Get returns the details of an invoice item.

func New

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

type Client struct {
	B   stripe.Backend
	Key string
}

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

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

type Iter struct {
	*stripe.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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL