Documentation ¶
Index ¶
- type FakeServiceChargeMaster
- func (f *FakeServiceChargeMaster) FetchChargeMasterClient() *apiclient.ServerClient
- func (f *FakeServiceChargeMaster) FetchProviderByID(ctx context.Context, id string) (*domain.BusinessPartner, error)
- func (f *FakeServiceChargeMaster) FindBranch(ctx context.Context, pagination *firebasetools.PaginationInput, ...) (*dto.BranchConnection, error)
- func (f *FakeServiceChargeMaster) FindProvider(ctx context.Context, pagination *firebasetools.PaginationInput, ...) (*dto.BusinessPartnerConnection, error)
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 ¶
func (f *FakeServiceChargeMaster) FindBranch(ctx context.Context, pagination *firebasetools.PaginationInput, filter []*dto.BranchFilterInput, sort []*dto.BranchSortInput) (*dto.BranchConnection, error)
FindBranch ...
func (*FakeServiceChargeMaster) FindProvider ¶
func (f *FakeServiceChargeMaster) FindProvider(ctx context.Context, pagination *firebasetools.PaginationInput, filter []*dto.BusinessPartnerFilterInput, sort []*dto.BusinessPartnerSortInput) (*dto.BusinessPartnerConnection, error)
FindProvider ...
Click to show internal directories.
Click to hide internal directories.