order

package
v1.34.0 Latest Latest
Warning

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

Go to latest
Published: Feb 23, 2026 License: MIT Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Create

func Create(c *gin.Context)

func Patch

func Patch(c *gin.Context)

func Payments

func Payments(c *gin.Context)

func Returns

func Returns(c *gin.Context)

func Route

func Route(router router.Router, args ...gin.HandlerFunc)

func SendFulfillmentConfirmation

func SendFulfillmentConfirmation(c *gin.Context)

func SendOrderConfirmation

func SendOrderConfirmation(c *gin.Context)

func SendRefundConfirmation

func SendRefundConfirmation(c *gin.Context)

func Status

func Status(c *gin.Context)

func Update

func Update(c *gin.Context)

Types

type StatusResponse

type StatusResponse struct {
	Id            string         `json:"id"`
	Total         currency.Cents `json:"total"`
	Paid          currency.Cents `json:"paid"`
	Currency      currency.Type  `json:"currency"`
	Status        order.Status   `json:"status"`
	PaymentStatus payment.Status `json:"paymentStatus"`
	Wallet        *wallet.Wallet `json:"wallet,omitempty"`
}

Jump to

Keyboard shortcuts

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