public interface MeteredUsageApiClientService
| Modifier and Type | Method and Description |
|---|---|
APIResult |
reportUsage(String secretKey,
List<MeteredUsageItem> meteredUsageItems)
Calls the Metered Usage API Endpoint to bill usages.
|
APIResult |
reportUsage(String secretKey,
MeteredUsageItem meteredUsageItem)
Calls the Metered Usage API Endpoint to bill usages.
|
APIResult |
reportUsage(String key,
String idempotentKey,
List<MeteredUsageItem> meteredUsageItems)
Calls the Metered Usage API Endpoint to bill usages.
|
APIResult |
reportUsage(String secretKey,
String idempotentKey,
MeteredUsageItem meteredUsageItem)
Calls the Metered Usage API Endpoint to bill usages.
|
APIResult reportUsage(String secretKey, String idempotentKey, MeteredUsageItem meteredUsageItem)
AppmarketBillingClient as this replaces the old API version.secretKey - 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 secretKey, MeteredUsageItem meteredUsageItem)
AppmarketBillingClient as this replaces the old API version.secretKey - 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 secretKey, List<MeteredUsageItem> meteredUsageItems)
AppmarketBillingClient as this replaces the old API version.secretKey - 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 key, String idempotentKey, List<MeteredUsageItem> meteredUsageItems)
AppmarketBillingClient as this replaces the old API version.key - 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.