Package io.trippay.sdk.payment.api
Class WebhookApi
java.lang.Object
io.trippay.sdk.payment.api.WebhookApi
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-08-12T10:13:49.239999511+07:00[Asia/Bangkok]")
public class WebhookApi
extends Object
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionreactor.core.publisher.Mono<Webhook> createWebhook(UpsertWebhookRequest upsertWebhookRequest, String winkVersion) Create Webhook Create a new webhookreactor.core.publisher.Mono<org.springframework.http.ResponseEntity<Webhook>> createWebhookWithHttpInfo(UpsertWebhookRequest upsertWebhookRequest, String winkVersion) Create Webhook Create a new webhookorg.springframework.web.reactive.function.client.WebClient.ResponseSpeccreateWebhookWithResponseSpec(UpsertWebhookRequest upsertWebhookRequest, String winkVersion) Create Webhook Create a new webhookreactor.core.publisher.Mono<RemoveEntryResponse> deleteWebhook(String id, String winkVersion, String accept) Delete Webhook Remove a specific webhookreactor.core.publisher.Mono<org.springframework.http.ResponseEntity<RemoveEntryResponse>> deleteWebhookWithHttpInfo(String id, String winkVersion, String accept) Delete Webhook Remove a specific webhookorg.springframework.web.reactive.function.client.WebClient.ResponseSpecdeleteWebhookWithResponseSpec(String id, String winkVersion, String accept) Delete Webhook Remove a specific webhookreactor.core.publisher.Mono<Webhook> loadWebhook(String id, String winkVersion, String accept) Show Webhook Show a specific webhookreactor.core.publisher.Mono<org.springframework.http.ResponseEntity<Webhook>> loadWebhookWithHttpInfo(String id, String winkVersion, String accept) Show Webhook Show a specific webhookorg.springframework.web.reactive.function.client.WebClient.ResponseSpecloadWebhookWithResponseSpec(String id, String winkVersion, String accept) Show Webhook Show a specific webhookvoidsetApiClient(ApiClient apiClient) reactor.core.publisher.Flux<KeyValuePair> showWebhookEvents(String winkVersion, String accept) Show Webhook Event List List all valid webhook events that can be subsccribed toreactor.core.publisher.Mono<org.springframework.http.ResponseEntity<List<KeyValuePair>>> showWebhookEventsWithHttpInfo(String winkVersion, String accept) Show Webhook Event List List all valid webhook events that can be subsccribed toorg.springframework.web.reactive.function.client.WebClient.ResponseSpecshowWebhookEventsWithResponseSpec(String winkVersion, String accept) Show Webhook Event List List all valid webhook events that can be subsccribed toreactor.core.publisher.Flux<Webhook> showWebhooksByAccountsByOwner(String winkVersion, String accept) Show Webhooks List all webhooks owned by creating entityshowWebhooksByAccountsByOwnerWithHttpInfo(String winkVersion, String accept) Show Webhooks List all webhooks owned by creating entityorg.springframework.web.reactive.function.client.WebClient.ResponseSpecshowWebhooksByAccountsByOwnerWithResponseSpec(String winkVersion, String accept) Show Webhooks List all webhooks owned by creating entityreactor.core.publisher.Mono<Webhook> updateWebhook(String id, UpsertWebhookRequest upsertWebhookRequest, String winkVersion) Update Webhook Update an existing webhookreactor.core.publisher.Mono<org.springframework.http.ResponseEntity<Webhook>> updateWebhookWithHttpInfo(String id, UpsertWebhookRequest upsertWebhookRequest, String winkVersion) Update Webhook Update an existing webhookorg.springframework.web.reactive.function.client.WebClient.ResponseSpecupdateWebhookWithResponseSpec(String id, UpsertWebhookRequest upsertWebhookRequest, String winkVersion) Update Webhook Update an existing webhook
-
Constructor Details
-
WebhookApi
public WebhookApi() -
WebhookApi
-
-
Method Details
-
getApiClient
-
setApiClient
-
createWebhook
public reactor.core.publisher.Mono<Webhook> createWebhook(UpsertWebhookRequest upsertWebhookRequest, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException Create Webhook Create a new webhook201 - Created
- Parameters:
upsertWebhookRequest- The upsertWebhookRequest parameterwinkVersion- The winkVersion parameter- Returns:
- Webhook
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
createWebhookWithHttpInfo
public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<Webhook>> createWebhookWithHttpInfo(UpsertWebhookRequest upsertWebhookRequest, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException Create Webhook Create a new webhook201 - Created
- Parameters:
upsertWebhookRequest- The upsertWebhookRequest parameterwinkVersion- The winkVersion parameter- Returns:
- ResponseEntity<Webhook>
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
createWebhookWithResponseSpec
public org.springframework.web.reactive.function.client.WebClient.ResponseSpec createWebhookWithResponseSpec(UpsertWebhookRequest upsertWebhookRequest, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException Create Webhook Create a new webhook201 - Created
- Parameters:
upsertWebhookRequest- The upsertWebhookRequest parameterwinkVersion- The winkVersion parameter- Returns:
- ResponseSpec
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
deleteWebhook
public reactor.core.publisher.Mono<RemoveEntryResponse> deleteWebhook(String id, String winkVersion, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException Delete Webhook Remove a specific webhook200 - OK
- Parameters:
id- The id parameterwinkVersion- The winkVersion parameteraccept- The accept parameter- Returns:
- RemoveEntryResponse
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
deleteWebhookWithHttpInfo
public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<RemoveEntryResponse>> deleteWebhookWithHttpInfo(String id, String winkVersion, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException Delete Webhook Remove a specific webhook200 - OK
- Parameters:
id- The id parameterwinkVersion- The winkVersion parameteraccept- The accept parameter- Returns:
- ResponseEntity<RemoveEntryResponse>
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
deleteWebhookWithResponseSpec
public org.springframework.web.reactive.function.client.WebClient.ResponseSpec deleteWebhookWithResponseSpec(String id, String winkVersion, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException Delete Webhook Remove a specific webhook200 - OK
- Parameters:
id- The id parameterwinkVersion- The winkVersion parameteraccept- The accept parameter- Returns:
- ResponseSpec
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
loadWebhook
public reactor.core.publisher.Mono<Webhook> loadWebhook(String id, String winkVersion, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException Show Webhook Show a specific webhook200 - OK
- Parameters:
id- The id parameterwinkVersion- The winkVersion parameteraccept- The accept parameter- Returns:
- Webhook
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
loadWebhookWithHttpInfo
public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<Webhook>> loadWebhookWithHttpInfo(String id, String winkVersion, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException Show Webhook Show a specific webhook200 - OK
- Parameters:
id- The id parameterwinkVersion- The winkVersion parameteraccept- The accept parameter- Returns:
- ResponseEntity<Webhook>
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
loadWebhookWithResponseSpec
public org.springframework.web.reactive.function.client.WebClient.ResponseSpec loadWebhookWithResponseSpec(String id, String winkVersion, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException Show Webhook Show a specific webhook200 - OK
- Parameters:
id- The id parameterwinkVersion- The winkVersion parameteraccept- The accept parameter- Returns:
- ResponseSpec
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
showWebhookEvents
public reactor.core.publisher.Flux<KeyValuePair> showWebhookEvents(String winkVersion, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException Show Webhook Event List List all valid webhook events that can be subsccribed to200 - OK
- Parameters:
winkVersion- The winkVersion parameteraccept- The accept parameter- Returns:
- List<KeyValuePair>
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
showWebhookEventsWithHttpInfo
public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<List<KeyValuePair>>> showWebhookEventsWithHttpInfo(String winkVersion, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException Show Webhook Event List List all valid webhook events that can be subsccribed to200 - OK
- Parameters:
winkVersion- The winkVersion parameteraccept- The accept parameter- Returns:
- ResponseEntity<List<KeyValuePair>>
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
showWebhookEventsWithResponseSpec
public org.springframework.web.reactive.function.client.WebClient.ResponseSpec showWebhookEventsWithResponseSpec(String winkVersion, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException Show Webhook Event List List all valid webhook events that can be subsccribed to200 - OK
- Parameters:
winkVersion- The winkVersion parameteraccept- The accept parameter- Returns:
- ResponseSpec
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
showWebhooksByAccountsByOwner
public reactor.core.publisher.Flux<Webhook> showWebhooksByAccountsByOwner(String winkVersion, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException Show Webhooks List all webhooks owned by creating entity200 - OK
- Parameters:
winkVersion- The winkVersion parameteraccept- The accept parameter- Returns:
- List<Webhook>
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
showWebhooksByAccountsByOwnerWithHttpInfo
public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<List<Webhook>>> showWebhooksByAccountsByOwnerWithHttpInfo(String winkVersion, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException Show Webhooks List all webhooks owned by creating entity200 - OK
- Parameters:
winkVersion- The winkVersion parameteraccept- The accept parameter- Returns:
- ResponseEntity<List<Webhook>>
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
showWebhooksByAccountsByOwnerWithResponseSpec
public org.springframework.web.reactive.function.client.WebClient.ResponseSpec showWebhooksByAccountsByOwnerWithResponseSpec(String winkVersion, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException Show Webhooks List all webhooks owned by creating entity200 - OK
- Parameters:
winkVersion- The winkVersion parameteraccept- The accept parameter- Returns:
- ResponseSpec
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
updateWebhook
public reactor.core.publisher.Mono<Webhook> updateWebhook(String id, UpsertWebhookRequest upsertWebhookRequest, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException Update Webhook Update an existing webhook200 - OK
- Parameters:
id- The id parameterupsertWebhookRequest- The upsertWebhookRequest parameterwinkVersion- The winkVersion parameter- Returns:
- Webhook
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
updateWebhookWithHttpInfo
public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<Webhook>> updateWebhookWithHttpInfo(String id, UpsertWebhookRequest upsertWebhookRequest, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException Update Webhook Update an existing webhook200 - OK
- Parameters:
id- The id parameterupsertWebhookRequest- The upsertWebhookRequest parameterwinkVersion- The winkVersion parameter- Returns:
- ResponseEntity<Webhook>
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
updateWebhookWithResponseSpec
public org.springframework.web.reactive.function.client.WebClient.ResponseSpec updateWebhookWithResponseSpec(String id, UpsertWebhookRequest upsertWebhookRequest, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException Update Webhook Update an existing webhook200 - OK
- Parameters:
id- The id parameterupsertWebhookRequest- The upsertWebhookRequest parameterwinkVersion- The winkVersion parameter- Returns:
- ResponseSpec
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-