Documentation
¶
Index ¶
- type Caches
- type Client
- func (c *Client) AddFeeReduction(ctx context.Context, clientId int, feeType string, startYear string, ...) error
- func (c *Client) AddManualInvoice(ctx context.Context, clientId int, invoiceType string, amount *string, ...) error
- func (c *Client) AdjustInvoice(ctx context.Context, clientId int, supervisionBillingTeamId int, invoiceId int, ...) error
- func (c *Client) CancelFeeReduction(ctx context.Context, clientId int, feeReductionId int, ...) error
- func (c *Client) CreatePendingInvoiceAdjustmentTask(ctx context.Context, clientId int, supervisionBillingTeamId int, ...) error
- func (c *Client) GetAccountInformation(ctx context.Context, ClientId int) (shared.AccountInformation, error)
- func (c *Client) GetBillingHistory(ctx context.Context, clientId int) ([]shared.BillingHistory, error)
- func (c *Client) GetFeeReductions(ctx context.Context, clientId int) (shared.FeeReductions, error)
- func (c *Client) GetInvoiceAdjustments(ctx context.Context, clientId int) (shared.InvoiceAdjustments, error)
- func (c *Client) GetInvoices(ctx context.Context, clientId int) (shared.Invoices, error)
- func (c *Client) GetPermittedAdjustments(ctx context.Context, clientId int, invoiceId int) ([]shared.AdjustmentType, error)
- func (c *Client) GetPersonDetails(ctx context.Context, ClientId int) (shared.Person, error)
- func (c *Client) GetUser(ctx context.Context, userId int) (shared.User, error)
- func (c *Client) GetUserSession(ctx context.Context) (*shared.User, error)
- func (c *Client) UpdatePendingInvoiceAdjustment(ctx context.Context, clientId int, ledgerId int, status string) error
- type ClientError
- type Envs
- type HTTPClient
- type JWTClient
- type StatusError
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct { Envs // contains filtered or unexported fields }
func (*Client) AddFeeReduction ¶
func (*Client) AddManualInvoice ¶
func (*Client) AdjustInvoice ¶
func (*Client) CancelFeeReduction ¶
func (*Client) CreatePendingInvoiceAdjustmentTask ¶
func (*Client) GetAccountInformation ¶
func (*Client) GetBillingHistory ¶
func (*Client) GetFeeReductions ¶
func (*Client) GetInvoiceAdjustments ¶
func (*Client) GetInvoices ¶
func (*Client) GetPermittedAdjustments ¶
func (*Client) GetPersonDetails ¶
func (*Client) GetUserSession ¶
type ClientError ¶
type ClientError string
func (ClientError) Error ¶
func (e ClientError) Error() string
type StatusError ¶
type StatusError struct { Code int `json:"code"` URL string `json:"url"` Method string `json:"method"` }
func (StatusError) Data ¶
func (e StatusError) Data() interface{}
func (StatusError) Error ¶
func (e StatusError) Error() string
Source Files
¶
- add_fee_reduction.go
- add_manual_invoice.go
- adjust_invoice.go
- api_client.go
- cache.go
- cancel_fee_reduction.go
- create_pending_invoice_adjustment_task.go
- get_account_information.go
- get_billing_history.go
- get_fee_reductions.go
- get_invoice_adjustments.go
- get_invoices.go
- get_permitted_adjustments.go
- get_person_details.go
- get_user.go
- session.go
- update_payment_method.go
- update_pending_invoice_adjustment.go
Click to show internal directories.
Click to hide internal directories.