controller

package
v3.10.0 Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2024 License: MIT Imports: 7 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PaymentAPIController

type PaymentAPIController struct {
	// contains filtered or unexported fields
}

PaymentAPIController for payment api

func (*PaymentAPIController) Inject

func (pc *PaymentAPIController) Inject(
	responder *web.Responder,
	Logger flamingo.Logger,
	orderService *application.OrderService,
)

Inject dependencies

func (*PaymentAPIController) Status

Status Get Payment Status @Summary Get the payment status of current cart (or last placed cart) @Tags Payment @Produce json @Success 200 {object} domain.FlowStatus{data=cart.Cart} @Failure 500 {object} resultError @Router /api/v1/payment/status [get]

Jump to

Keyboard shortcuts

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