类 BillingClient


  • public class BillingClient
    extends AbstractBceClient
    Provides the client for accessing the Baidu Billing Service(billing).
    • 构造器详细资料

      • BillingClient

        public BillingClient()
        Constructs a new client to invoke service methods on billing with default configuration.
      • BillingClient

        public BillingClient​(BceClientConfiguration config)
        Constructs a new client to invoke service methods on billing default configuration.
    • 方法详细资料

      • getResourceMonthBill

        public ResourceMonthBillResponse getResourceMonthBill​(ResourceMonthBillRequest request)
        Query the detail resource month bills. Set the parameter queryAccountId if want to query the sub account's bills whole is in finance circle.
        参数:
        request - The request containing all options for getting the bills info.
        返回:
        detailed resource month bill list.
      • queryPrepayShareBill

        public PrepayShareBillResponse queryPrepayShareBill​(PrepayShareBillRequest request)
        Query the detail prepay share bills. Set the parameter queryAccountId if want to query the sub account's bills whole is in finance circle.
        参数:
        request - The request containing all options for getting the bills info.
        返回:
        detailed prepay share bill list.
      • getOrderList

        public OrderListResponse getOrderList​(OrderListRequest request)
        Query the order list
        参数:
        request - The request containing all options for getting the order info.
        返回:
        detailed order information list.
      • getSpecificCpcPrice

        public PricingQueryResponse getSpecificCpcPrice​(CpcPricingRequest request)
        Query the detail price of charge items
        参数:
        request - The request containing all options for getting the price info.
        返回:
        detail price.
      • getSpecificCptPrice

        public PricingQueryResponse getSpecificCptPrice​(CptPricingRequest request)
        Query the detail price of charge items
        参数:
        request - The request containing all options for getting the price info.
        返回:
        detail price.
      • queryRenewResourceList

        public 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.
        参数:
        request - The request containing all options for getting the resource list info.
        返回:
        detailed prepay resource list
      • setRenewResourceRule

        public 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.
        参数:
        request - The request containing all options for set the resource list renew rule.
      • userBalanceQuery

        public UserBalanceQueryResponse userBalanceQuery()
        get user balance info
        返回:
        user balance result