public interface MtAsyncUnsubscribeEventContext
extends com.sap.cds.services.EventContext
EventContext
used for the MtSubscriptionService.EVENT_ASYNC_UNSUBSCRIBE
event.Modifier and Type | Method and Description |
---|---|
static MtAsyncUnsubscribeEventContext |
create()
Creates an
EventContext already overlayed with this interface. |
Boolean |
getDelete() |
com.sap.cloud.mt.subscription.json.DeletePayload |
getDeletePayload() |
String |
getSaasRegistryCallbackUrl() |
MtSubscriptionService |
getService() |
String |
getTenantId() |
void |
setDelete(boolean delete) |
void |
setDeletePayload(com.sap.cloud.mt.subscription.json.DeletePayload payload) |
void |
setSaasRegistryCallbackUrl(String url) |
void |
setTenantId(String tenantId) |
static MtAsyncUnsubscribeEventContext create()
EventContext
already overlayed with this interface. The event is set to be
MtSubscriptionService.EVENT_ASYNC_UNSUBSCRIBE
MtAsyncUnsubscribeEventContext
MtSubscriptionService getService()
getService
in interface com.sap.cds.services.EventContext
com.sap.cloud.mt.subscription.json.DeletePayload getDeletePayload()
void setDeletePayload(com.sap.cloud.mt.subscription.json.DeletePayload payload)
payload
- the information to delete the tenantString getTenantId()
void setTenantId(String tenantId)
tenantId
- the tenant ID to unsubscribeBoolean getDelete()
void setDelete(boolean delete)
delete
- true, if the tenant is to be deleted, false, if the tenant is to be skippedString getSaasRegistryCallbackUrl()
void setSaasRegistryCallbackUrl(String url)
url
- the callback URL of the SaaS RegistryCopyright © 2021. All rights reserved.