servicesns

package
v3.5.7 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2022 License: Unlicense Imports: 10 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 PublishOrderFinalized added in v3.5.1

func PublishOrderFinalized(log *logrus.Entry, ctx context.Context, stage string, data *EventOrderFinalizedData) 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

func PublishWooNewRefund added in v3.3.14

func PublishWooNewRefund(log *logrus.Entry, ctx context.Context, stage string, data *EventWooNewRefundData) 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 EventOrderFinalizedData added in v3.5.1

type EventOrderFinalizedData struct {
	ID primitive.ObjectID
}

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
}

type EventWooNewRefundData added in v3.3.14

type EventWooNewRefundData 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