mock

package
Version: v0.0.24 Latest Latest
Warning

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

Go to latest
Published: Oct 10, 2021 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FakeServiceChargeMaster

type FakeServiceChargeMaster struct {
	FetchChargeMasterClientFn func() *apiclient.ServerClient
	FetchProviderByIDFn       func(ctx context.Context, id string) (*domain.BusinessPartner, error)
	FindProviderFn            func(ctx context.Context, pagination *firebasetools.PaginationInput, filter []*dto.BusinessPartnerFilterInput,
		sort []*dto.BusinessPartnerSortInput) (*dto.BusinessPartnerConnection, error)
	FindBranchFn func(ctx context.Context, pagination *firebasetools.PaginationInput, filter []*dto.BranchFilterInput,
		sort []*dto.BranchSortInput) (*dto.BranchConnection, error)
}

FakeServiceChargeMaster is an `Chargemaster` service mock .

func (*FakeServiceChargeMaster) FetchChargeMasterClient

func (f *FakeServiceChargeMaster) FetchChargeMasterClient() *apiclient.ServerClient

FetchChargeMasterClient ...

func (*FakeServiceChargeMaster) FetchProviderByID

func (f *FakeServiceChargeMaster) FetchProviderByID(ctx context.Context, id string) (*domain.BusinessPartner, error)

FetchProviderByID ...

func (*FakeServiceChargeMaster) FindBranch

FindBranch ...

func (*FakeServiceChargeMaster) FindProvider

FindProvider ...

Source Files

Jump to

Keyboard shortcuts

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