public interface MeteredUsageApiClientService
| Modifier and Type | Method and Description |
|---|---|
APIResult |
reportUsage(String baseUrl,
String secretKey,
List<MeteredUsageItem> meteredUsageItems)
Calls the Metered Usage API Endpoint to bill usages.
|
APIResult |
reportUsage(String baseUrl,
String secretKey,
MeteredUsageItem meteredUsageItem)
Calls the Metered Usage API Endpoint to bill usages.
|
APIResult |
reportUsage(String baseUrl,
String key,
String idempotentKey,
List<MeteredUsageItem> meteredUsageItems)
Calls the Metered Usage API Endpoint to bill usages.
|
APIResult |
reportUsage(String baseUrl,
String secretKey,
String idempotentKey,
MeteredUsageItem meteredUsageItem)
Calls the Metered Usage API Endpoint to bill usages.
|
APIResult reportUsage(String baseUrl, String secretKey, String idempotentKey, MeteredUsageItem meteredUsageItem)
AppmarketBillingClient as this replaces the old API version.baseUrl - from the requestsecretKey - to sign the requestidempotentKey - to make unique callsmeteredUsageItem - usage instance to be reportedAPIResult instance representing the marketplace response
throws an MeteredUsageApiException to the client with an error code and a status:
APIResult reportUsage(String baseUrl, String secretKey, MeteredUsageItem meteredUsageItem)
AppmarketBillingClient as this replaces the old API version.baseUrl - from the requestsecretKey - to sign the requestmeteredUsageItem - usage instance to be reportedAPIResult instance representing the marketplace response
throws an MeteredUsageApiException to the client with an error code and a status:
APIResult reportUsage(String baseUrl, String secretKey, List<MeteredUsageItem> meteredUsageItems)
AppmarketBillingClient as this replaces the old API version.baseUrl - from the requestsecretKey - to sign the requestmeteredUsageItems - list of usages to be reportedAPIResult instance representing the marketplace response
throws an MeteredUsageApiException to the client with an error code and a status:
APIResult reportUsage(String baseUrl, String key, String idempotentKey, List<MeteredUsageItem> meteredUsageItems)
AppmarketBillingClient as this replaces the old API version.baseUrl - from the requestkey - to sign the requestidempotentKey - to make unique callsmeteredUsageItems - list of usages to be reportedAPIResult instance representing the marketplace response
throws an MeteredUsageApiException to the client with an error code and a status:
Copyright © 2019 Pivotal Software, Inc.. All rights reserved.