account

package
v0.0.0-...-4c075ac Latest Latest
Warning

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

Go to latest
Published: Jan 19, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AccountInfoType

type AccountInfoType struct {
	AccountID    int64   `json:"accountId"`
	UserID       int64   `json:"userId"`
	UserName     string  `json:"userName"`
	CompanyName  string  `json:"companyName"`
	SiteName     string  `json:"siteName"`
	SiteURL      string  `json:"siteUrl"`
	Industry1    string  `json:"industry1"`
	Industry2    string  `json:"industry2"`
	AuditState   int     `json:"auditState"`
	Balance      string  `json:"balance"`
	Budget       string  `json:"budget"`
	FinanceState int64   `json:"financeState"`
	DeliveryMode []int64 `json:"deliveryMode"`
	MinPrice     int64   `json:"minPrice"`
	PayAmount    string  `json:"payAmount"`
}

type ChildrenAccount

type ChildrenAccount struct {
	ID          int64  `json:"id"`
	Name        string `json:"name"`
	CompanyName string `json:"companyName"`
	SiteName    string `json:"siteName"`
	SiteURL     string `json:"siteUrl"`
}

type GetAccountRequest

type GetAccountRequest struct {
	Header model.HeaderTarget `json:"header"`
}

func (GetAccountRequest) Encode

func (r GetAccountRequest) Encode() []byte

Encode implement GetRequest interface

func (GetAccountRequest) Url

func (r GetAccountRequest) Url() string

Url implement GetRequest interface

type GetAccountResponse

type GetAccountResponse struct {
	AccountInfoType AccountInfoType `json:"accountInfoType"`
}

type GetChildrenAccountByAccountIdBody

type GetChildrenAccountByAccountIdBody struct {
	AgentType uint `json:"agentType"` // 代理类型(非必填,默认为商务代理 0-商务代理 ;1-服务代理)
}

type GetChildrenAccountByAccountIdRequest

type GetChildrenAccountByAccountIdRequest struct {
	Header model.Header                      `json:"header"`
	Body   GetChildrenAccountByAccountIdBody `json:"body"`
}

func (GetChildrenAccountByAccountIdRequest) Encode

Encode implement GetRequest interface

func (GetChildrenAccountByAccountIdRequest) Url

Url implement GetRequest interface

type GetChildrenAccountByAccountIdResponse

type GetChildrenAccountByAccountIdResponse struct {
	ChildrenAccounts []ChildrenAccount `json:"childrenAccounts"`
}

Jump to

Keyboard shortcuts

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