Documentation ¶
Index ¶
- func PublishOrderCorporatePaid(ctx context.Context, data *EventOrderCorporatePaidData) error
- func PublishOrderCreated(ctx context.Context, data *EventOrderCreatedData) error
- func PublishOrderFinalized(ctx context.Context, data *EventOrderFinalizedData) error
- func PublishOrderPOSPaid(ctx context.Context, data *EventOrderPOSPaidData) error
- func PublishOrderPickupReady(ctx context.Context, data *EventOrderPickupReadyData) error
- func PublishWooNewOrder(ctx context.Context, data *EventWooNewOrderData) error
- func PublishWooNewRefund(ctx context.Context, data *EventWooNewRefundData) error
- type EventOrderCorporatePaidData
- type EventOrderCreatedData
- type EventOrderFinalizedData
- type EventOrderPOSPaidData
- type EventOrderPickupReadyData
- type EventWooNewOrderData
- type EventWooNewRefundData
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 EventOrderPOSPaidData ¶
type EventOrderPOSPaidData struct {
OrderID string
}
type EventWooNewOrderData ¶
type EventWooNewOrderData struct {
ID int // woocommerce id
}
type EventWooNewRefundData ¶
type EventWooNewRefundData struct {
ID int // woocommerce id
}
Source Files ¶
Click to show internal directories.
Click to hide internal directories.