com.sap.cloud.mt.subscription.exits.UnSubscribeExit Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of multi-tenant-subscription Show documentation
Show all versions of multi-tenant-subscription Show documentation
Spring Boot Enablement Parent
/******************************************************************************
* © 2020 SAP SE or an SAP affiliate company. All rights reserved. *
******************************************************************************/
package com.sap.cloud.mt.subscription.exits;
import com.sap.cloud.mt.subscription.json.DeletePayload;
public interface UnSubscribeExit {
default Boolean onBeforeUnsubscribe(String tenantId, DeletePayload deletePayload) {
return false;
}
default Boolean onBeforeAsyncUnsubscribe(String tenantId, DeletePayload deletePayload) {
return false;
}
default void onAfterUnsubscribe(String tenantId, DeletePayload deletePayload) {
}
default void onAfterAsyncUnsubscribe(String tenantId, DeletePayload deletePayload) {
}
}