Class RewardsBankApi
- java.lang.Object
-
- app.cybrid.cybrid_api_bank.client.api.RewardsBankApi
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2022-08-17T19:40:03.891128Z[Etc/UTC]") public class RewardsBankApi extends Object
-
-
Constructor Summary
Constructors Constructor Description RewardsBankApi()RewardsBankApi(ApiClient apiClient)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description reactor.core.publisher.Mono<RewardBankModel>createRewards(PostRewardBankModel postRewardBankModel)Create Reward Creates a reward.reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<RewardBankModel>>createRewardsWithHttpInfo(PostRewardBankModel postRewardBankModel)ApiClientgetApiClient()voidsetApiClient(ApiClient apiClient)
-
-
-
Constructor Detail
-
RewardsBankApi
public RewardsBankApi()
-
RewardsBankApi
@Autowired public RewardsBankApi(ApiClient apiClient)
-
-
Method Detail
-
getApiClient
public ApiClient getApiClient()
-
setApiClient
public void setApiClient(ApiClient apiClient)
-
createRewards
public reactor.core.publisher.Mono<RewardBankModel> createRewards(PostRewardBankModel postRewardBankModel) throws org.springframework.web.reactive.function.client.WebClientResponseException
Create Reward Creates a reward. Required scope: **rewards:execute**201 - reward created
400 - Invalid requests - malformed authentication header
401 - Unauthorized - Authentication failed,
403 - Invalid scope
- Parameters:
postRewardBankModel- The postRewardBankModel parameter- Returns:
- RewardBankModel
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
createRewardsWithHttpInfo
public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<RewardBankModel>> createRewardsWithHttpInfo(PostRewardBankModel postRewardBankModel) throws org.springframework.web.reactive.function.client.WebClientResponseException
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException
-
-