Documentation ¶
Overview ¶
Package invoiceitem provides the /invoiceitems APIs
Index ¶
- func Del(id string) 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) error
- func (c Client) Get(id string, params *stripe.InvoiceItemParams) (*stripe.InvoiceItem, error)
- func (c Client) List(params *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 ¶
Del removes an invoice item. For more details see https://stripe.com/docs/api#delete_invoiceitem.
func Get ¶
func Get(id string, params *stripe.InvoiceItemParams) (*stripe.InvoiceItem, error)
Get returns the details of an invoice item. For more details see https://stripe.com/docs/api#retrieve_invoiceitem.
func New ¶
func New(params *stripe.InvoiceItemParams) (*stripe.InvoiceItem, error)
New POSTs new invoice items. For more details see https://stripe.com/docs/api#create_invoiceitem.
func Update ¶
func Update(id string, params *stripe.InvoiceItemParams) (*stripe.InvoiceItem, error)
Update updates an invoice item's properties. For more details see https://stripe.com/docs/api#update_invoiceitem.
Types ¶
type Client ¶
Client is used to invoke /invoiceitems APIs.
func (Client) Get ¶
func (c Client) Get(id string, params *stripe.InvoiceItemParams) (*stripe.InvoiceItem, error)
func (Client) New ¶
func (c Client) New(params *stripe.InvoiceItemParams) (*stripe.InvoiceItem, error)
func (Client) Update ¶
func (c Client) Update(id string, params *stripe.InvoiceItemParams) (*stripe.InvoiceItem, error)
type Iter ¶
Iter is a iterator for list responses.
func List ¶
func List(params *stripe.InvoiceItemListParams) *Iter
List returns a list of invoice items. For more details see https://stripe.com/docs/api#list_invoiceitems.