feecenter

package
v1.3.2 Latest Latest
Warning

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

Go to latest
Published: May 23, 2018 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DefaultClient = FeecenterClient{Client: core.DefaultClient}

Functions

func DoAction

func DoAction(action string, options ...string) ([]byte, error)

Types

type DescribeBillsResp

type DescribeBillsResp struct {
	Code     int64  `json:"code"`
	CodeDesc string `json:"codeDesc"`
	Data     struct {
		Data []struct {
			ActionType     string `json:"actionType"`
			Amount         string `json:"amount"`
			Balance        string `json:"balance"`
			BillID         string `json:"billId"`
			CalcUnit       string `json:"calcUnit"`
			FeeID          string `json:"feeId"`
			OperationInfo  string `json:"operationInfo"`
			OperationTime  string `json:"operationTime"`
			PayMode        string `json:"payMode"`
			PayType        string `json:"payType"`
			ProductCode    string `json:"productCode"`
			Status         string `json:"status"`
			SubProductCode string `json:"subProductCode"`
		} `json:"data"`
		In    int64 `json:"in"`
		Out   int64 `json:"out"`
		Total int64 `json:"total"`
	} `json:"data"`
	Message string `json:"message"`
}

func DescribeBills

func DescribeBills(options ...string) (*DescribeBillsResp, error)

func (*DescribeBillsResp) String

func (r *DescribeBillsResp) String(args ...interface{}) (string, error)

type DescribeResourceBillsResp

type DescribeResourceBillsResp struct {
	Code     int64  `json:"code"`
	CodeDesc string `json:"codeDesc"`
	Data     struct {
		Amount          int64         `json:"amount"`
		Data            []interface{} `json:"data"`
		ProductCodeList []interface{} `json:"productCodeList"`
		Total           int64         `json:"total"`
	} `json:"data"`
	Message string `json:"message"`
}

func DescribeResourceBills

func DescribeResourceBills(options ...string) (*DescribeResourceBillsResp, error)

func (*DescribeResourceBillsResp) String

func (r *DescribeResourceBillsResp) String(args ...interface{}) (string, error)

type FeecenterClient

type FeecenterClient struct {
	*core.Client
}

func NewClient

func NewClient() *FeecenterClient

func (*FeecenterClient) DescribeBills

func (c *FeecenterClient) DescribeBills(options ...string) (*DescribeBillsResp, error)

Implement https://cloud.tencent.com/document/api378/10770

func (*FeecenterClient) DescribeResourceBills

func (c *FeecenterClient) DescribeResourceBills(options ...string) (*DescribeResourceBillsResp, error)

Implement https://cloud.tencent.com/document/api378/10772

func (*FeecenterClient) DoAction

func (client *FeecenterClient) DoAction(action string, options ...string) ([]byte, error)

Jump to

Keyboard shortcuts

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