Browse Source

BSSOPENAPI SDK Auto Released By ziyuan.zk,Version:1.60.33

Signed-off-by: sdk-team <sdk-team@alibabacloud.com>
sdk-team 6 years ago
parent
commit
12ad9f921c

+ 3 - 0
ChangeLog.txt

@@ -1,3 +1,6 @@
+2019-06-03 Version: 1.60.33
+1, Order info add relatedOrderId.
+
 2019-05-31 Version: 1.60.32
 1, add api 'search traces count' 
 2, add page index for api 'searchTraces'

+ 114 - 0
services/bssopenapi/change_reseller_consume_amount.go

@@ -0,0 +1,114 @@
+package bssopenapi
+
+//Licensed under the Apache License, Version 2.0 (the "License");
+//you may not use this file except in compliance with the License.
+//You may obtain a copy of the License at
+//
+//http://www.apache.org/licenses/LICENSE-2.0
+//
+//Unless required by applicable law or agreed to in writing, software
+//distributed under the License is distributed on an "AS IS" BASIS,
+//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+//See the License for the specific language governing permissions and
+//limitations under the License.
+//
+// Code generated by Alibaba Cloud SDK Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is regenerated.
+
+import (
+	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/requests"
+	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
+)
+
+// ChangeResellerConsumeAmount invokes the bssopenapi.ChangeResellerConsumeAmount API synchronously
+// api document: https://help.aliyun.com/api/bssopenapi/changeresellerconsumeamount.html
+func (client *Client) ChangeResellerConsumeAmount(request *ChangeResellerConsumeAmountRequest) (response *ChangeResellerConsumeAmountResponse, err error) {
+	response = CreateChangeResellerConsumeAmountResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// ChangeResellerConsumeAmountWithChan invokes the bssopenapi.ChangeResellerConsumeAmount API asynchronously
+// api document: https://help.aliyun.com/api/bssopenapi/changeresellerconsumeamount.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) ChangeResellerConsumeAmountWithChan(request *ChangeResellerConsumeAmountRequest) (<-chan *ChangeResellerConsumeAmountResponse, <-chan error) {
+	responseChan := make(chan *ChangeResellerConsumeAmountResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.ChangeResellerConsumeAmount(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// ChangeResellerConsumeAmountWithCallback invokes the bssopenapi.ChangeResellerConsumeAmount API asynchronously
+// api document: https://help.aliyun.com/api/bssopenapi/changeresellerconsumeamount.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) ChangeResellerConsumeAmountWithCallback(request *ChangeResellerConsumeAmountRequest, callback func(response *ChangeResellerConsumeAmountResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *ChangeResellerConsumeAmountResponse
+		var err error
+		defer close(result)
+		response, err = client.ChangeResellerConsumeAmount(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// ChangeResellerConsumeAmountRequest is the request struct for api ChangeResellerConsumeAmount
+type ChangeResellerConsumeAmountRequest struct {
+	*requests.RpcRequest
+	AdjustType   string           `position:"Query" name:"AdjustType"`
+	Amount       string           `position:"Query" name:"Amount"`
+	OutBizId     string           `position:"Query" name:"OutBizId"`
+	ExtendMap    string           `position:"Query" name:"ExtendMap"`
+	Currency     string           `position:"Query" name:"Currency"`
+	Source       string           `position:"Query" name:"Source"`
+	OwnerId      requests.Integer `position:"Query" name:"OwnerId"`
+	BusinessType string           `position:"Query" name:"BusinessType"`
+}
+
+// ChangeResellerConsumeAmountResponse is the response struct for api ChangeResellerConsumeAmount
+type ChangeResellerConsumeAmountResponse struct {
+	*responses.BaseResponse
+	RequestId string `json:"RequestId" xml:"RequestId"`
+	Code      string `json:"Code" xml:"Code"`
+	Message   string `json:"Message" xml:"Message"`
+	Success   bool   `json:"Success" xml:"Success"`
+	Data      string `json:"Data" xml:"Data"`
+}
+
+// CreateChangeResellerConsumeAmountRequest creates a request to invoke ChangeResellerConsumeAmount API
+func CreateChangeResellerConsumeAmountRequest() (request *ChangeResellerConsumeAmountRequest) {
+	request = &ChangeResellerConsumeAmountRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("BssOpenApi", "2017-12-14", "ChangeResellerConsumeAmount", "", "")
+	return
+}
+
+// CreateChangeResellerConsumeAmountResponse creates a response to parse from ChangeResellerConsumeAmount response
+func CreateChangeResellerConsumeAmountResponse() (response *ChangeResellerConsumeAmountResponse) {
+	response = &ChangeResellerConsumeAmountResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 115 - 0
services/bssopenapi/create_ag_account.go

@@ -0,0 +1,115 @@
+package bssopenapi
+
+//Licensed under the Apache License, Version 2.0 (the "License");
+//you may not use this file except in compliance with the License.
+//You may obtain a copy of the License at
+//
+//http://www.apache.org/licenses/LICENSE-2.0
+//
+//Unless required by applicable law or agreed to in writing, software
+//distributed under the License is distributed on an "AS IS" BASIS,
+//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+//See the License for the specific language governing permissions and
+//limitations under the License.
+//
+// Code generated by Alibaba Cloud SDK Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is regenerated.
+
+import (
+	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/requests"
+	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
+)
+
+// CreateAgAccount invokes the bssopenapi.CreateAgAccount API synchronously
+// api document: https://help.aliyun.com/api/bssopenapi/createagaccount.html
+func (client *Client) CreateAgAccount(request *CreateAgAccountRequest) (response *CreateAgAccountResponse, err error) {
+	response = CreateCreateAgAccountResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// CreateAgAccountWithChan invokes the bssopenapi.CreateAgAccount API asynchronously
+// api document: https://help.aliyun.com/api/bssopenapi/createagaccount.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) CreateAgAccountWithChan(request *CreateAgAccountRequest) (<-chan *CreateAgAccountResponse, <-chan error) {
+	responseChan := make(chan *CreateAgAccountResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.CreateAgAccount(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// CreateAgAccountWithCallback invokes the bssopenapi.CreateAgAccount API asynchronously
+// api document: https://help.aliyun.com/api/bssopenapi/createagaccount.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) CreateAgAccountWithCallback(request *CreateAgAccountRequest, callback func(response *CreateAgAccountResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *CreateAgAccountResponse
+		var err error
+		defer close(result)
+		response, err = client.CreateAgAccount(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// CreateAgAccountRequest is the request struct for api CreateAgAccount
+type CreateAgAccountRequest struct {
+	*requests.RpcRequest
+	FirstName      string `position:"Query" name:"FirstName"`
+	LoginEmail     string `position:"Query" name:"LoginEmail"`
+	ProvinceName   string `position:"Query" name:"ProvinceName"`
+	CityName       string `position:"Query" name:"CityName"`
+	AccountAttr    string `position:"Query" name:"AccountAttr"`
+	Postcode       string `position:"Query" name:"Postcode"`
+	EnterpriseName string `position:"Query" name:"EnterpriseName"`
+	NationCode     string `position:"Query" name:"NationCode"`
+	LastName       string `position:"Query" name:"LastName"`
+}
+
+// CreateAgAccountResponse is the response struct for api CreateAgAccount
+type CreateAgAccountResponse struct {
+	*responses.BaseResponse
+	RequestId     string        `json:"RequestId" xml:"RequestId"`
+	Code          string        `json:"Code" xml:"Code"`
+	Message       string        `json:"Message" xml:"Message"`
+	Success       bool          `json:"Success" xml:"Success"`
+	AgRelationDto AgRelationDto `json:"AgRelationDto" xml:"AgRelationDto"`
+}
+
+// CreateCreateAgAccountRequest creates a request to invoke CreateAgAccount API
+func CreateCreateAgAccountRequest() (request *CreateAgAccountRequest) {
+	request = &CreateAgAccountRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("BssOpenApi", "2017-12-14", "CreateAgAccount", "", "")
+	return
+}
+
+// CreateCreateAgAccountResponse creates a response to parse from CreateAgAccount response
+func CreateCreateAgAccountResponse() (response *CreateAgAccountResponse) {
+	response = &CreateAgAccountResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 110 - 0
services/bssopenapi/create_reseller_user_quota.go

@@ -0,0 +1,110 @@
+package bssopenapi
+
+//Licensed under the Apache License, Version 2.0 (the "License");
+//you may not use this file except in compliance with the License.
+//You may obtain a copy of the License at
+//
+//http://www.apache.org/licenses/LICENSE-2.0
+//
+//Unless required by applicable law or agreed to in writing, software
+//distributed under the License is distributed on an "AS IS" BASIS,
+//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+//See the License for the specific language governing permissions and
+//limitations under the License.
+//
+// Code generated by Alibaba Cloud SDK Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is regenerated.
+
+import (
+	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/requests"
+	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
+)
+
+// CreateResellerUserQuota invokes the bssopenapi.CreateResellerUserQuota API synchronously
+// api document: https://help.aliyun.com/api/bssopenapi/createreselleruserquota.html
+func (client *Client) CreateResellerUserQuota(request *CreateResellerUserQuotaRequest) (response *CreateResellerUserQuotaResponse, err error) {
+	response = CreateCreateResellerUserQuotaResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// CreateResellerUserQuotaWithChan invokes the bssopenapi.CreateResellerUserQuota API asynchronously
+// api document: https://help.aliyun.com/api/bssopenapi/createreselleruserquota.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) CreateResellerUserQuotaWithChan(request *CreateResellerUserQuotaRequest) (<-chan *CreateResellerUserQuotaResponse, <-chan error) {
+	responseChan := make(chan *CreateResellerUserQuotaResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.CreateResellerUserQuota(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// CreateResellerUserQuotaWithCallback invokes the bssopenapi.CreateResellerUserQuota API asynchronously
+// api document: https://help.aliyun.com/api/bssopenapi/createreselleruserquota.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) CreateResellerUserQuotaWithCallback(request *CreateResellerUserQuotaRequest, callback func(response *CreateResellerUserQuotaResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *CreateResellerUserQuotaResponse
+		var err error
+		defer close(result)
+		response, err = client.CreateResellerUserQuota(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// CreateResellerUserQuotaRequest is the request struct for api CreateResellerUserQuota
+type CreateResellerUserQuotaRequest struct {
+	*requests.RpcRequest
+	Amount   string           `position:"Query" name:"Amount"`
+	OutBizId string           `position:"Query" name:"OutBizId"`
+	Currency string           `position:"Query" name:"Currency"`
+	OwnerId  requests.Integer `position:"Query" name:"OwnerId"`
+}
+
+// CreateResellerUserQuotaResponse is the response struct for api CreateResellerUserQuota
+type CreateResellerUserQuotaResponse struct {
+	*responses.BaseResponse
+	RequestId string `json:"RequestId" xml:"RequestId"`
+	Code      string `json:"Code" xml:"Code"`
+	Message   string `json:"Message" xml:"Message"`
+	Success   bool   `json:"Success" xml:"Success"`
+	Data      bool   `json:"Data" xml:"Data"`
+}
+
+// CreateCreateResellerUserQuotaRequest creates a request to invoke CreateResellerUserQuota API
+func CreateCreateResellerUserQuotaRequest() (request *CreateResellerUserQuotaRequest) {
+	request = &CreateResellerUserQuotaRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("BssOpenApi", "2017-12-14", "CreateResellerUserQuota", "", "")
+	return
+}
+
+// CreateCreateResellerUserQuotaResponse creates a response to parse from CreateResellerUserQuota response
+func CreateCreateResellerUserQuotaResponse() (response *CreateResellerUserQuotaResponse) {
+	response = &CreateResellerUserQuotaResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 107 - 0
services/bssopenapi/get_customer_account_info.go

@@ -0,0 +1,107 @@
+package bssopenapi
+
+//Licensed under the Apache License, Version 2.0 (the "License");
+//you may not use this file except in compliance with the License.
+//You may obtain a copy of the License at
+//
+//http://www.apache.org/licenses/LICENSE-2.0
+//
+//Unless required by applicable law or agreed to in writing, software
+//distributed under the License is distributed on an "AS IS" BASIS,
+//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+//See the License for the specific language governing permissions and
+//limitations under the License.
+//
+// Code generated by Alibaba Cloud SDK Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is regenerated.
+
+import (
+	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/requests"
+	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
+)
+
+// GetCustomerAccountInfo invokes the bssopenapi.GetCustomerAccountInfo API synchronously
+// api document: https://help.aliyun.com/api/bssopenapi/getcustomeraccountinfo.html
+func (client *Client) GetCustomerAccountInfo(request *GetCustomerAccountInfoRequest) (response *GetCustomerAccountInfoResponse, err error) {
+	response = CreateGetCustomerAccountInfoResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// GetCustomerAccountInfoWithChan invokes the bssopenapi.GetCustomerAccountInfo API asynchronously
+// api document: https://help.aliyun.com/api/bssopenapi/getcustomeraccountinfo.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) GetCustomerAccountInfoWithChan(request *GetCustomerAccountInfoRequest) (<-chan *GetCustomerAccountInfoResponse, <-chan error) {
+	responseChan := make(chan *GetCustomerAccountInfoResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.GetCustomerAccountInfo(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// GetCustomerAccountInfoWithCallback invokes the bssopenapi.GetCustomerAccountInfo API asynchronously
+// api document: https://help.aliyun.com/api/bssopenapi/getcustomeraccountinfo.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) GetCustomerAccountInfoWithCallback(request *GetCustomerAccountInfoRequest, callback func(response *GetCustomerAccountInfoResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *GetCustomerAccountInfoResponse
+		var err error
+		defer close(result)
+		response, err = client.GetCustomerAccountInfo(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// GetCustomerAccountInfoRequest is the request struct for api GetCustomerAccountInfo
+type GetCustomerAccountInfoRequest struct {
+	*requests.RpcRequest
+	OwnerId requests.Integer `position:"Query" name:"OwnerId"`
+}
+
+// GetCustomerAccountInfoResponse is the response struct for api GetCustomerAccountInfo
+type GetCustomerAccountInfoResponse struct {
+	*responses.BaseResponse
+	RequestId string `json:"RequestId" xml:"RequestId"`
+	Success   bool   `json:"Success" xml:"Success"`
+	Code      string `json:"Code" xml:"Code"`
+	Message   string `json:"Message" xml:"Message"`
+	Data      Data   `json:"Data" xml:"Data"`
+}
+
+// CreateGetCustomerAccountInfoRequest creates a request to invoke GetCustomerAccountInfo API
+func CreateGetCustomerAccountInfoRequest() (request *GetCustomerAccountInfoRequest) {
+	request = &GetCustomerAccountInfoRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("BssOpenApi", "2017-12-14", "GetCustomerAccountInfo", "", "")
+	return
+}
+
+// CreateGetCustomerAccountInfoResponse creates a response to parse from GetCustomerAccountInfo response
+func CreateGetCustomerAccountInfoResponse() (response *GetCustomerAccountInfoResponse) {
+	response = &GetCustomerAccountInfoResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 106 - 0
services/bssopenapi/get_customer_list.go

@@ -0,0 +1,106 @@
+package bssopenapi
+
+//Licensed under the Apache License, Version 2.0 (the "License");
+//you may not use this file except in compliance with the License.
+//You may obtain a copy of the License at
+//
+//http://www.apache.org/licenses/LICENSE-2.0
+//
+//Unless required by applicable law or agreed to in writing, software
+//distributed under the License is distributed on an "AS IS" BASIS,
+//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+//See the License for the specific language governing permissions and
+//limitations under the License.
+//
+// Code generated by Alibaba Cloud SDK Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is regenerated.
+
+import (
+	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/requests"
+	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
+)
+
+// GetCustomerList invokes the bssopenapi.GetCustomerList API synchronously
+// api document: https://help.aliyun.com/api/bssopenapi/getcustomerlist.html
+func (client *Client) GetCustomerList(request *GetCustomerListRequest) (response *GetCustomerListResponse, err error) {
+	response = CreateGetCustomerListResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// GetCustomerListWithChan invokes the bssopenapi.GetCustomerList API asynchronously
+// api document: https://help.aliyun.com/api/bssopenapi/getcustomerlist.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) GetCustomerListWithChan(request *GetCustomerListRequest) (<-chan *GetCustomerListResponse, <-chan error) {
+	responseChan := make(chan *GetCustomerListResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.GetCustomerList(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// GetCustomerListWithCallback invokes the bssopenapi.GetCustomerList API asynchronously
+// api document: https://help.aliyun.com/api/bssopenapi/getcustomerlist.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) GetCustomerListWithCallback(request *GetCustomerListRequest, callback func(response *GetCustomerListResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *GetCustomerListResponse
+		var err error
+		defer close(result)
+		response, err = client.GetCustomerList(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// GetCustomerListRequest is the request struct for api GetCustomerList
+type GetCustomerListRequest struct {
+	*requests.RpcRequest
+}
+
+// GetCustomerListResponse is the response struct for api GetCustomerList
+type GetCustomerListResponse struct {
+	*responses.BaseResponse
+	RequestId string                `json:"RequestId" xml:"RequestId"`
+	Success   bool                  `json:"Success" xml:"Success"`
+	Code      string                `json:"Code" xml:"Code"`
+	Message   string                `json:"Message" xml:"Message"`
+	Data      DataInGetCustomerList `json:"Data" xml:"Data"`
+}
+
+// CreateGetCustomerListRequest creates a request to invoke GetCustomerList API
+func CreateGetCustomerListRequest() (request *GetCustomerListRequest) {
+	request = &GetCustomerListRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("BssOpenApi", "2017-12-14", "GetCustomerList", "", "")
+	return
+}
+
+// CreateGetCustomerListResponse creates a response to parse from GetCustomerList response
+func CreateGetCustomerListResponse() (response *GetCustomerListResponse) {
+	response = &GetCustomerListResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 113 - 0
services/bssopenapi/query_account_transactions.go

@@ -0,0 +1,113 @@
+package bssopenapi
+
+//Licensed under the Apache License, Version 2.0 (the "License");
+//you may not use this file except in compliance with the License.
+//You may obtain a copy of the License at
+//
+//http://www.apache.org/licenses/LICENSE-2.0
+//
+//Unless required by applicable law or agreed to in writing, software
+//distributed under the License is distributed on an "AS IS" BASIS,
+//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+//See the License for the specific language governing permissions and
+//limitations under the License.
+//
+// Code generated by Alibaba Cloud SDK Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is regenerated.
+
+import (
+	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/requests"
+	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
+)
+
+// QueryAccountTransactions invokes the bssopenapi.QueryAccountTransactions API synchronously
+// api document: https://help.aliyun.com/api/bssopenapi/queryaccounttransactions.html
+func (client *Client) QueryAccountTransactions(request *QueryAccountTransactionsRequest) (response *QueryAccountTransactionsResponse, err error) {
+	response = CreateQueryAccountTransactionsResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// QueryAccountTransactionsWithChan invokes the bssopenapi.QueryAccountTransactions API asynchronously
+// api document: https://help.aliyun.com/api/bssopenapi/queryaccounttransactions.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) QueryAccountTransactionsWithChan(request *QueryAccountTransactionsRequest) (<-chan *QueryAccountTransactionsResponse, <-chan error) {
+	responseChan := make(chan *QueryAccountTransactionsResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.QueryAccountTransactions(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// QueryAccountTransactionsWithCallback invokes the bssopenapi.QueryAccountTransactions API asynchronously
+// api document: https://help.aliyun.com/api/bssopenapi/queryaccounttransactions.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) QueryAccountTransactionsWithCallback(request *QueryAccountTransactionsRequest, callback func(response *QueryAccountTransactionsResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *QueryAccountTransactionsResponse
+		var err error
+		defer close(result)
+		response, err = client.QueryAccountTransactions(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// QueryAccountTransactionsRequest is the request struct for api QueryAccountTransactions
+type QueryAccountTransactionsRequest struct {
+	*requests.RpcRequest
+	RecordID             string           `position:"Query" name:"RecordID"`
+	PageSize             requests.Integer `position:"Query" name:"PageSize"`
+	TransactionChannelSN string           `position:"Query" name:"TransactionChannelSN"`
+	CreateTimeStart      string           `position:"Query" name:"CreateTimeStart"`
+	TransactionNumber    string           `position:"Query" name:"TransactionNumber"`
+	PageNum              requests.Integer `position:"Query" name:"PageNum"`
+	CreateTimeEnd        string           `position:"Query" name:"CreateTimeEnd"`
+}
+
+// QueryAccountTransactionsResponse is the response struct for api QueryAccountTransactions
+type QueryAccountTransactionsResponse struct {
+	*responses.BaseResponse
+	RequestId string `json:"RequestId" xml:"RequestId"`
+	Success   bool   `json:"Success" xml:"Success"`
+	Code      string `json:"Code" xml:"Code"`
+	Message   string `json:"Message" xml:"Message"`
+	Data      Data   `json:"Data" xml:"Data"`
+}
+
+// CreateQueryAccountTransactionsRequest creates a request to invoke QueryAccountTransactions API
+func CreateQueryAccountTransactionsRequest() (request *QueryAccountTransactionsRequest) {
+	request = &QueryAccountTransactionsRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("BssOpenApi", "2017-12-14", "QueryAccountTransactions", "", "")
+	return
+}
+
+// CreateQueryAccountTransactionsResponse creates a response to parse from QueryAccountTransactions response
+func CreateQueryAccountTransactionsResponse() (response *QueryAccountTransactionsResponse) {
+	response = &QueryAccountTransactionsResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 108 - 0
services/bssopenapi/query_reseller_available_quota.go

@@ -0,0 +1,108 @@
+package bssopenapi
+
+//Licensed under the Apache License, Version 2.0 (the "License");
+//you may not use this file except in compliance with the License.
+//You may obtain a copy of the License at
+//
+//http://www.apache.org/licenses/LICENSE-2.0
+//
+//Unless required by applicable law or agreed to in writing, software
+//distributed under the License is distributed on an "AS IS" BASIS,
+//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+//See the License for the specific language governing permissions and
+//limitations under the License.
+//
+// Code generated by Alibaba Cloud SDK Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is regenerated.
+
+import (
+	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/requests"
+	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
+)
+
+// QueryResellerAvailableQuota invokes the bssopenapi.QueryResellerAvailableQuota API synchronously
+// api document: https://help.aliyun.com/api/bssopenapi/queryreselleravailablequota.html
+func (client *Client) QueryResellerAvailableQuota(request *QueryResellerAvailableQuotaRequest) (response *QueryResellerAvailableQuotaResponse, err error) {
+	response = CreateQueryResellerAvailableQuotaResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// QueryResellerAvailableQuotaWithChan invokes the bssopenapi.QueryResellerAvailableQuota API asynchronously
+// api document: https://help.aliyun.com/api/bssopenapi/queryreselleravailablequota.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) QueryResellerAvailableQuotaWithChan(request *QueryResellerAvailableQuotaRequest) (<-chan *QueryResellerAvailableQuotaResponse, <-chan error) {
+	responseChan := make(chan *QueryResellerAvailableQuotaResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.QueryResellerAvailableQuota(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// QueryResellerAvailableQuotaWithCallback invokes the bssopenapi.QueryResellerAvailableQuota API asynchronously
+// api document: https://help.aliyun.com/api/bssopenapi/queryreselleravailablequota.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) QueryResellerAvailableQuotaWithCallback(request *QueryResellerAvailableQuotaRequest, callback func(response *QueryResellerAvailableQuotaResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *QueryResellerAvailableQuotaResponse
+		var err error
+		defer close(result)
+		response, err = client.QueryResellerAvailableQuota(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// QueryResellerAvailableQuotaRequest is the request struct for api QueryResellerAvailableQuota
+type QueryResellerAvailableQuotaRequest struct {
+	*requests.RpcRequest
+	ItemCodes string           `position:"Query" name:"ItemCodes"`
+	OwnerId   requests.Integer `position:"Query" name:"OwnerId"`
+}
+
+// QueryResellerAvailableQuotaResponse is the response struct for api QueryResellerAvailableQuota
+type QueryResellerAvailableQuotaResponse struct {
+	*responses.BaseResponse
+	RequestId string `json:"RequestId" xml:"RequestId"`
+	Code      string `json:"Code" xml:"Code"`
+	Message   string `json:"Message" xml:"Message"`
+	Success   bool   `json:"Success" xml:"Success"`
+	Data      string `json:"Data" xml:"Data"`
+}
+
+// CreateQueryResellerAvailableQuotaRequest creates a request to invoke QueryResellerAvailableQuota API
+func CreateQueryResellerAvailableQuotaRequest() (request *QueryResellerAvailableQuotaRequest) {
+	request = &QueryResellerAvailableQuotaRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("BssOpenApi", "2017-12-14", "QueryResellerAvailableQuota", "", "")
+	return
+}
+
+// CreateQueryResellerAvailableQuotaResponse creates a response to parse from QueryResellerAvailableQuota response
+func CreateQueryResellerAvailableQuotaResponse() (response *QueryResellerAvailableQuotaResponse) {
+	response = &QueryResellerAvailableQuotaResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 109 - 0
services/bssopenapi/set_reseller_user_alarm_threshold.go

@@ -0,0 +1,109 @@
+package bssopenapi
+
+//Licensed under the Apache License, Version 2.0 (the "License");
+//you may not use this file except in compliance with the License.
+//You may obtain a copy of the License at
+//
+//http://www.apache.org/licenses/LICENSE-2.0
+//
+//Unless required by applicable law or agreed to in writing, software
+//distributed under the License is distributed on an "AS IS" BASIS,
+//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+//See the License for the specific language governing permissions and
+//limitations under the License.
+//
+// Code generated by Alibaba Cloud SDK Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is regenerated.
+
+import (
+	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/requests"
+	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
+)
+
+// SetResellerUserAlarmThreshold invokes the bssopenapi.SetResellerUserAlarmThreshold API synchronously
+// api document: https://help.aliyun.com/api/bssopenapi/setreselleruseralarmthreshold.html
+func (client *Client) SetResellerUserAlarmThreshold(request *SetResellerUserAlarmThresholdRequest) (response *SetResellerUserAlarmThresholdResponse, err error) {
+	response = CreateSetResellerUserAlarmThresholdResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// SetResellerUserAlarmThresholdWithChan invokes the bssopenapi.SetResellerUserAlarmThreshold API asynchronously
+// api document: https://help.aliyun.com/api/bssopenapi/setreselleruseralarmthreshold.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) SetResellerUserAlarmThresholdWithChan(request *SetResellerUserAlarmThresholdRequest) (<-chan *SetResellerUserAlarmThresholdResponse, <-chan error) {
+	responseChan := make(chan *SetResellerUserAlarmThresholdResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.SetResellerUserAlarmThreshold(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// SetResellerUserAlarmThresholdWithCallback invokes the bssopenapi.SetResellerUserAlarmThreshold API asynchronously
+// api document: https://help.aliyun.com/api/bssopenapi/setreselleruseralarmthreshold.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) SetResellerUserAlarmThresholdWithCallback(request *SetResellerUserAlarmThresholdRequest, callback func(response *SetResellerUserAlarmThresholdResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *SetResellerUserAlarmThresholdResponse
+		var err error
+		defer close(result)
+		response, err = client.SetResellerUserAlarmThreshold(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// SetResellerUserAlarmThresholdRequest is the request struct for api SetResellerUserAlarmThreshold
+type SetResellerUserAlarmThresholdRequest struct {
+	*requests.RpcRequest
+	AlarmType       string           `position:"Query" name:"AlarmType"`
+	AlarmThresholds string           `position:"Query" name:"AlarmThresholds"`
+	OwnerId         requests.Integer `position:"Query" name:"OwnerId"`
+}
+
+// SetResellerUserAlarmThresholdResponse is the response struct for api SetResellerUserAlarmThreshold
+type SetResellerUserAlarmThresholdResponse struct {
+	*responses.BaseResponse
+	RequestId string `json:"RequestId" xml:"RequestId"`
+	Code      string `json:"Code" xml:"Code"`
+	Message   string `json:"Message" xml:"Message"`
+	Success   bool   `json:"Success" xml:"Success"`
+	Data      bool   `json:"Data" xml:"Data"`
+}
+
+// CreateSetResellerUserAlarmThresholdRequest creates a request to invoke SetResellerUserAlarmThreshold API
+func CreateSetResellerUserAlarmThresholdRequest() (request *SetResellerUserAlarmThresholdRequest) {
+	request = &SetResellerUserAlarmThresholdRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("BssOpenApi", "2017-12-14", "SetResellerUserAlarmThreshold", "", "")
+	return
+}
+
+// CreateSetResellerUserAlarmThresholdResponse creates a response to parse from SetResellerUserAlarmThreshold response
+func CreateSetResellerUserAlarmThresholdResponse() (response *SetResellerUserAlarmThresholdResponse) {
+	response = &SetResellerUserAlarmThresholdResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 110 - 0
services/bssopenapi/set_reseller_user_quota.go

@@ -0,0 +1,110 @@
+package bssopenapi
+
+//Licensed under the Apache License, Version 2.0 (the "License");
+//you may not use this file except in compliance with the License.
+//You may obtain a copy of the License at
+//
+//http://www.apache.org/licenses/LICENSE-2.0
+//
+//Unless required by applicable law or agreed to in writing, software
+//distributed under the License is distributed on an "AS IS" BASIS,
+//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+//See the License for the specific language governing permissions and
+//limitations under the License.
+//
+// Code generated by Alibaba Cloud SDK Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is regenerated.
+
+import (
+	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/requests"
+	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
+)
+
+// SetResellerUserQuota invokes the bssopenapi.SetResellerUserQuota API synchronously
+// api document: https://help.aliyun.com/api/bssopenapi/setreselleruserquota.html
+func (client *Client) SetResellerUserQuota(request *SetResellerUserQuotaRequest) (response *SetResellerUserQuotaResponse, err error) {
+	response = CreateSetResellerUserQuotaResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// SetResellerUserQuotaWithChan invokes the bssopenapi.SetResellerUserQuota API asynchronously
+// api document: https://help.aliyun.com/api/bssopenapi/setreselleruserquota.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) SetResellerUserQuotaWithChan(request *SetResellerUserQuotaRequest) (<-chan *SetResellerUserQuotaResponse, <-chan error) {
+	responseChan := make(chan *SetResellerUserQuotaResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.SetResellerUserQuota(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// SetResellerUserQuotaWithCallback invokes the bssopenapi.SetResellerUserQuota API asynchronously
+// api document: https://help.aliyun.com/api/bssopenapi/setreselleruserquota.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) SetResellerUserQuotaWithCallback(request *SetResellerUserQuotaRequest, callback func(response *SetResellerUserQuotaResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *SetResellerUserQuotaResponse
+		var err error
+		defer close(result)
+		response, err = client.SetResellerUserQuota(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// SetResellerUserQuotaRequest is the request struct for api SetResellerUserQuota
+type SetResellerUserQuotaRequest struct {
+	*requests.RpcRequest
+	Amount   string           `position:"Query" name:"Amount"`
+	OutBizId string           `position:"Query" name:"OutBizId"`
+	Currency string           `position:"Query" name:"Currency"`
+	OwnerId  requests.Integer `position:"Query" name:"OwnerId"`
+}
+
+// SetResellerUserQuotaResponse is the response struct for api SetResellerUserQuota
+type SetResellerUserQuotaResponse struct {
+	*responses.BaseResponse
+	RequestId string `json:"RequestId" xml:"RequestId"`
+	Code      string `json:"Code" xml:"Code"`
+	Message   string `json:"Message" xml:"Message"`
+	Success   bool   `json:"Success" xml:"Success"`
+	Data      bool   `json:"Data" xml:"Data"`
+}
+
+// CreateSetResellerUserQuotaRequest creates a request to invoke SetResellerUserQuota API
+func CreateSetResellerUserQuotaRequest() (request *SetResellerUserQuotaRequest) {
+	request = &SetResellerUserQuotaRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("BssOpenApi", "2017-12-14", "SetResellerUserQuota", "", "")
+	return
+}
+
+// CreateSetResellerUserQuotaResponse creates a response to parse from SetResellerUserQuota response
+func CreateSetResellerUserQuotaResponse() (response *SetResellerUserQuotaResponse) {
+	response = &SetResellerUserQuotaResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 109 - 0
services/bssopenapi/set_reseller_user_status.go

@@ -0,0 +1,109 @@
+package bssopenapi
+
+//Licensed under the Apache License, Version 2.0 (the "License");
+//you may not use this file except in compliance with the License.
+//You may obtain a copy of the License at
+//
+//http://www.apache.org/licenses/LICENSE-2.0
+//
+//Unless required by applicable law or agreed to in writing, software
+//distributed under the License is distributed on an "AS IS" BASIS,
+//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+//See the License for the specific language governing permissions and
+//limitations under the License.
+//
+// Code generated by Alibaba Cloud SDK Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is regenerated.
+
+import (
+	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/requests"
+	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
+)
+
+// SetResellerUserStatus invokes the bssopenapi.SetResellerUserStatus API synchronously
+// api document: https://help.aliyun.com/api/bssopenapi/setreselleruserstatus.html
+func (client *Client) SetResellerUserStatus(request *SetResellerUserStatusRequest) (response *SetResellerUserStatusResponse, err error) {
+	response = CreateSetResellerUserStatusResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// SetResellerUserStatusWithChan invokes the bssopenapi.SetResellerUserStatus API asynchronously
+// api document: https://help.aliyun.com/api/bssopenapi/setreselleruserstatus.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) SetResellerUserStatusWithChan(request *SetResellerUserStatusRequest) (<-chan *SetResellerUserStatusResponse, <-chan error) {
+	responseChan := make(chan *SetResellerUserStatusResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.SetResellerUserStatus(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// SetResellerUserStatusWithCallback invokes the bssopenapi.SetResellerUserStatus API asynchronously
+// api document: https://help.aliyun.com/api/bssopenapi/setreselleruserstatus.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) SetResellerUserStatusWithCallback(request *SetResellerUserStatusRequest, callback func(response *SetResellerUserStatusResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *SetResellerUserStatusResponse
+		var err error
+		defer close(result)
+		response, err = client.SetResellerUserStatus(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// SetResellerUserStatusRequest is the request struct for api SetResellerUserStatus
+type SetResellerUserStatusRequest struct {
+	*requests.RpcRequest
+	OwnerId      string `position:"Query" name:"OwnerId"`
+	Status       string `position:"Query" name:"Status"`
+	BusinessType string `position:"Query" name:"BusinessType"`
+}
+
+// SetResellerUserStatusResponse is the response struct for api SetResellerUserStatus
+type SetResellerUserStatusResponse struct {
+	*responses.BaseResponse
+	RequestId string `json:"RequestId" xml:"RequestId"`
+	Code      string `json:"Code" xml:"Code"`
+	Message   string `json:"Message" xml:"Message"`
+	Success   bool   `json:"Success" xml:"Success"`
+	Data      bool   `json:"Data" xml:"Data"`
+}
+
+// CreateSetResellerUserStatusRequest creates a request to invoke SetResellerUserStatus API
+func CreateSetResellerUserStatusRequest() (request *SetResellerUserStatusRequest) {
+	request = &SetResellerUserStatusRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("BssOpenApi", "2017-12-14", "SetResellerUserStatus", "", "")
+	return
+}
+
+// CreateSetResellerUserStatusResponse creates a response to parse from SetResellerUserStatus response
+func CreateSetResellerUserStatusResponse() (response *SetResellerUserStatusResponse) {
+	response = &SetResellerUserStatusResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 21 - 0
services/bssopenapi/struct_account_transactions_list.go

@@ -0,0 +1,21 @@
+package bssopenapi
+
+//Licensed under the Apache License, Version 2.0 (the "License");
+//you may not use this file except in compliance with the License.
+//You may obtain a copy of the License at
+//
+//http://www.apache.org/licenses/LICENSE-2.0
+//
+//Unless required by applicable law or agreed to in writing, software
+//distributed under the License is distributed on an "AS IS" BASIS,
+//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+//See the License for the specific language governing permissions and
+//limitations under the License.
+//
+// Code generated by Alibaba Cloud SDK Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is regenerated.
+
+// AccountTransactionsList is a nested struct in bssopenapi response
+type AccountTransactionsList struct {
+	AccountTransactionsListItem []AccountTransactionsListItem `json:"AccountTransactionsListItem" xml:"AccountTransactionsListItem"`
+}

+ 33 - 0
services/bssopenapi/struct_account_transactions_list_item.go

@@ -0,0 +1,33 @@
+package bssopenapi
+
+//Licensed under the Apache License, Version 2.0 (the "License");
+//you may not use this file except in compliance with the License.
+//You may obtain a copy of the License at
+//
+//http://www.apache.org/licenses/LICENSE-2.0
+//
+//Unless required by applicable law or agreed to in writing, software
+//distributed under the License is distributed on an "AS IS" BASIS,
+//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+//See the License for the specific language governing permissions and
+//limitations under the License.
+//
+// Code generated by Alibaba Cloud SDK Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is regenerated.
+
+// AccountTransactionsListItem is a nested struct in bssopenapi response
+type AccountTransactionsListItem struct {
+	TransactionNumber    string `json:"TransactionNumber" xml:"TransactionNumber"`
+	TransactionTime      string `json:"TransactionTime" xml:"TransactionTime"`
+	TransactionFlow      string `json:"TransactionFlow" xml:"TransactionFlow"`
+	TransactionType      string `json:"TransactionType" xml:"TransactionType"`
+	TransactionChannel   string `json:"TransactionChannel" xml:"TransactionChannel"`
+	TransactionChannelSN string `json:"TransactionChannelSN" xml:"TransactionChannelSN"`
+	FundType             string `json:"FundType" xml:"FundType"`
+	RecordID             string `json:"RecordID" xml:"RecordID"`
+	Remarks              string `json:"Remarks" xml:"Remarks"`
+	BillingCycle         string `json:"BillingCycle" xml:"BillingCycle"`
+	Amount               string `json:"Amount" xml:"Amount"`
+	Balance              string `json:"Balance" xml:"Balance"`
+	TransactionAccount   string `json:"TransactionAccount" xml:"TransactionAccount"`
+}

+ 24 - 0
services/bssopenapi/struct_ag_relation_dto.go

@@ -0,0 +1,24 @@
+package bssopenapi
+
+//Licensed under the Apache License, Version 2.0 (the "License");
+//you may not use this file except in compliance with the License.
+//You may obtain a copy of the License at
+//
+//http://www.apache.org/licenses/LICENSE-2.0
+//
+//Unless required by applicable law or agreed to in writing, software
+//distributed under the License is distributed on an "AS IS" BASIS,
+//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+//See the License for the specific language governing permissions and
+//limitations under the License.
+//
+// Code generated by Alibaba Cloud SDK Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is regenerated.
+
+// AgRelationDto is a nested struct in bssopenapi response
+type AgRelationDto struct {
+	Pk               string `json:"Pk" xml:"Pk"`
+	Type             string `json:"Type" xml:"Type"`
+	Mpk              string `json:"Mpk" xml:"Mpk"`
+	RamAdminRoleName string `json:"RamAdminRoleName" xml:"RamAdminRoleName"`
+}

+ 9 - 1
services/bssopenapi/struct_data.go

@@ -23,7 +23,9 @@ type Data struct {
 	TotalUnAppliedInvoiceAmount int                                    `json:"TotalUnAppliedInvoiceAmount" xml:"TotalUnAppliedInvoiceAmount"`
 	OriginalPrice               float64                                `json:"OriginalPrice" xml:"OriginalPrice"`
 	OrderId                     string                                 `json:"OrderId" xml:"OrderId"`
+	HostingStatus               string                                 `json:"HostingStatus" xml:"HostingStatus"`
 	TotalCount                  int                                    `json:"TotalCount" xml:"TotalCount"`
+	CreditLimitStatus           string                                 `json:"CreditLimitStatus" xml:"CreditLimitStatus"`
 	BillingCycle                string                                 `json:"BillingCycle" xml:"BillingCycle"`
 	Uid                         int                                    `json:"Uid" xml:"Uid"`
 	OutstandingAmount           float64                                `json:"OutstandingAmount" xml:"OutstandingAmount"`
@@ -38,6 +40,7 @@ type Data struct {
 	UserId                      int                                    `json:"UserId" xml:"UserId"`
 	NewInvoiceAmount            float64                                `json:"NewInvoiceAmount" xml:"NewInvoiceAmount"`
 	Marker                      string                                 `json:"Marker" xml:"Marker"`
+	AccountType                 string                                 `json:"AccountType" xml:"AccountType"`
 	Numerator                   int                                    `json:"Numerator" xml:"Numerator"`
 	AvailableAmount             string                                 `json:"AvailableAmount" xml:"AvailableAmount"`
 	PageSize                    int                                    `json:"PageSize" xml:"PageSize"`
@@ -51,23 +54,28 @@ type Data struct {
 	ThresholdAmount             string                                 `json:"ThresholdAmount" xml:"ThresholdAmount"`
 	InvoiceApplyId              int                                    `json:"InvoiceApplyId" xml:"InvoiceApplyId"`
 	Boolean                     bool                                   `json:"Boolean" xml:"Boolean"`
+	IsCertified                 bool                                   `json:"IsCertified" xml:"IsCertified"`
 	TotalInvoiceAmount          int                                    `json:"TotalInvoiceAmount" xml:"TotalInvoiceAmount"`
 	PageNum                     int                                    `json:"PageNum" xml:"PageNum"`
 	Bid                         string                                 `json:"Bid" xml:"Bid"`
 	Currency                    string                                 `json:"Currency" xml:"Currency"`
+	LoginEmail                  string                                 `json:"LoginEmail" xml:"LoginEmail"`
 	DiscountPrice               float64                                `json:"DiscountPrice" xml:"DiscountPrice"`
 	AccountName                 string                                 `json:"AccountName" xml:"AccountName"`
+	Mpk                         int                                    `json:"Mpk" xml:"Mpk"`
 	Denominator                 int                                    `json:"Denominator" xml:"Denominator"`
+	UidList                     UidList                                `json:"UidList" xml:"UidList"`
 	OmsData                     OmsData                                `json:"OmsData" xml:"OmsData"`
 	ModuleList                  ModuleList                             `json:"ModuleList" xml:"ModuleList"`
 	InstanceList                []Instance                             `json:"InstanceList" xml:"InstanceList"`
 	OrderList                   OrderListInQueryOrders                 `json:"OrderList" xml:"OrderList"`
 	Modules                     ModulesInQueryInstanceGaapCost         `json:"Modules" xml:"Modules"`
-	Items                       ItemsInQueryInstanceBill               `json:"Items" xml:"Items"`
 	ResourcePackages            ResourcePackages                       `json:"ResourcePackages" xml:"ResourcePackages"`
+	Items                       ItemsInQueryBill                       `json:"Items" xml:"Items"`
 	ProductList                 ProductList                            `json:"ProductList" xml:"ProductList"`
 	ModuleDetails               ModuleDetailsInGetSubscriptionPrice    `json:"ModuleDetails" xml:"ModuleDetails"`
 	PromotionDetails            PromotionDetailsInGetSubscriptionPrice `json:"PromotionDetails" xml:"PromotionDetails"`
+	AccountTransactionsList     AccountTransactionsList                `json:"AccountTransactionsList" xml:"AccountTransactionsList"`
 	EvaluateList                EvaluateList                           `json:"EvaluateList" xml:"EvaluateList"`
 	Promotions                  Promotions                             `json:"Promotions" xml:"Promotions"`
 	CustomerInvoiceAddressList  CustomerInvoiceAddressList             `json:"CustomerInvoiceAddressList" xml:"CustomerInvoiceAddressList"`

+ 21 - 0
services/bssopenapi/struct_data_in_get_customer_list.go

@@ -0,0 +1,21 @@
+package bssopenapi
+
+//Licensed under the Apache License, Version 2.0 (the "License");
+//you may not use this file except in compliance with the License.
+//You may obtain a copy of the License at
+//
+//http://www.apache.org/licenses/LICENSE-2.0
+//
+//Unless required by applicable law or agreed to in writing, software
+//distributed under the License is distributed on an "AS IS" BASIS,
+//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+//See the License for the specific language governing permissions and
+//limitations under the License.
+//
+// Code generated by Alibaba Cloud SDK Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is regenerated.
+
+// DataInGetCustomerList is a nested struct in bssopenapi response
+type DataInGetCustomerList struct {
+	UidList []string `json:"UidList" xml:"UidList"`
+}

+ 9 - 1
services/bssopenapi/struct_item_in_query_instance_bill.go

@@ -18,7 +18,6 @@ package bssopenapi
 // ItemInQueryInstanceBill is a nested struct in bssopenapi response
 type ItemInQueryInstanceBill struct {
 	InstanceID                string  `json:"InstanceID" xml:"InstanceID"`
-	ServicePeriod             float64 `json:"ServicePeriod" xml:"ServicePeriod"`
 	BillingType               string  `json:"BillingType" xml:"BillingType"`
 	CostUnit                  string  `json:"CostUnit" xml:"CostUnit"`
 	ProductCode               string  `json:"ProductCode" xml:"ProductCode"`
@@ -42,4 +41,13 @@ type ItemInQueryInstanceBill struct {
 	PaymentAmount             float64 `json:"PaymentAmount" xml:"PaymentAmount"`
 	OutstandingAmount         float64 `json:"OutstandingAmount" xml:"OutstandingAmount"`
 	Currency                  string  `json:"Currency" xml:"Currency"`
+	NickName                  string  `json:"NickName" xml:"NickName"`
+	ResourceGroup             string  `json:"ResourceGroup" xml:"ResourceGroup"`
+	Tag                       string  `json:"Tag" xml:"Tag"`
+	InstanceConfig            string  `json:"InstanceConfig" xml:"InstanceConfig"`
+	InstanceSpec              string  `json:"InstanceSpec" xml:"InstanceSpec"`
+	InternetIP                string  `json:"InternetIP" xml:"InternetIP"`
+	IntranetIP                string  `json:"IntranetIP" xml:"IntranetIP"`
+	Region                    string  `json:"Region" xml:"Region"`
+	Zone                      string  `json:"Zone" xml:"Zone"`
 }

+ 1 - 0
services/bssopenapi/struct_order.go

@@ -39,5 +39,6 @@ type Order struct {
 	Tax               string `json:"Tax" xml:"Tax"`
 	Config            string `json:"Config" xml:"Config"`
 	UsageStartTime    string `json:"UsageStartTime" xml:"UsageStartTime"`
+	RelatedOrderId    string `json:"RelatedOrderId" xml:"RelatedOrderId"`
 	PretaxAmount      string `json:"PretaxAmount" xml:"PretaxAmount"`
 }

+ 21 - 0
services/bssopenapi/struct_uid_list.go

@@ -0,0 +1,21 @@
+package bssopenapi
+
+//Licensed under the Apache License, Version 2.0 (the "License");
+//you may not use this file except in compliance with the License.
+//You may obtain a copy of the License at
+//
+//http://www.apache.org/licenses/LICENSE-2.0
+//
+//Unless required by applicable law or agreed to in writing, software
+//distributed under the License is distributed on an "AS IS" BASIS,
+//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+//See the License for the specific language governing permissions and
+//limitations under the License.
+//
+// Code generated by Alibaba Cloud SDK Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is regenerated.
+
+// UidList is a nested struct in bssopenapi response
+type UidList struct {
+	Item []string `json:"Item" xml:"Item"`
+}