Class RewardsBankApi


  • @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
               date="2022-08-10T23:37:48.350148Z[Etc/UTC]")
    public class RewardsBankApi
    extends Object
    • 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