Documentation ¶
Index ¶
- type ApiClient
- func (c *ApiClient) AddFeeReduction(ctx Context, clientId int, feeType string, startYear string, ...) error
- func (c *ApiClient) AddManualInvoice(ctx Context, clientId int, invoiceType string, amount *string, ...) error
- func (c *ApiClient) AdjustInvoice(ctx Context, clientId int, supervisionBillingTeamId int, invoiceId int, ...) error
- func (c *ApiClient) CancelFeeReduction(ctx Context, clientId int, feeReductionId int, cancellationReason string) error
- func (c *ApiClient) CreatePendingInvoiceAdjustmentTask(ctx Context, clientId int, supervisionBillingTeamId int, invoiceRef string, ...) error
- func (c *ApiClient) GetAccountInformation(ctx Context, ClientId int) (shared.AccountInformation, error)
- func (c *ApiClient) GetBillingHistory(ctx Context, clientId int) ([]shared.BillingHistory, error)
- func (c *ApiClient) GetCurrentUserDetails(ctx Context) (shared.Assignee, error)
- func (c *ApiClient) GetFeeReductions(ctx Context, clientId int) (shared.FeeReductions, error)
- func (c *ApiClient) GetInvoiceAdjustments(ctx Context, clientId int) (shared.InvoiceAdjustments, error)
- func (c *ApiClient) GetInvoices(ctx Context, clientId int) (shared.Invoices, error)
- func (c *ApiClient) GetPermittedAdjustments(ctx Context, clientId int, invoiceId int) ([]shared.AdjustmentType, error)
- func (c *ApiClient) GetPersonDetails(ctx Context, ClientId int) (shared.Person, error)
- func (c *ApiClient) GetUser(ctx Context, userId int) (shared.Assignee, error)
- func (c *ApiClient) UpdatePendingInvoiceAdjustment(ctx Context, clientId int, ledgerId int, status string) error
- type Caches
- type ClientError
- type Context
- type HTTPClient
- type StatusError
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ApiClient ¶
type ApiClient struct {
// contains filtered or unexported fields
}
func NewApiClient ¶
func NewApiClient(httpClient HTTPClient, siriusUrl string, backendUrl string) (*ApiClient, error)
func (*ApiClient) AddFeeReduction ¶
func (*ApiClient) AddManualInvoice ¶
func (*ApiClient) AdjustInvoice ¶
func (*ApiClient) CancelFeeReduction ¶
func (*ApiClient) CreatePendingInvoiceAdjustmentTask ¶
func (*ApiClient) GetAccountInformation ¶
func (*ApiClient) GetBillingHistory ¶
func (*ApiClient) GetCurrentUserDetails ¶
func (*ApiClient) GetFeeReductions ¶
func (*ApiClient) GetInvoiceAdjustments ¶
func (*ApiClient) GetInvoices ¶
func (*ApiClient) GetPermittedAdjustments ¶
func (*ApiClient) GetPersonDetails ¶
type ClientError ¶
type ClientError string
func (ClientError) Error ¶
func (e ClientError) Error() string
type Context ¶
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_current_user_details.go
- get_fee_reductions.go
- get_invoice_adjustments.go
- get_invoices.go
- get_permitted_adjustments.go
- get_person_details.go
- get_user.go
- update_pending_invoice_adjustment.go
Click to show internal directories.
Click to hide internal directories.