controller

package
v0.0.0-...-91ffa7f Latest Latest
Warning

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

Go to latest
Published: May 25, 2019 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateTorder

func CreateTorder(c *gin.Context)

create order this is sampe parameter `{"detail":[{"m_product_id":"acessToken","qty":1000,"price":1000.00,"total_amount":100000}]}`

func FetchAllTorder

func FetchAllTorder(c *gin.Context)

fetch all order

func UpdateStatus

func UpdateStatus(c *gin.Context)

Update order status it can set to D = Draft W = Waiting for payment P = Paid I = In Progress C = Complete X = Canceled

Types

This section is empty.

Jump to

Keyboard shortcuts

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