Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewConnection ¶
Types ¶
type ExternalPayment ¶
type ExternalPayment struct { }
func NewExternalPayment ¶
func NewExternalPayment() *ExternalPayment
func (*ExternalPayment) CreateQRCode ¶
func (e *ExternalPayment) CreateQRCode(p entity.Payment) (response_payment_service.CreateQRCode, error)
type Message ¶
type Message struct { OrderId int Status enum.PaymentStatus }
type OrderService ¶
type OrderService struct {
// contains filtered or unexported fields
}
func NewOrderService ¶
func NewOrderService(c *resty.Client, l *slog.Logger) *OrderService
func (*OrderService) GetById ¶
func (o *OrderService) GetById(id int) (*responseorderservice.GetByIdResp, error)
type SnsService ¶
type SnsService struct{}
func NewSnsService ¶
func NewSnsService() *SnsService
func (*SnsService) SendMessage ¶
func (s *SnsService) SendMessage(paymentId int, status enum.PaymentStatus) error
Click to show internal directories.
Click to hide internal directories.