public class QuotsConsumer extends BaseConsumer
| Constructor and Description |
|---|
QuotsConsumer(org.asynchttpclient.AsyncHttpClient client,
Serializer serializer,
String base,
String appId,
String appSecret) |
| Modifier and Type | Method and Description |
|---|---|
Future<org.asynchttpclient.Response> |
canUserProceed(String userId,
String appId,
String usage,
String usageSize) |
Future<org.asynchttpclient.Response> |
createUser(QuotsUser user) |
Future<org.asynchttpclient.Response> |
deleteUserById(String id) |
Future<org.asynchttpclient.Response> |
getUserById(String userId) |
Future<org.asynchttpclient.Response> |
updateCredits(QuotsUser qu) |
delete, get, getWithParams, post, putpublic QuotsConsumer(org.asynchttpclient.AsyncHttpClient client,
Serializer serializer,
String base,
String appId,
String appSecret)
public Future<org.asynchttpclient.Response> createUser(QuotsUser user) throws JQuotsException
JQuotsExceptionpublic Future<org.asynchttpclient.Response> canUserProceed(String userId, String appId, String usage, String usageSize)
Copyright © 2019 Euclia. All rights reserved.