public class BillingClient extends AbstractBceClient
config, DEFAULT_CONTENT_TYPE, DEFAULT_ENCODING, DEFAULT_SERVICE_DOMAIN, URL_PREFIX| Constructor and Description |
|---|
BillingClient()
Constructs a new client to invoke service methods on billing with default configuration.
|
BillingClient(BceClientConfiguration config)
Constructs a new client to invoke service methods on billing default configuration.
|
| Modifier and Type | Method and Description |
|---|---|
TransferResultResponse |
balanceGather(SupervisorBalanceTransferRequest request)
do balance gather form supervised account to supervisor
|
SupervisorBalanceResponse |
balanceQuery(SupervisorBalanceQueryRequest request)
get balance info
|
TransferResultResponse |
balanceTransfer(SupervisorBalanceTransferRequest request)
do balance transfer form supervisor to supervised account
|
OrderListResponse |
getOrderList(OrderListRequest request)
Query the order list
|
ResourceBillListQueryResponse |
getResourceBillList(ResourceBillListQueryRequest request)
Query the resource bill list
|
ResourceMonthBillResponse |
getResourceMonthBill(ResourceMonthBillRequest request)
Query the detail resource month bills.
|
PricingQueryResponse |
getSpecificCpcPrice(CpcPricingRequest request)
Query the detail price of charge items
|
PricingQueryResponse |
getSpecificCptPrice(CptPricingRequest request)
Query the detail price of charge items
|
PrepayShareBillResponse |
queryPrepayShareBill(PrepayShareBillRequest request)
Query the detail prepay share bills.
|
RenewResourceResponse |
queryRenewResourceList(RenewResourceListRequest request)
Query auto renew resource list
Set the parameter queryAccountId if want to query the sub account's bills whole is in finance circle.
|
void |
setRenewResourceRule(ResourceAutoRenewRequest request)
SET auto renew resource rule
Set the parameter accountId if want to manage the sub account's resource who is in finance circle.
|
SupervisorTransactionResponse |
transactionList(SupervisorTransactionPageRequest request)
get the transfer record
|
UserBalanceQueryResponse |
userBalanceQuery()
get user balance info
|
computeServiceId, getClient, getEndpoint, getServiceId, invokeHttpClient, isRegionSupported, setClient, shutdownpublic BillingClient()
public BillingClient(BceClientConfiguration config)
public ResourceMonthBillResponse getResourceMonthBill(ResourceMonthBillRequest request)
request - The request containing all options for getting the bills info.public PrepayShareBillResponse queryPrepayShareBill(PrepayShareBillRequest request)
request - The request containing all options for getting the bills info.public ResourceBillListQueryResponse getResourceBillList(ResourceBillListQueryRequest request)
request - The request containing all options for getting the resource info.public OrderListResponse getOrderList(OrderListRequest request)
request - The request containing all options for getting the order info.public PricingQueryResponse getSpecificCpcPrice(CpcPricingRequest request)
request - The request containing all options for getting the price info.public PricingQueryResponse getSpecificCptPrice(CptPricingRequest request)
request - The request containing all options for getting the price info.public RenewResourceResponse queryRenewResourceList(RenewResourceListRequest request)
request - The request containing all options for getting the resource list info.public void setRenewResourceRule(ResourceAutoRenewRequest request)
request - The request containing all options for set the resource list renew rule.public TransferResultResponse balanceTransfer(SupervisorBalanceTransferRequest request)
request - request contain supervisedId and amountpublic TransferResultResponse balanceGather(SupervisorBalanceTransferRequest request)
request - request contain supervisedId and amountpublic SupervisorTransactionResponse transactionList(SupervisorTransactionPageRequest request)
request - request contain time and page parampublic SupervisorBalanceResponse balanceQuery(SupervisorBalanceQueryRequest request)
request - request contain accountIds parampublic UserBalanceQueryResponse userBalanceQuery()
Copyright © 2022. All rights reserved.