Documentation ¶
Overview ¶
package invoiceitem provides the /invoiceitems APIs
Index ¶
- func Create(params *InvoiceItemParams) (*InvoiceItem, error)
- func Delete(id string) error
- func Get(id string, params *InvoiceItemParams) (*InvoiceItem, error)
- func List(params *InvoiceItemListParams) *InvoiceItemIter
- func Update(id string, params *InvoiceItemParams) (*InvoiceItem, error)
- type Client
- func (c Client) Create(params *InvoiceItemParams) (*InvoiceItem, error)
- func (c Client) Delete(id string) error
- func (c Client) Get(id string, params *InvoiceItemParams) (*InvoiceItem, error)
- func (c Client) List(params *InvoiceItemListParams) *InvoiceItemIter
- func (c Client) Update(id string, params *InvoiceItemParams) (*InvoiceItem, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Create ¶
func Create(params *InvoiceItemParams) (*InvoiceItem, error)
Create POSTs new invoice items. For more details see https://stripe.com/docs/api#create_invoiceitem.
func Delete ¶
Delete removes an invoice item. For more details see https://stripe.com/docs/api#delete_invoiceitem.
func Get ¶
Get returns the details of an invoice item. For more details see https://stripe.com/docs/api#retrieve_invoiceitem.
func List ¶
func List(params *InvoiceItemListParams) *InvoiceItemIter
List returns a list of invoice items. For more details see https://stripe.com/docs/api#list_invoiceitems.
func Update ¶
Update updates an invoice item's properties. For more details see https://stripe.com/docs/api#update_invoiceitem.
Types ¶
Click to show internal directories.
Click to hide internal directories.