servicesns

package
v3.3.12 Latest Latest
Warning

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

Go to latest
Published: Mar 10, 2022 License: Unlicense Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PublishOrderCorporatePaid added in v3.3.10

func PublishOrderCorporatePaid(log *logrus.Entry, ctx context.Context, stage string, data *EventOrderCorporatePaidData) error

func PublishOrderCreated

func PublishOrderCreated(log *logrus.Entry, ctx context.Context, stage string, data *EventOrderCreatedData) error

func PublishOrderPOSPaid

func PublishOrderPOSPaid(log *logrus.Entry, ctx context.Context, stage string, data *EventOrderPOSPaidData) error

func PublishOrderPickupReady

func PublishOrderPickupReady(log *logrus.Entry, ctx context.Context, stage string, data *EventOrderPickupReadyData) error

func PublishWooNewOrder added in v3.2.2

func PublishWooNewOrder(log *logrus.Entry, ctx context.Context, stage string, data *EventWooNewOrderData) error

Types

type EventOrderCorporatePaidData added in v3.3.10

type EventOrderCorporatePaidData struct {
	OrderID string
}

type EventOrderCreatedData

type EventOrderCreatedData struct {
	OrderID string // not the UUID
}

type EventOrderPOSPaidData

type EventOrderPOSPaidData struct {
	OrderID string
}

type EventOrderPickupReadyData

type EventOrderPickupReadyData struct {
	OrderID string
	InTime  string
}

type EventWooNewOrderData added in v3.2.2

type EventWooNewOrderData struct {
	ID int // woocommerce id
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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