mocked_grpc

package
v0.0.0-...-bdcfdd8 Latest Latest
Warning

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

Go to latest
Published: Dec 16, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var InvoiceCallbacks = &MockInvoiceServiceCallbacks{}

Functions

func SetInvoiceCallbacks

func SetInvoiceCallbacks(callbacks *MockInvoiceServiceCallbacks)

func SetOpportunityCallbacks

func SetOpportunityCallbacks(callbacks *MockOpportunityServiceCallbacks)

func SetOrganizationCallbacks

func SetOrganizationCallbacks(callbacks *MockOrganizationServiceCallbacks)

Types

type MockInvoiceService

type MockInvoiceService struct {
	invoicepb.UnimplementedInvoiceGrpcServiceServer
}

func (MockInvoiceService) FillInvoice

func (MockInvoiceService) GenerateInvoicePdf

func (MockInvoiceService) RequestFillInvoice

type MockInvoiceServiceCallbacks

type MockInvoiceServiceCallbacks struct {
	GenerateInvoicePdf                  func(ctx context.Context, proto *invoicepb.GenerateInvoicePdfRequest) (*invoicepb.InvoiceIdResponse, error)
	RequestFillInvoice                  func(ctx context.Context, proto *invoicepb.RequestFillInvoiceRequest) (*invoicepb.InvoiceIdResponse, error)
	FillInvoice                         func(ctx context.Context, proto *invoicepb.FillInvoiceRequest) (*invoicepb.InvoiceIdResponse, error)
	PermanentlyDeleteInitializedInvoice func(ctx context.Context, proto *invoicepb.PermanentlyDeleteInitializedInvoiceRequest) (*invoicepb.InvoiceIdResponse, error)
}

type MockOrganizationService

type MockOrganizationService struct {
	organizationpb.UnimplementedOrganizationGrpcServiceServer
}

Jump to

Keyboard shortcuts

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