Documentation ¶
Index ¶
- func AddCustomer(c *gin.Context)
- func AddInvoice(c *gin.Context)
- func AddOrderItem(c *gin.Context)
- func AddPayment(c *gin.Context)
- func AddProduct(c *gin.Context)
- func AddShipment(c *gin.Context)
- func AddStore(c *gin.Context)
- func AddUser(c *gin.Context)
- func AuthorizePayment(m mollie.Client, o *models.Order, orderNumber, baseUrl string) (string, string, error)
- func DeleteCustomer(c *gin.Context)
- func DeleteInvoice(c *gin.Context)
- func DeleteOrder(c *gin.Context)
- func DeleteOrderItem(c *gin.Context)
- func DeletePayment(c *gin.Context)
- func DeleteProduct(c *gin.Context)
- func DeleteShipment(c *gin.Context)
- func DeleteStore(c *gin.Context)
- func DeleteUser(c *gin.Context)
- func GetAllInvoices(c *gin.Context)
- func GetAllOrderItems(c *gin.Context)
- func GetAllOrders(c *gin.Context)
- func GetAllPayments(c *gin.Context)
- func GetAllProducts(c *gin.Context)
- func GetAllShipments(c *gin.Context)
- func GetAllStores(c *gin.Context)
- func GetCustomer(c *gin.Context)
- func GetInvoice(c *gin.Context)
- func GetOrder(c *gin.Context)
- func GetOrderItem(c *gin.Context)
- func GetPayment(c *gin.Context)
- func GetProduct(c *gin.Context)
- func GetShipment(c *gin.Context)
- func GetStore(c *gin.Context)
- func GetUser(c *gin.Context)
- func NewOrder(c *gin.Context)
- func PaymentRedirectURL(c *gin.Context)
- func PaymentWebhook(c *gin.Context)
- func UpdateCustomer(c *gin.Context)
- func UpdateInvoice(c *gin.Context)
- func UpdateOrder(c *gin.Context)
- func UpdateOrderItem(c *gin.Context)
- func UpdatePayment(c *gin.Context)
- func UpdateProduct(c *gin.Context)
- func UpdateShipment(c *gin.Context)
- func UpdateStore(c *gin.Context)
- func UpdateUser(c *gin.Context)
- func Version(c *gin.Context)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AuthorizePayment ¶
func DeleteCustomer ¶
DeleteCustomer will soft-delete a customer
func DeleteInvoice ¶
DeleteInvoice will delete the invoice from the database
func GetAllOrderItems ¶
GetAllOrderItems returns all the order_items objects
func GetAllShipments ¶
GetAllShipments returns all the shipments
func GetAllStores ¶
GetAllStores returns all the stores in the database
func GetInvoice ¶
GetInvoice returns a single invoice given the number
func PaymentRedirectURL ¶
PaymentRedirectURL is called when the checkout is completed
func PaymentWebhook ¶
PaymentWebhook is called when checking the status of the payment
func UpdateCustomer ¶
UpdateCustomer will update the customer row
func UpdateInvoice ¶
UpdateInvoice updates the invoice in the database
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.