Documentation
¶
Index ¶
- Constants
- type ActionSummaryOverviewItem
- type AllocateCreditPoolRequest
- type AllocateCreditPoolRequestParams
- type AllocateCreditPoolResponse
- type AllocateCreditPoolResponseParams
- type AllocateCustomerCreditRequest
- type AllocateCustomerCreditRequestParams
- type AllocateCustomerCreditResponse
- type AllocateCustomerCreditResponseParams
- type ApproveClientApplyRequest
- type ApproveClientApplyRequestParams
- type ApproveClientApplyResponse
- type ApproveClientApplyResponseParams
- type BillDetailData
- type BusinessInfo
- type BusinessSummaryOverviewItem
- type Client
- func (c *Client) AllocateCreditPool(request *AllocateCreditPoolRequest) (response *AllocateCreditPoolResponse, err error)
- func (c *Client) AllocateCreditPoolWithContext(ctx context.Context, request *AllocateCreditPoolRequest) (response *AllocateCreditPoolResponse, err error)
- func (c *Client) AllocateCustomerCredit(request *AllocateCustomerCreditRequest) (response *AllocateCustomerCreditResponse, err error)
- func (c *Client) AllocateCustomerCreditWithContext(ctx context.Context, request *AllocateCustomerCreditRequest) (response *AllocateCustomerCreditResponse, err error)
- func (c *Client) ApproveClientApply(request *ApproveClientApplyRequest) (response *ApproveClientApplyResponse, err error)
- func (c *Client) ApproveClientApplyWithContext(ctx context.Context, request *ApproveClientApplyRequest) (response *ApproveClientApplyResponse, err error)
- func (c *Client) CreateAccount(request *CreateAccountRequest) (response *CreateAccountResponse, err error)
- func (c *Client) CreateAccountWithContext(ctx context.Context, request *CreateAccountRequest) (response *CreateAccountResponse, err error)
- func (c *Client) CreateAndSendClientInvitationMail(request *CreateAndSendClientInvitationMailRequest) (response *CreateAndSendClientInvitationMailResponse, err error)
- func (c *Client) CreateAndSendClientInvitationMailWithContext(ctx context.Context, request *CreateAndSendClientInvitationMailRequest) (response *CreateAndSendClientInvitationMailResponse, err error)
- func (c *Client) DescribeBillDetail(request *DescribeBillDetailRequest) (response *DescribeBillDetailResponse, err error)
- func (c *Client) DescribeBillDetailWithContext(ctx context.Context, request *DescribeBillDetailRequest) (response *DescribeBillDetailResponse, err error)
- func (c *Client) DescribeBillDownloadUrl(request *DescribeBillDownloadUrlRequest) (response *DescribeBillDownloadUrlResponse, err error)
- func (c *Client) DescribeBillDownloadUrlWithContext(ctx context.Context, request *DescribeBillDownloadUrlRequest) (response *DescribeBillDownloadUrlResponse, err error)
- func (c *Client) DescribeBillSummary(request *DescribeBillSummaryRequest) (response *DescribeBillSummaryResponse, err error)
- func (c *Client) DescribeBillSummaryByPayMode(request *DescribeBillSummaryByPayModeRequest) (response *DescribeBillSummaryByPayModeResponse, err error)
- func (c *Client) DescribeBillSummaryByPayModeWithContext(ctx context.Context, request *DescribeBillSummaryByPayModeRequest) (response *DescribeBillSummaryByPayModeResponse, err error)
- func (c *Client) DescribeBillSummaryByProduct(request *DescribeBillSummaryByProductRequest) (response *DescribeBillSummaryByProductResponse, err error)
- func (c *Client) DescribeBillSummaryByProductWithContext(ctx context.Context, request *DescribeBillSummaryByProductRequest) (response *DescribeBillSummaryByProductResponse, err error)
- func (c *Client) DescribeBillSummaryByRegion(request *DescribeBillSummaryByRegionRequest) (response *DescribeBillSummaryByRegionResponse, err error)
- func (c *Client) DescribeBillSummaryByRegionWithContext(ctx context.Context, request *DescribeBillSummaryByRegionRequest) (response *DescribeBillSummaryByRegionResponse, err error)
- func (c *Client) DescribeBillSummaryWithContext(ctx context.Context, request *DescribeBillSummaryRequest) (response *DescribeBillSummaryResponse, err error)
- func (c *Client) DescribeCustomerBillDetail(request *DescribeCustomerBillDetailRequest) (response *DescribeCustomerBillDetailResponse, err error)
- func (c *Client) DescribeCustomerBillDetailWithContext(ctx context.Context, request *DescribeCustomerBillDetailRequest) (response *DescribeCustomerBillDetailResponse, err error)
- func (c *Client) DescribeCustomerBillDownloadUrl(request *DescribeCustomerBillDownloadUrlRequest) (response *DescribeCustomerBillDownloadUrlResponse, err error)
- func (c *Client) DescribeCustomerBillDownloadUrlWithContext(ctx context.Context, request *DescribeCustomerBillDownloadUrlRequest) (response *DescribeCustomerBillDownloadUrlResponse, err error)
- func (c *Client) DescribeCustomerBillSummary(request *DescribeCustomerBillSummaryRequest) (response *DescribeCustomerBillSummaryResponse, err error)
- func (c *Client) DescribeCustomerBillSummaryWithContext(ctx context.Context, request *DescribeCustomerBillSummaryRequest) (response *DescribeCustomerBillSummaryResponse, err error)
- func (c *Client) DescribeCustomerInfo(request *DescribeCustomerInfoRequest) (response *DescribeCustomerInfoResponse, err error)
- func (c *Client) DescribeCustomerInfoWithContext(ctx context.Context, request *DescribeCustomerInfoRequest) (response *DescribeCustomerInfoResponse, err error)
- func (c *Client) DescribeCustomerUin(request *DescribeCustomerUinRequest) (response *DescribeCustomerUinResponse, err error)
- func (c *Client) DescribeCustomerUinWithContext(ctx context.Context, request *DescribeCustomerUinRequest) (response *DescribeCustomerUinResponse, err error)
- func (c *Client) ForceQN(request *ForceQNRequest) (response *ForceQNResponse, err error)
- func (c *Client) ForceQNWithContext(ctx context.Context, request *ForceQNRequest) (response *ForceQNResponse, err error)
- func (c *Client) GetCountryCodes(request *GetCountryCodesRequest) (response *GetCountryCodesResponse, err error)
- func (c *Client) GetCountryCodesWithContext(ctx context.Context, request *GetCountryCodesRequest) (response *GetCountryCodesResponse, err error)
- func (c *Client) GetTradeConfigList(request *GetTradeConfigListRequest) (response *GetTradeConfigListResponse, err error)
- func (c *Client) GetTradeConfigListWithContext(ctx context.Context, request *GetTradeConfigListRequest) (response *GetTradeConfigListResponse, err error)
- func (c *Client) ModifyClientRemark(request *ModifyClientRemarkRequest) (response *ModifyClientRemarkResponse, err error)
- func (c *Client) ModifyClientRemarkWithContext(ctx context.Context, request *ModifyClientRemarkRequest) (response *ModifyClientRemarkResponse, err error)
- func (c *Client) QueryAccountVerificationStatus(request *QueryAccountVerificationStatusRequest) (response *QueryAccountVerificationStatusResponse, err error)
- func (c *Client) QueryAccountVerificationStatusWithContext(ctx context.Context, request *QueryAccountVerificationStatusRequest) (response *QueryAccountVerificationStatusResponse, err error)
- func (c *Client) QueryCreditAllocationHistory(request *QueryCreditAllocationHistoryRequest) (response *QueryCreditAllocationHistoryResponse, err error)
- func (c *Client) QueryCreditAllocationHistoryWithContext(ctx context.Context, request *QueryCreditAllocationHistoryRequest) (response *QueryCreditAllocationHistoryResponse, err error)
- func (c *Client) QueryCreditByUinList(request *QueryCreditByUinListRequest) (response *QueryCreditByUinListResponse, err error)
- func (c *Client) QueryCreditByUinListWithContext(ctx context.Context, request *QueryCreditByUinListRequest) (response *QueryCreditByUinListResponse, err error)
- func (c *Client) QueryCustomerBillingQuota(request *QueryCustomerBillingQuotaRequest) (response *QueryCustomerBillingQuotaResponse, err error)
- func (c *Client) QueryCustomerBillingQuotaWithContext(ctx context.Context, request *QueryCustomerBillingQuotaRequest) (response *QueryCustomerBillingQuotaResponse, err error)
- func (c *Client) QueryCustomersCredit(request *QueryCustomersCreditRequest) (response *QueryCustomersCreditResponse, err error)
- func (c *Client) QueryCustomersCreditWithContext(ctx context.Context, request *QueryCustomersCreditRequest) (response *QueryCustomersCreditResponse, err error)
- func (c *Client) QueryDirectCustomersCredit(request *QueryDirectCustomersCreditRequest) (response *QueryDirectCustomersCreditResponse, err error)
- func (c *Client) QueryDirectCustomersCreditWithContext(ctx context.Context, request *QueryDirectCustomersCreditRequest) (response *QueryDirectCustomersCreditResponse, err error)
- func (c *Client) QueryPartnerCredit(request *QueryPartnerCreditRequest) (response *QueryPartnerCreditResponse, err error)
- func (c *Client) QueryPartnerCreditWithContext(ctx context.Context, request *QueryPartnerCreditRequest) (response *QueryPartnerCreditResponse, err error)
- func (c *Client) QueryPendingClientsV2(request *QueryPendingClientsV2Request) (response *QueryPendingClientsV2Response, err error)
- func (c *Client) QueryPendingClientsV2WithContext(ctx context.Context, request *QueryPendingClientsV2Request) (response *QueryPendingClientsV2Response, err error)
- func (c *Client) QueryPolicyProductListByCode(request *QueryPolicyProductListByCodeRequest) (response *QueryPolicyProductListByCodeResponse, err error)
- func (c *Client) QueryPolicyProductListByCodeWithContext(ctx context.Context, request *QueryPolicyProductListByCodeRequest) (response *QueryPolicyProductListByCodeResponse, err error)
- func (c *Client) QueryVoucherAmountByUin(request *QueryVoucherAmountByUinRequest) (response *QueryVoucherAmountByUinResponse, err error)
- func (c *Client) QueryVoucherAmountByUinWithContext(ctx context.Context, request *QueryVoucherAmountByUinRequest) (response *QueryVoucherAmountByUinResponse, err error)
- func (c *Client) QueryVoucherListByUin(request *QueryVoucherListByUinRequest) (response *QueryVoucherListByUinResponse, err error)
- func (c *Client) QueryVoucherListByUinWithContext(ctx context.Context, request *QueryVoucherListByUinRequest) (response *QueryVoucherListByUinResponse, err error)
- func (c *Client) QueryVoucherPool(request *QueryVoucherPoolRequest) (response *QueryVoucherPoolResponse, err error)
- func (c *Client) QueryVoucherPoolWithContext(ctx context.Context, request *QueryVoucherPoolRequest) (response *QueryVoucherPoolResponse, err error)
- func (c *Client) SendVerifyCode(request *SendVerifyCodeRequest) (response *SendVerifyCodeResponse, err error)
- func (c *Client) SendVerifyCodeWithContext(ctx context.Context, request *SendVerifyCodeRequest) (response *SendVerifyCodeResponse, err error)
- type CountryCodeItem
- type CreateAccountRequest
- type CreateAccountRequestParams
- type CreateAccountResponse
- type CreateAccountResponseParams
- type CreateAndSendClientInvitationMailRequest
- type CreateAndSendClientInvitationMailRequestParams
- type CreateAndSendClientInvitationMailResponse
- type CreateAndSendClientInvitationMailResponseParams
- type CustomerBillDetailData
- type DescribeBillDetailRequest
- type DescribeBillDetailRequestParams
- type DescribeBillDetailResponse
- type DescribeBillDetailResponseParams
- type DescribeBillDownloadUrlRequest
- type DescribeBillDownloadUrlRequestParams
- type DescribeBillDownloadUrlResponse
- type DescribeBillDownloadUrlResponseParams
- type DescribeBillSummaryByPayModeRequest
- type DescribeBillSummaryByPayModeRequestParams
- type DescribeBillSummaryByPayModeResponse
- type DescribeBillSummaryByPayModeResponseParams
- type DescribeBillSummaryByProductRequest
- type DescribeBillSummaryByProductRequestParams
- type DescribeBillSummaryByProductResponse
- type DescribeBillSummaryByProductResponseParams
- type DescribeBillSummaryByRegionRequest
- type DescribeBillSummaryByRegionRequestParams
- type DescribeBillSummaryByRegionResponse
- type DescribeBillSummaryByRegionResponseParams
- type DescribeBillSummaryRequest
- type DescribeBillSummaryRequestParams
- type DescribeBillSummaryResponse
- type DescribeBillSummaryResponseParams
- type DescribeCustomerBillDetailRequest
- type DescribeCustomerBillDetailRequestParams
- type DescribeCustomerBillDetailResponse
- type DescribeCustomerBillDetailResponseParams
- type DescribeCustomerBillDownloadUrlRequest
- type DescribeCustomerBillDownloadUrlRequestParams
- type DescribeCustomerBillDownloadUrlResponse
- type DescribeCustomerBillDownloadUrlResponseParams
- type DescribeCustomerBillSummaryRequest
- type DescribeCustomerBillSummaryRequestParams
- type DescribeCustomerBillSummaryResponse
- type DescribeCustomerBillSummaryResponseParams
- type DescribeCustomerInfoData
- type DescribeCustomerInfoRequest
- type DescribeCustomerInfoRequestParams
- type DescribeCustomerInfoResponse
- type DescribeCustomerInfoResponseParams
- type DescribeCustomerUinData
- type DescribeCustomerUinRequest
- type DescribeCustomerUinRequestParams
- type DescribeCustomerUinResponse
- type DescribeCustomerUinResponseParams
- type ForceQNRequest
- type ForceQNRequestParams
- type ForceQNResponse
- type ForceQNResponseParams
- type GetCountryCodesRequest
- type GetCountryCodesRequestParams
- type GetCountryCodesResponse
- type GetCountryCodesResponseParams
- type GetTradeConfigListRequest
- type GetTradeConfigListRequestParams
- type GetTradeConfigListResponse
- type GetTradeConfigListResponseParams
- type ModifyClientRemarkRequest
- type ModifyClientRemarkRequestParams
- type ModifyClientRemarkResponse
- type ModifyClientRemarkResponseParams
- type PayModeSummaryOverviewItem
- type PolicyProductList
- type QueryAccountVerificationStatusRequest
- type QueryAccountVerificationStatusRequestParams
- type QueryAccountVerificationStatusResponse
- type QueryAccountVerificationStatusResponseParams
- type QueryCreditAllocationHistoryData
- type QueryCreditAllocationHistoryRequest
- type QueryCreditAllocationHistoryRequestParams
- type QueryCreditAllocationHistoryResponse
- type QueryCreditAllocationHistoryResponseParams
- type QueryCreditByUinListRequest
- type QueryCreditByUinListRequestParams
- type QueryCreditByUinListResponse
- type QueryCreditByUinListResponseParams
- type QueryCustomerBillingQuotaData
- type QueryCustomerBillingQuotaRequest
- type QueryCustomerBillingQuotaRequestParams
- type QueryCustomerBillingQuotaResponse
- type QueryCustomerBillingQuotaResponseParams
- type QueryCustomersCreditData
- type QueryCustomersCreditRequest
- type QueryCustomersCreditRequestParams
- type QueryCustomersCreditResponse
- type QueryCustomersCreditResponseParams
- type QueryDirectCustomersCreditData
- type QueryDirectCustomersCreditRequest
- type QueryDirectCustomersCreditRequestParams
- type QueryDirectCustomersCreditResponse
- type QueryDirectCustomersCreditResponseParams
- type QueryPartnerCreditRequest
- type QueryPartnerCreditRequestParams
- type QueryPartnerCreditResponse
- type QueryPartnerCreditResponseParams
- type QueryPendingClientsV2Request
- type QueryPendingClientsV2RequestParams
- type QueryPendingClientsV2Response
- type QueryPendingClientsV2ResponseParams
- type QueryPendingCustomersItem
- type QueryPolicyProductListByCodeRequest
- type QueryPolicyProductListByCodeRequestParams
- type QueryPolicyProductListByCodeResponse
- type QueryPolicyProductListByCodeResponseParams
- type QueryVoucherAmountByUinItem
- type QueryVoucherAmountByUinRequest
- type QueryVoucherAmountByUinRequestParams
- type QueryVoucherAmountByUinResponse
- type QueryVoucherAmountByUinResponseParams
- type QueryVoucherListByUinItem
- type QueryVoucherListByUinRequest
- type QueryVoucherListByUinRequestParams
- type QueryVoucherListByUinResponse
- type QueryVoucherListByUinResponseParams
- type QueryVoucherListByUinVoucherItem
- type QueryVoucherPoolRequest
- type QueryVoucherPoolRequestParams
- type QueryVoucherPoolResponse
- type QueryVoucherPoolResponseParams
- type RegionSummaryOverviewItem
- type SendVerifyCodeRequest
- type SendVerifyCodeRequestParams
- type SendVerifyCodeResponse
- type SendVerifyCodeResponseParams
- type SummaryDetails
- type TagInfo
- type TradeOneNode
- type TradeTwoNode
Constants ¶
const ( // CAM signature/authentication error. AUTHFAILURE = "AuthFailure" // Operation failed. FAILEDOPERATION = "FailedOperation" // The account balance is insufficient. FAILEDOPERATION_BALANCEINSUFFICIENT = "FailedOperation.BalanceInsufficient" // The account is a group account and cannot be bound as a sub-customer. FAILEDOPERATION_BINDORGANIZATIONACCOUNT = "FailedOperation.BindOrganizationAccount" // The sub-customer balance is less than zero. FAILEDOPERATION_CLIENTBALANCEISLESSOREQUALZERO = "FailedOperation.ClientBalanceIsLessOrEqualZero" // The sub-customer has purchased an sp package. FAILEDOPERATION_CLIENTBUYSP = "FailedOperation.ClientBuySP" // The sub-customer has created a shared unit. FAILEDOPERATION_CLIENTCREATESHAREUNIT = "FailedOperation.ClientCreateShareUnit" // The sub-customer has joined a shared unit. FAILEDOPERATION_CLIENTJOINSHAREUNIT = "FailedOperation.ClientJoinShareUnit" // The user has not applied to become a sub-customer. FAILEDOPERATION_CLIENTNOTAPPLY = "FailedOperation.ClientNotApply" // FAILEDOPERATION_EXCEEDMAXBINDCOUNT = "FailedOperation.ExceedMaxBindCount" // FailedOperation.MailIsRegistered FAILEDOPERATION_MAILISREGISTERED = "FailedOperation.MailIsRegistered" // The number of registered accounts for the current mobile number has reached the maximum limit. Please change the phone number and try again. FAILEDOPERATION_PHONEBINDUPPER = "FailedOperation.PhoneBindUpper" // The interval between sending invitation links is less than three minutes. Please try again later. FAILEDOPERATION_SENDMAILLIMIT180 = "FailedOperation.SendMailLimit180" // Verification codes are sent too frequently. Please try again later. FAILEDOPERATION_SENDVERIFYCODELIMIT = "FailedOperation.SendVerifyCodeLimit" // The interval for sending SMS verification codes should be greater than 60 seconds. Please try again later. FAILEDOPERATION_SENDVERIFYCODELIMIT60 = "FailedOperation.SendVerifyCodeLimit60" // The primary industry id and secondary industry id do not match. FAILEDOPERATION_TRADEINFOINCORRECT = "FailedOperation.TradeInfoIncorrect" // Tencent cloud ka account cannot become a sub-customer. FAILEDOPERATION_UINALREADYKA = "FailedOperation.UinAlreadyKA" // Invalid UIN FAILEDOPERATION_UININVALID = "FailedOperation.UinInvalid" // UIN is not a reseller. FAILEDOPERATION_UINNOTAGENT = "FailedOperation.UinNotAgent" // UIN is a non-reseller (master reseller, reseller, sub-reseller) account. FAILEDOPERATION_UINNOTRESELLER = "FailedOperation.UinNotReseller" // Incorrect verification code. FAILEDOPERATION_VERIFICATIONCODEILLEGAL = "FailedOperation.VerificationCodeIllegal" // Internal error. INTERNALERROR = "InternalError" // Invalid parameter INVALIDPARAMETER = "InvalidParameter" // InvalidParameter.AccountTypeContentIncorrect INVALIDPARAMETER_ACCOUNTTYPECONTENTINCORRECT = "InvalidParameter.AccountTypeContentIncorrect" // InvalidParameter.AreaContentIncorrect INVALIDPARAMETER_AREACONTENTINCORRECT = "InvalidParameter.AreaContentIncorrect" // InvalidParameter.AreaFormatIncorrect INVALIDPARAMETER_AREAFORMATINCORRECT = "InvalidParameter.AreaFormatIncorrect" // InvalidParameter.ConfirmPasswordContentIncorrect INVALIDPARAMETER_CONFIRMPASSWORDCONTENTINCORRECT = "InvalidParameter.ConfirmPasswordContentIncorrect" // InvalidParameter.CountryCodeContentIncorrect INVALIDPARAMETER_COUNTRYCODECONTENTINCORRECT = "InvalidParameter.CountryCodeContentIncorrect" // InvalidParameter.CountryCodeFormatIncorrect INVALIDPARAMETER_COUNTRYCODEFORMATINCORRECT = "InvalidParameter.CountryCodeFormatIncorrect" // InvalidParameter.MailFormatIncorrect INVALIDPARAMETER_MAILFORMATINCORRECT = "InvalidParameter.MailFormatIncorrect" // Incorrect page parameter value. INVALIDPARAMETER_PAGE = "InvalidParameter.Page" // InvalidParameter.PasswordContentIncorrect INVALIDPARAMETER_PASSWORDCONTENTINCORRECT = "InvalidParameter.PasswordContentIncorrect" // InvalidParameter.PasswordFormatIncorrect INVALIDPARAMETER_PASSWORDFORMATINCORRECT = "InvalidParameter.PasswordFormatIncorrect" // InvalidParameter.PhoneNumFormatIncorrect INVALIDPARAMETER_PHONENUMFORMATINCORRECT = "InvalidParameter.PhoneNumFormatIncorrect" // Invalid parameter value. INVALIDPARAMETERVALUE = "InvalidParameterValue" // InvalidParameterValue.AccountTypeEmpty INVALIDPARAMETERVALUE_ACCOUNTTYPEEMPTY = "InvalidParameterValue.AccountTypeEmpty" // InvalidParameterValue.AreaEmpty INVALIDPARAMETERVALUE_AREAEMPTY = "InvalidParameterValue.AreaEmpty" // InvalidParameterValue.CountryCodeEmpty INVALIDPARAMETERVALUE_COUNTRYCODEEMPTY = "InvalidParameterValue.CountryCodeEmpty" // The credit quota has exceeded the limit with the newly allocated quota. INVALIDPARAMETERVALUE_CREDITAMOUNTOUTOFRANGE = "InvalidParameterValue.CreditAmountOutOfRange" // The dimension data entered is incorrect. INVALIDPARAMETERVALUE_INVALIDDIMENSION = "InvalidParameterValue.InvalidDimension" // Incorrect month value INVALIDPARAMETERVALUE_INVALIDMONTH = "InvalidParameterValue.InvalidMonth" // InvalidParameterValue.InvalidUin INVALIDPARAMETERVALUE_INVALIDUIN = "InvalidParameterValue.InvalidUin" // InvalidParameterValue.MailEmpty INVALIDPARAMETERVALUE_MAILEMPTY = "InvalidParameterValue.MailEmpty" // InvalidParameterValue.PasswordEmpty INVALIDPARAMETERVALUE_PASSWORDEMPTY = "InvalidParameterValue.PasswordEmpty" // InvalidParameterValue.PhoneNumEmpty INVALIDPARAMETERVALUE_PHONENUMEMPTY = "InvalidParameterValue.PhoneNumEmpty" // The primary industry id or secondary industry id is empty. INVALIDPARAMETERVALUE_TRADEINFOEMPTY = "InvalidParameterValue.TradeInfoEmpty" // The user has become a sub-customer of another reseller. INVALIDPARAMETERVALUE_UINALREADYCLIENT = "InvalidParameterValue.UinAlreadyClient" // The user is a sub-account. INVALIDPARAMETERVALUE_UINISSUBACCOUNT = "InvalidParameterValue.UinIsSubAccount" // Invalid UinList. Array length value: 1-50. INVALIDPARAMETERVALUE_UINLIST = "InvalidParameterValue.UinList" // The current region does not support creating a Tencent Cloud International account. INVALIDPARAMETERVALUE_UNSUPPORTAREA = "InvalidParameterValue.UnSupportArea" // INVALIDPARAMETERVALUE_VOUCHERAMOUNTOUTOFRANGE = "InvalidParameterValue.VoucherAmountOutOfRange" // Missing parameter MISSINGPARAMETER = "MissingParameter" // Operation denied. OPERATIONDENIED = "OperationDenied" // System busy. Please try again later. OPERATIONDENIED_SERVICEBUSY = "OperationDenied.ServiceBusy" // Too many requests. REQUESTLIMITEXCEEDED = "RequestLimitExceeded" // Unauthorized operation. UNAUTHORIZEDOPERATION = "UnauthorizedOperation" // The current user is not a customer. UNAUTHORIZEDOPERATION_NOTCUSTOMERUIN = "UnauthorizedOperation.NotCustomerUin" // The current user doesn’t have permission for the operation. UNAUTHORIZEDOPERATION_UINNOAUTH = "UnauthorizedOperation.UinNoAuth" // Unknown parameter UNKNOWNPARAMETER = "UnknownParameter" )
const APIVersion = "2022-09-28"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ActionSummaryOverviewItem ¶
type ActionSummaryOverviewItem struct { // Transaction type code. ActionType *string `json:"ActionType,omitnil,omitempty" name:"ActionType"` // Transaction type name. ActionTypeName *string `json:"ActionTypeName,omitnil,omitempty" name:"ActionTypeName"` // Actual total consumption, up to 8 decimal places. OriginalCost *string `json:"OriginalCost,omitnil,omitempty" name:"OriginalCost"` // Voucher payment amount, up to 8 decimal places. VoucherPayAmount *string `json:"VoucherPayAmount,omitnil,omitempty" name:"VoucherPayAmount"` // Total consumption, up to 8 decimal places. TotalCost *string `json:"TotalCost,omitnil,omitempty" name:"TotalCost"` }
type AllocateCreditPoolRequest ¶
type AllocateCreditPoolRequest struct { *tchttp.BaseRequest // Second-level reseller UIN. SubAgentUin *int64 `json:"SubAgentUin,omitnil,omitempty" name:"SubAgentUin"` // Allocated amount. Credit *float64 `json:"Credit,omitnil,omitempty" name:"Credit"` }
func NewAllocateCreditPoolRequest ¶
func NewAllocateCreditPoolRequest() (request *AllocateCreditPoolRequest)
func (*AllocateCreditPoolRequest) FromJsonString ¶
func (r *AllocateCreditPoolRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*AllocateCreditPoolRequest) ToJsonString ¶
func (r *AllocateCreditPoolRequest) ToJsonString() string
type AllocateCreditPoolRequestParams ¶
type AllocateCreditPoolRequestParams struct { // Second-level reseller UIN. SubAgentUin *int64 `json:"SubAgentUin,omitnil,omitempty" name:"SubAgentUin"` // Allocated amount. Credit *float64 `json:"Credit,omitnil,omitempty" name:"Credit"` }
Predefined struct for user
type AllocateCreditPoolResponse ¶
type AllocateCreditPoolResponse struct { *tchttp.BaseResponse Response *AllocateCreditPoolResponseParams `json:"Response"` }
func NewAllocateCreditPoolResponse ¶
func NewAllocateCreditPoolResponse() (response *AllocateCreditPoolResponse)
func (*AllocateCreditPoolResponse) FromJsonString ¶
func (r *AllocateCreditPoolResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*AllocateCreditPoolResponse) ToJsonString ¶
func (r *AllocateCreditPoolResponse) ToJsonString() string
type AllocateCreditPoolResponseParams ¶
type AllocateCreditPoolResponseParams struct { // Current total remaining quota. RemainingCredit *float64 `json:"RemainingCredit,omitnil,omitempty" name:"RemainingCredit"` // Total allocated quota. TotalCredit *float64 `json:"TotalCredit,omitnil,omitempty" name:"TotalCredit"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type AllocateCustomerCreditRequest ¶
type AllocateCustomerCreditRequest struct { *tchttp.BaseRequest // Specific value of the credit allocated to the customer AddedCredit *float64 `json:"AddedCredit,omitnil,omitempty" name:"AddedCredit"` // Customer UIN ClientUin *uint64 `json:"ClientUin,omitnil,omitempty" name:"ClientUin"` }
func NewAllocateCustomerCreditRequest ¶
func NewAllocateCustomerCreditRequest() (request *AllocateCustomerCreditRequest)
func (*AllocateCustomerCreditRequest) FromJsonString ¶
func (r *AllocateCustomerCreditRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*AllocateCustomerCreditRequest) ToJsonString ¶
func (r *AllocateCustomerCreditRequest) ToJsonString() string
type AllocateCustomerCreditRequestParams ¶
type AllocateCustomerCreditRequestParams struct { // Specific value of the credit allocated to the customer AddedCredit *float64 `json:"AddedCredit,omitnil,omitempty" name:"AddedCredit"` // Customer UIN ClientUin *uint64 `json:"ClientUin,omitnil,omitempty" name:"ClientUin"` }
Predefined struct for user
type AllocateCustomerCreditResponse ¶
type AllocateCustomerCreditResponse struct { *tchttp.BaseResponse Response *AllocateCustomerCreditResponseParams `json:"Response"` }
func NewAllocateCustomerCreditResponse ¶
func NewAllocateCustomerCreditResponse() (response *AllocateCustomerCreditResponse)
func (*AllocateCustomerCreditResponse) FromJsonString ¶
func (r *AllocateCustomerCreditResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*AllocateCustomerCreditResponse) ToJsonString ¶
func (r *AllocateCustomerCreditResponse) ToJsonString() string
type AllocateCustomerCreditResponseParams ¶
type AllocateCustomerCreditResponseParams struct { // The updated total credit TotalCredit *float64 `json:"TotalCredit,omitnil,omitempty" name:"TotalCredit"` // The updated available credit RemainingCredit *float64 `json:"RemainingCredit,omitnil,omitempty" name:"RemainingCredit"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type ApproveClientApplyRequest ¶
type ApproveClientApplyRequest struct { *tchttp.BaseRequest // Sub-customer uin. ClientUin *int64 `json:"ClientUin,omitnil,omitempty" name:"ClientUin"` // Approval type. only supports pass and reject. ApproveType *string `json:"ApproveType,omitnil,omitempty" name:"ApproveType"` // Reason for rejection. required only when approvetype is reject. RejectReason *string `json:"RejectReason,omitnil,omitempty" name:"RejectReason"` }
func NewApproveClientApplyRequest ¶
func NewApproveClientApplyRequest() (request *ApproveClientApplyRequest)
func (*ApproveClientApplyRequest) FromJsonString ¶
func (r *ApproveClientApplyRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ApproveClientApplyRequest) ToJsonString ¶
func (r *ApproveClientApplyRequest) ToJsonString() string
type ApproveClientApplyRequestParams ¶
type ApproveClientApplyRequestParams struct { // Sub-customer uin. ClientUin *int64 `json:"ClientUin,omitnil,omitempty" name:"ClientUin"` // Approval type. only supports pass and reject. ApproveType *string `json:"ApproveType,omitnil,omitempty" name:"ApproveType"` // Reason for rejection. required only when approvetype is reject. RejectReason *string `json:"RejectReason,omitnil,omitempty" name:"RejectReason"` }
Predefined struct for user
type ApproveClientApplyResponse ¶
type ApproveClientApplyResponse struct { *tchttp.BaseResponse Response *ApproveClientApplyResponseParams `json:"Response"` }
func NewApproveClientApplyResponse ¶
func NewApproveClientApplyResponse() (response *ApproveClientApplyResponse)
func (*ApproveClientApplyResponse) FromJsonString ¶
func (r *ApproveClientApplyResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ApproveClientApplyResponse) ToJsonString ¶
func (r *ApproveClientApplyResponse) ToJsonString() string
type ApproveClientApplyResponseParams ¶
type ApproveClientApplyResponseParams struct { // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type BillDetailData ¶
type BillDetailData struct { // reseller account. PayerAccountId *int64 `json:"PayerAccountId,omitnil,omitempty" name:"PayerAccountId"` // Subaccount. OwnerAccountId *int64 `json:"OwnerAccountId,omitnil,omitempty" name:"OwnerAccountId"` // Operator account. OperatorAccountId *int64 `json:"OperatorAccountId,omitnil,omitempty" name:"OperatorAccountId"` // Product name. ProductName *string `json:"ProductName,omitnil,omitempty" name:"ProductName"` // Billing mode // . // Monthly subscription (annual and monthly). // Pay-As-You-Go resources. // Standard ri reserved instance. BillingMode *string `json:"BillingMode,omitnil,omitempty" name:"BillingMode"` // Project name. // . ProjectName *string `json:"ProjectName,omitnil,omitempty" name:"ProjectName"` // Resource region. Region *string `json:"Region,omitnil,omitempty" name:"Region"` // Resource available zone. AvailabilityZone *string `json:"AvailabilityZone,omitnil,omitempty" name:"AvailabilityZone"` // Instance id. InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Instance name. InstanceName *string `json:"InstanceName,omitnil,omitempty" name:"InstanceName"` // Sub-Product name // . SubProductName *string `json:"SubProductName,omitnil,omitempty" name:"SubProductName"` // Settlement type. TransactionType *string `json:"TransactionType,omitnil,omitempty" name:"TransactionType"` // <Transaction id>. TransactionId *string `json:"TransactionId,omitnil,omitempty" name:"TransactionId"` // Settlement time. TransactionTime *string `json:"TransactionTime,omitnil,omitempty" name:"TransactionTime"` // <Resource start time>. UsageStartTime *string `json:"UsageStartTime,omitnil,omitempty" name:"UsageStartTime"` // <Resource end usage time>. UsageEndTime *string `json:"UsageEndTime,omitnil,omitempty" name:"UsageEndTime"` // Component. ComponentType *string `json:"ComponentType,omitnil,omitempty" name:"ComponentType"` // Component name. ComponentName *string `json:"ComponentName,omitnil,omitempty" name:"ComponentName"` // Component list price. ComponentListPrice *string `json:"ComponentListPrice,omitnil,omitempty" name:"ComponentListPrice"` // Price unit. ComponentPriceMeasurementUnit *string `json:"ComponentPriceMeasurementUnit,omitnil,omitempty" name:"ComponentPriceMeasurementUnit"` // Component usage. ComponentUsage *string `json:"ComponentUsage,omitnil,omitempty" name:"ComponentUsage"` // Component usage unit. ComponentUsageUnit *string `json:"ComponentUsageUnit,omitnil,omitempty" name:"ComponentUsageUnit"` // Resource usage duration. UsageDuration *string `json:"UsageDuration,omitnil,omitempty" name:"UsageDuration"` // duration unit. DurationUnit *string `json:"DurationUnit,omitnil,omitempty" name:"DurationUnit"` // Total original price. // Original cost = component list price * component usage * usage duration. OriginalCost *string `json:"OriginalCost,omitnil,omitempty" name:"OriginalCost"` // Discount (default is 1). DiscountRate *string `json:"DiscountRate,omitnil,omitempty" name:"DiscountRate"` // Currency. Currency *string `json:"Currency,omitnil,omitempty" name:"Currency"` // Total cost after discount. TotalAmountAfterDiscount *string `json:"TotalAmountAfterDiscount,omitnil,omitempty" name:"TotalAmountAfterDiscount"` // Voucher deduction amount. VoucherDeduction *string `json:"VoucherDeduction,omitnil,omitempty" name:"VoucherDeduction"` // = Total Amount After Discount - Voucher Deduction TotalCost *string `json:"TotalCost,omitnil,omitempty" name:"TotalCost"` // Identifier (id). Id *string `json:"Id,omitnil,omitempty" name:"Id"` }
type BusinessInfo ¶
type BusinessInfo struct { // Product name. BusinessCodeName *string `json:"BusinessCodeName,omitnil,omitempty" name:"BusinessCodeName"` // Product code. BusinessCode *string `json:"BusinessCode,omitnil,omitempty" name:"BusinessCode"` // Original price. OriginalCost *string `json:"OriginalCost,omitnil,omitempty" name:"OriginalCost"` // Voucher amount. VoucherPayAmount *string `json:"VoucherPayAmount,omitnil,omitempty" name:"VoucherPayAmount"` // RI deduction. RICost *string `json:"RICost,omitnil,omitempty" name:"RICost"` // Total amount. TotalCost *string `json:"TotalCost,omitnil,omitempty" name:"TotalCost"` }
type BusinessSummaryOverviewItem ¶
type BusinessSummaryOverviewItem struct { // Product code. BusinessCode *string `json:"BusinessCode,omitnil,omitempty" name:"BusinessCode"` // Product name. BusinessCodeName *string `json:"BusinessCodeName,omitnil,omitempty" name:"BusinessCodeName"` // List price, keep 8 decimal places. OriginalCost *string `json:"OriginalCost,omitnil,omitempty" name:"OriginalCost"` // Voucher payment amount, keep 8 decimal places. VoucherPayAmount *string `json:"VoucherPayAmount,omitnil,omitempty" name:"VoucherPayAmount"` // Consumption amount, keep 8 decimal places. TotalCost *string `json:"TotalCost,omitnil,omitempty" name:"TotalCost"` }
type Client ¶
func NewClient ¶
func NewClient(credential common.CredentialIface, region string, clientProfile *profile.ClientProfile) (client *Client, err error)
func NewClientWithSecretId ¶
Deprecated
func (*Client) AllocateCreditPool ¶
func (c *Client) AllocateCreditPool(request *AllocateCreditPoolRequest) (response *AllocateCreditPoolResponse, err error)
AllocateCreditPool This API is used to allocate credit pools to second-level resellers by distributors.
Callable roles: Distributor
error code that may be returned:
INVALIDPARAMETERVALUE_VOUCHERAMOUNTOUTOFRANGE = "InvalidParameterValue.VoucherAmountOutOfRange" OPERATIONDENIED_SERVICEBUSY = "OperationDenied.ServiceBusy" UNAUTHORIZEDOPERATION_UINNOAUTH = "UnauthorizedOperation.UinNoAuth"
func (*Client) AllocateCreditPoolWithContext ¶
func (c *Client) AllocateCreditPoolWithContext(ctx context.Context, request *AllocateCreditPoolRequest) (response *AllocateCreditPoolResponse, err error)
AllocateCreditPool This API is used to allocate credit pools to second-level resellers by distributors.
Callable roles: Distributor
error code that may be returned:
INVALIDPARAMETERVALUE_VOUCHERAMOUNTOUTOFRANGE = "InvalidParameterValue.VoucherAmountOutOfRange" OPERATIONDENIED_SERVICEBUSY = "OperationDenied.ServiceBusy" UNAUTHORIZEDOPERATION_UINNOAUTH = "UnauthorizedOperation.UinNoAuth"
func (*Client) AllocateCustomerCredit ¶
func (c *Client) AllocateCustomerCredit(request *AllocateCustomerCreditRequest) (response *AllocateCustomerCreditResponse, err error)
AllocateCustomerCredit This API is used for a partner to set credit for a customer, such as increasing or lowering the credit and setting it to 0.
1. The credit is valid permanently and will not be zeroed regularly.
2. The customer's service will be suspended when its available credit is set to 0, so caution should be exercised with this operation.
3. To prevent the customer from making new purchases without affecting their use of previously purchased products, the partner can set their available credit to 0 after obtaining the non-stop feature privilege from the channel manager.
4. The set credit is an increment of the current available credit and cannot exceed the remaining allocable credit. Setting the credit to a negative value indicates that it will be repossessed. The available credit can be set to 0 at the minimum.
Callable roles: Distributor, Second-level reseller, Reseller
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_BALANCEINSUFFICIENT = "FailedOperation.BalanceInsufficient" INVALIDPARAMETERVALUE_CREDITAMOUNTOUTOFRANGE = "InvalidParameterValue.CreditAmountOutOfRange" OPERATIONDENIED_SERVICEBUSY = "OperationDenied.ServiceBusy" UNAUTHORIZEDOPERATION_UINNOAUTH = "UnauthorizedOperation.UinNoAuth"
func (*Client) AllocateCustomerCreditWithContext ¶
func (c *Client) AllocateCustomerCreditWithContext(ctx context.Context, request *AllocateCustomerCreditRequest) (response *AllocateCustomerCreditResponse, err error)
AllocateCustomerCredit This API is used for a partner to set credit for a customer, such as increasing or lowering the credit and setting it to 0.
1. The credit is valid permanently and will not be zeroed regularly.
2. The customer's service will be suspended when its available credit is set to 0, so caution should be exercised with this operation.
3. To prevent the customer from making new purchases without affecting their use of previously purchased products, the partner can set their available credit to 0 after obtaining the non-stop feature privilege from the channel manager.
4. The set credit is an increment of the current available credit and cannot exceed the remaining allocable credit. Setting the credit to a negative value indicates that it will be repossessed. The available credit can be set to 0 at the minimum.
Callable roles: Distributor, Second-level reseller, Reseller
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_BALANCEINSUFFICIENT = "FailedOperation.BalanceInsufficient" INVALIDPARAMETERVALUE_CREDITAMOUNTOUTOFRANGE = "InvalidParameterValue.CreditAmountOutOfRange" OPERATIONDENIED_SERVICEBUSY = "OperationDenied.ServiceBusy" UNAUTHORIZEDOPERATION_UINNOAUTH = "UnauthorizedOperation.UinNoAuth"
func (*Client) ApproveClientApply ¶
func (c *Client) ApproveClientApply(request *ApproveClientApplyRequest) (response *ApproveClientApplyResponse, err error)
ApproveClientApply Description: This API is used by resellers to review applications to become sub-customers. Note: This API is used to apply for the allowlist. If needed, please contact your business representative.
Callable roles: Reseller, Distributer, Second-level reseller
error code that may be returned:
FAILEDOPERATION_BINDORGANIZATIONACCOUNT = "FailedOperation.BindOrganizationAccount" FAILEDOPERATION_CLIENTBALANCEISLESSOREQUALZERO = "FailedOperation.ClientBalanceIsLessOrEqualZero" FAILEDOPERATION_CLIENTBUYSP = "FailedOperation.ClientBuySP" FAILEDOPERATION_CLIENTCREATESHAREUNIT = "FailedOperation.ClientCreateShareUnit" FAILEDOPERATION_CLIENTJOINSHAREUNIT = "FailedOperation.ClientJoinShareUnit" FAILEDOPERATION_CLIENTNOTAPPLY = "FailedOperation.ClientNotApply" FAILEDOPERATION_EXCEEDMAXBINDCOUNT = "FailedOperation.ExceedMaxBindCount" FAILEDOPERATION_UINALREADYKA = "FailedOperation.UinAlreadyKA" FAILEDOPERATION_UINNOTRESELLER = "FailedOperation.UinNotReseller" INVALIDPARAMETERVALUE_INVALIDUIN = "InvalidParameterValue.InvalidUin" INVALIDPARAMETERVALUE_UINALREADYCLIENT = "InvalidParameterValue.UinAlreadyClient" INVALIDPARAMETERVALUE_UINISSUBACCOUNT = "InvalidParameterValue.UinIsSubAccount" OPERATIONDENIED_SERVICEBUSY = "OperationDenied.ServiceBusy" UNAUTHORIZEDOPERATION_UINNOAUTH = "UnauthorizedOperation.UinNoAuth"
func (*Client) ApproveClientApplyWithContext ¶
func (c *Client) ApproveClientApplyWithContext(ctx context.Context, request *ApproveClientApplyRequest) (response *ApproveClientApplyResponse, err error)
ApproveClientApply Description: This API is used by resellers to review applications to become sub-customers. Note: This API is used to apply for the allowlist. If needed, please contact your business representative.
Callable roles: Reseller, Distributer, Second-level reseller
error code that may be returned:
FAILEDOPERATION_BINDORGANIZATIONACCOUNT = "FailedOperation.BindOrganizationAccount" FAILEDOPERATION_CLIENTBALANCEISLESSOREQUALZERO = "FailedOperation.ClientBalanceIsLessOrEqualZero" FAILEDOPERATION_CLIENTBUYSP = "FailedOperation.ClientBuySP" FAILEDOPERATION_CLIENTCREATESHAREUNIT = "FailedOperation.ClientCreateShareUnit" FAILEDOPERATION_CLIENTJOINSHAREUNIT = "FailedOperation.ClientJoinShareUnit" FAILEDOPERATION_CLIENTNOTAPPLY = "FailedOperation.ClientNotApply" FAILEDOPERATION_EXCEEDMAXBINDCOUNT = "FailedOperation.ExceedMaxBindCount" FAILEDOPERATION_UINALREADYKA = "FailedOperation.UinAlreadyKA" FAILEDOPERATION_UINNOTRESELLER = "FailedOperation.UinNotReseller" INVALIDPARAMETERVALUE_INVALIDUIN = "InvalidParameterValue.InvalidUin" INVALIDPARAMETERVALUE_UINALREADYCLIENT = "InvalidParameterValue.UinAlreadyClient" INVALIDPARAMETERVALUE_UINISSUBACCOUNT = "InvalidParameterValue.UinIsSubAccount" OPERATIONDENIED_SERVICEBUSY = "OperationDenied.ServiceBusy" UNAUTHORIZEDOPERATION_UINNOAUTH = "UnauthorizedOperation.UinNoAuth"
func (*Client) CreateAccount ¶
func (c *Client) CreateAccount(request *CreateAccountRequest) (response *CreateAccountResponse, err error)
CreateAccount This API is used to create Tencent Cloud customer accounts for distributor/second-level resellers.After the account is created, it will be automatically bound to the partner account.Note:
1. Create a Tencent Cloud account. The entered email address and mobile phone number need to be verified by the partner for validity.
2. Customers need to add personal information when logging in for the first time.
3. This interface needs to be applied for allowlist usage. Please contact the channel manager to initiate the application process.
Callable roles: Distributor, Second-level reseller, Reseller
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION_EXCEEDMAXBINDCOUNT = "FailedOperation.ExceedMaxBindCount" FAILEDOPERATION_MAILISREGISTERED = "FailedOperation.MailIsRegistered" FAILEDOPERATION_PHONEBINDUPPER = "FailedOperation.PhoneBindUpper" FAILEDOPERATION_TRADEINFOINCORRECT = "FailedOperation.TradeInfoIncorrect" FAILEDOPERATION_VERIFICATIONCODEILLEGAL = "FailedOperation.VerificationCodeIllegal" INTERNALERROR = "InternalError" INVALIDPARAMETER_ACCOUNTTYPECONTENTINCORRECT = "InvalidParameter.AccountTypeContentIncorrect" INVALIDPARAMETER_AREACONTENTINCORRECT = "InvalidParameter.AreaContentIncorrect" INVALIDPARAMETER_AREAFORMATINCORRECT = "InvalidParameter.AreaFormatIncorrect" INVALIDPARAMETER_CONFIRMPASSWORDCONTENTINCORRECT = "InvalidParameter.ConfirmPasswordContentIncorrect" INVALIDPARAMETER_COUNTRYCODECONTENTINCORRECT = "InvalidParameter.CountryCodeContentIncorrect" INVALIDPARAMETER_COUNTRYCODEFORMATINCORRECT = "InvalidParameter.CountryCodeFormatIncorrect" INVALIDPARAMETER_MAILFORMATINCORRECT = "InvalidParameter.MailFormatIncorrect" INVALIDPARAMETER_PASSWORDCONTENTINCORRECT = "InvalidParameter.PasswordContentIncorrect" INVALIDPARAMETER_PASSWORDFORMATINCORRECT = "InvalidParameter.PasswordFormatIncorrect" INVALIDPARAMETER_PHONENUMFORMATINCORRECT = "InvalidParameter.PhoneNumFormatIncorrect" INVALIDPARAMETERVALUE_ACCOUNTTYPEEMPTY = "InvalidParameterValue.AccountTypeEmpty" INVALIDPARAMETERVALUE_AREAEMPTY = "InvalidParameterValue.AreaEmpty" INVALIDPARAMETERVALUE_COUNTRYCODEEMPTY = "InvalidParameterValue.CountryCodeEmpty" INVALIDPARAMETERVALUE_MAILEMPTY = "InvalidParameterValue.MailEmpty" INVALIDPARAMETERVALUE_PASSWORDEMPTY = "InvalidParameterValue.PasswordEmpty" INVALIDPARAMETERVALUE_PHONENUMEMPTY = "InvalidParameterValue.PhoneNumEmpty" INVALIDPARAMETERVALUE_TRADEINFOEMPTY = "InvalidParameterValue.TradeInfoEmpty" INVALIDPARAMETERVALUE_UNSUPPORTAREA = "InvalidParameterValue.UnSupportArea" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) CreateAccountWithContext ¶
func (c *Client) CreateAccountWithContext(ctx context.Context, request *CreateAccountRequest) (response *CreateAccountResponse, err error)
CreateAccount This API is used to create Tencent Cloud customer accounts for distributor/second-level resellers.After the account is created, it will be automatically bound to the partner account.Note:
1. Create a Tencent Cloud account. The entered email address and mobile phone number need to be verified by the partner for validity.
2. Customers need to add personal information when logging in for the first time.
3. This interface needs to be applied for allowlist usage. Please contact the channel manager to initiate the application process.
Callable roles: Distributor, Second-level reseller, Reseller
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION_EXCEEDMAXBINDCOUNT = "FailedOperation.ExceedMaxBindCount" FAILEDOPERATION_MAILISREGISTERED = "FailedOperation.MailIsRegistered" FAILEDOPERATION_PHONEBINDUPPER = "FailedOperation.PhoneBindUpper" FAILEDOPERATION_TRADEINFOINCORRECT = "FailedOperation.TradeInfoIncorrect" FAILEDOPERATION_VERIFICATIONCODEILLEGAL = "FailedOperation.VerificationCodeIllegal" INTERNALERROR = "InternalError" INVALIDPARAMETER_ACCOUNTTYPECONTENTINCORRECT = "InvalidParameter.AccountTypeContentIncorrect" INVALIDPARAMETER_AREACONTENTINCORRECT = "InvalidParameter.AreaContentIncorrect" INVALIDPARAMETER_AREAFORMATINCORRECT = "InvalidParameter.AreaFormatIncorrect" INVALIDPARAMETER_CONFIRMPASSWORDCONTENTINCORRECT = "InvalidParameter.ConfirmPasswordContentIncorrect" INVALIDPARAMETER_COUNTRYCODECONTENTINCORRECT = "InvalidParameter.CountryCodeContentIncorrect" INVALIDPARAMETER_COUNTRYCODEFORMATINCORRECT = "InvalidParameter.CountryCodeFormatIncorrect" INVALIDPARAMETER_MAILFORMATINCORRECT = "InvalidParameter.MailFormatIncorrect" INVALIDPARAMETER_PASSWORDCONTENTINCORRECT = "InvalidParameter.PasswordContentIncorrect" INVALIDPARAMETER_PASSWORDFORMATINCORRECT = "InvalidParameter.PasswordFormatIncorrect" INVALIDPARAMETER_PHONENUMFORMATINCORRECT = "InvalidParameter.PhoneNumFormatIncorrect" INVALIDPARAMETERVALUE_ACCOUNTTYPEEMPTY = "InvalidParameterValue.AccountTypeEmpty" INVALIDPARAMETERVALUE_AREAEMPTY = "InvalidParameterValue.AreaEmpty" INVALIDPARAMETERVALUE_COUNTRYCODEEMPTY = "InvalidParameterValue.CountryCodeEmpty" INVALIDPARAMETERVALUE_MAILEMPTY = "InvalidParameterValue.MailEmpty" INVALIDPARAMETERVALUE_PASSWORDEMPTY = "InvalidParameterValue.PasswordEmpty" INVALIDPARAMETERVALUE_PHONENUMEMPTY = "InvalidParameterValue.PhoneNumEmpty" INVALIDPARAMETERVALUE_TRADEINFOEMPTY = "InvalidParameterValue.TradeInfoEmpty" INVALIDPARAMETERVALUE_UNSUPPORTAREA = "InvalidParameterValue.UnSupportArea" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) CreateAndSendClientInvitationMail ¶
func (c *Client) CreateAndSendClientInvitationMail(request *CreateAndSendClientInvitationMailRequest) (response *CreateAndSendClientInvitationMailResponse, err error)
CreateAndSendClientInvitationMail This API is used to apply for the allowlist. If needed, please contact your business representative.Directions:
1.This API is used to create an invitation link, which you can send to a specified email address.
2.Customer need to click the invitation link in the email, fill in and submit the required information.
3.You can review the customer's application in customer management after submission.
Note:This API is used to manually send the invitation link to the customer if the specified email does not receive it.
Callable roles: Distributor, Second-level reseller, Reseller
error code that may be returned:
FAILEDOPERATION_SENDMAILLIMIT180 = "FailedOperation.SendMailLimit180" OPERATIONDENIED_SERVICEBUSY = "OperationDenied.ServiceBusy" REQUESTLIMITEXCEEDED = "RequestLimitExceeded"
func (*Client) CreateAndSendClientInvitationMailWithContext ¶
func (c *Client) CreateAndSendClientInvitationMailWithContext(ctx context.Context, request *CreateAndSendClientInvitationMailRequest) (response *CreateAndSendClientInvitationMailResponse, err error)
CreateAndSendClientInvitationMail This API is used to apply for the allowlist. If needed, please contact your business representative.Directions:
1.This API is used to create an invitation link, which you can send to a specified email address.
2.Customer need to click the invitation link in the email, fill in and submit the required information.
3.You can review the customer's application in customer management after submission.
Note:This API is used to manually send the invitation link to the customer if the specified email does not receive it.
Callable roles: Distributor, Second-level reseller, Reseller
error code that may be returned:
FAILEDOPERATION_SENDMAILLIMIT180 = "FailedOperation.SendMailLimit180" OPERATIONDENIED_SERVICEBUSY = "OperationDenied.ServiceBusy" REQUESTLIMITEXCEEDED = "RequestLimitExceeded"
func (*Client) DescribeBillDetail ¶
func (c *Client) DescribeBillDetail(request *DescribeBillDetailRequest) (response *DescribeBillDetailResponse, err error)
DescribeBillDetail Description: End-customer queries its own bill details.
Callable role: End-customer.
error code that may be returned:
INVALIDPARAMETERVALUE_INVALIDMONTH = "InvalidParameterValue.InvalidMonth" OPERATIONDENIED_SERVICEBUSY = "OperationDenied.ServiceBusy" UNAUTHORIZEDOPERATION_UINNOAUTH = "UnauthorizedOperation.UinNoAuth"
func (*Client) DescribeBillDetailWithContext ¶
func (c *Client) DescribeBillDetailWithContext(ctx context.Context, request *DescribeBillDetailRequest) (response *DescribeBillDetailResponse, err error)
DescribeBillDetail Description: End-customer queries its own bill details.
Callable role: End-customer.
error code that may be returned:
INVALIDPARAMETERVALUE_INVALIDMONTH = "InvalidParameterValue.InvalidMonth" OPERATIONDENIED_SERVICEBUSY = "OperationDenied.ServiceBusy" UNAUTHORIZEDOPERATION_UINNOAUTH = "UnauthorizedOperation.UinNoAuth"
func (*Client) DescribeBillDownloadUrl ¶
func (c *Client) DescribeBillDownloadUrl(request *DescribeBillDownloadUrlRequest) (response *DescribeBillDownloadUrlResponse, err error)
DescribeBillDownloadUrl Description: This API is used to download billing files and return billing file URLs for sub-customers.
Callable role: Enb-customer.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INVALIDPARAMETER = "InvalidParameter"
func (*Client) DescribeBillDownloadUrlWithContext ¶
func (c *Client) DescribeBillDownloadUrlWithContext(ctx context.Context, request *DescribeBillDownloadUrlRequest) (response *DescribeBillDownloadUrlResponse, err error)
DescribeBillDownloadUrl Description: This API is used to download billing files and return billing file URLs for sub-customers.
Callable role: Enb-customer.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INVALIDPARAMETER = "InvalidParameter"
func (*Client) DescribeBillSummary ¶
func (c *Client) DescribeBillSummary(request *DescribeBillSummaryRequest) (response *DescribeBillSummaryResponse, err error)
DescribeBillSummary Description: External API for L1 billing of Sub-customer billing center.
Callable role: End-customer.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_INVALIDDIMENSION = "InvalidParameterValue.InvalidDimension" INVALIDPARAMETERVALUE_INVALIDMONTH = "InvalidParameterValue.InvalidMonth"
func (*Client) DescribeBillSummaryByPayMode ¶
func (c *Client) DescribeBillSummaryByPayMode(request *DescribeBillSummaryByPayModeRequest) (response *DescribeBillSummaryByPayModeResponse, err error)
DescribeBillSummaryByPayMode This API is used to obtain the total amount of customer bills by payment mode.
Callable roles: Distributor, Second-level reseller, Reseller
error code that may be returned:
INVALIDPARAMETERVALUE_INVALIDMONTH = "InvalidParameterValue.InvalidMonth" OPERATIONDENIED_SERVICEBUSY = "OperationDenied.ServiceBusy" UNAUTHORIZEDOPERATION_UINNOAUTH = "UnauthorizedOperation.UinNoAuth"
func (*Client) DescribeBillSummaryByPayModeWithContext ¶
func (c *Client) DescribeBillSummaryByPayModeWithContext(ctx context.Context, request *DescribeBillSummaryByPayModeRequest) (response *DescribeBillSummaryByPayModeResponse, err error)
DescribeBillSummaryByPayMode This API is used to obtain the total amount of customer bills by payment mode.
Callable roles: Distributor, Second-level reseller, Reseller
error code that may be returned:
INVALIDPARAMETERVALUE_INVALIDMONTH = "InvalidParameterValue.InvalidMonth" OPERATIONDENIED_SERVICEBUSY = "OperationDenied.ServiceBusy" UNAUTHORIZEDOPERATION_UINNOAUTH = "UnauthorizedOperation.UinNoAuth"
func (*Client) DescribeBillSummaryByProduct ¶
func (c *Client) DescribeBillSummaryByProduct(request *DescribeBillSummaryByProductRequest) (response *DescribeBillSummaryByProductResponse, err error)
DescribeBillSummaryByProduct Description: Obtain the summarized value of sub - account bills by product dimension.
Callable roles: Distributor, Second-level reseller, Reseller
error code that may be returned:
INVALIDPARAMETERVALUE_INVALIDMONTH = "InvalidParameterValue.InvalidMonth" OPERATIONDENIED_SERVICEBUSY = "OperationDenied.ServiceBusy" UNAUTHORIZEDOPERATION_UINNOAUTH = "UnauthorizedOperation.UinNoAuth"
func (*Client) DescribeBillSummaryByProductWithContext ¶
func (c *Client) DescribeBillSummaryByProductWithContext(ctx context.Context, request *DescribeBillSummaryByProductRequest) (response *DescribeBillSummaryByProductResponse, err error)
DescribeBillSummaryByProduct Description: Obtain the summarized value of sub - account bills by product dimension.
Callable roles: Distributor, Second-level reseller, Reseller
error code that may be returned:
INVALIDPARAMETERVALUE_INVALIDMONTH = "InvalidParameterValue.InvalidMonth" OPERATIONDENIED_SERVICEBUSY = "OperationDenied.ServiceBusy" UNAUTHORIZEDOPERATION_UINNOAUTH = "UnauthorizedOperation.UinNoAuth"
func (*Client) DescribeBillSummaryByRegion ¶
func (c *Client) DescribeBillSummaryByRegion(request *DescribeBillSummaryByRegionRequest) (response *DescribeBillSummaryByRegionResponse, err error)
DescribeBillSummaryByRegion Description: Obtain the summarized value of sub - account bills by region through API.
Callable roles: Distributor, Second-level reseller, Reseller
error code that may be returned:
INVALIDPARAMETERVALUE_INVALIDMONTH = "InvalidParameterValue.InvalidMonth" OPERATIONDENIED_SERVICEBUSY = "OperationDenied.ServiceBusy" UNAUTHORIZEDOPERATION_UINNOAUTH = "UnauthorizedOperation.UinNoAuth"
func (*Client) DescribeBillSummaryByRegionWithContext ¶
func (c *Client) DescribeBillSummaryByRegionWithContext(ctx context.Context, request *DescribeBillSummaryByRegionRequest) (response *DescribeBillSummaryByRegionResponse, err error)
DescribeBillSummaryByRegion Description: Obtain the summarized value of sub - account bills by region through API.
Callable roles: Distributor, Second-level reseller, Reseller
error code that may be returned:
INVALIDPARAMETERVALUE_INVALIDMONTH = "InvalidParameterValue.InvalidMonth" OPERATIONDENIED_SERVICEBUSY = "OperationDenied.ServiceBusy" UNAUTHORIZEDOPERATION_UINNOAUTH = "UnauthorizedOperation.UinNoAuth"
func (*Client) DescribeBillSummaryWithContext ¶
func (c *Client) DescribeBillSummaryWithContext(ctx context.Context, request *DescribeBillSummaryRequest) (response *DescribeBillSummaryResponse, err error)
DescribeBillSummary Description: External API for L1 billing of Sub-customer billing center.
Callable role: End-customer.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_INVALIDDIMENSION = "InvalidParameterValue.InvalidDimension" INVALIDPARAMETERVALUE_INVALIDMONTH = "InvalidParameterValue.InvalidMonth"
func (*Client) DescribeCustomerBillDetail ¶
func (c *Client) DescribeCustomerBillDetail(request *DescribeCustomerBillDetailRequest) (response *DescribeCustomerBillDetailResponse, err error)
DescribeCustomerBillDetail This API is used to query the customer bill details by resellers.
Callable roles: Distributor, Second-level reseller, Reseller
error code that may be returned:
INVALIDPARAMETERVALUE_INVALIDMONTH = "InvalidParameterValue.InvalidMonth" OPERATIONDENIED_SERVICEBUSY = "OperationDenied.ServiceBusy" UNAUTHORIZEDOPERATION_NOTCUSTOMERUIN = "UnauthorizedOperation.NotCustomerUin" UNAUTHORIZEDOPERATION_UINNOAUTH = "UnauthorizedOperation.UinNoAuth"
func (*Client) DescribeCustomerBillDetailWithContext ¶
func (c *Client) DescribeCustomerBillDetailWithContext(ctx context.Context, request *DescribeCustomerBillDetailRequest) (response *DescribeCustomerBillDetailResponse, err error)
DescribeCustomerBillDetail This API is used to query the customer bill details by resellers.
Callable roles: Distributor, Second-level reseller, Reseller
error code that may be returned:
INVALIDPARAMETERVALUE_INVALIDMONTH = "InvalidParameterValue.InvalidMonth" OPERATIONDENIED_SERVICEBUSY = "OperationDenied.ServiceBusy" UNAUTHORIZEDOPERATION_NOTCUSTOMERUIN = "UnauthorizedOperation.NotCustomerUin" UNAUTHORIZEDOPERATION_UINNOAUTH = "UnauthorizedOperation.UinNoAuth"
func (*Client) DescribeCustomerBillDownloadUrl ¶
func (c *Client) DescribeCustomerBillDownloadUrl(request *DescribeCustomerBillDownloadUrlRequest) (response *DescribeCustomerBillDownloadUrlResponse, err error)
DescribeCustomerBillDownloadUrl This API is used to get the URL for downloading the customer bill file by reseller. The download conditions are as follows:
1. Detailed bills (billDetail and billDetailPack) can be downloaded starting from June 2022; resource bills (billResource and billResourcePack) can be downloaded starting from November 2023.
2. Bill packages (billDetailPack and billResourcePack) can only be downloaded after billing.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INVALIDPARAMETER = "InvalidParameter" UNAUTHORIZEDOPERATION_UINNOAUTH = "UnauthorizedOperation.UinNoAuth"
func (*Client) DescribeCustomerBillDownloadUrlWithContext ¶
func (c *Client) DescribeCustomerBillDownloadUrlWithContext(ctx context.Context, request *DescribeCustomerBillDownloadUrlRequest) (response *DescribeCustomerBillDownloadUrlResponse, err error)
DescribeCustomerBillDownloadUrl This API is used to get the URL for downloading the customer bill file by reseller. The download conditions are as follows:
1. Detailed bills (billDetail and billDetailPack) can be downloaded starting from June 2022; resource bills (billResource and billResourcePack) can be downloaded starting from November 2023.
2. Bill packages (billDetailPack and billResourcePack) can only be downloaded after billing.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INVALIDPARAMETER = "InvalidParameter" UNAUTHORIZEDOPERATION_UINNOAUTH = "UnauthorizedOperation.UinNoAuth"
func (*Client) DescribeCustomerBillSummary ¶
func (c *Client) DescribeCustomerBillSummary(request *DescribeCustomerBillSummaryRequest) (response *DescribeCustomerBillSummaryResponse, err error)
DescribeCustomerBillSummary This API is used to query the total amount of customer bills.
Callable roles: Distributor, Second-level reseller, Reseller
error code that may be returned:
INVALIDPARAMETERVALUE_INVALIDMONTH = "InvalidParameterValue.InvalidMonth" OPERATIONDENIED_SERVICEBUSY = "OperationDenied.ServiceBusy" UNAUTHORIZEDOPERATION_UINNOAUTH = "UnauthorizedOperation.UinNoAuth"
func (*Client) DescribeCustomerBillSummaryWithContext ¶
func (c *Client) DescribeCustomerBillSummaryWithContext(ctx context.Context, request *DescribeCustomerBillSummaryRequest) (response *DescribeCustomerBillSummaryResponse, err error)
DescribeCustomerBillSummary This API is used to query the total amount of customer bills.
Callable roles: Distributor, Second-level reseller, Reseller
error code that may be returned:
INVALIDPARAMETERVALUE_INVALIDMONTH = "InvalidParameterValue.InvalidMonth" OPERATIONDENIED_SERVICEBUSY = "OperationDenied.ServiceBusy" UNAUTHORIZEDOPERATION_UINNOAUTH = "UnauthorizedOperation.UinNoAuth"
func (*Client) DescribeCustomerInfo ¶
func (c *Client) DescribeCustomerInfo(request *DescribeCustomerInfoRequest) (response *DescribeCustomerInfoResponse, err error)
DescribeCustomerInfo This API is used to query the customer information.
Callable roles: Distributor, Reseller
error code that may be returned:
OPERATIONDENIED_SERVICEBUSY = "OperationDenied.ServiceBusy" UNAUTHORIZEDOPERATION_UINNOAUTH = "UnauthorizedOperation.UinNoAuth"
func (*Client) DescribeCustomerInfoWithContext ¶
func (c *Client) DescribeCustomerInfoWithContext(ctx context.Context, request *DescribeCustomerInfoRequest) (response *DescribeCustomerInfoResponse, err error)
DescribeCustomerInfo This API is used to query the customer information.
Callable roles: Distributor, Reseller
error code that may be returned:
OPERATIONDENIED_SERVICEBUSY = "OperationDenied.ServiceBusy" UNAUTHORIZEDOPERATION_UINNOAUTH = "UnauthorizedOperation.UinNoAuth"
func (*Client) DescribeCustomerUin ¶
func (c *Client) DescribeCustomerUin(request *DescribeCustomerUinRequest) (response *DescribeCustomerUinResponse, err error)
DescribeCustomerUin This API is used to query the list of customer UINs.
error code that may be returned:
INVALIDPARAMETER_PAGE = "InvalidParameter.Page" OPERATIONDENIED_SERVICEBUSY = "OperationDenied.ServiceBusy" UNAUTHORIZEDOPERATION_UINNOAUTH = "UnauthorizedOperation.UinNoAuth"
func (*Client) DescribeCustomerUinWithContext ¶
func (c *Client) DescribeCustomerUinWithContext(ctx context.Context, request *DescribeCustomerUinRequest) (response *DescribeCustomerUinResponse, err error)
DescribeCustomerUin This API is used to query the list of customer UINs.
error code that may be returned:
INVALIDPARAMETER_PAGE = "InvalidParameter.Page" OPERATIONDENIED_SERVICEBUSY = "OperationDenied.ServiceBusy" UNAUTHORIZEDOPERATION_UINNOAUTH = "UnauthorizedOperation.UinNoAuth"
func (*Client) ForceQN ¶
func (c *Client) ForceQN(request *ForceQNRequest) (response *ForceQNResponse, err error)
ForceQN Forced Service Suspension settings and cancellation can be used only after the reseller is whitelisted.
Callable roles: Distributor, Second-level reseller, Reseller
error code that may be returned:
INVALIDPARAMETER_PAGE = "InvalidParameter.Page" OPERATIONDENIED_SERVICEBUSY = "OperationDenied.ServiceBusy" UNAUTHORIZEDOPERATION_UINNOAUTH = "UnauthorizedOperation.UinNoAuth"
func (*Client) ForceQNWithContext ¶
func (c *Client) ForceQNWithContext(ctx context.Context, request *ForceQNRequest) (response *ForceQNResponse, err error)
ForceQN Forced Service Suspension settings and cancellation can be used only after the reseller is whitelisted.
Callable roles: Distributor, Second-level reseller, Reseller
error code that may be returned:
INVALIDPARAMETER_PAGE = "InvalidParameter.Page" OPERATIONDENIED_SERVICEBUSY = "OperationDenied.ServiceBusy" UNAUTHORIZEDOPERATION_UINNOAUTH = "UnauthorizedOperation.UinNoAuth"
func (*Client) GetCountryCodes ¶
func (c *Client) GetCountryCodes(request *GetCountryCodesRequest) (response *GetCountryCodesResponse, err error)
GetCountryCodes This API is used to obtain country/region codes.
error code that may be returned:
INTERNALERROR = "InternalError"
func (*Client) GetCountryCodesWithContext ¶
func (c *Client) GetCountryCodesWithContext(ctx context.Context, request *GetCountryCodesRequest) (response *GetCountryCodesResponse, err error)
GetCountryCodes This API is used to obtain country/region codes.
error code that may be returned:
INTERNALERROR = "InternalError"
func (*Client) GetTradeConfigList ¶
func (c *Client) GetTradeConfigList(request *GetTradeConfigListRequest) (response *GetTradeConfigListResponse, err error)
GetTradeConfigList This API is used to query industry information, including layer-1 industry and layer-2 industry.
Callable roles: Distributor, Second-level reseller, Reseller,End-customer
error code that may be returned:
OPERATIONDENIED_SERVICEBUSY = "OperationDenied.ServiceBusy"
func (*Client) GetTradeConfigListWithContext ¶
func (c *Client) GetTradeConfigListWithContext(ctx context.Context, request *GetTradeConfigListRequest) (response *GetTradeConfigListResponse, err error)
GetTradeConfigList This API is used to query industry information, including layer-1 industry and layer-2 industry.
Callable roles: Distributor, Second-level reseller, Reseller,End-customer
error code that may be returned:
OPERATIONDENIED_SERVICEBUSY = "OperationDenied.ServiceBusy"
func (*Client) ModifyClientRemark ¶
func (c *Client) ModifyClientRemark(request *ModifyClientRemarkRequest) (response *ModifyClientRemarkResponse, err error)
ModifyClientRemark This API is used to modify customer remarks.
Callable roles: Distributor, Second-level reseller, Reseller
error code that may be returned:
INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_INVALIDUIN = "InvalidParameterValue.InvalidUin" UNAUTHORIZEDOPERATION_UINNOAUTH = "UnauthorizedOperation.UinNoAuth"
func (*Client) ModifyClientRemarkWithContext ¶
func (c *Client) ModifyClientRemarkWithContext(ctx context.Context, request *ModifyClientRemarkRequest) (response *ModifyClientRemarkResponse, err error)
ModifyClientRemark This API is used to modify customer remarks.
Callable roles: Distributor, Second-level reseller, Reseller
error code that may be returned:
INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_INVALIDUIN = "InvalidParameterValue.InvalidUin" UNAUTHORIZEDOPERATION_UINNOAUTH = "UnauthorizedOperation.UinNoAuth"
func (*Client) QueryAccountVerificationStatus ¶
func (c *Client) QueryAccountVerificationStatus(request *QueryAccountVerificationStatusRequest) (response *QueryAccountVerificationStatusResponse, err error)
QueryAccountVerificationStatus This API is used to query the account verification status.
Callable roles: Distributor, Reseller
error code that may be returned:
FAILEDOPERATION_UININVALID = "FailedOperation.UinInvalid" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED_SERVICEBUSY = "OperationDenied.ServiceBusy" UNAUTHORIZEDOPERATION_NOTCUSTOMERUIN = "UnauthorizedOperation.NotCustomerUin" UNKNOWNPARAMETER = "UnknownParameter"
func (*Client) QueryAccountVerificationStatusWithContext ¶
func (c *Client) QueryAccountVerificationStatusWithContext(ctx context.Context, request *QueryAccountVerificationStatusRequest) (response *QueryAccountVerificationStatusResponse, err error)
QueryAccountVerificationStatus This API is used to query the account verification status.
Callable roles: Distributor, Reseller
error code that may be returned:
FAILEDOPERATION_UININVALID = "FailedOperation.UinInvalid" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED_SERVICEBUSY = "OperationDenied.ServiceBusy" UNAUTHORIZEDOPERATION_NOTCUSTOMERUIN = "UnauthorizedOperation.NotCustomerUin" UNKNOWNPARAMETER = "UnknownParameter"
func (*Client) QueryCreditAllocationHistory ¶
func (c *Client) QueryCreditAllocationHistory(request *QueryCreditAllocationHistoryRequest) (response *QueryCreditAllocationHistoryResponse, err error)
QueryCreditAllocationHistory This API is used to query all the credit allocation records of a single customer.
Callable roles: Distributor, Second-level reseller, Reseller
error code that may be returned:
FAILEDOPERATION = "FailedOperation"
func (*Client) QueryCreditAllocationHistoryWithContext ¶
func (c *Client) QueryCreditAllocationHistoryWithContext(ctx context.Context, request *QueryCreditAllocationHistoryRequest) (response *QueryCreditAllocationHistoryResponse, err error)
QueryCreditAllocationHistory This API is used to query all the credit allocation records of a single customer.
Callable roles: Distributor, Second-level reseller, Reseller
error code that may be returned:
FAILEDOPERATION = "FailedOperation"
func (*Client) QueryCreditByUinList ¶
func (c *Client) QueryCreditByUinList(request *QueryCreditByUinListRequest) (response *QueryCreditByUinListResponse, err error)
QueryCreditByUinList This API is used to query the credit of users in the list.
Callable roles: Distributor, Second-level reseller, Reseller
error code that may be returned:
FAILEDOPERATION_UINNOTAGENT = "FailedOperation.UinNotAgent" INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_UINLIST = "InvalidParameterValue.UinList" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_SERVICEBUSY = "OperationDenied.ServiceBusy" REQUESTLIMITEXCEEDED = "RequestLimitExceeded" UNAUTHORIZEDOPERATION_NOTCUSTOMERUIN = "UnauthorizedOperation.NotCustomerUin"
func (*Client) QueryCreditByUinListWithContext ¶
func (c *Client) QueryCreditByUinListWithContext(ctx context.Context, request *QueryCreditByUinListRequest) (response *QueryCreditByUinListResponse, err error)
QueryCreditByUinList This API is used to query the credit of users in the list.
Callable roles: Distributor, Second-level reseller, Reseller
error code that may be returned:
FAILEDOPERATION_UINNOTAGENT = "FailedOperation.UinNotAgent" INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_UINLIST = "InvalidParameterValue.UinList" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_SERVICEBUSY = "OperationDenied.ServiceBusy" REQUESTLIMITEXCEEDED = "RequestLimitExceeded" UNAUTHORIZEDOPERATION_NOTCUSTOMERUIN = "UnauthorizedOperation.NotCustomerUin"
func (*Client) QueryCustomerBillingQuota ¶
func (c *Client) QueryCustomerBillingQuota(request *QueryCustomerBillingQuotaRequest) (response *QueryCustomerBillingQuotaResponse, err error)
QueryCustomerBillingQuota Description: This API is used for a sub-customer to real-time query its own total credit and remaining credit in USD.
Callable roles: Sub-customer
error code that may be returned:
UNAUTHORIZEDOPERATION_UINNOAUTH = "UnauthorizedOperation.UinNoAuth"
func (*Client) QueryCustomerBillingQuotaWithContext ¶
func (c *Client) QueryCustomerBillingQuotaWithContext(ctx context.Context, request *QueryCustomerBillingQuotaRequest) (response *QueryCustomerBillingQuotaResponse, err error)
QueryCustomerBillingQuota Description: This API is used for a sub-customer to real-time query its own total credit and remaining credit in USD.
Callable roles: Sub-customer
error code that may be returned:
UNAUTHORIZEDOPERATION_UINNOAUTH = "UnauthorizedOperation.UinNoAuth"
func (*Client) QueryCustomersCredit ¶
func (c *Client) QueryCustomersCredit(request *QueryCustomersCreditRequest) (response *QueryCustomersCreditResponse, err error)
QueryCustomersCredit This API is used for a partner to the credits and basic information of cutomers.
Callable roles: Distributor, Second-level reseller, Reseller
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INVALIDPARAMETERVALUE_INVALIDUIN = "InvalidParameterValue.InvalidUin" OPERATIONDENIED_SERVICEBUSY = "OperationDenied.ServiceBusy" UNAUTHORIZEDOPERATION_UINNOAUTH = "UnauthorizedOperation.UinNoAuth"
func (*Client) QueryCustomersCreditWithContext ¶
func (c *Client) QueryCustomersCreditWithContext(ctx context.Context, request *QueryCustomersCreditRequest) (response *QueryCustomersCreditResponse, err error)
QueryCustomersCredit This API is used for a partner to the credits and basic information of cutomers.
Callable roles: Distributor, Second-level reseller, Reseller
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INVALIDPARAMETERVALUE_INVALIDUIN = "InvalidParameterValue.InvalidUin" OPERATIONDENIED_SERVICEBUSY = "OperationDenied.ServiceBusy" UNAUTHORIZEDOPERATION_UINNOAUTH = "UnauthorizedOperation.UinNoAuth"
func (*Client) QueryDirectCustomersCredit ¶
func (c *Client) QueryDirectCustomersCredit(request *QueryDirectCustomersCreditRequest) (response *QueryDirectCustomersCreditResponse, err error)
QueryDirectCustomersCredit This API is used to query the credits of direct customers.
Callable roles: Distributor, Second-level reseller, Reseller
error code that may be returned:
INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE = "InvalidParameterValue" OPERATIONDENIED_SERVICEBUSY = "OperationDenied.ServiceBusy" REQUESTLIMITEXCEEDED = "RequestLimitExceeded" UNAUTHORIZEDOPERATION_UINNOAUTH = "UnauthorizedOperation.UinNoAuth"
func (*Client) QueryDirectCustomersCreditWithContext ¶
func (c *Client) QueryDirectCustomersCreditWithContext(ctx context.Context, request *QueryDirectCustomersCreditRequest) (response *QueryDirectCustomersCreditResponse, err error)
QueryDirectCustomersCredit This API is used to query the credits of direct customers.
Callable roles: Distributor, Second-level reseller, Reseller
error code that may be returned:
INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE = "InvalidParameterValue" OPERATIONDENIED_SERVICEBUSY = "OperationDenied.ServiceBusy" REQUESTLIMITEXCEEDED = "RequestLimitExceeded" UNAUTHORIZEDOPERATION_UINNOAUTH = "UnauthorizedOperation.UinNoAuth"
func (*Client) QueryPartnerCredit ¶
func (c *Client) QueryPartnerCredit(request *QueryPartnerCreditRequest) (response *QueryPartnerCreditResponse, err error)
QueryPartnerCredit This API is used for a partner to query its own total credit, available credit, and used credit in USD.
Callable roles: Distributor, Second-level reseller, Reseller
error code that may be returned:
FAILEDOPERATION = "FailedOperation" OPERATIONDENIED_SERVICEBUSY = "OperationDenied.ServiceBusy" UNAUTHORIZEDOPERATION_UINNOAUTH = "UnauthorizedOperation.UinNoAuth"
func (*Client) QueryPartnerCreditWithContext ¶
func (c *Client) QueryPartnerCreditWithContext(ctx context.Context, request *QueryPartnerCreditRequest) (response *QueryPartnerCreditResponse, err error)
QueryPartnerCredit This API is used for a partner to query its own total credit, available credit, and used credit in USD.
Callable roles: Distributor, Second-level reseller, Reseller
error code that may be returned:
FAILEDOPERATION = "FailedOperation" OPERATIONDENIED_SERVICEBUSY = "OperationDenied.ServiceBusy" UNAUTHORIZEDOPERATION_UINNOAUTH = "UnauthorizedOperation.UinNoAuth"
func (*Client) QueryPendingClientsV2 ¶
func (c *Client) QueryPendingClientsV2(request *QueryPendingClientsV2Request) (response *QueryPendingClientsV2Response, err error)
QueryPendingClientsV2 Description: This API is used by resellers to query the list of sub-customers pending review. Note: This API is used to apply for the allowlist. If needed, please contact your business representative.
Callable roles: Reseller, Distributer, Second-level reseller
error code that may be returned:
OPERATIONDENIED_SERVICEBUSY = "OperationDenied.ServiceBusy"
func (*Client) QueryPendingClientsV2WithContext ¶
func (c *Client) QueryPendingClientsV2WithContext(ctx context.Context, request *QueryPendingClientsV2Request) (response *QueryPendingClientsV2Response, err error)
QueryPendingClientsV2 Description: This API is used by resellers to query the list of sub-customers pending review. Note: This API is used to apply for the allowlist. If needed, please contact your business representative.
Callable roles: Reseller, Distributer, Second-level reseller
error code that may be returned:
OPERATIONDENIED_SERVICEBUSY = "OperationDenied.ServiceBusy"
func (*Client) QueryPolicyProductListByCode ¶
func (c *Client) QueryPolicyProductListByCode(request *QueryPolicyProductListByCodeRequest) (response *QueryPolicyProductListByCodeResponse, err error)
QueryPolicyProductListByCode This API is used to query the product list information within the specified policy range. To call this API, contact your business manager to apply for adding it to the allowlist.
Callable roles: Distributor, Second-level reseller, Reseller
error code that may be returned:
OPERATIONDENIED_SERVICEBUSY = "OperationDenied.ServiceBusy"
func (*Client) QueryPolicyProductListByCodeWithContext ¶
func (c *Client) QueryPolicyProductListByCodeWithContext(ctx context.Context, request *QueryPolicyProductListByCodeRequest) (response *QueryPolicyProductListByCodeResponse, err error)
QueryPolicyProductListByCode This API is used to query the product list information within the specified policy range. To call this API, contact your business manager to apply for adding it to the allowlist.
Callable roles: Distributor, Second-level reseller, Reseller
error code that may be returned:
OPERATIONDENIED_SERVICEBUSY = "OperationDenied.ServiceBusy"
func (*Client) QueryVoucherAmountByUin ¶
func (c *Client) QueryVoucherAmountByUin(request *QueryVoucherAmountByUinRequest) (response *QueryVoucherAmountByUinResponse, err error)
QueryVoucherAmountByUin This API is used by primary/secondary resellers to query the voucher quota based on the customer UIN.
Callable roles: Reseller, Distributor, Second-level reseller
error code that may be returned:
OPERATIONDENIED_SERVICEBUSY = "OperationDenied.ServiceBusy"
func (*Client) QueryVoucherAmountByUinWithContext ¶
func (c *Client) QueryVoucherAmountByUinWithContext(ctx context.Context, request *QueryVoucherAmountByUinRequest) (response *QueryVoucherAmountByUinResponse, err error)
QueryVoucherAmountByUin This API is used by primary/secondary resellers to query the voucher quota based on the customer UIN.
Callable roles: Reseller, Distributor, Second-level reseller
error code that may be returned:
OPERATIONDENIED_SERVICEBUSY = "OperationDenied.ServiceBusy"
func (*Client) QueryVoucherListByUin ¶
func (c *Client) QueryVoucherListByUin(request *QueryVoucherListByUinRequest) (response *QueryVoucherListByUinResponse, err error)
QueryVoucherListByUin This API is used by primary/secondary resellers to query the voucher list based on the customer UIN.
Callable roles: Reseller, Distributor, Second-level reseller
error code that may be returned:
OPERATIONDENIED_SERVICEBUSY = "OperationDenied.ServiceBusy"
func (*Client) QueryVoucherListByUinWithContext ¶
func (c *Client) QueryVoucherListByUinWithContext(ctx context.Context, request *QueryVoucherListByUinRequest) (response *QueryVoucherListByUinResponse, err error)
QueryVoucherListByUin This API is used by primary/secondary resellers to query the voucher list based on the customer UIN.
Callable roles: Reseller, Distributor, Second-level reseller
error code that may be returned:
OPERATIONDENIED_SERVICEBUSY = "OperationDenied.ServiceBusy"
func (*Client) QueryVoucherPool ¶
func (c *Client) QueryVoucherPool(request *QueryVoucherPoolRequest) (response *QueryVoucherPoolResponse, err error)
QueryVoucherPool This API is used by primary/secondary resellers to query the voucher quota pool.
Callable roles: Distributor, First-level reseller, Second-level reseller
error code that may be returned:
OPERATIONDENIED_SERVICEBUSY = "OperationDenied.ServiceBusy"
func (*Client) QueryVoucherPoolWithContext ¶
func (c *Client) QueryVoucherPoolWithContext(ctx context.Context, request *QueryVoucherPoolRequest) (response *QueryVoucherPoolResponse, err error)
QueryVoucherPool This API is used by primary/secondary resellers to query the voucher quota pool.
Callable roles: Distributor, First-level reseller, Second-level reseller
error code that may be returned:
OPERATIONDENIED_SERVICEBUSY = "OperationDenied.ServiceBusy"
func (*Client) SendVerifyCode ¶
func (c *Client) SendVerifyCode(request *SendVerifyCodeRequest) (response *SendVerifyCodeResponse, err error)
SendVerifyCode This API is used to send a verification code for account registration.
Callable roles: Distributor, Second-level reseller, Reseller,End-customer
error code that may be returned:
FAILEDOPERATION_PHONEBINDUPPER = "FailedOperation.PhoneBindUpper" FAILEDOPERATION_SENDVERIFYCODELIMIT = "FailedOperation.SendVerifyCodeLimit" FAILEDOPERATION_SENDVERIFYCODELIMIT60 = "FailedOperation.SendVerifyCodeLimit60" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_UNSUPPORTAREA = "InvalidParameterValue.UnSupportArea"
func (*Client) SendVerifyCodeWithContext ¶
func (c *Client) SendVerifyCodeWithContext(ctx context.Context, request *SendVerifyCodeRequest) (response *SendVerifyCodeResponse, err error)
SendVerifyCode This API is used to send a verification code for account registration.
Callable roles: Distributor, Second-level reseller, Reseller,End-customer
error code that may be returned:
FAILEDOPERATION_PHONEBINDUPPER = "FailedOperation.PhoneBindUpper" FAILEDOPERATION_SENDVERIFYCODELIMIT = "FailedOperation.SendVerifyCodeLimit" FAILEDOPERATION_SENDVERIFYCODELIMIT60 = "FailedOperation.SendVerifyCodeLimit60" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_UNSUPPORTAREA = "InvalidParameterValue.UnSupportArea"
type CountryCodeItem ¶
type CountryCodeItem struct { // Country/region name in English EnName *string `json:"EnName,omitnil,omitempty" name:"EnName"` // Country/region name in Chinese Name *string `json:"Name,omitnil,omitempty" name:"Name"` IOS2 *string `json:"IOS2,omitnil,omitempty" name:"IOS2"` IOS3 *string `json:"IOS3,omitnil,omitempty" name:"IOS3"` // International dialing code Code *string `json:"Code,omitnil,omitempty" name:"Code"` }
type CreateAccountRequest ¶
type CreateAccountRequest struct { *tchttp.BaseRequest // Account type of a new customer. // Valid values: `personal`, `company`. AccountType *string `json:"AccountType,omitnil,omitempty" name:"AccountType"` // Registered email address, which should be valid and correct. // such as "account@qq.com" Mail *string `json:"Mail,omitnil,omitempty" name:"Mail"` // Account password. // Length limit: 8-20 characters // A password must contain numbers, letters, and symbols (!@#$%^&*()). Space is not allowed. Password *string `json:"Password,omitnil,omitempty" name:"Password"` // The confirmed password, which must be the same as that entered in the `Password` field. ConfirmPassword *string `json:"ConfirmPassword,omitnil,omitempty" name:"ConfirmPassword"` // Customer's mobile number. // The caller needs to ensure the validity and correctness of the mobile number. A global mobile number within a range of 1-32 digits is allowed. // The system will perform binding limit verification of the mobile number you provide, allowing a maximum of 5 accounts per mobile number. PhoneNum *string `json:"PhoneNum,omitnil,omitempty" name:"PhoneNum"` // Customer's country/region code, which can be obtained via the [GetCountryCodes API](https://www.tencentcloud.com/document/product/1085/51416), such as "852". // Parameter value is not allowed to be 7,380,86. CountryCode *string `json:"CountryCode,omitnil,omitempty" name:"CountryCode"` // Customer's ISO2 standard country/region code, which can be obtained via the [GetCountryCodes API](https://www.tencentcloud.com/document/product/1085/51416). It should correspond to the `CountryCode` field, such as `HK`. Area *string `json:"Area,omitnil,omitempty" name:"Area"` // VerifyCode. This parameter is required. // Use the [SendVerifyCode API](https://www.tencentcloud.com/document/product/1085/65907) to obtain the verifycode.The SendVerifyCode API sends a 6-digit verifycode to your specified mobile number via SMS. After receiving it, you need to pass it along with other parameters. VerifyCode *string `json:"VerifyCode,omitnil,omitempty" name:"VerifyCode"` // Extension field, which is left empty by default. Extended *string `json:"Extended,omitnil,omitempty" name:"Extended"` // Layer-1 industry id. This is a required item and can be obtained via the [ GetTradeConfigList API](https://www.tencentcloud.com/zh/document/product/1085/68181), // such as "kghy_01". TradeOne *string `json:"TradeOne,omitnil,omitempty" name:"TradeOne"` // Layer-2 industry id. This is a required item and can be obtained via the [ GetTradeConfigList API](https://www.tencentcloud.com/zh/document/product/1085/68181), // such as "kghy_0101" TradeTwo *string `json:"TradeTwo,omitnil,omitempty" name:"TradeTwo"` }
func NewCreateAccountRequest ¶
func NewCreateAccountRequest() (request *CreateAccountRequest)
func (*CreateAccountRequest) FromJsonString ¶
func (r *CreateAccountRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateAccountRequest) ToJsonString ¶
func (r *CreateAccountRequest) ToJsonString() string
type CreateAccountRequestParams ¶
type CreateAccountRequestParams struct { // Account type of a new customer. // Valid values: `personal`, `company`. AccountType *string `json:"AccountType,omitnil,omitempty" name:"AccountType"` // Registered email address, which should be valid and correct. // such as "account@qq.com" Mail *string `json:"Mail,omitnil,omitempty" name:"Mail"` // Account password. // Length limit: 8-20 characters // A password must contain numbers, letters, and symbols (!@#$%^&*()). Space is not allowed. Password *string `json:"Password,omitnil,omitempty" name:"Password"` // The confirmed password, which must be the same as that entered in the `Password` field. ConfirmPassword *string `json:"ConfirmPassword,omitnil,omitempty" name:"ConfirmPassword"` // Customer's mobile number. // The caller needs to ensure the validity and correctness of the mobile number. A global mobile number within a range of 1-32 digits is allowed. // The system will perform binding limit verification of the mobile number you provide, allowing a maximum of 5 accounts per mobile number. PhoneNum *string `json:"PhoneNum,omitnil,omitempty" name:"PhoneNum"` // Customer's country/region code, which can be obtained via the [GetCountryCodes API](https://www.tencentcloud.com/document/product/1085/51416), such as "852". // Parameter value is not allowed to be 7,380,86. CountryCode *string `json:"CountryCode,omitnil,omitempty" name:"CountryCode"` // Customer's ISO2 standard country/region code, which can be obtained via the [GetCountryCodes API](https://www.tencentcloud.com/document/product/1085/51416). It should correspond to the `CountryCode` field, such as `HK`. Area *string `json:"Area,omitnil,omitempty" name:"Area"` // VerifyCode. This parameter is required. // Use the [SendVerifyCode API](https://www.tencentcloud.com/document/product/1085/65907) to obtain the verifycode.The SendVerifyCode API sends a 6-digit verifycode to your specified mobile number via SMS. After receiving it, you need to pass it along with other parameters. VerifyCode *string `json:"VerifyCode,omitnil,omitempty" name:"VerifyCode"` // Extension field, which is left empty by default. Extended *string `json:"Extended,omitnil,omitempty" name:"Extended"` // Layer-1 industry id. This is a required item and can be obtained via the [ GetTradeConfigList API](https://www.tencentcloud.com/zh/document/product/1085/68181), // such as "kghy_01". TradeOne *string `json:"TradeOne,omitnil,omitempty" name:"TradeOne"` // Layer-2 industry id. This is a required item and can be obtained via the [ GetTradeConfigList API](https://www.tencentcloud.com/zh/document/product/1085/68181), // such as "kghy_0101" TradeTwo *string `json:"TradeTwo,omitnil,omitempty" name:"TradeTwo"` }
Predefined struct for user
type CreateAccountResponse ¶
type CreateAccountResponse struct { *tchttp.BaseResponse Response *CreateAccountResponseParams `json:"Response"` }
func NewCreateAccountResponse ¶
func NewCreateAccountResponse() (response *CreateAccountResponse)
func (*CreateAccountResponse) FromJsonString ¶
func (r *CreateAccountResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateAccountResponse) ToJsonString ¶
func (r *CreateAccountResponse) ToJsonString() string
type CreateAccountResponseParams ¶
type CreateAccountResponseParams struct { // Account UIN Uin *string `json:"Uin,omitnil,omitempty" name:"Uin"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateAndSendClientInvitationMailRequest ¶
type CreateAndSendClientInvitationMailRequest struct { *tchttp.BaseRequest // Email address that receives the customer invitation link. Email *string `json:"Email,omitnil,omitempty" name:"Email"` }
func NewCreateAndSendClientInvitationMailRequest ¶
func NewCreateAndSendClientInvitationMailRequest() (request *CreateAndSendClientInvitationMailRequest)
func (*CreateAndSendClientInvitationMailRequest) FromJsonString ¶
func (r *CreateAndSendClientInvitationMailRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateAndSendClientInvitationMailRequest) ToJsonString ¶
func (r *CreateAndSendClientInvitationMailRequest) ToJsonString() string
type CreateAndSendClientInvitationMailRequestParams ¶
type CreateAndSendClientInvitationMailRequestParams struct { // Email address that receives the customer invitation link. Email *string `json:"Email,omitnil,omitempty" name:"Email"` }
Predefined struct for user
type CreateAndSendClientInvitationMailResponse ¶
type CreateAndSendClientInvitationMailResponse struct { *tchttp.BaseResponse Response *CreateAndSendClientInvitationMailResponseParams `json:"Response"` }
func NewCreateAndSendClientInvitationMailResponse ¶
func NewCreateAndSendClientInvitationMailResponse() (response *CreateAndSendClientInvitationMailResponse)
func (*CreateAndSendClientInvitationMailResponse) FromJsonString ¶
func (r *CreateAndSendClientInvitationMailResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateAndSendClientInvitationMailResponse) ToJsonString ¶
func (r *CreateAndSendClientInvitationMailResponse) ToJsonString() string
type CreateAndSendClientInvitationMailResponseParams ¶
type CreateAndSendClientInvitationMailResponseParams struct { // Specifies the invitation link for the customer. InvitationLink *string `json:"InvitationLink,omitnil,omitempty" name:"InvitationLink"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type CustomerBillDetailData ¶
type CustomerBillDetailData struct { // Distributor account. PayerAccountId *int64 `json:"PayerAccountId,omitnil,omitempty" name:"PayerAccountId"` // Sub-Customer account. OwnerAccountId *int64 `json:"OwnerAccountId,omitnil,omitempty" name:"OwnerAccountId"` // Operator account. OperatorAccountId *int64 `json:"OperatorAccountId,omitnil,omitempty" name:"OperatorAccountId"` // Product name. ProductName *string `json:"ProductName,omitnil,omitempty" name:"ProductName"` // Billing mode // . // Monthly subscription. // Pay-As-You-Go resources. // Standard ri reserved instances. BillingMode *string `json:"BillingMode,omitnil,omitempty" name:"BillingMode"` // Project name. // . ProjectName *string `json:"ProjectName,omitnil,omitempty" name:"ProjectName"` // Resource region. Region *string `json:"Region,omitnil,omitempty" name:"Region"` // Resource availability zone. AvailabilityZone *string `json:"AvailabilityZone,omitnil,omitempty" name:"AvailabilityZone"` // Instance id. InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Instance name. InstanceName *string `json:"InstanceName,omitnil,omitempty" name:"InstanceName"` // Sub-Product name // . SubProductName *string `json:"SubProductName,omitnil,omitempty" name:"SubProductName"` // Settlement type. TransactionType *string `json:"TransactionType,omitnil,omitempty" name:"TransactionType"` // Transaction flow id. TransactionId *string `json:"TransactionId,omitnil,omitempty" name:"TransactionId"` // Settlement time. TransactionTime *string `json:"TransactionTime,omitnil,omitempty" name:"TransactionTime"` // Resource start time. UsageStartTime *string `json:"UsageStartTime,omitnil,omitempty" name:"UsageStartTime"` // Resource end time. UsageEndTime *string `json:"UsageEndTime,omitnil,omitempty" name:"UsageEndTime"` // Component. ComponentType *string `json:"ComponentType,omitnil,omitempty" name:"ComponentType"` // Component name. ComponentName *string `json:"ComponentName,omitnil,omitempty" name:"ComponentName"` // Component list price. ComponentListPrice *string `json:"ComponentListPrice,omitnil,omitempty" name:"ComponentListPrice"` // Price unit. ComponentPriceMeasurementUnit *string `json:"ComponentPriceMeasurementUnit,omitnil,omitempty" name:"ComponentPriceMeasurementUnit"` // Component usage. ComponentUsage *string `json:"ComponentUsage,omitnil,omitempty" name:"ComponentUsage"` // Component usage unit. ComponentUsageUnit *string `json:"ComponentUsageUnit,omitnil,omitempty" name:"ComponentUsageUnit"` // Resource usage duration. UsageDuration *string `json:"UsageDuration,omitnil,omitempty" name:"UsageDuration"` // duration unit. DurationUnit *string `json:"DurationUnit,omitnil,omitempty" name:"DurationUnit"` // Total original price. // Original cost = component list price * component usage * usage duration. OriginalCost *string `json:"OriginalCost,omitnil,omitempty" name:"OriginalCost"` // Currency. Currency *string `json:"Currency,omitnil,omitempty" name:"Currency"` // = Total Amount After Discount - Voucher Deduction TotalCost *string `json:"TotalCost,omitnil,omitempty" name:"TotalCost"` // Id identifier. Id *string `json:"Id,omitnil,omitempty" name:"Id"` // Tag information. Tags []*TagInfo `json:"Tags,omitnil,omitempty" name:"Tags"` }
type DescribeBillDetailRequest ¶
type DescribeBillDetailRequest struct { *tchttp.BaseRequest // Inquiry month, in the format of YYYY-MM, such as 2023-01 Month *string `json:"Month,omitnil,omitempty" name:"Month"` // Page parameter: number of entries per page. Value range: [1, 200] PageSize *int64 `json:"PageSize,omitnil,omitempty" name:"PageSize"` // Page parameter: current page number. The minimum value is 1. Page *int64 `json:"Page,omitnil,omitempty" name:"Page"` // Billing mode. Valid values: prePay (Monthly subscription) and postPay (Pay-As-You-Go resources) PayMode *string `json:"PayMode,omitnil,omitempty" name:"PayMode"` // Transaction type. Valid values: prepay_purchase (Purchase), prepay_renew (Renewal), prepay_modify (Upgrade/Downgrade), prepay_return ( Monthly subscription refund), postpay_deduct (Pay-as-you-go), postpay_deduct_h (Hourly settlement), postpay_deduct_d (Daily settlement), postpay_deduct_m (Monthly settlement), offline_deduct (Offline project deduction), online_deduct (Offline product deduction), recon_deduct (Adjustment - deduction), recon_increase (Adjustment - compensation), ripay_purchase (One-off RI Fee), postpay_deduct_s (Spot), ri_hour_pay (Hourly RI fee), prePurchase (New monthly subscription), preRenew (Monthly subscription renewal), preUpgrade (Upgrade/Downgrade), preDowngrade (Upgrade/Downgrade), svp_hour_pay (Hourly Savings Plan fee), recon_guarantee (Minimum spend deduction), pre_purchase (New monthly subscription), pre_renew (Monthly subscription renewal), pre_upgrade (Upgrade/Downgrade), pre_downgrade (Upgrade/Downgrade) ActionType *string `json:"ActionType,omitnil,omitempty" name:"ActionType"` }
func NewDescribeBillDetailRequest ¶
func NewDescribeBillDetailRequest() (request *DescribeBillDetailRequest)
func (*DescribeBillDetailRequest) FromJsonString ¶
func (r *DescribeBillDetailRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeBillDetailRequest) ToJsonString ¶
func (r *DescribeBillDetailRequest) ToJsonString() string
type DescribeBillDetailRequestParams ¶
type DescribeBillDetailRequestParams struct { // Inquiry month, in the format of YYYY-MM, such as 2023-01 Month *string `json:"Month,omitnil,omitempty" name:"Month"` // Page parameter: number of entries per page. Value range: [1, 200] PageSize *int64 `json:"PageSize,omitnil,omitempty" name:"PageSize"` // Page parameter: current page number. The minimum value is 1. Page *int64 `json:"Page,omitnil,omitempty" name:"Page"` // Billing mode. Valid values: prePay (Monthly subscription) and postPay (Pay-As-You-Go resources) PayMode *string `json:"PayMode,omitnil,omitempty" name:"PayMode"` // Transaction type. Valid values: prepay_purchase (Purchase), prepay_renew (Renewal), prepay_modify (Upgrade/Downgrade), prepay_return ( Monthly subscription refund), postpay_deduct (Pay-as-you-go), postpay_deduct_h (Hourly settlement), postpay_deduct_d (Daily settlement), postpay_deduct_m (Monthly settlement), offline_deduct (Offline project deduction), online_deduct (Offline product deduction), recon_deduct (Adjustment - deduction), recon_increase (Adjustment - compensation), ripay_purchase (One-off RI Fee), postpay_deduct_s (Spot), ri_hour_pay (Hourly RI fee), prePurchase (New monthly subscription), preRenew (Monthly subscription renewal), preUpgrade (Upgrade/Downgrade), preDowngrade (Upgrade/Downgrade), svp_hour_pay (Hourly Savings Plan fee), recon_guarantee (Minimum spend deduction), pre_purchase (New monthly subscription), pre_renew (Monthly subscription renewal), pre_upgrade (Upgrade/Downgrade), pre_downgrade (Upgrade/Downgrade) ActionType *string `json:"ActionType,omitnil,omitempty" name:"ActionType"` }
Predefined struct for user
type DescribeBillDetailResponse ¶
type DescribeBillDetailResponse struct { *tchttp.BaseResponse Response *DescribeBillDetailResponseParams `json:"Response"` }
func NewDescribeBillDetailResponse ¶
func NewDescribeBillDetailResponse() (response *DescribeBillDetailResponse)
func (*DescribeBillDetailResponse) FromJsonString ¶
func (r *DescribeBillDetailResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeBillDetailResponse) ToJsonString ¶
func (r *DescribeBillDetailResponse) ToJsonString() string
type DescribeBillDetailResponseParams ¶
type DescribeBillDetailResponseParams struct { // Data details. DetailSet []*CustomerBillDetailData `json:"DetailSet,omitnil,omitempty" name:"DetailSet"` // Total number of entries. Total *int64 `json:"Total,omitnil,omitempty" name:"Total"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeBillDownloadUrlRequest ¶
type DescribeBillDownloadUrlRequest struct { *tchttp.BaseRequest // The month to which the bill belongs, formatted as YYYY-MM; the earliest month available for query is June, 2022. Current month's billing data may be inaccurate; please download the current month's bill after it is generated at 1:00 on the 5th of the next month. Month *string `json:"Month,omitnil,omitempty" name:"Month"` // Type of bill. Valid values: L2 or L3 FileType *string `json:"FileType,omitnil,omitempty" name:"FileType"` }
func NewDescribeBillDownloadUrlRequest ¶
func NewDescribeBillDownloadUrlRequest() (request *DescribeBillDownloadUrlRequest)
func (*DescribeBillDownloadUrlRequest) FromJsonString ¶
func (r *DescribeBillDownloadUrlRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeBillDownloadUrlRequest) ToJsonString ¶
func (r *DescribeBillDownloadUrlRequest) ToJsonString() string
type DescribeBillDownloadUrlRequestParams ¶
type DescribeBillDownloadUrlRequestParams struct { // The month to which the bill belongs, formatted as YYYY-MM; the earliest month available for query is June, 2022. Current month's billing data may be inaccurate; please download the current month's bill after it is generated at 1:00 on the 5th of the next month. Month *string `json:"Month,omitnil,omitempty" name:"Month"` // Type of bill. Valid values: L2 or L3 FileType *string `json:"FileType,omitnil,omitempty" name:"FileType"` }
Predefined struct for user
type DescribeBillDownloadUrlResponse ¶
type DescribeBillDownloadUrlResponse struct { *tchttp.BaseResponse Response *DescribeBillDownloadUrlResponseParams `json:"Response"` }
func NewDescribeBillDownloadUrlResponse ¶
func NewDescribeBillDownloadUrlResponse() (response *DescribeBillDownloadUrlResponse)
func (*DescribeBillDownloadUrlResponse) FromJsonString ¶
func (r *DescribeBillDownloadUrlResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeBillDownloadUrlResponse) ToJsonString ¶
func (r *DescribeBillDownloadUrlResponse) ToJsonString() string
type DescribeBillDownloadUrlResponseParams ¶
type DescribeBillDownloadUrlResponseParams struct { // File download link, with a file validity period of 1 hour DownloadUrl *string `json:"DownloadUrl,omitnil,omitempty" name:"DownloadUrl"` // File generation status. 0: generating; 1: generated. Ready *int64 `json:"Ready,omitnil,omitempty" name:"Ready"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeBillSummaryByPayModeRequest ¶
type DescribeBillSummaryByPayModeRequest struct { *tchttp.BaseRequest // Bill month in the format of "yyyy-MM" BillMonth *string `json:"BillMonth,omitnil,omitempty" name:"BillMonth"` // Customer UIN CustomerUin *int64 `json:"CustomerUin,omitnil,omitempty" name:"CustomerUin"` }
func NewDescribeBillSummaryByPayModeRequest ¶
func NewDescribeBillSummaryByPayModeRequest() (request *DescribeBillSummaryByPayModeRequest)
func (*DescribeBillSummaryByPayModeRequest) FromJsonString ¶
func (r *DescribeBillSummaryByPayModeRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeBillSummaryByPayModeRequest) ToJsonString ¶
func (r *DescribeBillSummaryByPayModeRequest) ToJsonString() string
type DescribeBillSummaryByPayModeRequestParams ¶
type DescribeBillSummaryByPayModeRequestParams struct { // Bill month in the format of "yyyy-MM" BillMonth *string `json:"BillMonth,omitnil,omitempty" name:"BillMonth"` // Customer UIN CustomerUin *int64 `json:"CustomerUin,omitnil,omitempty" name:"CustomerUin"` }
Predefined struct for user
type DescribeBillSummaryByPayModeResponse ¶
type DescribeBillSummaryByPayModeResponse struct { *tchttp.BaseResponse Response *DescribeBillSummaryByPayModeResponseParams `json:"Response"` }
func NewDescribeBillSummaryByPayModeResponse ¶
func NewDescribeBillSummaryByPayModeResponse() (response *DescribeBillSummaryByPayModeResponse)
func (*DescribeBillSummaryByPayModeResponse) FromJsonString ¶
func (r *DescribeBillSummaryByPayModeResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeBillSummaryByPayModeResponse) ToJsonString ¶
func (r *DescribeBillSummaryByPayModeResponse) ToJsonString() string
type DescribeBillSummaryByPayModeResponseParams ¶
type DescribeBillSummaryByPayModeResponseParams struct { // Get the payment mode details of the sub-customer bill summary through the api. SummaryOverview []*PayModeSummaryOverviewItem `json:"SummaryOverview,omitnil,omitempty" name:"SummaryOverview"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeBillSummaryByProductRequest ¶
type DescribeBillSummaryByProductRequest struct { *tchttp.BaseRequest // Bill month in the format of "yyyy-MM" BillMonth *string `json:"BillMonth,omitnil,omitempty" name:"BillMonth"` // Customer UIN CustomerUin *int64 `json:"CustomerUin,omitnil,omitempty" name:"CustomerUin"` }
func NewDescribeBillSummaryByProductRequest ¶
func NewDescribeBillSummaryByProductRequest() (request *DescribeBillSummaryByProductRequest)
func (*DescribeBillSummaryByProductRequest) FromJsonString ¶
func (r *DescribeBillSummaryByProductRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeBillSummaryByProductRequest) ToJsonString ¶
func (r *DescribeBillSummaryByProductRequest) ToJsonString() string
type DescribeBillSummaryByProductRequestParams ¶
type DescribeBillSummaryByProductRequestParams struct { // Bill month in the format of "yyyy-MM" BillMonth *string `json:"BillMonth,omitnil,omitempty" name:"BillMonth"` // Customer UIN CustomerUin *int64 `json:"CustomerUin,omitnil,omitempty" name:"CustomerUin"` }
Predefined struct for user
type DescribeBillSummaryByProductResponse ¶
type DescribeBillSummaryByProductResponse struct { *tchttp.BaseResponse Response *DescribeBillSummaryByProductResponseParams `json:"Response"` }
func NewDescribeBillSummaryByProductResponse ¶
func NewDescribeBillSummaryByProductResponse() (response *DescribeBillSummaryByProductResponse)
func (*DescribeBillSummaryByProductResponse) FromJsonString ¶
func (r *DescribeBillSummaryByProductResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeBillSummaryByProductResponse) ToJsonString ¶
func (r *DescribeBillSummaryByProductResponse) ToJsonString() string
type DescribeBillSummaryByProductResponseParams ¶
type DescribeBillSummaryByProductResponseParams struct { // Detailed information of product dimension. SummaryOverview []*BusinessSummaryOverviewItem `json:"SummaryOverview,omitnil,omitempty" name:"SummaryOverview"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeBillSummaryByRegionRequest ¶
type DescribeBillSummaryByRegionRequest struct { *tchttp.BaseRequest // Bill month in the format of "yyyy-MM" BillMonth *string `json:"BillMonth,omitnil,omitempty" name:"BillMonth"` // Customer UIN CustomerUin *int64 `json:"CustomerUin,omitnil,omitempty" name:"CustomerUin"` }
func NewDescribeBillSummaryByRegionRequest ¶
func NewDescribeBillSummaryByRegionRequest() (request *DescribeBillSummaryByRegionRequest)
func (*DescribeBillSummaryByRegionRequest) FromJsonString ¶
func (r *DescribeBillSummaryByRegionRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeBillSummaryByRegionRequest) ToJsonString ¶
func (r *DescribeBillSummaryByRegionRequest) ToJsonString() string
type DescribeBillSummaryByRegionRequestParams ¶
type DescribeBillSummaryByRegionRequestParams struct { // Bill month in the format of "yyyy-MM" BillMonth *string `json:"BillMonth,omitnil,omitempty" name:"BillMonth"` // Customer UIN CustomerUin *int64 `json:"CustomerUin,omitnil,omitempty" name:"CustomerUin"` }
Predefined struct for user
type DescribeBillSummaryByRegionResponse ¶
type DescribeBillSummaryByRegionResponse struct { *tchttp.BaseResponse Response *DescribeBillSummaryByRegionResponseParams `json:"Response"` }
func NewDescribeBillSummaryByRegionResponse ¶
func NewDescribeBillSummaryByRegionResponse() (response *DescribeBillSummaryByRegionResponse)
func (*DescribeBillSummaryByRegionResponse) FromJsonString ¶
func (r *DescribeBillSummaryByRegionResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeBillSummaryByRegionResponse) ToJsonString ¶
func (r *DescribeBillSummaryByRegionResponse) ToJsonString() string
type DescribeBillSummaryByRegionResponseParams ¶
type DescribeBillSummaryByRegionResponseParams struct { // Get the region details of the customer bill data totaled by region through the api. SummaryOverview []*RegionSummaryOverviewItem `json:"SummaryOverview,omitnil,omitempty" name:"SummaryOverview"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeBillSummaryRequest ¶
type DescribeBillSummaryRequest struct { *tchttp.BaseRequest // The month to which the bill belongs, formatted as YYYY-MM. Month *string `json:"Month,omitnil,omitempty" name:"Month"` // Billing dimension. Optional parameters: product, project, tag GroupType *string `json:"GroupType,omitnil,omitempty" name:"GroupType"` // Tag value list TagKey []*string `json:"TagKey,omitnil,omitempty" name:"TagKey"` }
func NewDescribeBillSummaryRequest ¶
func NewDescribeBillSummaryRequest() (request *DescribeBillSummaryRequest)
func (*DescribeBillSummaryRequest) FromJsonString ¶
func (r *DescribeBillSummaryRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeBillSummaryRequest) ToJsonString ¶
func (r *DescribeBillSummaryRequest) ToJsonString() string
type DescribeBillSummaryRequestParams ¶
type DescribeBillSummaryRequestParams struct { // The month to which the bill belongs, formatted as YYYY-MM. Month *string `json:"Month,omitnil,omitempty" name:"Month"` // Billing dimension. Optional parameters: product, project, tag GroupType *string `json:"GroupType,omitnil,omitempty" name:"GroupType"` // Tag value list TagKey []*string `json:"TagKey,omitnil,omitempty" name:"TagKey"` }
Predefined struct for user
type DescribeBillSummaryResponse ¶
type DescribeBillSummaryResponse struct { *tchttp.BaseResponse Response *DescribeBillSummaryResponseParams `json:"Response"` }
func NewDescribeBillSummaryResponse ¶
func NewDescribeBillSummaryResponse() (response *DescribeBillSummaryResponse)
func (*DescribeBillSummaryResponse) FromJsonString ¶
func (r *DescribeBillSummaryResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeBillSummaryResponse) ToJsonString ¶
func (r *DescribeBillSummaryResponse) ToJsonString() string
type DescribeBillSummaryResponseParams ¶
type DescribeBillSummaryResponseParams struct { // Detailed summary by billing dimension. SummaryDetail []*SummaryDetails `json:"SummaryDetail,omitnil,omitempty" name:"SummaryDetail"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeCustomerBillDetailRequest ¶
type DescribeCustomerBillDetailRequest struct { *tchttp.BaseRequest // Sub-account UIN CustomerUin *uint64 `json:"CustomerUin,omitnil,omitempty" name:"CustomerUin"` // Inquiry month, in the format of YYYY-MM, such as 2023-01 Month *string `json:"Month,omitnil,omitempty" name:"Month"` // Page parameter: number of entries per page. Value range: [1, 200] PageSize *int64 `json:"PageSize,omitnil,omitempty" name:"PageSize"` // Page parameter: current page number. The minimum value is 1. Page *int64 `json:"Page,omitnil,omitempty" name:"Page"` // Billing mode. Valid values: // prePay (Monthly subscription) // postPay (Pay-As-You-Go resources) PayMode *string `json:"PayMode,omitnil,omitempty" name:"PayMode"` // Transaction type. Valid values: // prepay_purchase (Purchase) // prepay_renew (Renewal) // prepay_modify (Upgrade/Downgrade) // prepay_return ( Monthly subscription refund) // postpay_deduct (Pay-as-you-go) // postpay_deduct_h (Hourly settlement) // postpay_deduct_d (Daily settlement) // postpay_deduct_m (Monthly settlement) // offline_deduct (Offline project deduction) // online_deduct (Offline product deduction) // recon_deduct (Adjustment - deduction) // recon_increase (Adjustment - compensation) // ripay_purchase (One-off RI Fee) // postpay_deduct_s (Spot) // ri_hour_pay (Hourly RI fee) // prePurchase (New monthly subscription) // preRenew (Monthly subscription renewal) // preUpgrade (Upgrade/Downgrade) // preDowngrade (Upgrade/Downgrade) // svp_hour_pay (Hourly Savings Plan fee) // recon_guarantee (Minimum spend deduction) // pre_purchase (New monthly subscription) // pre_renew (Monthly subscription renewal) // pre_upgrade (Upgrade/Downgrade) // pre_downgrade (Upgrade/Downgrade) ActionType *string `json:"ActionType,omitnil,omitempty" name:"ActionType"` // Payment status // 0: not distinguished // 1: paid // 2: unpaid IsConfirmed *string `json:"IsConfirmed,omitnil,omitempty" name:"IsConfirmed"` }
func NewDescribeCustomerBillDetailRequest ¶
func NewDescribeCustomerBillDetailRequest() (request *DescribeCustomerBillDetailRequest)
func (*DescribeCustomerBillDetailRequest) FromJsonString ¶
func (r *DescribeCustomerBillDetailRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeCustomerBillDetailRequest) ToJsonString ¶
func (r *DescribeCustomerBillDetailRequest) ToJsonString() string
type DescribeCustomerBillDetailRequestParams ¶
type DescribeCustomerBillDetailRequestParams struct { // Sub-account UIN CustomerUin *uint64 `json:"CustomerUin,omitnil,omitempty" name:"CustomerUin"` // Inquiry month, in the format of YYYY-MM, such as 2023-01 Month *string `json:"Month,omitnil,omitempty" name:"Month"` // Page parameter: number of entries per page. Value range: [1, 200] PageSize *int64 `json:"PageSize,omitnil,omitempty" name:"PageSize"` // Page parameter: current page number. The minimum value is 1. Page *int64 `json:"Page,omitnil,omitempty" name:"Page"` // Billing mode. Valid values: // prePay (Monthly subscription) // postPay (Pay-As-You-Go resources) PayMode *string `json:"PayMode,omitnil,omitempty" name:"PayMode"` // Transaction type. Valid values: // prepay_purchase (Purchase) // prepay_renew (Renewal) // prepay_modify (Upgrade/Downgrade) // prepay_return ( Monthly subscription refund) // postpay_deduct (Pay-as-you-go) // postpay_deduct_h (Hourly settlement) // postpay_deduct_d (Daily settlement) // postpay_deduct_m (Monthly settlement) // offline_deduct (Offline project deduction) // online_deduct (Offline product deduction) // recon_deduct (Adjustment - deduction) // recon_increase (Adjustment - compensation) // ripay_purchase (One-off RI Fee) // postpay_deduct_s (Spot) // ri_hour_pay (Hourly RI fee) // prePurchase (New monthly subscription) // preRenew (Monthly subscription renewal) // preUpgrade (Upgrade/Downgrade) // preDowngrade (Upgrade/Downgrade) // svp_hour_pay (Hourly Savings Plan fee) // recon_guarantee (Minimum spend deduction) // pre_purchase (New monthly subscription) // pre_renew (Monthly subscription renewal) // pre_upgrade (Upgrade/Downgrade) // pre_downgrade (Upgrade/Downgrade) ActionType *string `json:"ActionType,omitnil,omitempty" name:"ActionType"` // Payment status // 0: not distinguished // 1: paid // 2: unpaid IsConfirmed *string `json:"IsConfirmed,omitnil,omitempty" name:"IsConfirmed"` }
Predefined struct for user
type DescribeCustomerBillDetailResponse ¶
type DescribeCustomerBillDetailResponse struct { *tchttp.BaseResponse Response *DescribeCustomerBillDetailResponseParams `json:"Response"` }
func NewDescribeCustomerBillDetailResponse ¶
func NewDescribeCustomerBillDetailResponse() (response *DescribeCustomerBillDetailResponse)
func (*DescribeCustomerBillDetailResponse) FromJsonString ¶
func (r *DescribeCustomerBillDetailResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeCustomerBillDetailResponse) ToJsonString ¶
func (r *DescribeCustomerBillDetailResponse) ToJsonString() string
type DescribeCustomerBillDetailResponseParams ¶
type DescribeCustomerBillDetailResponseParams struct { // Total number of data entries Total *int64 `json:"Total,omitnil,omitempty" name:"Total"` // Data detailsNote: This field may return null, indicating that no valid values can be obtained. DetailSet []*BillDetailData `json:"DetailSet,omitnil,omitempty" name:"DetailSet"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeCustomerBillDownloadUrlRequest ¶
type DescribeCustomerBillDownloadUrlRequest struct { *tchttp.BaseRequest // The month to which the bill belongs, formatted as yyyy-mm; the earliest month available for query is june, 2022. current month's billing data may be inaccurate; please download the current month's bill after it is generated at 1:00 on the 5th of the next month. Month *string `json:"Month,omitnil,omitempty" name:"Month"` // Bill type. valid values: [billResource, billDetail, billResourcePack, billDetailPack]. `billResource`: resource bill; `billDetail`: detailed bill; `billResourcePack`: resource bill package; `billDetailPack`: detailed bill package. FileType *string `json:"FileType,omitnil,omitempty" name:"FileType"` // Customer type. valid values: [Customer, Reseller, ResellerCustomer]. `Customer`: direct customer; `Reseller`: secondary reseller; `ResellerCustomer`: reseller's customers CustomerUinType *string `json:"CustomerUinType,omitnil,omitempty" name:"CustomerUinType"` // Language. valid values: [zh_cn, en]. default is `en` (english). FileLanguage *string `json:"FileLanguage,omitnil,omitempty" name:"FileLanguage"` // Customer uin. when downloading the bill package (FileType is billResourcePack or billDetailPack), CustomerUin is not passed CustomerUin *int64 `json:"CustomerUin,omitnil,omitempty" name:"CustomerUin"` }
func NewDescribeCustomerBillDownloadUrlRequest ¶
func NewDescribeCustomerBillDownloadUrlRequest() (request *DescribeCustomerBillDownloadUrlRequest)
func (*DescribeCustomerBillDownloadUrlRequest) FromJsonString ¶
func (r *DescribeCustomerBillDownloadUrlRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeCustomerBillDownloadUrlRequest) ToJsonString ¶
func (r *DescribeCustomerBillDownloadUrlRequest) ToJsonString() string
type DescribeCustomerBillDownloadUrlRequestParams ¶
type DescribeCustomerBillDownloadUrlRequestParams struct { // The month to which the bill belongs, formatted as yyyy-mm; the earliest month available for query is june, 2022. current month's billing data may be inaccurate; please download the current month's bill after it is generated at 1:00 on the 5th of the next month. Month *string `json:"Month,omitnil,omitempty" name:"Month"` // Bill type. valid values: [billResource, billDetail, billResourcePack, billDetailPack]. `billResource`: resource bill; `billDetail`: detailed bill; `billResourcePack`: resource bill package; `billDetailPack`: detailed bill package. FileType *string `json:"FileType,omitnil,omitempty" name:"FileType"` // Customer type. valid values: [Customer, Reseller, ResellerCustomer]. `Customer`: direct customer; `Reseller`: secondary reseller; `ResellerCustomer`: reseller's customers CustomerUinType *string `json:"CustomerUinType,omitnil,omitempty" name:"CustomerUinType"` // Language. valid values: [zh_cn, en]. default is `en` (english). FileLanguage *string `json:"FileLanguage,omitnil,omitempty" name:"FileLanguage"` // Customer uin. when downloading the bill package (FileType is billResourcePack or billDetailPack), CustomerUin is not passed CustomerUin *int64 `json:"CustomerUin,omitnil,omitempty" name:"CustomerUin"` }
Predefined struct for user
type DescribeCustomerBillDownloadUrlResponse ¶
type DescribeCustomerBillDownloadUrlResponse struct { *tchttp.BaseResponse Response *DescribeCustomerBillDownloadUrlResponseParams `json:"Response"` }
func NewDescribeCustomerBillDownloadUrlResponse ¶
func NewDescribeCustomerBillDownloadUrlResponse() (response *DescribeCustomerBillDownloadUrlResponse)
func (*DescribeCustomerBillDownloadUrlResponse) FromJsonString ¶
func (r *DescribeCustomerBillDownloadUrlResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeCustomerBillDownloadUrlResponse) ToJsonString ¶
func (r *DescribeCustomerBillDownloadUrlResponse) ToJsonString() string
type DescribeCustomerBillDownloadUrlResponseParams ¶
type DescribeCustomerBillDownloadUrlResponseParams struct { // File download link, with a file validity period of 1 hour. DownloadUrl *string `json:"DownloadUrl,omitnil,omitempty" name:"DownloadUrl"` // File generation status. 0: generating; 1: generated. Ready *int64 `json:"Ready,omitnil,omitempty" name:"Ready"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeCustomerBillSummaryRequest ¶
type DescribeCustomerBillSummaryRequest struct { *tchttp.BaseRequest // Customer UIN CustomerUin *uint64 `json:"CustomerUin,omitnil,omitempty" name:"CustomerUin"` // The queried month in "YYYY-MM" format, such as 2023-01. Month *string `json:"Month,omitnil,omitempty" name:"Month"` // Billing mode. Valid values: // `prePay` (Monthly subscription) // `postPay` (Pay-as-you-go) PayMode *string `json:"PayMode,omitnil,omitempty" name:"PayMode"` // Transaction type. Valid values: // `prepay_purchase` (Purchase) // `prepay_renew` (Renewal) // `prepay_modify` (Upgrade/Downgrade) // `prepay_return` (Monthly subscription refund) // `postpay_deduct` (Pay-as-you-go) // `postpay_deduct_h` (Hourly settlement) // `postpay_deduct_d` (Daily settlement) // `postpay_deduct_m` (Monthly settlement) // `offline_deduct` (Offline project deduction) // `online_deduct` (Offline product deduction) // `recon_deduct` (Adjustment - deduction) // `recon_increase` (Adjustment - compensation) // `ripay_purchase` (One-off RI Fee) // `postpay_deduct_s` (Spot) // `ri_hour_pay` (Hourly RI fee) // `prePurchase` (New monthly subscription) // `preRenew` (Monthly subscription renewal) // `preUpgrade` (Upgrade/Downgrade) // `preDowngrade` (Upgrade/Downgrade) // `svp_hour_pay` (Hourly Savings Plan fee) // `recon_guarantee` (Minimum spend deduction) // `pre_purchase` (New monthly subscription) // `pre_renew` (Monthly subscription renewal) // `pre_upgrade` (Upgrade/Downgrade) // `pre_downgrade` (Upgrade/Downgrade) ActionType *string `json:"ActionType,omitnil,omitempty" name:"ActionType"` // Payment status // `0`: N/A // `1`: Paid // `2`: Unpaid IsConfirmed *string `json:"IsConfirmed,omitnil,omitempty" name:"IsConfirmed"` }
func NewDescribeCustomerBillSummaryRequest ¶
func NewDescribeCustomerBillSummaryRequest() (request *DescribeCustomerBillSummaryRequest)
func (*DescribeCustomerBillSummaryRequest) FromJsonString ¶
func (r *DescribeCustomerBillSummaryRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeCustomerBillSummaryRequest) ToJsonString ¶
func (r *DescribeCustomerBillSummaryRequest) ToJsonString() string
type DescribeCustomerBillSummaryRequestParams ¶
type DescribeCustomerBillSummaryRequestParams struct { // Customer UIN CustomerUin *uint64 `json:"CustomerUin,omitnil,omitempty" name:"CustomerUin"` // The queried month in "YYYY-MM" format, such as 2023-01. Month *string `json:"Month,omitnil,omitempty" name:"Month"` // Billing mode. Valid values: // `prePay` (Monthly subscription) // `postPay` (Pay-as-you-go) PayMode *string `json:"PayMode,omitnil,omitempty" name:"PayMode"` // Transaction type. Valid values: // `prepay_purchase` (Purchase) // `prepay_renew` (Renewal) // `prepay_modify` (Upgrade/Downgrade) // `prepay_return` (Monthly subscription refund) // `postpay_deduct` (Pay-as-you-go) // `postpay_deduct_h` (Hourly settlement) // `postpay_deduct_d` (Daily settlement) // `postpay_deduct_m` (Monthly settlement) // `offline_deduct` (Offline project deduction) // `online_deduct` (Offline product deduction) // `recon_deduct` (Adjustment - deduction) // `recon_increase` (Adjustment - compensation) // `ripay_purchase` (One-off RI Fee) // `postpay_deduct_s` (Spot) // `ri_hour_pay` (Hourly RI fee) // `prePurchase` (New monthly subscription) // `preRenew` (Monthly subscription renewal) // `preUpgrade` (Upgrade/Downgrade) // `preDowngrade` (Upgrade/Downgrade) // `svp_hour_pay` (Hourly Savings Plan fee) // `recon_guarantee` (Minimum spend deduction) // `pre_purchase` (New monthly subscription) // `pre_renew` (Monthly subscription renewal) // `pre_upgrade` (Upgrade/Downgrade) // `pre_downgrade` (Upgrade/Downgrade) ActionType *string `json:"ActionType,omitnil,omitempty" name:"ActionType"` // Payment status // `0`: N/A // `1`: Paid // `2`: Unpaid IsConfirmed *string `json:"IsConfirmed,omitnil,omitempty" name:"IsConfirmed"` }
Predefined struct for user
type DescribeCustomerBillSummaryResponse ¶
type DescribeCustomerBillSummaryResponse struct { *tchttp.BaseResponse Response *DescribeCustomerBillSummaryResponseParams `json:"Response"` }
func NewDescribeCustomerBillSummaryResponse ¶
func NewDescribeCustomerBillSummaryResponse() (response *DescribeCustomerBillSummaryResponse)
func (*DescribeCustomerBillSummaryResponse) FromJsonString ¶
func (r *DescribeCustomerBillSummaryResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeCustomerBillSummaryResponse) ToJsonString ¶
func (r *DescribeCustomerBillSummaryResponse) ToJsonString() string
type DescribeCustomerBillSummaryResponseParams ¶
type DescribeCustomerBillSummaryResponseParams struct { // Total amount TotalCost *float64 `json:"TotalCost,omitnil,omitempty" name:"TotalCost"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeCustomerInfoData ¶
type DescribeCustomerInfoData struct { // Sub-Account uin. CustomerUin *string `json:"CustomerUin,omitnil,omitempty" name:"CustomerUin"` // Contact email. Email *string `json:"Email,omitnil,omitempty" name:"Email"` // Contact phone number. Phone *string `json:"Phone,omitnil,omitempty" name:"Phone"` // Remarks. Mark *string `json:"Mark,omitnil,omitempty" name:"Mark"` // Display name. Name *string `json:"Name,omitnil,omitempty" name:"Name"` // Binding time. BindTime *string `json:"BindTime,omitnil,omitempty" name:"BindTime"` // Account status // . // 0: normal. // 1: forcibly mandatory (this function is not supported yet). // 2: mandatory arrears. AccountStatus *string `json:"AccountStatus,omitnil,omitempty" name:"AccountStatus"` // Identity verification status. // -1: files not uploaded. // 0: not submitted for review. // 1: under review. // 2: review error. // 3: approved. AuthStatus *string `json:"AuthStatus,omitnil,omitempty" name:"AuthStatus"` }
type DescribeCustomerInfoRequest ¶
type DescribeCustomerInfoRequest struct { *tchttp.BaseRequest // List of customer UIN. Array length value: 1-20. CustomerUin []*int64 `json:"CustomerUin,omitnil,omitempty" name:"CustomerUin"` }
func NewDescribeCustomerInfoRequest ¶
func NewDescribeCustomerInfoRequest() (request *DescribeCustomerInfoRequest)
func (*DescribeCustomerInfoRequest) FromJsonString ¶
func (r *DescribeCustomerInfoRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeCustomerInfoRequest) ToJsonString ¶
func (r *DescribeCustomerInfoRequest) ToJsonString() string
type DescribeCustomerInfoRequestParams ¶
type DescribeCustomerInfoRequestParams struct { // List of customer UIN. Array length value: 1-20. CustomerUin []*int64 `json:"CustomerUin,omitnil,omitempty" name:"CustomerUin"` }
Predefined struct for user
type DescribeCustomerInfoResponse ¶
type DescribeCustomerInfoResponse struct { *tchttp.BaseResponse Response *DescribeCustomerInfoResponseParams `json:"Response"` }
func NewDescribeCustomerInfoResponse ¶
func NewDescribeCustomerInfoResponse() (response *DescribeCustomerInfoResponse)
func (*DescribeCustomerInfoResponse) FromJsonString ¶
func (r *DescribeCustomerInfoResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeCustomerInfoResponse) ToJsonString ¶
func (r *DescribeCustomerInfoResponse) ToJsonString() string
type DescribeCustomerInfoResponseParams ¶
type DescribeCustomerInfoResponseParams struct { // Sub-Customer information. Data []*DescribeCustomerInfoData `json:"Data,omitnil,omitempty" name:"Data"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeCustomerUinData ¶
type DescribeCustomerUinData struct { // Customer UIN Note: This field may return null, indicating that no valid values can be obtained. CustomerUin *string `json:"CustomerUin,omitnil,omitempty" name:"CustomerUin"` }
type DescribeCustomerUinRequest ¶
type DescribeCustomerUinRequest struct { *tchttp.BaseRequest // Page number Page *int64 `json:"Page,omitnil,omitempty" name:"Page"` // Number of data entries per page PageSize *int64 `json:"PageSize,omitnil,omitempty" name:"PageSize"` }
func NewDescribeCustomerUinRequest ¶
func NewDescribeCustomerUinRequest() (request *DescribeCustomerUinRequest)
func (*DescribeCustomerUinRequest) FromJsonString ¶
func (r *DescribeCustomerUinRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeCustomerUinRequest) ToJsonString ¶
func (r *DescribeCustomerUinRequest) ToJsonString() string
type DescribeCustomerUinRequestParams ¶
type DescribeCustomerUinRequestParams struct { // Page number Page *int64 `json:"Page,omitnil,omitempty" name:"Page"` // Number of data entries per page PageSize *int64 `json:"PageSize,omitnil,omitempty" name:"PageSize"` }
Predefined struct for user
type DescribeCustomerUinResponse ¶
type DescribeCustomerUinResponse struct { *tchttp.BaseResponse Response *DescribeCustomerUinResponseParams `json:"Response"` }
func NewDescribeCustomerUinResponse ¶
func NewDescribeCustomerUinResponse() (response *DescribeCustomerUinResponse)
func (*DescribeCustomerUinResponse) FromJsonString ¶
func (r *DescribeCustomerUinResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeCustomerUinResponse) ToJsonString ¶
func (r *DescribeCustomerUinResponse) ToJsonString() string
type DescribeCustomerUinResponseParams ¶
type DescribeCustomerUinResponseParams struct { // List of customer UINs Note: This field may return null, indicating that no valid values can be obtained. Data []*DescribeCustomerUinData `json:"Data,omitnil,omitempty" name:"Data"` // The number of customers Total *string `json:"Total,omitnil,omitempty" name:"Total"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type ForceQNRequest ¶
type ForceQNRequest struct { *tchttp.BaseRequest // Sub-account UIN ClientUin *uint64 `json:"ClientUin,omitnil,omitempty" name:"ClientUin"` // 0: Normal 2: Forced service suspension Type *uint64 `json:"Type,omitnil,omitempty" name:"Type"` }
func NewForceQNRequest ¶
func NewForceQNRequest() (request *ForceQNRequest)
func (*ForceQNRequest) FromJsonString ¶
func (r *ForceQNRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ForceQNRequest) ToJsonString ¶
func (r *ForceQNRequest) ToJsonString() string
type ForceQNRequestParams ¶
type ForceQNRequestParams struct { // Sub-account UIN ClientUin *uint64 `json:"ClientUin,omitnil,omitempty" name:"ClientUin"` // 0: Normal 2: Forced service suspension Type *uint64 `json:"Type,omitnil,omitempty" name:"Type"` }
Predefined struct for user
type ForceQNResponse ¶
type ForceQNResponse struct { *tchttp.BaseResponse Response *ForceQNResponseParams `json:"Response"` }
func NewForceQNResponse ¶
func NewForceQNResponse() (response *ForceQNResponse)
func (*ForceQNResponse) FromJsonString ¶
func (r *ForceQNResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ForceQNResponse) ToJsonString ¶
func (r *ForceQNResponse) ToJsonString() string
type ForceQNResponseParams ¶
type ForceQNResponseParams struct { // Status (deprecated). // // Deprecated: C is deprecated. C *int64 `json:"C,omitnil,omitempty" name:"C"` // Msg (deprecated). // // Deprecated: M is deprecated. M *string `json:"M,omitnil,omitempty" name:"M"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type GetCountryCodesRequest ¶
type GetCountryCodesRequest struct {
*tchttp.BaseRequest
}
func NewGetCountryCodesRequest ¶
func NewGetCountryCodesRequest() (request *GetCountryCodesRequest)
func (*GetCountryCodesRequest) FromJsonString ¶
func (r *GetCountryCodesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*GetCountryCodesRequest) ToJsonString ¶
func (r *GetCountryCodesRequest) ToJsonString() string
type GetCountryCodesRequestParams ¶
type GetCountryCodesRequestParams struct { }
Predefined struct for user
type GetCountryCodesResponse ¶
type GetCountryCodesResponse struct { *tchttp.BaseResponse Response *GetCountryCodesResponseParams `json:"Response"` }
func NewGetCountryCodesResponse ¶
func NewGetCountryCodesResponse() (response *GetCountryCodesResponse)
func (*GetCountryCodesResponse) FromJsonString ¶
func (r *GetCountryCodesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*GetCountryCodesResponse) ToJsonString ¶
func (r *GetCountryCodesResponse) ToJsonString() string
type GetCountryCodesResponseParams ¶
type GetCountryCodesResponseParams struct { // List of country/region codes Data []*CountryCodeItem `json:"Data,omitnil,omitempty" name:"Data"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type GetTradeConfigListRequest ¶
type GetTradeConfigListRequest struct {
*tchttp.BaseRequest
}
func NewGetTradeConfigListRequest ¶
func NewGetTradeConfigListRequest() (request *GetTradeConfigListRequest)
func (*GetTradeConfigListRequest) FromJsonString ¶
func (r *GetTradeConfigListRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*GetTradeConfigListRequest) ToJsonString ¶
func (r *GetTradeConfigListRequest) ToJsonString() string
type GetTradeConfigListRequestParams ¶
type GetTradeConfigListRequestParams struct { }
Predefined struct for user
type GetTradeConfigListResponse ¶
type GetTradeConfigListResponse struct { *tchttp.BaseResponse Response *GetTradeConfigListResponseParams `json:"Response"` }
func NewGetTradeConfigListResponse ¶
func NewGetTradeConfigListResponse() (response *GetTradeConfigListResponse)
func (*GetTradeConfigListResponse) FromJsonString ¶
func (r *GetTradeConfigListResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*GetTradeConfigListResponse) ToJsonString ¶
func (r *GetTradeConfigListResponse) ToJsonString() string
type GetTradeConfigListResponseParams ¶
type GetTradeConfigListResponseParams struct { // Industry information. TradeList []*TradeOneNode `json:"TradeList,omitnil,omitempty" name:"TradeList"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyClientRemarkRequest ¶
type ModifyClientRemarkRequest struct { *tchttp.BaseRequest // Customer UIN ClientUin *string `json:"ClientUin,omitnil,omitempty" name:"ClientUin"` // New customer remarks Remark *string `json:"Remark,omitnil,omitempty" name:"Remark"` }
func NewModifyClientRemarkRequest ¶
func NewModifyClientRemarkRequest() (request *ModifyClientRemarkRequest)
func (*ModifyClientRemarkRequest) FromJsonString ¶
func (r *ModifyClientRemarkRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyClientRemarkRequest) ToJsonString ¶
func (r *ModifyClientRemarkRequest) ToJsonString() string
type ModifyClientRemarkRequestParams ¶
type ModifyClientRemarkRequestParams struct { // Customer UIN ClientUin *string `json:"ClientUin,omitnil,omitempty" name:"ClientUin"` // New customer remarks Remark *string `json:"Remark,omitnil,omitempty" name:"Remark"` }
Predefined struct for user
type ModifyClientRemarkResponse ¶
type ModifyClientRemarkResponse struct { *tchttp.BaseResponse Response *ModifyClientRemarkResponseParams `json:"Response"` }
func NewModifyClientRemarkResponse ¶
func NewModifyClientRemarkResponse() (response *ModifyClientRemarkResponse)
func (*ModifyClientRemarkResponse) FromJsonString ¶
func (r *ModifyClientRemarkResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyClientRemarkResponse) ToJsonString ¶
func (r *ModifyClientRemarkResponse) ToJsonString() string
type ModifyClientRemarkResponseParams ¶
type ModifyClientRemarkResponseParams struct { // If successful, returns the new customer remarks ClientRemark *string `json:"ClientRemark,omitnil,omitempty" name:"ClientRemark"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type PayModeSummaryOverviewItem ¶
type PayModeSummaryOverviewItem struct { // Payment mode. PayMode *string `json:"PayMode,omitnil,omitempty" name:"PayMode"` // Payment mode name. PayModeName *string `json:"PayModeName,omitnil,omitempty" name:"PayModeName"` // Actual total consumption, up to 8 decimal places. OriginalCost *string `json:"OriginalCost,omitnil,omitempty" name:"OriginalCost"` // Bill details in each payment mode. Detail []*ActionSummaryOverviewItem `json:"Detail,omitnil,omitempty" name:"Detail"` // Voucher payment amount, up to 8 decimal places. VoucherPayAmount *string `json:"VoucherPayAmount,omitnil,omitempty" name:"VoucherPayAmount"` // Total consumption, up to 8 decimal places. TotalCost *string `json:"TotalCost,omitnil,omitempty" name:"TotalCost"` }
type PolicyProductList ¶
type PolicyProductList struct { // Policy code. PolicyCode *string `json:"PolicyCode,omitnil,omitempty" name:"PolicyCode"` // The code of the ProductName field in the bill data. If the return value is *, any item at this level is included in the policy product range. ProductCode *string `json:"ProductCode,omitnil,omitempty" name:"ProductCode"` // The ProductName field value in the billing data. If the return value is *, any item at this level is included in the policy product range. ProductName *string `json:"ProductName,omitnil,omitempty" name:"ProductName"` // The code of the SubProduct field in the bill data. If the return value is *, any item at this level is included in the policy product range. SubProductCode *string `json:"SubProductCode,omitnil,omitempty" name:"SubProductCode"` // The SubProduct field value in the billing data. If the return value is *, any item at this level is included in the policy product range. SubProductName *string `json:"SubProductName,omitnil,omitempty" name:"SubProductName"` // The code of the ComponentType field in the bill data. If the return value is *, any item at this level is included in the policy product range. ComponentTypeCode *string `json:"ComponentTypeCode,omitnil,omitempty" name:"ComponentTypeCode"` // The ComponentType field value in the billing data. If the return value is *, any item at this level is included in the policy product range. ComponentTypeName *string `json:"ComponentTypeName,omitnil,omitempty" name:"ComponentTypeName"` // The code of the Component field in the bill data. If the return value is *, any item at this level is included in the policy product range. ComponentCode *string `json:"ComponentCode,omitnil,omitempty" name:"ComponentCode"` // The Component field value in the billing data. If the return value is *, any item at this level is included in the policy product range. ComponentName *string `json:"ComponentName,omitnil,omitempty" name:"ComponentName"` // Policy effective time. StartDate *string `json:"StartDate,omitnil,omitempty" name:"StartDate"` // Policy expiration time. EndDate *string `json:"EndDate,omitnil,omitempty" name:"EndDate"` }
type QueryAccountVerificationStatusRequest ¶
type QueryAccountVerificationStatusRequest struct { *tchttp.BaseRequest // Customer UIN ClientUin *int64 `json:"ClientUin,omitnil,omitempty" name:"ClientUin"` }
func NewQueryAccountVerificationStatusRequest ¶
func NewQueryAccountVerificationStatusRequest() (request *QueryAccountVerificationStatusRequest)
func (*QueryAccountVerificationStatusRequest) FromJsonString ¶
func (r *QueryAccountVerificationStatusRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*QueryAccountVerificationStatusRequest) ToJsonString ¶
func (r *QueryAccountVerificationStatusRequest) ToJsonString() string
type QueryAccountVerificationStatusRequestParams ¶
type QueryAccountVerificationStatusRequestParams struct { // Customer UIN ClientUin *int64 `json:"ClientUin,omitnil,omitempty" name:"ClientUin"` }
Predefined struct for user
type QueryAccountVerificationStatusResponse ¶
type QueryAccountVerificationStatusResponse struct { *tchttp.BaseResponse Response *QueryAccountVerificationStatusResponseParams `json:"Response"` }
func NewQueryAccountVerificationStatusResponse ¶
func NewQueryAccountVerificationStatusResponse() (response *QueryAccountVerificationStatusResponse)
func (*QueryAccountVerificationStatusResponse) FromJsonString ¶
func (r *QueryAccountVerificationStatusResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*QueryAccountVerificationStatusResponse) ToJsonString ¶
func (r *QueryAccountVerificationStatusResponse) ToJsonString() string
type QueryAccountVerificationStatusResponseParams ¶
type QueryAccountVerificationStatusResponseParams struct { // Account verification status AccountStatus *bool `json:"AccountStatus,omitnil,omitempty" name:"AccountStatus"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type QueryCreditAllocationHistoryData ¶
type QueryCreditAllocationHistoryData struct { // Allocation time AllocatedTime *string `json:"AllocatedTime,omitnil,omitempty" name:"AllocatedTime"` // Operator Operator *string `json:"Operator,omitnil,omitempty" name:"Operator"` // Allocated credit value Credit *float64 `json:"Credit,omitnil,omitempty" name:"Credit"` // The allocated total credit AllocatedCredit *float64 `json:"AllocatedCredit,omitnil,omitempty" name:"AllocatedCredit"` // Available credits after allocation. ClientCreditAfter *float64 `json:"ClientCreditAfter,omitnil,omitempty" name:"ClientCreditAfter"` }
type QueryCreditAllocationHistoryRequest ¶
type QueryCreditAllocationHistoryRequest struct { *tchttp.BaseRequest // Customer UIN ClientUin *uint64 `json:"ClientUin,omitnil,omitempty" name:"ClientUin"` // Page number Page *uint64 `json:"Page,omitnil,omitempty" name:"Page"` // Number of data entries per page PageSize *uint64 `json:"PageSize,omitnil,omitempty" name:"PageSize"` }
func NewQueryCreditAllocationHistoryRequest ¶
func NewQueryCreditAllocationHistoryRequest() (request *QueryCreditAllocationHistoryRequest)
func (*QueryCreditAllocationHistoryRequest) FromJsonString ¶
func (r *QueryCreditAllocationHistoryRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*QueryCreditAllocationHistoryRequest) ToJsonString ¶
func (r *QueryCreditAllocationHistoryRequest) ToJsonString() string
type QueryCreditAllocationHistoryRequestParams ¶
type QueryCreditAllocationHistoryRequestParams struct { // Customer UIN ClientUin *uint64 `json:"ClientUin,omitnil,omitempty" name:"ClientUin"` // Page number Page *uint64 `json:"Page,omitnil,omitempty" name:"Page"` // Number of data entries per page PageSize *uint64 `json:"PageSize,omitnil,omitempty" name:"PageSize"` }
Predefined struct for user
type QueryCreditAllocationHistoryResponse ¶
type QueryCreditAllocationHistoryResponse struct { *tchttp.BaseResponse Response *QueryCreditAllocationHistoryResponseParams `json:"Response"` }
func NewQueryCreditAllocationHistoryResponse ¶
func NewQueryCreditAllocationHistoryResponse() (response *QueryCreditAllocationHistoryResponse)
func (*QueryCreditAllocationHistoryResponse) FromJsonString ¶
func (r *QueryCreditAllocationHistoryResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*QueryCreditAllocationHistoryResponse) ToJsonString ¶
func (r *QueryCreditAllocationHistoryResponse) ToJsonString() string
type QueryCreditAllocationHistoryResponseParams ¶
type QueryCreditAllocationHistoryResponseParams struct { // Total number of historical records. Total *uint64 `json:"Total,omitnil,omitempty" name:"Total"` // Detailed list of historical information. History []*QueryCreditAllocationHistoryData `json:"History,omitnil,omitempty" name:"History"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type QueryCreditByUinListRequest ¶
type QueryCreditByUinListRequest struct { *tchttp.BaseRequest // List of user. Array length value: 1-50. UinList []*uint64 `json:"UinList,omitnil,omitempty" name:"UinList"` }
func NewQueryCreditByUinListRequest ¶
func NewQueryCreditByUinListRequest() (request *QueryCreditByUinListRequest)
func (*QueryCreditByUinListRequest) FromJsonString ¶
func (r *QueryCreditByUinListRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*QueryCreditByUinListRequest) ToJsonString ¶
func (r *QueryCreditByUinListRequest) ToJsonString() string
type QueryCreditByUinListRequestParams ¶
type QueryCreditByUinListRequestParams struct { // List of user. Array length value: 1-50. UinList []*uint64 `json:"UinList,omitnil,omitempty" name:"UinList"` }
Predefined struct for user
type QueryCreditByUinListResponse ¶
type QueryCreditByUinListResponse struct { *tchttp.BaseResponse Response *QueryCreditByUinListResponseParams `json:"Response"` }
func NewQueryCreditByUinListResponse ¶
func NewQueryCreditByUinListResponse() (response *QueryCreditByUinListResponse)
func (*QueryCreditByUinListResponse) FromJsonString ¶
func (r *QueryCreditByUinListResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*QueryCreditByUinListResponse) ToJsonString ¶
func (r *QueryCreditByUinListResponse) ToJsonString() string
type QueryCreditByUinListResponseParams ¶
type QueryCreditByUinListResponseParams struct { // User information list Data []*QueryDirectCustomersCreditData `json:"Data,omitnil,omitempty" name:"Data"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type QueryCustomerBillingQuotaData ¶
type QueryCustomerBillingQuotaData struct { // Total credit limit (unit: cny), accurate down to two decimal places. TotalCredit *float64 `json:"TotalCredit,omitnil,omitempty" name:"TotalCredit"` // Remaining credit limit (unit: cny), accurate down to two decimal places. RemainingCredit *float64 `json:"RemainingCredit,omitnil,omitempty" name:"RemainingCredit"` // Remaining total voucher amount (unit: cny), accurate down to two decimal places. RemainingVoucher *float64 `json:"RemainingVoucher,omitnil,omitempty" name:"RemainingVoucher"` // Forced status // . // Note: this field may return null, indicating that no valid values can be obtained. Force *int64 `json:"Force,omitnil,omitempty" name:"Force"` // Prepaid frozen amount. PrepayFrozen *float64 `json:"PrepayFrozen,omitnil,omitempty" name:"PrepayFrozen"` // Postpaid frozen amount. PostpayFrozen *float64 `json:"PostpayFrozen,omitnil,omitempty" name:"PostpayFrozen"` }
type QueryCustomerBillingQuotaRequest ¶
type QueryCustomerBillingQuotaRequest struct { *tchttp.BaseRequest // Event id, used to tag the request event, usually a random number. EventId *int64 `json:"EventId,omitnil,omitempty" name:"EventId"` // Source of the request. ComponentName *string `json:"ComponentName,omitnil,omitempty" name:"ComponentName"` }
func NewQueryCustomerBillingQuotaRequest ¶
func NewQueryCustomerBillingQuotaRequest() (request *QueryCustomerBillingQuotaRequest)
func (*QueryCustomerBillingQuotaRequest) FromJsonString ¶
func (r *QueryCustomerBillingQuotaRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*QueryCustomerBillingQuotaRequest) ToJsonString ¶
func (r *QueryCustomerBillingQuotaRequest) ToJsonString() string
type QueryCustomerBillingQuotaRequestParams ¶
type QueryCustomerBillingQuotaRequestParams struct { // Event id, used to tag the request event, usually a random number. // // Deprecated: EventId is deprecated. EventId *int64 `json:"EventId,omitnil,omitempty" name:"EventId"` // Source of the request. // // Deprecated: ComponentName is deprecated. ComponentName *string `json:"ComponentName,omitnil,omitempty" name:"ComponentName"` }
Predefined struct for user
type QueryCustomerBillingQuotaResponse ¶
type QueryCustomerBillingQuotaResponse struct { *tchttp.BaseResponse Response *QueryCustomerBillingQuotaResponseParams `json:"Response"` }
func NewQueryCustomerBillingQuotaResponse ¶
func NewQueryCustomerBillingQuotaResponse() (response *QueryCustomerBillingQuotaResponse)
func (*QueryCustomerBillingQuotaResponse) FromJsonString ¶
func (r *QueryCustomerBillingQuotaResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*QueryCustomerBillingQuotaResponse) ToJsonString ¶
func (r *QueryCustomerBillingQuotaResponse) ToJsonString() string
type QueryCustomerBillingQuotaResponseParams ¶
type QueryCustomerBillingQuotaResponseParams struct { // Limit data. Data *QueryCustomerBillingQuotaData `json:"Data,omitnil,omitempty" name:"Data"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type QueryCustomersCreditData ¶
type QueryCustomersCreditData struct { // Name Name *string `json:"Name,omitnil,omitempty" name:"Name"` // Type Type *string `json:"Type,omitnil,omitempty" name:"Type"` // Mobile number Mobile *string `json:"Mobile,omitnil,omitempty" name:"Mobile"` // Email Email *string `json:"Email,omitnil,omitempty" name:"Email"` // Overdue payment flag Arrears *string `json:"Arrears,omitnil,omitempty" name:"Arrears"` // Binding time AssociationTime *string `json:"AssociationTime,omitnil,omitempty" name:"AssociationTime"` // Expiration time RecentExpiry *string `json:"RecentExpiry,omitnil,omitempty" name:"RecentExpiry"` // Customer UIN ClientUin *uint64 `json:"ClientUin,omitnil,omitempty" name:"ClientUin"` // Credit allocated to a customer Credit *float64 `json:"Credit,omitnil,omitempty" name:"Credit"` // The remaining credit of a customer RemainingCredit *float64 `json:"RemainingCredit,omitnil,omitempty" name:"RemainingCredit"` // `0`: Identity not verified; `1`: Individual identity verified; `2`: Enterprise identity verified. IdentifyType *uint64 `json:"IdentifyType,omitnil,omitempty" name:"IdentifyType"` // Customer remarks Remark *string `json:"Remark,omitnil,omitempty" name:"Remark"` // Forced status Force *int64 `json:"Force,omitnil,omitempty" name:"Force"` }
type QueryCustomersCreditRequest ¶
type QueryCustomersCreditRequest struct { *tchttp.BaseRequest // Search condition type. You can only search by customer ID, name, remarks, or email. FilterType *string `json:"FilterType,omitnil,omitempty" name:"FilterType"` // Search condition Filter *string `json:"Filter,omitnil,omitempty" name:"Filter"` // A pagination parameter that specifies the current page number, with a value starting from 1. Page *int64 `json:"Page,omitnil,omitempty" name:"Page"` // A pagination parameter that specifies the number of entries per page. PageSize *int64 `json:"PageSize,omitnil,omitempty" name:"PageSize"` // A sort parameter that specifies the sort order. Valid values: `desc` (descending order), or `asc` (ascending order) based on `AssociationTime`. The value will be `desc` if left empty. Order *string `json:"Order,omitnil,omitempty" name:"Order"` }
func NewQueryCustomersCreditRequest ¶
func NewQueryCustomersCreditRequest() (request *QueryCustomersCreditRequest)
func (*QueryCustomersCreditRequest) FromJsonString ¶
func (r *QueryCustomersCreditRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*QueryCustomersCreditRequest) ToJsonString ¶
func (r *QueryCustomersCreditRequest) ToJsonString() string
type QueryCustomersCreditRequestParams ¶
type QueryCustomersCreditRequestParams struct { // Search condition type. You can only search by customer ID, name, remarks, or email. FilterType *string `json:"FilterType,omitnil,omitempty" name:"FilterType"` // Search condition Filter *string `json:"Filter,omitnil,omitempty" name:"Filter"` // A pagination parameter that specifies the current page number, with a value starting from 1. Page *int64 `json:"Page,omitnil,omitempty" name:"Page"` // A pagination parameter that specifies the number of entries per page. PageSize *int64 `json:"PageSize,omitnil,omitempty" name:"PageSize"` // A sort parameter that specifies the sort order. Valid values: `desc` (descending order), or `asc` (ascending order) based on `AssociationTime`. The value will be `desc` if left empty. Order *string `json:"Order,omitnil,omitempty" name:"Order"` }
Predefined struct for user
type QueryCustomersCreditResponse ¶
type QueryCustomersCreditResponse struct { *tchttp.BaseResponse Response *QueryCustomersCreditResponseParams `json:"Response"` }
func NewQueryCustomersCreditResponse ¶
func NewQueryCustomersCreditResponse() (response *QueryCustomersCreditResponse)
func (*QueryCustomersCreditResponse) FromJsonString ¶
func (r *QueryCustomersCreditResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*QueryCustomersCreditResponse) ToJsonString ¶
func (r *QueryCustomersCreditResponse) ToJsonString() string
type QueryCustomersCreditResponseParams ¶
type QueryCustomersCreditResponseParams struct { // Queries the list of customers. Data []*QueryCustomersCreditData `json:"Data,omitnil,omitempty" name:"Data"` // Number of customers Total *uint64 `json:"Total,omitnil,omitempty" name:"Total"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type QueryDirectCustomersCreditData ¶
type QueryDirectCustomersCreditData struct { // User UIN Uin *uint64 `json:"Uin,omitnil,omitempty" name:"Uin"` // Total credit TotalCredit *float64 `json:"TotalCredit,omitnil,omitempty" name:"TotalCredit"` // Remaining credit RemainingCredit *float64 `json:"RemainingCredit,omitnil,omitempty" name:"RemainingCredit"` }
type QueryDirectCustomersCreditRequest ¶
type QueryDirectCustomersCreditRequest struct {
*tchttp.BaseRequest
}
func NewQueryDirectCustomersCreditRequest ¶
func NewQueryDirectCustomersCreditRequest() (request *QueryDirectCustomersCreditRequest)
func (*QueryDirectCustomersCreditRequest) FromJsonString ¶
func (r *QueryDirectCustomersCreditRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*QueryDirectCustomersCreditRequest) ToJsonString ¶
func (r *QueryDirectCustomersCreditRequest) ToJsonString() string
type QueryDirectCustomersCreditRequestParams ¶
type QueryDirectCustomersCreditRequestParams struct { }
Predefined struct for user
type QueryDirectCustomersCreditResponse ¶
type QueryDirectCustomersCreditResponse struct { *tchttp.BaseResponse Response *QueryDirectCustomersCreditResponseParams `json:"Response"` }
func NewQueryDirectCustomersCreditResponse ¶
func NewQueryDirectCustomersCreditResponse() (response *QueryDirectCustomersCreditResponse)
func (*QueryDirectCustomersCreditResponse) FromJsonString ¶
func (r *QueryDirectCustomersCreditResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*QueryDirectCustomersCreditResponse) ToJsonString ¶
func (r *QueryDirectCustomersCreditResponse) ToJsonString() string
type QueryDirectCustomersCreditResponseParams ¶
type QueryDirectCustomersCreditResponseParams struct { // Direct customer information list Data []*QueryDirectCustomersCreditData `json:"Data,omitnil,omitempty" name:"Data"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type QueryPartnerCreditRequest ¶
type QueryPartnerCreditRequest struct {
*tchttp.BaseRequest
}
func NewQueryPartnerCreditRequest ¶
func NewQueryPartnerCreditRequest() (request *QueryPartnerCreditRequest)
func (*QueryPartnerCreditRequest) FromJsonString ¶
func (r *QueryPartnerCreditRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*QueryPartnerCreditRequest) ToJsonString ¶
func (r *QueryPartnerCreditRequest) ToJsonString() string
type QueryPartnerCreditRequestParams ¶
type QueryPartnerCreditRequestParams struct { }
Predefined struct for user
type QueryPartnerCreditResponse ¶
type QueryPartnerCreditResponse struct { *tchttp.BaseResponse Response *QueryPartnerCreditResponseParams `json:"Response"` }
func NewQueryPartnerCreditResponse ¶
func NewQueryPartnerCreditResponse() (response *QueryPartnerCreditResponse)
func (*QueryPartnerCreditResponse) FromJsonString ¶
func (r *QueryPartnerCreditResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*QueryPartnerCreditResponse) ToJsonString ¶
func (r *QueryPartnerCreditResponse) ToJsonString() string
type QueryPartnerCreditResponseParams ¶
type QueryPartnerCreditResponseParams struct { // Allocated credit AllocatedCredit *float64 `json:"AllocatedCredit,omitnil,omitempty" name:"AllocatedCredit"` // Total credit TotalCredit *float64 `json:"TotalCredit,omitnil,omitempty" name:"TotalCredit"` // Remaining credit RemainingCredit *float64 `json:"RemainingCredit,omitnil,omitempty" name:"RemainingCredit"` // Allocated quota for the client CustomerTotalCredit *float64 `json:"CustomerTotalCredit,omitnil,omitempty" name:"CustomerTotalCredit"` // Remaining quota for the client CustomerRemainingCredit *float64 `json:"CustomerRemainingCredit,omitnil,omitempty" name:"CustomerRemainingCredit"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type QueryPendingClientsV2Request ¶
type QueryPendingClientsV2Request struct { *tchttp.BaseRequest // Page number, starting from 1. Page *int64 `json:"Page,omitnil,omitempty" name:"Page"` // Quantity. page size [1-100]. PageSize *int64 `json:"PageSize,omitnil,omitempty" name:"PageSize"` }
func NewQueryPendingClientsV2Request ¶
func NewQueryPendingClientsV2Request() (request *QueryPendingClientsV2Request)
func (*QueryPendingClientsV2Request) FromJsonString ¶
func (r *QueryPendingClientsV2Request) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*QueryPendingClientsV2Request) ToJsonString ¶
func (r *QueryPendingClientsV2Request) ToJsonString() string
type QueryPendingClientsV2RequestParams ¶
type QueryPendingClientsV2RequestParams struct { // Page number, starting from 1. Page *int64 `json:"Page,omitnil,omitempty" name:"Page"` // Quantity. page size [1-100]. PageSize *int64 `json:"PageSize,omitnil,omitempty" name:"PageSize"` }
Predefined struct for user
type QueryPendingClientsV2Response ¶
type QueryPendingClientsV2Response struct { *tchttp.BaseResponse Response *QueryPendingClientsV2ResponseParams `json:"Response"` }
func NewQueryPendingClientsV2Response ¶
func NewQueryPendingClientsV2Response() (response *QueryPendingClientsV2Response)
func (*QueryPendingClientsV2Response) FromJsonString ¶
func (r *QueryPendingClientsV2Response) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*QueryPendingClientsV2Response) ToJsonString ¶
func (r *QueryPendingClientsV2Response) ToJsonString() string
type QueryPendingClientsV2ResponseParams ¶
type QueryPendingClientsV2ResponseParams struct { // Details of customers in application. Data []*QueryPendingCustomersItem `json:"Data,omitnil,omitempty" name:"Data"` // Total number of customers in application. Total *int64 `json:"Total,omitnil,omitempty" name:"Total"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type QueryPendingCustomersItem ¶
type QueryPendingCustomersItem struct { // Application time. ApplyTime *string `json:"ApplyTime,omitnil,omitempty" name:"ApplyTime"` // Sub-Account uin. ClientUin *uint64 `json:"ClientUin,omitnil,omitempty" name:"ClientUin"` // Email. Email *string `json:"Email,omitnil,omitempty" name:"Email"` // Mobile number. Mobile *string `json:"Mobile,omitnil,omitempty" name:"Mobile"` // Name. Name *string `json:"Name,omitnil,omitempty" name:"Name"` // Approval status. Status *string `json:"Status,omitnil,omitempty" name:"Status"` // Sub-Customer type. Type *string `json:"Type,omitnil,omitempty" name:"Type"` }
type QueryPolicyProductListByCodeRequest ¶
type QueryPolicyProductListByCodeRequest struct { *tchttp.BaseRequest // Policy code. PolicyCode *string `json:"PolicyCode,omitnil,omitempty" name:"PolicyCode"` // The code of the ProductName field in the bill data. ProductCode *string `json:"ProductCode,omitnil,omitempty" name:"ProductCode"` // The ProductName field value in the billing data. ProductName *string `json:"ProductName,omitnil,omitempty" name:"ProductName"` // The code of the SubProductName field in the bill data. SubProductCode *string `json:"SubProductCode,omitnil,omitempty" name:"SubProductCode"` // The SubProductName field value in the billing data. SubProductName *string `json:"SubProductName,omitnil,omitempty" name:"SubProductName"` // Page parameter: current page number. The minimum value is 1. Page *uint64 `json:"Page,omitnil,omitempty" name:"Page"` // Page parameter: Indicates the number of entries per page. Value range: [1, 200], default is 200. PageSize *uint64 `json:"PageSize,omitnil,omitempty" name:"PageSize"` }
func NewQueryPolicyProductListByCodeRequest ¶
func NewQueryPolicyProductListByCodeRequest() (request *QueryPolicyProductListByCodeRequest)
func (*QueryPolicyProductListByCodeRequest) FromJsonString ¶
func (r *QueryPolicyProductListByCodeRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*QueryPolicyProductListByCodeRequest) ToJsonString ¶
func (r *QueryPolicyProductListByCodeRequest) ToJsonString() string
type QueryPolicyProductListByCodeRequestParams ¶
type QueryPolicyProductListByCodeRequestParams struct { // Policy code. PolicyCode *string `json:"PolicyCode,omitnil,omitempty" name:"PolicyCode"` // The code of the ProductName field in the bill data. ProductCode *string `json:"ProductCode,omitnil,omitempty" name:"ProductCode"` // The ProductName field value in the billing data. ProductName *string `json:"ProductName,omitnil,omitempty" name:"ProductName"` // The code of the SubProductName field in the bill data. SubProductCode *string `json:"SubProductCode,omitnil,omitempty" name:"SubProductCode"` // The SubProductName field value in the billing data. SubProductName *string `json:"SubProductName,omitnil,omitempty" name:"SubProductName"` // Page parameter: current page number. The minimum value is 1. Page *uint64 `json:"Page,omitnil,omitempty" name:"Page"` // Page parameter: Indicates the number of entries per page. Value range: [1, 200], default is 200. PageSize *uint64 `json:"PageSize,omitnil,omitempty" name:"PageSize"` }
Predefined struct for user
type QueryPolicyProductListByCodeResponse ¶
type QueryPolicyProductListByCodeResponse struct { *tchttp.BaseResponse Response *QueryPolicyProductListByCodeResponseParams `json:"Response"` }
func NewQueryPolicyProductListByCodeResponse ¶
func NewQueryPolicyProductListByCodeResponse() (response *QueryPolicyProductListByCodeResponse)
func (*QueryPolicyProductListByCodeResponse) FromJsonString ¶
func (r *QueryPolicyProductListByCodeResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*QueryPolicyProductListByCodeResponse) ToJsonString ¶
func (r *QueryPolicyProductListByCodeResponse) ToJsonString() string
type QueryPolicyProductListByCodeResponseParams ¶
type QueryPolicyProductListByCodeResponseParams struct { // policy product list. ProductList []*PolicyProductList `json:"ProductList,omitnil,omitempty" name:"ProductList"` // Total number of data entries Total *uint64 `json:"Total,omitnil,omitempty" name:"Total"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type QueryVoucherAmountByUinItem ¶
type QueryVoucherAmountByUinItem struct { // Customer UIN ClientUin *int64 `json:"ClientUin,omitnil,omitempty" name:"ClientUin"` // Voucher quota TotalAmount *float64 `json:"TotalAmount,omitnil,omitempty" name:"TotalAmount"` // Voucher amount RemainAmount *float64 `json:"RemainAmount,omitnil,omitempty" name:"RemainAmount"` }
type QueryVoucherAmountByUinRequest ¶
type QueryVoucherAmountByUinRequest struct { *tchttp.BaseRequest // Customer UIN list. Array length value: 1-20. ClientUins []*uint64 `json:"ClientUins,omitnil,omitempty" name:"ClientUins"` }
func NewQueryVoucherAmountByUinRequest ¶
func NewQueryVoucherAmountByUinRequest() (request *QueryVoucherAmountByUinRequest)
func (*QueryVoucherAmountByUinRequest) FromJsonString ¶
func (r *QueryVoucherAmountByUinRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*QueryVoucherAmountByUinRequest) ToJsonString ¶
func (r *QueryVoucherAmountByUinRequest) ToJsonString() string
type QueryVoucherAmountByUinRequestParams ¶
type QueryVoucherAmountByUinRequestParams struct { // Customer UIN list. Array length value: 1-20. ClientUins []*uint64 `json:"ClientUins,omitnil,omitempty" name:"ClientUins"` }
Predefined struct for user
type QueryVoucherAmountByUinResponse ¶
type QueryVoucherAmountByUinResponse struct { *tchttp.BaseResponse Response *QueryVoucherAmountByUinResponseParams `json:"Response"` }
func NewQueryVoucherAmountByUinResponse ¶
func NewQueryVoucherAmountByUinResponse() (response *QueryVoucherAmountByUinResponse)
func (*QueryVoucherAmountByUinResponse) FromJsonString ¶
func (r *QueryVoucherAmountByUinResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*QueryVoucherAmountByUinResponse) ToJsonString ¶
func (r *QueryVoucherAmountByUinResponse) ToJsonString() string
type QueryVoucherAmountByUinResponseParams ¶
type QueryVoucherAmountByUinResponseParams struct { // Customer voucher quota information Data []*QueryVoucherAmountByUinItem `json:"Data,omitnil,omitempty" name:"Data"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type QueryVoucherListByUinItem ¶
type QueryVoucherListByUinItem struct { // Customer UIN ClientUin *int64 `json:"ClientUin,omitnil,omitempty" name:"ClientUin"` // The total number of vouchers TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // Voucher details Data []*QueryVoucherListByUinVoucherItem `json:"Data,omitnil,omitempty" name:"Data"` }
type QueryVoucherListByUinRequest ¶
type QueryVoucherListByUinRequest struct { *tchttp.BaseRequest // Customer UIN list. Array length value: 1-20. ClientUins []*uint64 `json:"ClientUins,omitnil,omitempty" name:"ClientUins"` // Voucher status. If this parameter is not passed in, all status will be queried by default. Valid values: `Unused`, `Used`, `Expired`. Status *string `json:"Status,omitnil,omitempty" name:"Status"` }
func NewQueryVoucherListByUinRequest ¶
func NewQueryVoucherListByUinRequest() (request *QueryVoucherListByUinRequest)
func (*QueryVoucherListByUinRequest) FromJsonString ¶
func (r *QueryVoucherListByUinRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*QueryVoucherListByUinRequest) ToJsonString ¶
func (r *QueryVoucherListByUinRequest) ToJsonString() string
type QueryVoucherListByUinRequestParams ¶
type QueryVoucherListByUinRequestParams struct { // Customer UIN list. Array length value: 1-20. ClientUins []*uint64 `json:"ClientUins,omitnil,omitempty" name:"ClientUins"` // Voucher status. If this parameter is not passed in, all status will be queried by default. Valid values: `Unused`, `Used`, `Expired`. Status *string `json:"Status,omitnil,omitempty" name:"Status"` }
Predefined struct for user
type QueryVoucherListByUinResponse ¶
type QueryVoucherListByUinResponse struct { *tchttp.BaseResponse Response *QueryVoucherListByUinResponseParams `json:"Response"` }
func NewQueryVoucherListByUinResponse ¶
func NewQueryVoucherListByUinResponse() (response *QueryVoucherListByUinResponse)
func (*QueryVoucherListByUinResponse) FromJsonString ¶
func (r *QueryVoucherListByUinResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*QueryVoucherListByUinResponse) ToJsonString ¶
func (r *QueryVoucherListByUinResponse) ToJsonString() string
type QueryVoucherListByUinResponseParams ¶
type QueryVoucherListByUinResponseParams struct { // Customer voucher information Data []*QueryVoucherListByUinItem `json:"Data,omitnil,omitempty" name:"Data"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type QueryVoucherListByUinVoucherItem ¶
type QueryVoucherListByUinVoucherItem struct { // Voucher ID VoucherId *string `json:"VoucherId,omitnil,omitempty" name:"VoucherId"` // Voucher status VoucherStatus *string `json:"VoucherStatus,omitnil,omitempty" name:"VoucherStatus"` // Voucher value TotalAmount *float64 `json:"TotalAmount,omitnil,omitempty" name:"TotalAmount"` // Balance RemainAmount *float64 `json:"RemainAmount,omitnil,omitempty" name:"RemainAmount"` }
type QueryVoucherPoolRequest ¶
type QueryVoucherPoolRequest struct {
*tchttp.BaseRequest
}
func NewQueryVoucherPoolRequest ¶
func NewQueryVoucherPoolRequest() (request *QueryVoucherPoolRequest)
func (*QueryVoucherPoolRequest) FromJsonString ¶
func (r *QueryVoucherPoolRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*QueryVoucherPoolRequest) ToJsonString ¶
func (r *QueryVoucherPoolRequest) ToJsonString() string
type QueryVoucherPoolRequestParams ¶
type QueryVoucherPoolRequestParams struct { }
Predefined struct for user
type QueryVoucherPoolResponse ¶
type QueryVoucherPoolResponse struct { *tchttp.BaseResponse Response *QueryVoucherPoolResponseParams `json:"Response"` }
func NewQueryVoucherPoolResponse ¶
func NewQueryVoucherPoolResponse() (response *QueryVoucherPoolResponse)
func (*QueryVoucherPoolResponse) FromJsonString ¶
func (r *QueryVoucherPoolResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*QueryVoucherPoolResponse) ToJsonString ¶
func (r *QueryVoucherPoolResponse) ToJsonString() string
type QueryVoucherPoolResponseParams ¶
type QueryVoucherPoolResponseParams struct { // Reseller name AgentName *string `json:"AgentName,omitnil,omitempty" name:"AgentName"` // Reseller role type (1: Reseller; 2: Distributor; 3: Second-level reseller) AccountType *int64 `json:"AccountType,omitnil,omitempty" name:"AccountType"` // Total quota TotalQuota *float64 `json:"TotalQuota,omitnil,omitempty" name:"TotalQuota"` // Remaining quota RemainingQuota *float64 `json:"RemainingQuota,omitnil,omitempty" name:"RemainingQuota"` // The number of issued vouchers IssuedNum *int64 `json:"IssuedNum,omitnil,omitempty" name:"IssuedNum"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type RegionSummaryOverviewItem ¶
type RegionSummaryOverviewItem struct { // Region id. RegionId *string `json:"RegionId,omitnil,omitempty" name:"RegionId"` // Region name. RegionName *string `json:"RegionName,omitnil,omitempty" name:"RegionName"` // Actual total consumption, up to 8 decimal places. OriginalCost *string `json:"OriginalCost,omitnil,omitempty" name:"OriginalCost"` // Voucher payment amount, up to 8 decimal places. VoucherPayAmount *string `json:"VoucherPayAmount,omitnil,omitempty" name:"VoucherPayAmount"` // Total consumption, up to 8 decimal places. TotalCost *string `json:"TotalCost,omitnil,omitempty" name:"TotalCost"` }
type SendVerifyCodeRequest ¶
type SendVerifyCodeRequest struct { *tchttp.BaseRequest // Country code. // Parameter value is not allowed to be 7,380,86. CountryCode *string `json:"CountryCode,omitnil,omitempty" name:"CountryCode"` // Mobile number. // The caller needs to ensure the validity and correctness of the mobile number. A global mobile number within a range of 1-32 digits is allowed.No need to add CountryCode before mobile number. PhoneNum *string `json:"PhoneNum,omitnil,omitempty" name:"PhoneNum"` }
func NewSendVerifyCodeRequest ¶
func NewSendVerifyCodeRequest() (request *SendVerifyCodeRequest)
func (*SendVerifyCodeRequest) FromJsonString ¶
func (r *SendVerifyCodeRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*SendVerifyCodeRequest) ToJsonString ¶
func (r *SendVerifyCodeRequest) ToJsonString() string
type SendVerifyCodeRequestParams ¶
type SendVerifyCodeRequestParams struct { // Country code. // Parameter value is not allowed to be 7,380,86. CountryCode *string `json:"CountryCode,omitnil,omitempty" name:"CountryCode"` // Mobile number. // The caller needs to ensure the validity and correctness of the mobile number. A global mobile number within a range of 1-32 digits is allowed.No need to add CountryCode before mobile number. PhoneNum *string `json:"PhoneNum,omitnil,omitempty" name:"PhoneNum"` }
Predefined struct for user
type SendVerifyCodeResponse ¶
type SendVerifyCodeResponse struct { *tchttp.BaseResponse Response *SendVerifyCodeResponseParams `json:"Response"` }
func NewSendVerifyCodeResponse ¶
func NewSendVerifyCodeResponse() (response *SendVerifyCodeResponse)
func (*SendVerifyCodeResponse) FromJsonString ¶
func (r *SendVerifyCodeResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*SendVerifyCodeResponse) ToJsonString ¶
func (r *SendVerifyCodeResponse) ToJsonString() string
type SendVerifyCodeResponseParams ¶
type SendVerifyCodeResponseParams struct { // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type SummaryDetails ¶
type SummaryDetails struct { // Product information list. Business []*BusinessInfo `json:"Business,omitnil,omitempty" name:"Business"` // Original price. OriginalCost *string `json:"OriginalCost,omitnil,omitempty" name:"OriginalCost"` // Voucher amount. VoucherPayAmount *string `json:"VoucherPayAmount,omitnil,omitempty" name:"VoucherPayAmount"` // RI deduction. RICost *string `json:"RICost,omitnil,omitempty" name:"RICost"` // <TOTAL_AMOUNT>. TotalCost *string `json:"TotalCost,omitnil,omitempty" name:"TotalCost"` // Classification dimension summary key. GroupKey *string `json:"GroupKey,omitnil,omitempty" name:"GroupKey"` // Summary value by classification dimension. GroupValue *string `json:"GroupValue,omitnil,omitempty" name:"GroupValue"` }
type TradeOneNode ¶
type TradeOneNode struct { // Layer-1 industry id. Id *string `json:"Id,omitnil,omitempty" name:"Id"` // Layer-1 industry name. Name *string `json:"Name,omitnil,omitempty" name:"Name"` // Layer-2 industries corresponding to the layer-1 industry. Children []*TradeTwoNode `json:"Children,omitnil,omitempty" name:"Children"` }