customer

package
v2.4.2 Latest Latest
Warning

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

Go to latest
Published: Mar 24, 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) ConsolidateInvoices

func (c *Client) ConsolidateInvoices(customerId int64) (*invoiced.Invoice, error)

func (*Client) Count

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

func (*Client) Create

func (c *Client) Create(request *invoiced.CustomerRequest) (*invoiced.Customer, error)

func (*Client) CreateContact

func (c *Client) CreateContact(id int64, request *invoiced.ContactRequest) (*invoiced.Contact, error)

func (*Client) CreatePaymentSource

func (c *Client) CreatePaymentSource(customerId int64, request *invoiced.PaymentSourceRequest) (*invoiced.PaymentSource, error)

func (*Client) CreatePendingLineItem

func (c *Client) CreatePendingLineItem(customerId int64, request *invoiced.PendingLineItemRequest) (*invoiced.PendingLineItem, error)

func (*Client) Delete

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

func (*Client) DeleteBankAccount

func (c *Client) DeleteBankAccount(customerId int64, id int64) error

func (*Client) DeleteCard

func (c *Client) DeleteCard(customerId int64, id int64) error

func (*Client) DeleteContact

func (c *Client) DeleteContact(customerId int64, id int64) error

func (*Client) DeletePendingLineItem

func (c *Client) DeletePendingLineItem(customerId int64, id int64) error

func (*Client) GetBalance

func (c *Client) GetBalance(id int64) (*invoiced.Balance, error)

func (*Client) List

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

func (*Client) ListAll

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

func (*Client) ListAllContacts

func (c *Client) ListAllContacts(customerId int64) (invoiced.Contacts, error)

func (*Client) ListAllPaymentSources

func (c *Client) ListAllPaymentSources(customerId int64) (invoiced.PaymentSources, error)

func (*Client) ListAllPendingLineItems

func (c *Client) ListAllPendingLineItems(customerId int64) (invoiced.PendingLineItems, error)

func (*Client) ListCustomerByNumber

func (c *Client) ListCustomerByNumber(customerNumber string) (*invoiced.Customer, error)

func (*Client) Retrieve

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

func (*Client) RetrieveAccountingSyncStatus added in v2.3.0

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

func (*Client) RetrieveContact

func (c *Client) RetrieveContact(customerId int64, id int64) (*invoiced.Contact, error)

func (*Client) RetrieveNotes

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

func (*Client) RetrievePendingLineItem

func (c *Client) RetrievePendingLineItem(customerId int64, id int64) (*invoiced.PendingLineItem, error)

func (*Client) SendStatementEmail

func (c *Client) SendStatementEmail(id int64, request *invoiced.SendStatementEmailRequest) error

func (*Client) SendStatementLetter

func (c *Client) SendStatementLetter(id int64, request *invoiced.SendStatementLetterRequest) (*invoiced.Letter, error)

func (*Client) SendStatementText

func (c *Client) SendStatementText(id int64, request *invoiced.SendStatementTextMessageRequest) (invoiced.TextMessages, error)

func (*Client) TriggerInvoice

func (c *Client) TriggerInvoice(customerId int64) (*invoiced.Invoice, error)

func (*Client) Update

func (c *Client) Update(id int64, request *invoiced.CustomerRequest) (*invoiced.Customer, error)

func (*Client) UpdateContact

func (c *Client) UpdateContact(customerId int64, id int64, request *invoiced.ContactRequest) (*invoiced.Contact, error)

func (*Client) UpdatePendingLineItem

func (c *Client) UpdatePendingLineItem(customerId int64, id int64, request *invoiced.PendingLineItemRequest) (*invoiced.PendingLineItem, error)

Jump to

Keyboard shortcuts

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