invoice

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type InvoiceService

type InvoiceService interface {
	ListInvoices(ctx context.Context, request *ListInvoicesRequest) (*ListInvoicesResponse, error)
}

func NewInvoiceService

func NewInvoiceService(c client.RestClient) InvoiceService

type ListInvoicesRequest

type ListInvoicesRequest struct {
	EntityId     string                  `json:"entity_id"`
	States       []string                `json:"states"`
	BillingYear  int32                   `json:"billing_year"`
	BillingMonth int32                   `json:"billing_month"`
	Pagination   *model.PaginationParams `json:"pagination_params"`
}

type ListInvoicesResponse

type ListInvoicesResponse struct {
	Invoices   []*model.Invoice     `json:"invoices"`
	Request    *ListInvoicesRequest `json:"request"`
	Pagination *model.Pagination    `json:"pagination"`
}

Jump to

Keyboard shortcuts

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