payment

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.PaymentRequest) (*invoiced.Payment, 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.Payments, string, error)

func (*Client) ListAll

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

func (*Client) ListAllMetadataFilter added in v2.6.0

func (c *Client) ListAllMetadataFilter(filter *invoiced.Filter, metaFilter *invoiced.Filter, sort *invoiced.Sort) (invoiced.Payments, error)

func (*Client) ListAllStartEndDate added in v2.2.0

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

func (*Client) ListAllStartEndDateExpand added in v2.4.0

func (c *Client) ListAllStartEndDateExpand(filter *invoiced.Filter, sort *invoiced.Sort, expand *invoiced.Expand, startDate, endDate int64) (invoiced.Payments, error)

func (*Client) ListAllUpdatedBeforeAfterExpand added in v2.4.4

func (c *Client) ListAllUpdatedBeforeAfterExpand(filter *invoiced.Filter, sort *invoiced.Sort, expand *invoiced.Expand, updatedAfter, updatedBefore int64) (invoiced.Payments, error)

func (*Client) Retrieve

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

func (*Client) RetrieveAccountingSyncStatus added in v2.3.0

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

func (*Client) SendReceipt

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

func (*Client) Update

func (c *Client) Update(id int64, request *invoiced.PaymentRequest) (*invoiced.Payment, error)

Jump to

Keyboard shortcuts

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