Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FailedLocationValidationCommand ¶
type FailedLocationValidationCommand struct { eventstore.BaseCommand RawAddress string Country string ValidationError string }
func NewFailedLocationValidationCommand ¶
func NewFailedLocationValidationCommand(locationId, tenant, userId, rawAddress, country, validationError string) *FailedLocationValidationCommand
type LocationValidatedCommand ¶
type LocationValidatedCommand struct { eventstore.BaseCommand RawAddress string CountryForValidation string LocationAddressFields models.LocationAddressFields }
func NewLocationValidatedCommand ¶
func NewLocationValidatedCommand(locationId, tenant, userId, rawAddress, countryForValidation string, addressFields models.LocationAddressFields) *LocationValidatedCommand
type SkippedLocationValidationCommand ¶
type SkippedLocationValidationCommand struct { eventstore.BaseCommand RawAddress string ValidationSkipReason string }
func NewSkippedLocationValidationCommand ¶
func NewSkippedLocationValidationCommand(locationId, tenant, userId, rawAddress, validationSkipReason string) *SkippedLocationValidationCommand
type UpsertLocationCommand ¶
type UpsertLocationCommand struct { eventstore.BaseCommand IsCreateCommand bool Source common.Source CreatedAt *time.Time UpdatedAt *time.Time Name string RawAddress string LocationAddressFields models.LocationAddressFields }
func NewUpsertLocationCommand ¶
func NewUpsertLocationCommand(locationId, tenant, userId, name, rawAddress string, addressFields models.LocationAddressFields, source common.Source, createdAt, updatedAt *time.Time) *UpsertLocationCommand
Click to show internal directories.
Click to hide internal directories.