servicepusher

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: 7 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