invoice

package
v2.5.0 Latest Latest
Warning

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

Go to latest
Published: Jul 12, 2022 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) CancelPaymentPlan

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

func (*Client) Count

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

func (*Client) Create

func (c *Client) Create(request *invoiced.InvoiceRequest) (*invoiced.Invoice, error)

func (*Client) CreatePaymentPlan

func (c *Client) CreatePaymentPlan(id int64, request *invoiced.PaymentPlanRequest) (*invoiced.PaymentPlan, error)

func (*Client) Delete

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

func (*Client) List

func (c *Client) List(filter *invoiced.Filter, sort *invoiced.Sort) (invoiced.Invoices, string, error)

func (*Client) ListAll

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

func (*Client) ListAllHelper

func (c *Client) ListAllHelper(endpoint string, filter *invoiced.Filter, sort *invoiced.Sort) (invoiced.Invoices, error)

func (*Client) ListAllInvoicesEndDate

func (c *Client) ListAllInvoicesEndDate(filter *invoiced.Filter, sort *invoiced.Sort, invoiceDate int64) (invoiced.Invoices, error)

func (*Client) ListAllInvoicesStartDate

func (c *Client) ListAllInvoicesStartDate(filter *invoiced.Filter, sort *invoiced.Sort, invoiceDate int64) (invoiced.Invoices, error)

func (*Client) ListAllInvoicesStartEndDate

func (c *Client) ListAllInvoicesStartEndDate(filter *invoiced.Filter, sort *invoiced.Sort, startDate, endDate int64) (invoiced.Invoices, error)

func (*Client) ListAllInvoicesUpdatedDate

func (c *Client) ListAllInvoicesUpdatedDate(filter *invoiced.Filter, sort *invoiced.Sort, invoiceDate int64) (invoiced.Invoices, error)

func (*Client) ListAttachments

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

func (*Client) ListHelper

func (c *Client) ListHelper(url string, filter *invoiced.Filter, sort *invoiced.Sort) (invoiced.Invoices, string, error)

func (*Client) ListInvoiceByNumber

func (c *Client) ListInvoiceByNumber(invoiceNumber string) (*invoiced.Invoice, error)

func (*Client) Pay

func (c *Client) Pay(id int64) (*invoiced.Invoice, error)

func (*Client) Retrieve

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

func (*Client) RetrieveAccountingSyncStatus added in v2.3.0

func (c *Client) RetrieveAccountingSyncStatus(id int64) (*invoiced.AccountingSyncStatus, error)

func (*Client) RetrieveNotes

func (c *Client) RetrieveNotes(id int64) (invoiced.Notes, error)

func (*Client) RetrievePaymentPlan

func (c *Client) RetrievePaymentPlan(id int64) (*invoiced.PaymentPlan, error)

func (*Client) SendEmail

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

func (*Client) SendLetter

func (c *Client) SendLetter(id int64) (*invoiced.Letter, error)

func (*Client) SendText

func (c *Client) SendText(id int64, request *invoiced.SendTextMessageRequest) (invoiced.TextMessages, error)

func (*Client) Update

func (c *Client) Update(id int64, request *invoiced.InvoiceRequest) (*invoiced.Invoice, error)

func (*Client) Void

func (c *Client) Void(id int64) (*invoiced.Invoice, error)

Jump to

Keyboard shortcuts

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