controllers

package
v0.0.0-...-a544434 Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2021 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BillingController

type BillingController struct {
	AuthorizeController
}

BillingController operations for Billing

func (*BillingController) ChargeAccount

func (c *BillingController) ChargeAccount()

Post ... @Title Post @Description charge Account @Param Authorization header string true "Bearer JwtToken" @Param body body domain.Payment true "body for Billing content" @Success 201 {int} domain.Payment @Failure 403 body is empty @router /charge-account [put]

func (*BillingController) CreateAccount

func (c *BillingController) CreateAccount()

Post ... @Title Post @Description create Billing @Param Authorization header string true "Bearer JwtToken" @Param body body models.BillingAccount false "body for Billing content" @Success 201 {int} models.BillingAccount @Failure 403 body is empty @router /create [post]

func (*BillingController) GetAll

func (c *BillingController) GetAll()

GetAll ... @Title Get All @Description get Billing @Param Authorization header string true "Bearer JwtToken" @Param fields query string false "Fields returned. e.g. col1,col2 ..." @Param sortby query string false "Sorted-by fields. e.g. col1,col2 ..." @Param order query string false "Order corresponding to each sortby field, if single value, apply to all sortby fields. e.g. desc,asc ..." @Param limit query string false "Limit the size of result set. Must be an integer" @Param offset query string false "Start position of result set. Must be an integer" @Success 200 {object} models.Billing @Failure 403 @router / [get]

type BillingTransactionController

type BillingTransactionController struct {
	AuthorizeController
}

BillingTransactionController operations for BillingTransaction

func (*BillingTransactionController) GetAll

func (c *BillingTransactionController) GetAll()

GetAll ... @Title Get All @Description get BillingTransaction @Param query query string false "Filter. e.g. col1:v1,col2:v2 ..." @Param fields query string false "Fields returned. e.g. col1,col2 ..." @Param sortby query string false "Sorted-by fields. e.g. col1,col2 ..." @Param order query string false "Order corresponding to each sortby field, if single value, apply to all sortby fields. e.g. desc,asc ..." @Param limit query string false "Limit the size of result set. Must be an integer" @Param offset query string false "Start position of result set. Must be an integer" @Success 200 {object} models.BillingTransaction @Failure 403 @router / [get]

type BillingWebHookController

type BillingWebHookController struct {
	beego.Controller
}

func (*BillingWebHookController) Post

func (c *BillingWebHookController) Post()

Jump to

Keyboard shortcuts

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