Documentation ¶
Index ¶
- Constants
- type ActionSummaryOverviewItem
- type AllocateCustomerCreditRequest
- type AllocateCustomerCreditRequestParams
- type AllocateCustomerCreditResponse
- type AllocateCustomerCreditResponseParams
- type BillDetailData
- type BusinessSummaryOverviewItem
- type Client
- 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) CreateAccount(request *CreateAccountRequest) (response *CreateAccountResponse, err error)
- func (c *Client) CreateAccountWithContext(ctx context.Context, request *CreateAccountRequest) (response *CreateAccountResponse, 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) 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) DescribeCustomerBillDetail(request *DescribeCustomerBillDetailRequest) (response *DescribeCustomerBillDetailResponse, err error)
- func (c *Client) DescribeCustomerBillDetailWithContext(ctx context.Context, request *DescribeCustomerBillDetailRequest) (response *DescribeCustomerBillDetailResponse, 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) GetCountryCodes(request *GetCountryCodesRequest) (response *GetCountryCodesResponse, err error)
- func (c *Client) GetCountryCodesWithContext(ctx context.Context, request *GetCountryCodesRequest) (response *GetCountryCodesResponse, 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) QueryCreditQuota(request *QueryCreditQuotaRequest) (response *QueryCreditQuotaResponse, err error)
- func (c *Client) QueryCreditQuotaWithContext(ctx context.Context, request *QueryCreditQuotaRequest) (response *QueryCreditQuotaResponse, 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) 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)
- type CountryCodeItem
- type CreateAccountRequest
- type CreateAccountRequestParams
- type CreateAccountResponse
- type CreateAccountResponseParams
- type CustomerBillDetailData
- type DescribeBillDetailRequest
- type DescribeBillDetailRequestParams
- type DescribeBillDetailResponse
- type DescribeBillDetailResponseParams
- 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 DescribeCustomerBillDetailRequest
- type DescribeCustomerBillDetailRequestParams
- type DescribeCustomerBillDetailResponse
- type DescribeCustomerBillDetailResponseParams
- 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 GetCountryCodesRequest
- type GetCountryCodesRequestParams
- type GetCountryCodesResponse
- type GetCountryCodesResponseParams
- type PayModeSummaryOverviewItem
- 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 QueryCreditQuotaRequest
- type QueryCreditQuotaRequestParams
- type QueryCreditQuotaResponse
- type QueryCreditQuotaResponseParams
- 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 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
Constants ¶
const ( // CAM signature/authentication error. AUTHFAILURE = "AuthFailure" // Operation failed. FAILEDOPERATION = "FailedOperation" // FailedOperation.MailIsRegistered FAILEDOPERATION_MAILISREGISTERED = "FailedOperation.MailIsRegistered" // Invalid UIN FAILEDOPERATION_UININVALID = "FailedOperation.UinInvalid" // 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" // 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" // Incorrect month value INVALIDPARAMETERVALUE_INVALIDMONTH = "InvalidParameterValue.InvalidMonth" // InvalidParameterValue.MailEmpty INVALIDPARAMETERVALUE_MAILEMPTY = "InvalidParameterValue.MailEmpty" // InvalidParameterValue.PasswordEmpty INVALIDPARAMETERVALUE_PASSWORDEMPTY = "InvalidParameterValue.PasswordEmpty" // InvalidParameterValue.PhoneNumEmpty INVALIDPARAMETERVALUE_PHONENUMEMPTY = "InvalidParameterValue.PhoneNumEmpty" // 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 // Note: This field may return null, indicating that no valid values can be obtained. ActionType *string `json:"ActionType,omitnil" name:"ActionType"` // Transaction type name // Note: This field may return null, indicating that no valid values can be obtained. ActionTypeName *string `json:"ActionTypeName,omitnil" name:"ActionTypeName"` // The actual total consumption amount accurate down to eight decimal places // Note: This field may return null, indicating that no valid values can be obtained. OriginalCost *string `json:"OriginalCost,omitnil" name:"OriginalCost"` // The deducted voucher amount accurate down to eight decimal places // Note: This field may return null, indicating that no valid values can be obtained. VoucherPayAmount *string `json:"VoucherPayAmount,omitnil" name:"VoucherPayAmount"` // Total consumption amount accurate down to eight decimal places // Note: This field may return null, indicating that no valid values can be obtained. TotalCost *string `json:"TotalCost,omitnil" name:"TotalCost"` }
type AllocateCustomerCreditRequest ¶
type AllocateCustomerCreditRequest struct { *tchttp.BaseRequest // Specific value of the credit allocated to the customer AddedCredit *float64 `json:"AddedCredit,omitnil" name:"AddedCredit"` // Customer UIN ClientUin *uint64 `json:"ClientUin,omitnil" 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" name:"AddedCredit"` // Customer UIN ClientUin *uint64 `json:"ClientUin,omitnil" 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" name:"TotalCredit"` // The updated available credit RemainingCredit *float64 `json:"RemainingCredit,omitnil" name:"RemainingCredit"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type BillDetailData ¶
type BillDetailData struct { // Reseller account // Note: This field may return null, indicating that no valid values can be obtained. PayerAccountId *int64 `json:"PayerAccountId,omitnil" name:"PayerAccountId"` // Customer account // Note: This field may return null, indicating that no valid values can be obtained. OwnerAccountId *int64 `json:"OwnerAccountId,omitnil" name:"OwnerAccountId"` // Operator account // Note: This field may return null, indicating that no valid values can be obtained. OperatorAccountId *int64 `json:"OperatorAccountId,omitnil" name:"OperatorAccountId"` // Product name // Note: This field may return null, indicating that no valid values can be obtained. ProductName *string `json:"ProductName,omitnil" name:"ProductName"` // Billing mode // `Monthly subscription` (Monthly subscription) // `Pay-As-You-Go resources` (Pay-as-you-go) // `Standard RI` (Reserved instance) // Note: This field may return null, indicating that no valid values can be obtained. BillingMode *string `json:"BillingMode,omitnil" name:"BillingMode"` // Project name // // Note: This field may return null, indicating that no valid values can be obtained. ProjectName *string `json:"ProjectName,omitnil" name:"ProjectName"` // Resource region // Note: This field may return null, indicating that no valid values can be obtained. Region *string `json:"Region,omitnil" name:"Region"` // Resource AZ // Note: This field may return null, indicating that no valid values can be obtained. AvailabilityZone *string `json:"AvailabilityZone,omitnil" name:"AvailabilityZone"` // Instance ID // Note: This field may return null, indicating that no valid values can be obtained. InstanceId *string `json:"InstanceId,omitnil" name:"InstanceId"` // Instance name // Note: This field may return null, indicating that no valid values can be obtained. InstanceName *string `json:"InstanceName,omitnil" name:"InstanceName"` // Subproduct name // // Note: This field may return null, indicating that no valid values can be obtained. SubProductName *string `json:"SubProductName,omitnil" name:"SubProductName"` // Settlement type // Note: This field may return null, indicating that no valid values can be obtained. TransactionType *string `json:"TransactionType,omitnil" name:"TransactionType"` // Transaction ID // Note: This field may return null, indicating that no valid values can be obtained. TransactionId *string `json:"TransactionId,omitnil" name:"TransactionId"` // Settlement time // // Note: This field may return null, indicating that no valid values can be obtained. TransactionTime *string `json:"TransactionTime,omitnil" name:"TransactionTime"` // Start time of resource use // Note: This field may return null, indicating that no valid values can be obtained. UsageStartTime *string `json:"UsageStartTime,omitnil" name:"UsageStartTime"` // End time of resource use // Note: This field may return null, indicating that no valid values can be obtained. UsageEndTime *string `json:"UsageEndTime,omitnil" name:"UsageEndTime"` // Component // Note: This field may return null, indicating that no valid values can be obtained. ComponentType *string `json:"ComponentType,omitnil" name:"ComponentType"` // Component name // Note: This field may return null, indicating that no valid values can be obtained. ComponentName *string `json:"ComponentName,omitnil" name:"ComponentName"` // Component list price // Note: This field may return null, indicating that no valid values can be obtained. ComponentListPrice *string `json:"ComponentListPrice,omitnil" name:"ComponentListPrice"` // Price unit // Note: This field may return null, indicating that no valid values can be obtained. ComponentPriceMeasurementUnit *string `json:"ComponentPriceMeasurementUnit,omitnil" name:"ComponentPriceMeasurementUnit"` // Component usage // Note: This field may return null, indicating that no valid values can be obtained. ComponentUsage *string `json:"ComponentUsage,omitnil" name:"ComponentUsage"` // Component usage unit // Note: This field may return null, indicating that no valid values can be obtained. ComponentUsageUnit *string `json:"ComponentUsageUnit,omitnil" name:"ComponentUsageUnit"` // Resource usage duration // Note: This field may return null, indicating that no valid values can be obtained. UsageDuration *string `json:"UsageDuration,omitnil" name:"UsageDuration"` // Duration unit // Note: This field may return null, indicating that no valid values can be obtained. DurationUnit *string `json:"DurationUnit,omitnil" name:"DurationUnit"` // Original cost // Original cost = component list price * component usage * usage duration // Note: This field may return null, indicating that no valid values can be obtained. OriginalCost *string `json:"OriginalCost,omitnil" name:"OriginalCost"` // Discount, which defaults to `1`, indicating there is no discount. // Note: This field may return null, indicating that no valid values can be obtained. DiscountRate *string `json:"DiscountRate,omitnil" name:"DiscountRate"` // Currency // Note: This field may return null, indicating that no valid values can be obtained. Currency *string `json:"Currency,omitnil" name:"Currency"` // Discounted total // Note: This field may return null, indicating that no valid values can be obtained. TotalAmountAfterDiscount *string `json:"TotalAmountAfterDiscount,omitnil" name:"TotalAmountAfterDiscount"` // Voucher deduction // Note: This field may return null, indicating that no valid values can be obtained. VoucherDeduction *string `json:"VoucherDeduction,omitnil" name:"VoucherDeduction"` // Total cost = discounted total - voucher deduction // Note: This field may return null, indicating that no valid values can be obtained. TotalCost *string `json:"TotalCost,omitnil" name:"TotalCost"` }
type BusinessSummaryOverviewItem ¶
type BusinessSummaryOverviewItem struct { // Product code // Note: This field may return null, indicating that no valid values can be obtained. BusinessCode *string `json:"BusinessCode,omitnil" name:"BusinessCode"` // Product name // Note: This field may return null, indicating that no valid values can be obtained. BusinessCodeName *string `json:"BusinessCodeName,omitnil" name:"BusinessCodeName"` // List price accurate down to eight decimal places // Note: This field may return null, indicating that no valid values can be obtained. OriginalCost *string `json:"OriginalCost,omitnil" name:"OriginalCost"` // The deducted voucher amount accurate down to eight decimal places // Note: This field may return null, indicating that no valid values can be obtained. VoucherPayAmount *string `json:"VoucherPayAmount,omitnil" name:"VoucherPayAmount"` // Consumption amount accurate down to eight decimal places // Note: This field may return null, indicating that no valid values can be obtained. TotalCost *string `json:"TotalCost,omitnil" 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) 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.
error code that may be returned:
FAILEDOPERATION = "FailedOperation"
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.
error code that may be returned:
FAILEDOPERATION = "FailedOperation"
func (*Client) CreateAccount ¶
func (c *Client) CreateAccount(request *CreateAccountRequest) (response *CreateAccountResponse, err error)
CreateAccount This API is used to create a Tencent Cloud account on the partner platform for a customer. After registration, the customer will be automatically bound to the partner account.
Notes:<br>
1. The partner should verify the entered email address and mobile number for creating a Tencent Cloud account.<br>
2. The customer needs to complete personal information after the first login.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION_MAILISREGISTERED = "FailedOperation.MailIsRegistered" 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" 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 a Tencent Cloud account on the partner platform for a customer. After registration, the customer will be automatically bound to the partner account.
Notes:<br>
1. The partner should verify the entered email address and mobile number for creating a Tencent Cloud account.<br>
2. The customer needs to complete personal information after the first login.
error code that may be returned:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION_MAILISREGISTERED = "FailedOperation.MailIsRegistered" 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" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) DescribeBillDetail ¶
func (c *Client) DescribeBillDetail(request *DescribeBillDetailRequest) (response *DescribeBillDetailResponse, err error)
DescribeBillDetail This API is used to query the customer bill details.
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 This API is used to query the customer bill details.
error code that may be returned:
INVALIDPARAMETERVALUE_INVALIDMONTH = "InvalidParameterValue.InvalidMonth" OPERATIONDENIED_SERVICEBUSY = "OperationDenied.ServiceBusy" UNAUTHORIZEDOPERATION_UINNOAUTH = "UnauthorizedOperation.UinNoAuth"
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.
error code that may be returned:
INVALIDPARAMETERVALUE_INVALIDMONTH = "InvalidParameterValue.InvalidMonth" OPERATIONDENIED_SERVICEBUSY = "OperationDenied.ServiceBusy"
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.
error code that may be returned:
INVALIDPARAMETERVALUE_INVALIDMONTH = "InvalidParameterValue.InvalidMonth" OPERATIONDENIED_SERVICEBUSY = "OperationDenied.ServiceBusy"
func (*Client) DescribeBillSummaryByProduct ¶
func (c *Client) DescribeBillSummaryByProduct(request *DescribeBillSummaryByProductRequest) (response *DescribeBillSummaryByProductResponse, err error)
DescribeBillSummaryByProduct This API is used to obtain the total amount of customer bills by product.
error code that may be returned:
INVALIDPARAMETERVALUE_INVALIDMONTH = "InvalidParameterValue.InvalidMonth" OPERATIONDENIED_SERVICEBUSY = "OperationDenied.ServiceBusy"
func (*Client) DescribeBillSummaryByProductWithContext ¶
func (c *Client) DescribeBillSummaryByProductWithContext(ctx context.Context, request *DescribeBillSummaryByProductRequest) (response *DescribeBillSummaryByProductResponse, err error)
DescribeBillSummaryByProduct This API is used to obtain the total amount of customer bills by product.
error code that may be returned:
INVALIDPARAMETERVALUE_INVALIDMONTH = "InvalidParameterValue.InvalidMonth" OPERATIONDENIED_SERVICEBUSY = "OperationDenied.ServiceBusy"
func (*Client) DescribeBillSummaryByRegion ¶
func (c *Client) DescribeBillSummaryByRegion(request *DescribeBillSummaryByRegionRequest) (response *DescribeBillSummaryByRegionResponse, err error)
DescribeBillSummaryByRegion This API is used to obtain the total amount of customer bills by region.
error code that may be returned:
INVALIDPARAMETERVALUE_INVALIDMONTH = "InvalidParameterValue.InvalidMonth" OPERATIONDENIED_SERVICEBUSY = "OperationDenied.ServiceBusy"
func (*Client) DescribeBillSummaryByRegionWithContext ¶
func (c *Client) DescribeBillSummaryByRegionWithContext(ctx context.Context, request *DescribeBillSummaryByRegionRequest) (response *DescribeBillSummaryByRegionResponse, err error)
DescribeBillSummaryByRegion This API is used to obtain the total amount of customer bills by region.
error code that may be returned:
INVALIDPARAMETERVALUE_INVALIDMONTH = "InvalidParameterValue.InvalidMonth" OPERATIONDENIED_SERVICEBUSY = "OperationDenied.ServiceBusy"
func (*Client) DescribeCustomerBillDetail ¶
func (c *Client) DescribeCustomerBillDetail(request *DescribeCustomerBillDetailRequest) (response *DescribeCustomerBillDetailResponse, err error)
DescribeCustomerBillDetail This API is used to query the customer bill details.
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.
error code that may be returned:
INVALIDPARAMETERVALUE_INVALIDMONTH = "InvalidParameterValue.InvalidMonth" OPERATIONDENIED_SERVICEBUSY = "OperationDenied.ServiceBusy" UNAUTHORIZEDOPERATION_NOTCUSTOMERUIN = "UnauthorizedOperation.NotCustomerUin" 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.
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.
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.
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.
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) 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) QueryAccountVerificationStatus ¶
func (c *Client) QueryAccountVerificationStatus(request *QueryAccountVerificationStatusRequest) (response *QueryAccountVerificationStatusResponse, err error)
QueryAccountVerificationStatus This API is used to query the account verification status.
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.
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.
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.
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.
error code that may be returned:
INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE = "InvalidParameterValue" OPERATIONDENIED = "OperationDenied" REQUESTLIMITEXCEEDED = "RequestLimitExceeded"
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.
error code that may be returned:
INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE = "InvalidParameterValue" OPERATIONDENIED = "OperationDenied" REQUESTLIMITEXCEEDED = "RequestLimitExceeded"
func (*Client) QueryCreditQuota ¶
func (c *Client) QueryCreditQuota(request *QueryCreditQuotaRequest) (response *QueryCreditQuotaResponse, err error)
QueryCreditQuota This API is used to query customer credits.
error code that may be returned:
OPERATIONDENIED_SERVICEBUSY = "OperationDenied.ServiceBusy"
func (*Client) QueryCreditQuotaWithContext ¶
func (c *Client) QueryCreditQuotaWithContext(ctx context.Context, request *QueryCreditQuotaRequest) (response *QueryCreditQuotaResponse, err error)
QueryCreditQuota This API is used to query customer credits.
error code that may be returned:
OPERATIONDENIED_SERVICEBUSY = "OperationDenied.ServiceBusy"
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.
error code that may be returned:
FAILEDOPERATION = "FailedOperation"
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.
error code that may be returned:
FAILEDOPERATION = "FailedOperation"
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.
error code that may be returned:
INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE = "InvalidParameterValue" OPERATIONDENIED = "OperationDenied" REQUESTLIMITEXCEEDED = "RequestLimitExceeded"
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.
error code that may be returned:
INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE = "InvalidParameterValue" OPERATIONDENIED = "OperationDenied" REQUESTLIMITEXCEEDED = "RequestLimitExceeded"
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.
error code that may be returned:
FAILEDOPERATION = "FailedOperation"
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.
error code that may be returned:
FAILEDOPERATION = "FailedOperation"
func (*Client) QueryVoucherAmountByUin ¶
func (c *Client) QueryVoucherAmountByUin(request *QueryVoucherAmountByUinRequest) (response *QueryVoucherAmountByUinResponse, err error)
QueryVoucherAmountByUin This API is used to query the voucher quota based on the customer UIN.
error code that may be returned:
FAILEDOPERATION = "FailedOperation"
func (*Client) QueryVoucherAmountByUinWithContext ¶
func (c *Client) QueryVoucherAmountByUinWithContext(ctx context.Context, request *QueryVoucherAmountByUinRequest) (response *QueryVoucherAmountByUinResponse, err error)
QueryVoucherAmountByUin This API is used to query the voucher quota based on the customer UIN.
error code that may be returned:
FAILEDOPERATION = "FailedOperation"
func (*Client) QueryVoucherListByUin ¶
func (c *Client) QueryVoucherListByUin(request *QueryVoucherListByUinRequest) (response *QueryVoucherListByUinResponse, err error)
QueryVoucherListByUin This API is used to query the voucher list based on the customer UIN.
error code that may be returned:
FAILEDOPERATION = "FailedOperation"
func (*Client) QueryVoucherListByUinWithContext ¶
func (c *Client) QueryVoucherListByUinWithContext(ctx context.Context, request *QueryVoucherListByUinRequest) (response *QueryVoucherListByUinResponse, err error)
QueryVoucherListByUin This API is used to query the voucher list based on the customer UIN.
error code that may be returned:
FAILEDOPERATION = "FailedOperation"
func (*Client) QueryVoucherPool ¶
func (c *Client) QueryVoucherPool(request *QueryVoucherPoolRequest) (response *QueryVoucherPoolResponse, err error)
QueryVoucherPool This API is used to query the voucher quota pool.
error code that may be returned:
FAILEDOPERATION = "FailedOperation"
func (*Client) QueryVoucherPoolWithContext ¶
func (c *Client) QueryVoucherPoolWithContext(ctx context.Context, request *QueryVoucherPoolRequest) (response *QueryVoucherPoolResponse, err error)
QueryVoucherPool This API is used to query the voucher quota pool.
error code that may be returned:
FAILEDOPERATION = "FailedOperation"
type CountryCodeItem ¶
type CountryCodeItem struct { // Country/region name in English EnName *string `json:"EnName,omitnil" name:"EnName"` // Country/region name in Chinese Name *string `json:"Name,omitnil" name:"Name"` IOS2 *string `json:"IOS2,omitnil" name:"IOS2"` IOS3 *string `json:"IOS3,omitnil" name:"IOS3"` // International dialing code Code *string `json:"Code,omitnil" name:"Code"` }
type CreateAccountRequest ¶
type CreateAccountRequest struct { *tchttp.BaseRequest // Account type of a new customer. Valid values: `personal`, `company`. AccountType *string `json:"AccountType,omitnil" name:"AccountType"` // Registered email address, which should be valid and correct. // For example, account@qq.com. Mail *string `json:"Mail,omitnil" 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" name:"Password"` // The confirmed password, which must be the same as that entered in the `Password` field. ConfirmPassword *string `json:"ConfirmPassword,omitnil" name:"ConfirmPassword"` // Customer mobile number, which should be valid and correct. // A global mobile number within 1-32 digits is allowed, such as 18888888888. PhoneNum *string `json:"PhoneNum,omitnil" name:"PhoneNum"` // Customer's country/region code, which can be obtained via the `GetCountryCodes` API, such as "852". CountryCode *string `json:"CountryCode,omitnil" name:"CountryCode"` // Customer's ISO2 standard country/region code, which can be obtained via the `GetCountryCodes` API. It should correspond to the `CountryCode` field, such as `HK`. Area *string `json:"Area,omitnil" name:"Area"` // Extension field, which is left empty by default. Extended *string `json:"Extended,omitnil" name:"Extended"` }
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" name:"AccountType"` // Registered email address, which should be valid and correct. // For example, account@qq.com. Mail *string `json:"Mail,omitnil" 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" name:"Password"` // The confirmed password, which must be the same as that entered in the `Password` field. ConfirmPassword *string `json:"ConfirmPassword,omitnil" name:"ConfirmPassword"` // Customer mobile number, which should be valid and correct. // A global mobile number within 1-32 digits is allowed, such as 18888888888. PhoneNum *string `json:"PhoneNum,omitnil" name:"PhoneNum"` // Customer's country/region code, which can be obtained via the `GetCountryCodes` API, such as "852". CountryCode *string `json:"CountryCode,omitnil" name:"CountryCode"` // Customer's ISO2 standard country/region code, which can be obtained via the `GetCountryCodes` API. It should correspond to the `CountryCode` field, such as `HK`. Area *string `json:"Area,omitnil" name:"Area"` // Extension field, which is left empty by default. Extended *string `json:"Extended,omitnil" name:"Extended"` }
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" name:"Uin"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type CustomerBillDetailData ¶
type CustomerBillDetailData struct { // Reseller account // Note: This field may return null, indicating that no valid values can be obtained. PayerAccountId *int64 `json:"PayerAccountId,omitnil" name:"PayerAccountId"` // Customer account // Note: This field may return null, indicating that no valid values can be obtained. OwnerAccountId *int64 `json:"OwnerAccountId,omitnil" name:"OwnerAccountId"` // Operator account // Note: This field may return null, indicating that no valid values can be obtained. OperatorAccountId *int64 `json:"OperatorAccountId,omitnil" name:"OperatorAccountId"` // Product name // Note: This field may return null, indicating that no valid values can be obtained. ProductName *string `json:"ProductName,omitnil" name:"ProductName"` // Billing mode // `Monthly subscription` (Monthly subscription) // `Pay-As-You-Go resources` (Pay-as-you-go) // `Standard RI` (Reserved instance) // Note: This field may return null, indicating that no valid values can be obtained. BillingMode *string `json:"BillingMode,omitnil" name:"BillingMode"` // Project name // // Note: This field may return null, indicating that no valid values can be obtained. ProjectName *string `json:"ProjectName,omitnil" name:"ProjectName"` // Resource region // Note: This field may return null, indicating that no valid values can be obtained. Region *string `json:"Region,omitnil" name:"Region"` // Resource AZ // Note: This field may return null, indicating that no valid values can be obtained. AvailabilityZone *string `json:"AvailabilityZone,omitnil" name:"AvailabilityZone"` // Instance ID // Note: This field may return null, indicating that no valid values can be obtained. InstanceId *string `json:"InstanceId,omitnil" name:"InstanceId"` // Instance name // Note: This field may return null, indicating that no valid values can be obtained. InstanceName *string `json:"InstanceName,omitnil" name:"InstanceName"` // Subproduct name // // Note: This field may return null, indicating that no valid values can be obtained. SubProductName *string `json:"SubProductName,omitnil" name:"SubProductName"` // Settlement type // Note: This field may return null, indicating that no valid values can be obtained. TransactionType *string `json:"TransactionType,omitnil" name:"TransactionType"` // Transaction ID // Note: This field may return null, indicating that no valid values can be obtained. TransactionId *string `json:"TransactionId,omitnil" name:"TransactionId"` // Settlement time // // Note: This field may return null, indicating that no valid values can be obtained. TransactionTime *string `json:"TransactionTime,omitnil" name:"TransactionTime"` // Start time of resource use // Note: This field may return null, indicating that no valid values can be obtained. UsageStartTime *string `json:"UsageStartTime,omitnil" name:"UsageStartTime"` // End time of resource use // Note: This field may return null, indicating that no valid values can be obtained. UsageEndTime *string `json:"UsageEndTime,omitnil" name:"UsageEndTime"` // Component // Note: This field may return null, indicating that no valid values can be obtained. ComponentType *string `json:"ComponentType,omitnil" name:"ComponentType"` // Component name // Note: This field may return null, indicating that no valid values can be obtained. ComponentName *string `json:"ComponentName,omitnil" name:"ComponentName"` // Component list price // Note: This field may return null, indicating that no valid values can be obtained. ComponentListPrice *string `json:"ComponentListPrice,omitnil" name:"ComponentListPrice"` // Price unit // Note: This field may return null, indicating that no valid values can be obtained. ComponentPriceMeasurementUnit *string `json:"ComponentPriceMeasurementUnit,omitnil" name:"ComponentPriceMeasurementUnit"` // Component usage // Note: This field may return null, indicating that no valid values can be obtained. ComponentUsage *string `json:"ComponentUsage,omitnil" name:"ComponentUsage"` // Component usage unit // Note: This field may return null, indicating that no valid values can be obtained. ComponentUsageUnit *string `json:"ComponentUsageUnit,omitnil" name:"ComponentUsageUnit"` // Resource usage duration // Note: This field may return null, indicating that no valid values can be obtained. UsageDuration *string `json:"UsageDuration,omitnil" name:"UsageDuration"` // Duration unit // Note: This field may return null, indicating that no valid values can be obtained. DurationUnit *string `json:"DurationUnit,omitnil" name:"DurationUnit"` // Original cost // Original cost = component list price * component usage * usage duration // Note: This field may return null, indicating that no valid values can be obtained. OriginalCost *string `json:"OriginalCost,omitnil" name:"OriginalCost"` // Currency // Note: This field may return null, indicating that no valid values can be obtained. Currency *string `json:"Currency,omitnil" name:"Currency"` // Total cost = discounted total - voucher deduction // Note: This field may return null, indicating that no valid values can be obtained. TotalCost *string `json:"TotalCost,omitnil" name:"TotalCost"` }
type DescribeBillDetailRequest ¶
type DescribeBillDetailRequest struct { *tchttp.BaseRequest // The queried month in u200dthe format of “YYYY-MM”, such as 2023-01. Month *string `json:"Month,omitnil" name:"Month"` // A pagination parameter that specifies the number of entries per page PageSize *int64 `json:"PageSize,omitnil" name:"PageSize"` // A pagination parameter that specifies the current page number Page *int64 `json:"Page,omitnil" name:"Page"` // Billing mode. Valid values: `prePay` (Monthly subscription), postPay` (Pay-As-You-Go resources). PayMode *string `json:"PayMode,omitnil" 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" 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 { // The queried month in u200dthe format of “YYYY-MM”, such as 2023-01. Month *string `json:"Month,omitnil" name:"Month"` // A pagination parameter that specifies the number of entries per page PageSize *int64 `json:"PageSize,omitnil" name:"PageSize"` // A pagination parameter that specifies the current page number Page *int64 `json:"Page,omitnil" name:"Page"` // Billing mode. Valid values: `prePay` (Monthly subscription), postPay` (Pay-As-You-Go resources). PayMode *string `json:"PayMode,omitnil" 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" 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 // Note: This field may return null, indicating that no valid values can be obtained. DetailSet []*CustomerBillDetailData `json:"DetailSet,omitnil" name:"DetailSet"` // Total number of data entries // Note: This field may return null, indicating that no valid values can be obtained. Total *int64 `json:"Total,omitnil" name:"Total"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" 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" name:"BillMonth"` // Customer UIN CustomerUin *int64 `json:"CustomerUin,omitnil" 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" name:"BillMonth"` // Customer UIN CustomerUin *int64 `json:"CustomerUin,omitnil" 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 { // Payment mode details in the customer bill data totaled by payment mode // Note: This field may return null, indicating that no valid values can be obtained. SummaryOverview []*PayModeSummaryOverviewItem `json:"SummaryOverview,omitnil" name:"SummaryOverview"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" 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" name:"BillMonth"` // Customer UIN CustomerUin *int64 `json:"CustomerUin,omitnil" 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" name:"BillMonth"` // Customer UIN CustomerUin *int64 `json:"CustomerUin,omitnil" 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 { // Bill details from the product dimension // Note: This field may return null, indicating that no valid values can be obtained. SummaryOverview []*BusinessSummaryOverviewItem `json:"SummaryOverview,omitnil" name:"SummaryOverview"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" 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" name:"BillMonth"` // Customer UIN CustomerUin *int64 `json:"CustomerUin,omitnil" 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" name:"BillMonth"` // Customer UIN CustomerUin *int64 `json:"CustomerUin,omitnil" 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 { // Region details in the customer bill data totaled by region // Note: This field may return null, indicating that no valid values can be obtained. SummaryOverview []*RegionSummaryOverviewItem `json:"SummaryOverview,omitnil" name:"SummaryOverview"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type DescribeCustomerBillDetailRequest ¶
type DescribeCustomerBillDetailRequest struct { *tchttp.BaseRequest // Customer UIN CustomerUin *uint64 `json:"CustomerUin,omitnil" name:"CustomerUin"` // The queried month in “YYYY-MM” format, such as 2023-01. Month *string `json:"Month,omitnil" name:"Month"` // A pagination parameter that specifies the number of entries per page PageSize *int64 `json:"PageSize,omitnil" name:"PageSize"` // A pagination parameter that specifies the current page number Page *int64 `json:"Page,omitnil" name:"Page"` // Billing mode. Valid values: // `prePay` (Monthly subscription) // `postPay` (Pay-as-you-go) PayMode *string `json:"PayMode,omitnil" 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" name:"ActionType"` // Payment status // `0`: N/A // `1`: Paid // `2`: Unpaid IsConfirmed *string `json:"IsConfirmed,omitnil" 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 { // Customer UIN CustomerUin *uint64 `json:"CustomerUin,omitnil" name:"CustomerUin"` // The queried month in “YYYY-MM” format, such as 2023-01. Month *string `json:"Month,omitnil" name:"Month"` // A pagination parameter that specifies the number of entries per page PageSize *int64 `json:"PageSize,omitnil" name:"PageSize"` // A pagination parameter that specifies the current page number Page *int64 `json:"Page,omitnil" name:"Page"` // Billing mode. Valid values: // `prePay` (Monthly subscription) // `postPay` (Pay-as-you-go) PayMode *string `json:"PayMode,omitnil" 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" name:"ActionType"` // Payment status // `0`: N/A // `1`: Paid // `2`: Unpaid IsConfirmed *string `json:"IsConfirmed,omitnil" 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" name:"Total"` // Data details // Note: This field may return null, indicating that no valid values can be obtained. DetailSet []*BillDetailData `json:"DetailSet,omitnil" name:"DetailSet"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type DescribeCustomerBillSummaryRequest ¶
type DescribeCustomerBillSummaryRequest struct { *tchttp.BaseRequest // Customer UIN CustomerUin *uint64 `json:"CustomerUin,omitnil" name:"CustomerUin"` // The queried month in “YYYY-MM” format, such as 2023-01. Month *string `json:"Month,omitnil" name:"Month"` // Billing mode. Valid values: // `prePay` (Monthly subscription) // `postPay` (Pay-as-you-go) PayMode *string `json:"PayMode,omitnil" 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" name:"ActionType"` // Payment status // `0`: N/A // `1`: Paid // `2`: Unpaid IsConfirmed *string `json:"IsConfirmed,omitnil" 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" name:"CustomerUin"` // The queried month in “YYYY-MM” format, such as 2023-01. Month *string `json:"Month,omitnil" name:"Month"` // Billing mode. Valid values: // `prePay` (Monthly subscription) // `postPay` (Pay-as-you-go) PayMode *string `json:"PayMode,omitnil" 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" name:"ActionType"` // Payment status // `0`: N/A // `1`: Paid // `2`: Unpaid IsConfirmed *string `json:"IsConfirmed,omitnil" 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" name:"TotalCost"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type DescribeCustomerInfoData ¶
type DescribeCustomerInfoData struct { // Customer UIN Note: This field may return null, indicating that no valid values can be obtained. CustomerUin *string `json:"CustomerUin,omitnil" name:"CustomerUin"` // Email Note: This field may return null, indicating that no valid values can be obtained. Email *string `json:"Email,omitnil" name:"Email"` // Mobile number Note: This field may return null, indicating that no valid values can be obtained. Phone *string `json:"Phone,omitnil" name:"Phone"` // Remarks Note: This field may return null, indicating that no valid values can be obtained. Mark *string `json:"Mark,omitnil" name:"Mark"` // Displayed name Note: This field may return null, indicating that no valid values can be obtained. Name *string `json:"Name,omitnil" name:"Name"` // Binding time Note: This field may return null, indicating that no valid values can be obtained. BindTime *string `json:"BindTime,omitnil" name:"BindTime"` // Account status Valid values: `0` (Not frozen), `1` (Frozen). Note: This field may return null, indicating that no valid values can be obtained. AccountStatus *string `json:"AccountStatus,omitnil" name:"AccountStatus"` // Identity verification status Note: This field may return null, indicating that no valid values can be obtained. AuthStatus *string `json:"AuthStatus,omitnil" name:"AuthStatus"` }
type DescribeCustomerInfoRequest ¶
type DescribeCustomerInfoRequest struct { *tchttp.BaseRequest // List of customer UINs CustomerUin []*int64 `json:"CustomerUin,omitnil" 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 UINs CustomerUin []*int64 `json:"CustomerUin,omitnil" 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 { // Customer information Note: This field may return null, indicating that no valid values can be obtained. Data []*DescribeCustomerInfoData `json:"Data,omitnil" name:"Data"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" 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" name:"CustomerUin"` }
type DescribeCustomerUinRequest ¶
type DescribeCustomerUinRequest struct { *tchttp.BaseRequest // Page number Page *int64 `json:"Page,omitnil" name:"Page"` // Number of data entries per page PageSize *int64 `json:"PageSize,omitnil" 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" name:"Page"` // Number of data entries per page PageSize *int64 `json:"PageSize,omitnil" 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" name:"Data"` // The number of customers Total *string `json:"Total,omitnil" name:"Total"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" 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" name:"Data"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type PayModeSummaryOverviewItem ¶
type PayModeSummaryOverviewItem struct { // Billing mode // Note: This field may return null, indicating that no valid values can be obtained. PayMode *string `json:"PayMode,omitnil" name:"PayMode"` // Billing mode name // Note: This field may return null, indicating that no valid values can be obtained. PayModeName *string `json:"PayModeName,omitnil" name:"PayModeName"` // The actual total consumption amount accurate down to eight decimal places // Note: This field may return null, indicating that no valid values can be obtained. OriginalCost *string `json:"OriginalCost,omitnil" name:"OriginalCost"` // Bill details in each payment mode // Note: This field may return null, indicating that no valid values can be obtained. Detail []*ActionSummaryOverviewItem `json:"Detail,omitnil" name:"Detail"` // The deducted voucher amount accurate down to eight decimal places // Note: This field may return null, indicating that no valid values can be obtained. VoucherPayAmount *string `json:"VoucherPayAmount,omitnil" name:"VoucherPayAmount"` // Total consumption amount accurate down to eight decimal places // Note: This field may return null, indicating that no valid values can be obtained. TotalCost *string `json:"TotalCost,omitnil" name:"TotalCost"` }
type QueryAccountVerificationStatusRequest ¶
type QueryAccountVerificationStatusRequest struct { *tchttp.BaseRequest // Customer UIN ClientUin *int64 `json:"ClientUin,omitnil" 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" 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" name:"AccountStatus"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type QueryCreditAllocationHistoryData ¶
type QueryCreditAllocationHistoryData struct { // Allocation time AllocatedTime *string `json:"AllocatedTime,omitnil" name:"AllocatedTime"` // Operator Operator *string `json:"Operator,omitnil" name:"Operator"` // Allocated credit value Credit *float64 `json:"Credit,omitnil" name:"Credit"` // The allocated total credit AllocatedCredit *float64 `json:"AllocatedCredit,omitnil" name:"AllocatedCredit"` }
type QueryCreditAllocationHistoryRequest ¶
type QueryCreditAllocationHistoryRequest struct { *tchttp.BaseRequest // Customer UIN ClientUin *uint64 `json:"ClientUin,omitnil" name:"ClientUin"` // Page number Page *uint64 `json:"Page,omitnil" name:"Page"` // Number of data entries per page PageSize *uint64 `json:"PageSize,omitnil" 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" name:"ClientUin"` // Page number Page *uint64 `json:"Page,omitnil" name:"Page"` // Number of data entries per page PageSize *uint64 `json:"PageSize,omitnil" 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 records // Note: This field may return null, indicating that no valid values can be obtained. Total *uint64 `json:"Total,omitnil" name:"Total"` // List of record details // Note: This field may return null, indicating that no valid values can be obtained. History []*QueryCreditAllocationHistoryData `json:"History,omitnil" name:"History"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type QueryCreditByUinListRequest ¶
type QueryCreditByUinListRequest struct { *tchttp.BaseRequest // User list UinList []*uint64 `json:"UinList,omitnil" 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 { // User list UinList []*uint64 `json:"UinList,omitnil" 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" name:"Data"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type QueryCreditQuotaRequest ¶
type QueryCreditQuotaRequest struct {
*tchttp.BaseRequest
}
func NewQueryCreditQuotaRequest ¶
func NewQueryCreditQuotaRequest() (request *QueryCreditQuotaRequest)
func (*QueryCreditQuotaRequest) FromJsonString ¶
func (r *QueryCreditQuotaRequest) 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 (*QueryCreditQuotaRequest) ToJsonString ¶
func (r *QueryCreditQuotaRequest) ToJsonString() string
type QueryCreditQuotaRequestParams ¶
type QueryCreditQuotaRequestParams struct { }
Predefined struct for user
type QueryCreditQuotaResponse ¶
type QueryCreditQuotaResponse struct { *tchttp.BaseResponse Response *QueryCreditQuotaResponseParams `json:"Response"` }
func NewQueryCreditQuotaResponse ¶
func NewQueryCreditQuotaResponse() (response *QueryCreditQuotaResponse)
func (*QueryCreditQuotaResponse) FromJsonString ¶
func (r *QueryCreditQuotaResponse) 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 (*QueryCreditQuotaResponse) ToJsonString ¶
func (r *QueryCreditQuotaResponse) ToJsonString() string
type QueryCreditQuotaResponseParams ¶
type QueryCreditQuotaResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type QueryCustomersCreditData ¶
type QueryCustomersCreditData struct { // Name Name *string `json:"Name,omitnil" name:"Name"` // Type Type *string `json:"Type,omitnil" name:"Type"` // Mobile number Mobile *string `json:"Mobile,omitnil" name:"Mobile"` // Email Email *string `json:"Email,omitnil" name:"Email"` // Overdue payment flag Arrears *string `json:"Arrears,omitnil" name:"Arrears"` // Binding time AssociationTime *string `json:"AssociationTime,omitnil" name:"AssociationTime"` // Expiration time RecentExpiry *string `json:"RecentExpiry,omitnil" name:"RecentExpiry"` // Customer UIN ClientUin *uint64 `json:"ClientUin,omitnil" name:"ClientUin"` // Credit allocated to a customer Credit *float64 `json:"Credit,omitnil" name:"Credit"` // The remaining credit of a customer RemainingCredit *float64 `json:"RemainingCredit,omitnil" name:"RemainingCredit"` // `0`: Identity not verified; `1`: Individual identity verified; `2`: Enterprise identity verified. IdentifyType *uint64 `json:"IdentifyType,omitnil" name:"IdentifyType"` // Customer remarks Remark *string `json:"Remark,omitnil" name:"Remark"` // Forced status Force *int64 `json:"Force,omitnil" 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" name:"FilterType"` // Search condition Filter *string `json:"Filter,omitnil" name:"Filter"` // A pagination parameter that specifies the current page number, with a value starting from 1. Page *int64 `json:"Page,omitnil" name:"Page"` // A pagination parameter that specifies the number of entries per page. PageSize *int64 `json:"PageSize,omitnil" 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" 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" name:"FilterType"` // Search condition Filter *string `json:"Filter,omitnil" name:"Filter"` // A pagination parameter that specifies the current page number, with a value starting from 1. Page *int64 `json:"Page,omitnil" name:"Page"` // A pagination parameter that specifies the number of entries per page. PageSize *int64 `json:"PageSize,omitnil" 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" 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 { // The list of queried customers // Note: This field may return null, indicating that no valid values can be obtained. Data []*QueryCustomersCreditData `json:"Data,omitnil" name:"Data"` // Number of customers Total *uint64 `json:"Total,omitnil" name:"Total"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
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" name:"Data"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" 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" name:"AllocatedCredit"` // Total credit TotalCredit *float64 `json:"TotalCredit,omitnil" name:"TotalCredit"` // Remaining credit RemainingCredit *float64 `json:"RemainingCredit,omitnil" name:"RemainingCredit"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type QueryVoucherAmountByUinRequest ¶
type QueryVoucherAmountByUinRequest struct { *tchttp.BaseRequest // Customer UIN list ClientUins []*uint64 `json:"ClientUins,omitnil" 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 ClientUins []*uint64 `json:"ClientUins,omitnil" 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" name:"Data"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type QueryVoucherListByUinItem ¶
type QueryVoucherListByUinItem struct { // Customer UIN ClientUin *int64 `json:"ClientUin,omitnil" name:"ClientUin"` // The total number of vouchers TotalCount *int64 `json:"TotalCount,omitnil" name:"TotalCount"` // Voucher details Data []*QueryVoucherListByUinVoucherItem `json:"Data,omitnil" name:"Data"` }
type QueryVoucherListByUinRequest ¶
type QueryVoucherListByUinRequest struct { *tchttp.BaseRequest // Customer UIN list ClientUins []*uint64 `json:"ClientUins,omitnil" 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" 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 ClientUins []*uint64 `json:"ClientUins,omitnil" 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" 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" name:"Data"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type QueryVoucherListByUinVoucherItem ¶
type QueryVoucherListByUinVoucherItem struct { // Voucher ID VoucherId *string `json:"VoucherId,omitnil" name:"VoucherId"` // Voucher status VoucherStatus *string `json:"VoucherStatus,omitnil" name:"VoucherStatus"` // Voucher value TotalAmount *float64 `json:"TotalAmount,omitnil" name:"TotalAmount"` // Balance RemainAmount *float64 `json:"RemainAmount,omitnil" 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" name:"AgentName"` // Reseller role type (1: Reseller; 2: Distributor; 3: Second-level reseller) AccountType *int64 `json:"AccountType,omitnil" name:"AccountType"` // Total quota TotalQuota *float64 `json:"TotalQuota,omitnil" name:"TotalQuota"` // Remaining quota RemainingQuota *float64 `json:"RemainingQuota,omitnil" name:"RemainingQuota"` // The number of issued vouchers IssuedNum *int64 `json:"IssuedNum,omitnil" name:"IssuedNum"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type RegionSummaryOverviewItem ¶
type RegionSummaryOverviewItem struct { // Region ID // Note: This field may return null, indicating that no valid values can be obtained. RegionId *string `json:"RegionId,omitnil" name:"RegionId"` // Region name // Note: This field may return null, indicating that no valid values can be obtained. RegionName *string `json:"RegionName,omitnil" name:"RegionName"` // The actual total consumption amount accurate down to eight decimal places // Note: This field may return null, indicating that no valid values can be obtained. OriginalCost *string `json:"OriginalCost,omitnil" name:"OriginalCost"` // The deducted voucher amount accurate down to eight decimal places // Note: This field may return null, indicating that no valid values can be obtained. VoucherPayAmount *string `json:"VoucherPayAmount,omitnil" name:"VoucherPayAmount"` // Total consumption amount accurate down to eight decimal places // Note: This field may return null, indicating that no valid values can be obtained. TotalCost *string `json:"TotalCost,omitnil" name:"TotalCost"` }