Interface RewardServiceAsync
-
- All Implemented Interfaces:
public interface RewardServiceAsyncParticipant reward retrieval and manual reward operations.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public interfaceRewardServiceAsync.WithRawResponseA view of RewardServiceAsync that provides access to raw HTTP responses for each method.
-
Method Summary
-
-
Method Detail
-
withRawResponse
abstract RewardServiceAsync.WithRawResponse withRawResponse()
Returns a view of this service that provides access to raw HTTP responses for each method.
-
withOptions
abstract RewardServiceAsync withOptions(Consumer<ClientOptions.Builder> modifier)
Returns a view of this service with the given option modifications applied.
The original service is not modified.
-
delete
CompletableFuture<RewardDeleteResponse> delete(String rewardId, RewardDeleteParams params)
Removes a manually approved participant reward that has not already been approved.
-
delete
CompletableFuture<RewardDeleteResponse> delete(String rewardId, RewardDeleteParams params, RequestOptions requestOptions)
-
delete
CompletableFuture<RewardDeleteResponse> delete(RewardDeleteParams params)
-
delete
abstract CompletableFuture<RewardDeleteResponse> delete(RewardDeleteParams params, RequestOptions requestOptions)
-
approve
CompletableFuture<RewardApproveResponse> approve(String rewardId, RewardApproveParams params)
Approves a manually approved reward earned by a participant.
-
approve
CompletableFuture<RewardApproveResponse> approve(String rewardId, RewardApproveParams params, RequestOptions requestOptions)
-
approve
CompletableFuture<RewardApproveResponse> approve(RewardApproveParams params)
-
approve
abstract CompletableFuture<RewardApproveResponse> approve(RewardApproveParams params, RequestOptions requestOptions)
-
fulfill
CompletableFuture<RewardFulfillResponse> fulfill(String rewardId, RewardFulfillParams params)
Marks an approved participant reward as fulfilled.
-
fulfill
CompletableFuture<RewardFulfillResponse> fulfill(String rewardId, RewardFulfillParams params, RequestOptions requestOptions)
-
fulfill
CompletableFuture<RewardFulfillResponse> fulfill(RewardFulfillParams params)
-
fulfill
abstract CompletableFuture<RewardFulfillResponse> fulfill(RewardFulfillParams params, RequestOptions requestOptions)
-
-
-
-