trade

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 = TradeClient{Client: core.DefaultClient}

Functions

func DoAction

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

Types

type DescribeAccountBalanceResp

type DescribeAccountBalanceResp struct {
	BalanceInfo int64  `json:"balanceInfo"`
	Code        int64  `json:"code"`
	CodeDesc    string `json:"codeDesc"`
	Message     string `json:"message"`
}

func DescribeAccountBalance

func DescribeAccountBalance(options ...string) (*DescribeAccountBalanceResp, error)

func (*DescribeAccountBalanceResp) String

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

type DescribeDealsByCondResp

type DescribeDealsByCondResp struct {
	Code     int64  `json:"code"`
	CodeDesc string `json:"codeDesc"`
	Data     struct {
		TotalNum string `json:"totalNum"`
	} `json:"data"`
	Message string `json:"message"`
}

func DescribeDealsByCond

func DescribeDealsByCond(options ...string) (*DescribeDealsByCondResp, error)

func (*DescribeDealsByCondResp) String

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

type DescribeUserInfoResp

type DescribeUserInfoResp struct {
	Code     int64  `json:"code"`
	CodeDesc string `json:"codeDesc"`
	Message  string `json:"message"`
	UserInfo struct {
		IsOwner    string `json:"isOwner"`
		Mail       string `json:"mail"`
		MailStatus string `json:"mailStatus"`
		Name       string `json:"name"`
		Phone      string `json:"phone"`
	} `json:"userInfo"`
}

func DescribeUserInfo

func DescribeUserInfo(options ...string) (*DescribeUserInfoResp, error)

func (*DescribeUserInfoResp) String

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

type TradeClient

type TradeClient struct {
	*core.Client
}

func NewClient

func NewClient() *TradeClient

func (*TradeClient) DescribeAccountBalance

func (c *TradeClient) DescribeAccountBalance(options ...string) (*DescribeAccountBalanceResp, error)

Implement https://cloud.tencent.com/document/api/378/4397

func (*TradeClient) DescribeDealsByCond

func (c *TradeClient) DescribeDealsByCond(options ...string) (*DescribeDealsByCondResp, error)

Implement https://cloud.tencent.com/document/api/378/4403

func (*TradeClient) DescribeUserInfo

func (c *TradeClient) DescribeUserInfo(options ...string) (*DescribeUserInfoResp, error)

Implement https://cloud.tencent.com/document/api/378/4397

func (*TradeClient) DoAction

func (client *TradeClient) 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