controller

package
v0.0.0-...-bb92df6 Latest Latest
Warning

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

Go to latest
Published: Mar 28, 2021 License: OSL-3.0 Imports: 7 Imported by: 0

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