Documentation ¶
Index ¶
- Variables
- func SetInvoiceCallbacks(callbacks *MockInvoiceServiceCallbacks)
- func SetOrganizationCallbacks(callbacks *MockOrganizationServiceCallbacks)
- type MockInvoiceService
- func (MockInvoiceService) FillInvoice(ctx context.Context, proto *invoicepb.FillInvoiceRequest) (*invoicepb.InvoiceIdResponse, error)
- func (MockInvoiceService) GenerateInvoicePdf(ctx context.Context, proto *invoicepb.GenerateInvoicePdfRequest) (*invoicepb.InvoiceIdResponse, error)
- func (MockInvoiceService) PermanentlyDeleteInitializedInvoice(ctx context.Context, ...) (*invoicepb.InvoiceIdResponse, error)
- func (MockInvoiceService) RequestFillInvoice(ctx context.Context, proto *invoicepb.RequestFillInvoiceRequest) (*invoicepb.InvoiceIdResponse, error)
- type MockInvoiceServiceCallbacks
- type MockOrganizationService
- func (MockOrganizationService) RefreshArr(ctx context.Context, proto *organizationpb.OrganizationIdGrpcRequest) (*organizationpb.OrganizationIdGrpcResponse, error)
- func (MockOrganizationService) RefreshLastTouchpoint(ctx context.Context, proto *organizationpb.OrganizationIdGrpcRequest) (*organizationpb.OrganizationIdGrpcResponse, error)
- func (MockOrganizationService) RefreshRenewalSummary(ctx context.Context, proto *organizationpb.RefreshRenewalSummaryGrpcRequest) (*organizationpb.OrganizationIdGrpcResponse, error)
- type MockOrganizationServiceCallbacks
Constants ¶
This section is empty.
Variables ¶
View Source
var InvoiceCallbacks = &MockInvoiceServiceCallbacks{}
Functions ¶
func SetInvoiceCallbacks ¶
func SetInvoiceCallbacks(callbacks *MockInvoiceServiceCallbacks)
func SetOrganizationCallbacks ¶
func SetOrganizationCallbacks(callbacks *MockOrganizationServiceCallbacks)
Types ¶
type MockInvoiceService ¶
type MockInvoiceService struct {
invoicepb.UnimplementedInvoiceGrpcServiceServer
}
func (MockInvoiceService) FillInvoice ¶
func (MockInvoiceService) FillInvoice(ctx context.Context, proto *invoicepb.FillInvoiceRequest) (*invoicepb.InvoiceIdResponse, error)
func (MockInvoiceService) GenerateInvoicePdf ¶
func (MockInvoiceService) GenerateInvoicePdf(ctx context.Context, proto *invoicepb.GenerateInvoicePdfRequest) (*invoicepb.InvoiceIdResponse, error)
func (MockInvoiceService) PermanentlyDeleteInitializedInvoice ¶
func (MockInvoiceService) PermanentlyDeleteInitializedInvoice(ctx context.Context, proto *invoicepb.PermanentlyDeleteInitializedInvoiceRequest) (*invoicepb.InvoiceIdResponse, error)
func (MockInvoiceService) RequestFillInvoice ¶
func (MockInvoiceService) RequestFillInvoice(ctx context.Context, proto *invoicepb.RequestFillInvoiceRequest) (*invoicepb.InvoiceIdResponse, error)
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
}
func (MockOrganizationService) RefreshArr ¶
func (MockOrganizationService) RefreshArr(ctx context.Context, proto *organizationpb.OrganizationIdGrpcRequest) (*organizationpb.OrganizationIdGrpcResponse, error)
func (MockOrganizationService) RefreshLastTouchpoint ¶
func (MockOrganizationService) RefreshLastTouchpoint(ctx context.Context, proto *organizationpb.OrganizationIdGrpcRequest) (*organizationpb.OrganizationIdGrpcResponse, error)
func (MockOrganizationService) RefreshRenewalSummary ¶
func (MockOrganizationService) RefreshRenewalSummary(ctx context.Context, proto *organizationpb.RefreshRenewalSummaryGrpcRequest) (*organizationpb.OrganizationIdGrpcResponse, error)
type MockOrganizationServiceCallbacks ¶
type MockOrganizationServiceCallbacks struct { RefreshLastTouchpoint func(ctx context.Context, proto *organizationpb.OrganizationIdGrpcRequest) (*organizationpb.OrganizationIdGrpcResponse, error) RefreshRenewalSummary func(ctx context.Context, proto *organizationpb.RefreshRenewalSummaryGrpcRequest) (*organizationpb.OrganizationIdGrpcResponse, error) RefreshArr func(ctx context.Context, proto *organizationpb.OrganizationIdGrpcRequest) (*organizationpb.OrganizationIdGrpcResponse, error) }
Click to show internal directories.
Click to hide internal directories.