messages

package
v1.1.6 Latest Latest
Warning

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

Go to latest
Published: Mar 14, 2024 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var OrderPaymentCreationRequestChannel = "order_payment_creation_channel"
View Source
var PaymentStatusResponseChannel = "payment_status_channel"

Functions

This section is empty.

Types

type PaymentCreationRequestMessage

type PaymentCreationRequestMessage struct {
	ID        string  `json:"id"`
	CreatedAt string  `json:"created_at"`
	UpdatedAt string  `json:"updated_at"`
	Price     float64 `json:"price"`
	OrderID   string  `json:"order_id"`
	Status    string  `json:"status"`
}

type PaymentStatusChangedMessage

type PaymentStatusChangedMessage struct {
	ID        string `json:"id"`
	OrderID   string `json:"order_id"`
	Status    string `json:"status"`
	UpdatedAt string `json:"updated_at"`
}

Jump to

Keyboard shortcuts

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