Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Server ¶
type Server struct { Service Service Validator *validation.Validate }
func (*Server) AddInvoiceAdjustment ¶
func (*Server) RequestLogger ¶
func (s *Server) RequestLogger(h http.Handler) http.HandlerFunc
type Service ¶
type Service interface { GetAccountInformation(ctx context.Context, id int) (*shared.AccountInformation, error) GetInvoices(ctx context.Context, clientId int) (*shared.Invoices, error) GetPermittedAdjustments(ctx context.Context, invoiceId int) ([]shared.AdjustmentType, error) GetFeeReductions(ctx context.Context, invoiceId int) (*shared.FeeReductions, error) AddInvoiceAdjustment(ctx context.Context, clientId int, invoiceId int, ledgerEntry *shared.AddInvoiceAdjustmentRequest) (*shared.InvoiceReference, error) GetInvoiceAdjustments(ctx context.Context, clientId int) (*shared.InvoiceAdjustments, error) AddFeeReduction(ctx context.Context, clientId int, data shared.AddFeeReduction) error CancelFeeReduction(ctx context.Context, id int, cancelledFeeReduction shared.CancelFeeReduction) error UpdatePendingInvoiceAdjustment(ctx context.Context, clientId int, adjustmentId int, status shared.AdjustmentStatus) error AddManualInvoice(ctx context.Context, clientId int, invoice shared.AddManualInvoice) error GetBillingHistory(ctx context.Context, id int) ([]shared.BillingHistory, error) ReapplyCredit(ctx context.Context, clientID int32) error UpdateClient(ctx context.Context, clientID int, courtRef string) error ProcessFinanceAdminUpload(ctx context.Context, detail shared.FinanceAdminUploadEvent) error }
Source Files ¶
Click to show internal directories.
Click to hide internal directories.