creditnote

package
v2.15.0 Latest Latest
Warning

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

Go to latest
Published: Jul 16, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	*invoiced.Api
}

func (*Client) Count

func (c *Client) Count() (int64, error)

func (*Client) Create

func (c *Client) Create(request *invoiced.CreditNoteRequest) (*invoiced.CreditNote, error)

func (*Client) Delete

func (c *Client) Delete(id int64) error

func (*Client) ListAll

func (c *Client) ListAll(filter *invoiced.Filter, sort *invoiced.Sort) (invoiced.CreditNotes, error)

func (*Client) ListAttachments

func (c *Client) ListAttachments(id int64) (invoiced.Files, error)

func (*Client) Retrieve

func (c *Client) Retrieve(id int64) (*invoiced.CreditNote, error)

func (*Client) SendEmail

func (c *Client) SendEmail(id int64, request *invoiced.SendEmailRequest) error

func (*Client) Update

func (c *Client) Update(id int64, request *invoiced.CreditNoteRequest) (*invoiced.CreditNote, error)

func (*Client) Void

func (c *Client) Void(id int64) (*Client, error)

Jump to

Keyboard shortcuts

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