| Package | Description |
|---|---|
| com.appdirect.sdk.appmarket | |
| com.appdirect.sdk.appmarket.events | |
| com.appdirect.sdk.appmarket.migration | |
| com.appdirect.sdk.meteredusage.service |
| Modifier and Type | Method and Description |
|---|---|
APIResult |
AppmarketEventHandler.handle(T event)
For async events (everything but
SUBSCRIPTION_NOTICE events),
returning a null result will not resolve the event on the appmarket's side. |
| Modifier and Type | Method and Description |
|---|---|
static APIResult |
APIResult.asyncEventResult(String message) |
APIResult |
AppmarketBillingClient.billUsage(String baseAppmarketUrl,
String key,
Usage usage)
Calls the Billing API REST endpoint against an AppMarket instance to bill usage
|
APIResult |
AppmarketBillingClient.billUsage(String baseAppmarketUrl,
String key,
Usage usage,
boolean isAsync)
Calls the Billing API REST endpoint against an AppMarket instance to bill usage
|
static APIResult |
APIResult.failure(ErrorCode errorCode,
String message)
Creates a failed result with the given error code and message.
|
static APIResult |
APIResult.failure(int errorCode,
String message) |
APIResult |
DeveloperExceptionHandler.handleDeveloperServiceException(DeveloperServiceException e,
javax.servlet.http.HttpServletResponse response) |
static APIResult |
APIResult.success(String message) |
| Modifier and Type | Method and Description |
|---|---|
void |
AppmarketEventClient.resolve(String baseAppmarketUrl,
String eventToken,
APIResult result,
org.springframework.security.oauth2.client.resource.OAuth2ProtectedResourceDetails oAuth2ResourceDetails)
Send an "event resolved" notification for an asynchronous event.
|
void |
AppmarketEventClient.resolve(String baseAppmarketUrl,
String eventToken,
APIResult result,
String key)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
APIResult |
SubscriptionMigrationHandler.handle(Subscription subscription) |
APIResult |
AppmarketMigrationService.migrate(Subscription subscription) |
APIResult |
SubscriptionValidationHandler.validate(Map<String,String> subscriptionData) |
APIResult |
CustomerAccountValidationHandler.validate(Map<String,String> customerAccountData) |
APIResult |
AppmarketMigrationService.validateCustomerAccount(Map<String,String> customerAccountData) |
APIResult |
AppmarketMigrationService.validateSubscription(Map<String,String> subscriptionData) |
| Modifier and Type | Method and Description |
|---|---|
Callable<APIResult> |
AppmarketMigrationController.migrate(Subscription subscription)
Migrate a subscription which is already validated by
AppmarketMigrationController.validateISVSubscription(Map) |
Callable<APIResult> |
AppmarketMigrationController.validateISVCustomerAccount(Map<String,String> isvCustomerAccountData)
Validate a customer account record that need to be migrated.
|
Callable<APIResult> |
AppmarketMigrationController.validateISVSubscription(Map<String,String> isvSubscriptionData)
Validate a subscription record that need to be migrated.
|
| Modifier and Type | Method and Description |
|---|---|
APIResult |
MeteredUsageApiClientServiceImpl.reportUsage(String baseUrl,
List<MeteredUsageItem> meteredUsageItems,
boolean billable,
String secretKey,
String secret) |
APIResult |
MeteredUsageApiClientService.reportUsage(String baseUrl,
List<MeteredUsageItem> meteredUsageItems,
boolean billable,
String secretKey,
String secret)
Calls the Metered Usage API Endpoint to bill usages.
|
APIResult |
MeteredUsageApiClientServiceImpl.reportUsage(String baseUrl,
MeteredUsageItem meteredUsageItem,
boolean billable,
String secretKey,
String secret) |
APIResult |
MeteredUsageApiClientService.reportUsage(String baseUrl,
MeteredUsageItem meteredUsageItem,
boolean billable,
String secretKey,
String secret)
Calls the Metered Usage API Endpoint to bill usages.
|
APIResult |
MeteredUsageApiClientServiceImpl.reportUsage(String baseUrl,
MeteredUsageItem meteredUsageItem,
boolean billable,
String secretKey,
String secret,
String sourceType) |
APIResult |
MeteredUsageApiClientService.reportUsage(String baseUrl,
MeteredUsageItem meteredUsageItem,
boolean billable,
String secretKey,
String secret,
String sourceType)
Calls the Metered Usage API Endpoint to bill usages.
|
APIResult |
MeteredUsageApiClientServiceImpl.reportUsage(String baseUrl,
String secretKey,
List<MeteredUsageItem> meteredUsageItems,
boolean billable) |
APIResult |
MeteredUsageApiClientService.reportUsage(String baseUrl,
String secretKey,
List<MeteredUsageItem> meteredUsageItems,
boolean billable)
Calls the Metered Usage API Endpoint to bill usages.
|
APIResult |
MeteredUsageApiClientServiceImpl.reportUsage(String baseUrl,
String idempotentKey,
List<MeteredUsageItem> meteredUsageItems,
boolean billable,
String secretKey,
String secret,
String sourceType) |
APIResult |
MeteredUsageApiClientService.reportUsage(String baseUrl,
String idempotentKey,
List<MeteredUsageItem> meteredUsageItems,
boolean billable,
String secretKey,
String secret,
String sourceType)
Calls the Metered Usage API Endpoint to bill usages.
|
APIResult |
MeteredUsageApiClientServiceImpl.reportUsage(String baseUrl,
String secretKey,
MeteredUsageItem meteredUsageItem,
boolean billable) |
APIResult |
MeteredUsageApiClientService.reportUsage(String baseUrl,
String secretKey,
MeteredUsageItem meteredUsageItem,
boolean billable)
Calls the Metered Usage API Endpoint to bill usages.
|
APIResult |
MeteredUsageApiClientServiceImpl.reportUsage(String baseUrl,
String secretKey,
MeteredUsageItem meteredUsageItem,
boolean billable,
String sourceType) |
APIResult |
MeteredUsageApiClientService.reportUsage(String baseUrl,
String secretKey,
MeteredUsageItem meteredUsageItem,
boolean billable,
String sourceType)
Calls the Metered Usage API Endpoint to bill usages.
|
APIResult |
MeteredUsageApiClientServiceImpl.reportUsage(String baseUrl,
String idempotentKey,
MeteredUsageItem meteredUsageItem,
boolean billable,
String secretKey,
String secret) |
APIResult |
MeteredUsageApiClientService.reportUsage(String baseUrl,
String idempotentKey,
MeteredUsageItem meteredUsageItem,
boolean billable,
String secretKey,
String secret)
Calls the Metered Usage API Endpoint to bill usages.
|
APIResult |
MeteredUsageApiClientServiceImpl.reportUsage(String baseUrl,
String secretKey,
String idempotentKey,
List<MeteredUsageItem> meteredUsageItems,
boolean billable) |
APIResult |
MeteredUsageApiClientService.reportUsage(String baseUrl,
String secretKey,
String idempotentKey,
List<MeteredUsageItem> meteredUsageItems,
boolean billable)
Calls the Metered Usage API Endpoint to bill usages.
|
APIResult |
MeteredUsageApiClientServiceImpl.reportUsage(String baseUrl,
String secretKey,
String idempotentKey,
List<MeteredUsageItem> meteredUsageItems,
boolean billable,
String sourceType) |
APIResult |
MeteredUsageApiClientService.reportUsage(String baseUrl,
String secretKey,
String idempotentKey,
List<MeteredUsageItem> meteredUsageItems,
boolean billable,
String sourceType)
Calls the Metered Usage API Endpoint to bill usages.
|
APIResult |
MeteredUsageApiClientServiceImpl.reportUsage(String baseUrl,
String secretKey,
String idempotentKey,
MeteredUsageItem meteredUsageItem,
boolean billable) |
APIResult |
MeteredUsageApiClientService.reportUsage(String baseUrl,
String secretKey,
String idempotentKey,
MeteredUsageItem meteredUsageItem,
boolean billable)
Calls the Metered Usage API Endpoint to bill usages.
|
APIResult |
MeteredUsageApiClientServiceImpl.retryableReportUsage(String baseUrl,
String idempotentKey,
List<MeteredUsageItem> meteredUsageItems,
String secretKey,
boolean billable,
String sourceType) |
APIResult |
MeteredUsageApiClientService.retryableReportUsage(String baseUrl,
String idempotentKey,
List<MeteredUsageItem> meteredUsageItems,
String secretKey,
boolean billable,
String sourceType) |
Copyright © 2021 Pivotal Software, Inc.. All rights reserved.