Documentation ¶
Index ¶
- Variables
- func SetInvoiceCallbacks(callbacks *MockInvoiceServiceCallbacks)
- func SetOpportunityCallbacks(callbacks *MockOpportunityServiceCallbacks)
- 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 MockOpportunityService
- func (MockOpportunityService) CreateRenewalOpportunity(ctx context.Context, proto *opportunitypb.CreateRenewalOpportunityGrpcRequest) (*opportunitypb.OpportunityIdGrpcResponse, error)
- func (MockOpportunityService) UpdateOpportunity(ctx context.Context, proto *opportunitypb.UpdateOpportunityGrpcRequest) (*opportunitypb.OpportunityIdGrpcResponse, error)
- func (MockOpportunityService) UpdateRenewalOpportunity(ctx context.Context, proto *opportunitypb.UpdateRenewalOpportunityGrpcRequest) (*opportunitypb.OpportunityIdGrpcResponse, error)
- func (MockOpportunityService) UpdateRenewalOpportunityNextCycleDate(ctx context.Context, ...) (*opportunitypb.OpportunityIdGrpcResponse, error)
- type MockOpportunityServiceCallbacks
- type MockOrganizationService
- func (MockOrganizationService) AddParentOrganization(ctx context.Context, proto *organizationpb.AddParentOrganizationGrpcRequest) (*organizationpb.OrganizationIdGrpcResponse, error)
- func (MockOrganizationService) LinkPhoneNumberToOrganization(ctx context.Context, ...) (*organizationpb.OrganizationIdGrpcResponse, error)
- 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)
- func (MockOrganizationService) RemoveParentOrganization(context context.Context, ...) (*organizationpb.OrganizationIdGrpcResponse, error)
- func (MockOrganizationService) UpdateOnboardingStatus(context context.Context, ...) (*organizationpb.OrganizationIdGrpcResponse, error)
- type MockOrganizationServiceCallbacks
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) 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 MockOpportunityService ¶
type MockOpportunityService struct {
opportunitypb.UnimplementedOpportunityGrpcServiceServer
}
func (MockOpportunityService) CreateRenewalOpportunity ¶
func (MockOpportunityService) CreateRenewalOpportunity(ctx context.Context, proto *opportunitypb.CreateRenewalOpportunityGrpcRequest) (*opportunitypb.OpportunityIdGrpcResponse, error)
func (MockOpportunityService) UpdateOpportunity ¶
func (MockOpportunityService) UpdateOpportunity(ctx context.Context, proto *opportunitypb.UpdateOpportunityGrpcRequest) (*opportunitypb.OpportunityIdGrpcResponse, error)
func (MockOpportunityService) UpdateRenewalOpportunity ¶
func (MockOpportunityService) UpdateRenewalOpportunity(ctx context.Context, proto *opportunitypb.UpdateRenewalOpportunityGrpcRequest) (*opportunitypb.OpportunityIdGrpcResponse, error)
func (MockOpportunityService) UpdateRenewalOpportunityNextCycleDate ¶
func (MockOpportunityService) UpdateRenewalOpportunityNextCycleDate(ctx context.Context, proto *opportunitypb.UpdateRenewalOpportunityNextCycleDateGrpcRequest) (*opportunitypb.OpportunityIdGrpcResponse, error)
type MockOpportunityServiceCallbacks ¶
type MockOpportunityServiceCallbacks struct { CreateRenewalOpportunity func(ctx context.Context, proto *opportunitypb.CreateRenewalOpportunityGrpcRequest) (*opportunitypb.OpportunityIdGrpcResponse, error) UpdateRenewalOpportunity func(ctx context.Context, proto *opportunitypb.UpdateRenewalOpportunityGrpcRequest) (*opportunitypb.OpportunityIdGrpcResponse, error) UpdateRenewalOpportunityNextCycleDate func(ctx context.Context, proto *opportunitypb.UpdateRenewalOpportunityNextCycleDateGrpcRequest) (*opportunitypb.OpportunityIdGrpcResponse, error) UpdateOpportunity func(ctx context.Context, proto *opportunitypb.UpdateOpportunityGrpcRequest) (*opportunitypb.OpportunityIdGrpcResponse, error) }
type MockOrganizationService ¶
type MockOrganizationService struct {
organizationpb.UnimplementedOrganizationGrpcServiceServer
}
func (MockOrganizationService) AddParentOrganization ¶
func (MockOrganizationService) AddParentOrganization(ctx context.Context, proto *organizationpb.AddParentOrganizationGrpcRequest) (*organizationpb.OrganizationIdGrpcResponse, error)
func (MockOrganizationService) LinkPhoneNumberToOrganization ¶
func (MockOrganizationService) LinkPhoneNumberToOrganization(ctx context.Context, proto *organizationpb.LinkPhoneNumberToOrganizationGrpcRequest) (*organizationpb.OrganizationIdGrpcResponse, error)
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)
func (MockOrganizationService) RemoveParentOrganization ¶
func (MockOrganizationService) RemoveParentOrganization(context context.Context, proto *organizationpb.RemoveParentOrganizationGrpcRequest) (*organizationpb.OrganizationIdGrpcResponse, error)
func (MockOrganizationService) UpdateOnboardingStatus ¶
func (MockOrganizationService) UpdateOnboardingStatus(context context.Context, proto *organizationpb.UpdateOnboardingStatusGrpcRequest) (*organizationpb.OrganizationIdGrpcResponse, error)
type MockOrganizationServiceCallbacks ¶
type MockOrganizationServiceCallbacks struct { AddParent func(ctx context.Context, proto *organizationpb.AddParentOrganizationGrpcRequest) (*organizationpb.OrganizationIdGrpcResponse, error) RemoveParent func(ctx context.Context, proto *organizationpb.RemoveParentOrganizationGrpcRequest) (*organizationpb.OrganizationIdGrpcResponse, error) LinkPhoneNumberToOrganization func(ctx context.Context, proto *organizationpb.LinkPhoneNumberToOrganizationGrpcRequest) (*organizationpb.OrganizationIdGrpcResponse, error) RefreshLastTouchpoint func(ctx context.Context, proto *organizationpb.OrganizationIdGrpcRequest) (*organizationpb.OrganizationIdGrpcResponse, error) UpdateOnboardingStatus func(ctx context.Context, proto *organizationpb.UpdateOnboardingStatusGrpcRequest) (*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.