command

package
v0.0.0-...-00c85ee Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

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

Jump to

Keyboard shortcuts

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