servicepusher

package
v5.0.0 Latest Latest
Warning

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

Go to latest
Published: Jan 21, 2023 License: Unlicense Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PublishGroupDelivered

func PublishGroupDelivered(ctx context.Context, data *EventGroupDeliveredData) error

func PublishGroupFinalized

func PublishGroupFinalized(ctx context.Context, data *EventGroupFinalizedData) error

func PublishOrderCreated

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

func PublishOrderDelivered

func PublishOrderDelivered(ctx context.Context, data *EventOrderDeliveredData) error

func PublishOrderPOSPaymentPaid

func PublishOrderPOSPaymentPaid(ctx context.Context, data *EventOrderPOSPaymentPaidData) error

func PublishOrderPOSPaymentStarted

func PublishOrderPOSPaymentStarted(ctx context.Context, data *EventOrderPOSPaymentStartedData) error

Types

type EventGroupDeliveredData

type EventGroupDeliveredData struct {
	StoreID string `json:"storeId"`
}

type EventGroupFinalizedData

type EventGroupFinalizedData struct {
	StoreID string `json:"storeId"`
}

type EventOrderCreatedData

type EventOrderCreatedData struct {
	StoreID string `json:"storeId"`
}

type EventOrderDeliveredData

type EventOrderDeliveredData struct {
	StoreID string `json:"storeId"`
}

type EventOrderPOSPaymentPaidData

type EventOrderPOSPaymentPaidData struct {
	StoreID string `json:"storeId"`
	OrderID string `json:"orderId"`
}

type EventOrderPOSPaymentStartedData

type EventOrderPOSPaymentStartedData struct {
	StoreID string `json:"storeId"`
	OrderID string `json:"orderId"`
}

Jump to

Keyboard shortcuts

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