servicesns

package
v4.0.2 Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2022 License: Unlicense Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PublishOrderCorporatePaid

func PublishOrderCorporatePaid(ctx context.Context, data *EventOrderCorporatePaidData) error

func PublishOrderCreated

func PublishOrderCreated(ctx context.Context, data *EventOrderCreatedData) error

func PublishOrderFinalized

func PublishOrderFinalized(ctx context.Context, data *EventOrderFinalizedData) error

func PublishOrderPOSPaid

func PublishOrderPOSPaid(ctx context.Context, data *EventOrderPOSPaidData) error

func PublishOrderPickupReady

func PublishOrderPickupReady(ctx context.Context, data *EventOrderPickupReadyData) error

func PublishWooNewOrder

func PublishWooNewOrder(ctx context.Context, data *EventWooNewOrderData) error

func PublishWooNewRefund

func PublishWooNewRefund(ctx context.Context, data *EventWooNewRefundData) error

Types

type EventOrderCorporatePaidData

type EventOrderCorporatePaidData struct {
	OrderID string
}

type EventOrderCreatedData

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

type EventOrderFinalizedData

type EventOrderFinalizedData struct {
	ID primitive.ObjectID
}

type EventOrderPOSPaidData

type EventOrderPOSPaidData struct {
	OrderID string
}

type EventOrderPickupReadyData

type EventOrderPickupReadyData struct {
	OrderID string
	InTime  string
}

type EventWooNewOrderData

type EventWooNewOrderData struct {
	ID int // woocommerce id
}

type EventWooNewRefundData

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