aggregate

package
v0.0.0-...-4518f94 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2024 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ServiceLineItemAggregateType eventstore.AggregateType = "service_line_item"
)

Variables

This section is empty.

Functions

func GetServiceLineItemObjectID

func GetServiceLineItemObjectID(aggregateID string, tenant string) string

GetServiceLineItemObjectID generates the object ID for a service line item.

Types

type ServiceLineItemAggregate

type ServiceLineItemAggregate struct {
	*aggregate.CommonTenantIdAggregate
	ServiceLineItem *model.ServiceLineItem
}

func NewServiceLineItemAggregateWithTenantAndID

func NewServiceLineItemAggregateWithTenantAndID(tenant, id string) *ServiceLineItemAggregate

func (*ServiceLineItemAggregate) CloseServiceLineItem

func (*ServiceLineItemAggregate) CreateServiceLineItem

func (*ServiceLineItemAggregate) DeleteServiceLineItem

func (*ServiceLineItemAggregate) HandleGRPCRequest

func (a *ServiceLineItemAggregate) HandleGRPCRequest(ctx context.Context, request any, params map[string]any) (any, error)

func (*ServiceLineItemAggregate) UpdateServiceLineItem

func (*ServiceLineItemAggregate) When

Jump to

Keyboard shortcuts

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