 Documentation
      ¶
      Documentation
      ¶
    
    
  
    
  
    Index ¶
- Variables
- func DoAction(action string, options ...string) ([]byte, error)
- type DescribeAccountBalanceResp
- type DescribeDealsByCondResp
- type DescribeUserInfoResp
- type TradeClient
- func (c *TradeClient) DescribeAccountBalance(options ...string) (*DescribeAccountBalanceResp, error)
- func (c *TradeClient) DescribeDealsByCond(options ...string) (*DescribeDealsByCondResp, error)
- func (c *TradeClient) DescribeUserInfo(options ...string) (*DescribeUserInfoResp, error)
- func (client *TradeClient) DoAction(action string, options ...string) ([]byte, error)
 
Constants ¶
This section is empty.
Variables ¶
      View Source
      
  
var DefaultClient = TradeClient{Client: *core.NewClient()}
    Functions ¶
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 ¶
func NewClient ¶
func NewClient() *TradeClient
func (*TradeClient) DescribeAccountBalance ¶
func (c *TradeClient) DescribeAccountBalance(options ...string) (*DescribeAccountBalanceResp, error)
func (*TradeClient) DescribeDealsByCond ¶
func (c *TradeClient) DescribeDealsByCond(options ...string) (*DescribeDealsByCondResp, error)
func (*TradeClient) DescribeUserInfo ¶
func (c *TradeClient) DescribeUserInfo(options ...string) (*DescribeUserInfoResp, error)
 Click to show internal directories. 
   Click to hide internal directories.