appointmentaction

package
v0.0.0-...-0f0028d Latest Latest
Warning

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

Go to latest
Published: Jun 21, 2021 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Svc

type Svc struct {
	// contains filtered or unexported fields
}

Svc is the service for appointment action related operations

func NewAppointmentActionSvc

func NewAppointmentActionSvc(db *gorm.DB) *Svc

NewAppointmentActionSvc creates a new svc instance

func (Svc) CreateAppointmentAction

func (svc Svc) CreateAppointmentAction(appointmentID string, customerID string, actionType domaintype.AppointmentActionEnum) (*domaintype.AppointmentAction, error)

CreateAppointmentAction creates a new appointment action

func (Svc) NotifyCustomers

func (svc Svc) NotifyCustomers(customerIDs *[]string) (*[]domaintype.Appointment, error)

NotifyCustomers creates a notify action for each upcoming appointment.

Jump to

Keyboard shortcuts

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