com.sinch.sdk.domains.numbers.WebHooksService Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of sinch-sdk-java Show documentation
Show all versions of sinch-sdk-java Show documentation
SDK providing a Java API for the Sinch REST APIs.
package com.sinch.sdk.domains.numbers;
import com.sinch.sdk.core.exceptions.ApiMappingException;
import com.sinch.sdk.domains.numbers.models.webhooks.EventNotification;
/**
* Webhooks service
*
* Callback events are used to get notified about Numbers usage according to your configured
* callback URL
*
*
see https://developers.sinch.com/docs/numbers/api-reference/numbers/tag/Callbacks/#tag/Callbacks/operation/ImportedNumberService_EventsCallback
*
* @since 1.0
*/
public interface WebHooksService {
/**
* This function can be called to deserialize received payload onto callback. Function return Java
* class instance from un-serialized payload
*
* @param jsonPayload Received payload to be un-serialized
* @return The decoded event notification instance class
* @since 1.0
*/
EventNotification unserializeEventNotification(String jsonPayload) throws ApiMappingException;
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy