All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.sinch.sdk.domains.numbers.WebHooksService Maven / Gradle / Ivy

There is a newer version: 1.4.0
Show newest version
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