public class IpClient extends AbstractClient
gson, HTTP_RSP_OK, SDK_VERSION
Constructor and Description |
---|
IpClient(Credential credential,
String region) |
IpClient(Credential credential,
String region,
ClientProfile profile) |
Modifier and Type | Method and Description |
---|---|
AllocateCustomerCreditResponse |
AllocateCustomerCredit(AllocateCustomerCreditRequest req)
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.
|
CreateAccountResponse |
CreateAccount(CreateAccountRequest req)
This API is used to create a Tencent Cloud account in the International Partner platform for a customer.
|
GetCountryCodesResponse |
GetCountryCodes(GetCountryCodesRequest req)
This API is used to obtain country and region codes.
|
QueryCreditAllocationHistoryResponse |
QueryCreditAllocationHistory(QueryCreditAllocationHistoryRequest req)
This API is used to query all the credit allocation records of a single customer.
|
QueryCustomersCreditResponse |
QueryCustomersCredit(QueryCustomersCreditRequest req)
This API is used for a partner to query a customer's credit and basic information.
|
QueryPartnerCreditResponse |
QueryPartnerCredit(QueryPartnerCreditRequest req)
This API is used for a partner to query its own total credit, available credit, and used credit in USD.
|
call, callOctetStream, getClientProfile, getCredential, getRegion, getRegionBreaker, internalRequest, internalRequest, internalRequestRaw, processResponseJson, processResponseSSE, retry, setClientProfile, setCredential, setRegion, setRegionBreaker
public IpClient(Credential credential, String region)
public IpClient(Credential credential, String region, ClientProfile profile)
public AllocateCustomerCreditResponse AllocateCustomerCredit(AllocateCustomerCreditRequest req) throws TencentCloudSDKException
req
- AllocateCustomerCreditRequestTencentCloudSDKException
public CreateAccountResponse CreateAccount(CreateAccountRequest req) throws TencentCloudSDKException
req
- CreateAccountRequestTencentCloudSDKException
public GetCountryCodesResponse GetCountryCodes(GetCountryCodesRequest req) throws TencentCloudSDKException
req
- GetCountryCodesRequestTencentCloudSDKException
public QueryCreditAllocationHistoryResponse QueryCreditAllocationHistory(QueryCreditAllocationHistoryRequest req) throws TencentCloudSDKException
req
- QueryCreditAllocationHistoryRequestTencentCloudSDKException
public QueryCustomersCreditResponse QueryCustomersCredit(QueryCustomersCreditRequest req) throws TencentCloudSDKException
req
- QueryCustomersCreditRequestTencentCloudSDKException
public QueryPartnerCreditResponse QueryPartnerCredit(QueryPartnerCreditRequest req) throws TencentCloudSDKException
req
- QueryPartnerCreditRequestTencentCloudSDKException
Copyright © 2024. All rights reserved.