bill

package
v1.7.0 Latest Latest
Warning

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

Go to latest
Published: Jun 12, 2019 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BillController

type BillController struct {
	base.APIController
}

操作 账单 相关资源

func (*BillController) ListCharge

func (c *BillController) ListCharge()

@Title List Charge/ @Description 用于项目账单明细的获取 @Param app query string false "resource app" @Param namespace query string false "resource namespace" @router /:appid/:name [get]

func (*BillController) ListInvoice

func (c *BillController) ListInvoice()

@Title List Invoice/ @Description 用于项目账单的获取,该接口优先用于 app 级别的账单获取 @Param app query string false "resource app" @Param namespace query string false "resource namespace" @router /:appid [get]

func (*BillController) Prepare

func (c *BillController) Prepare()

func (*BillController) URLMapping

func (c *BillController) URLMapping()

type ChargeResponse

type ChargeResponse struct {
	Total   float64         `json:"total"`
	Charges []models.Charge `json:"charges"`
}

type InvoiceResponse

type InvoiceResponse struct {
	Total    float64          `json:"total"`
	Invoices []models.Invoice `json:"invoice"`
}

Jump to

Keyboard shortcuts

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