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

com.sap.cloud.mt.subscription.json.SidecarUnSubscriptionPayload Maven / Gradle / Ivy

There is a newer version: 3.3.1
Show newest version
/******************************************************************************
 * © 2020 SAP SE or an SAP affiliate company. All rights reserved.            *
 ******************************************************************************/
package com.sap.cloud.mt.subscription.json;


import com.fasterxml.jackson.annotation.JsonIgnoreProperties;

/**
 * Payload sent to sidecar for an un-subscription. Currently identical to
 * the payload received from CIS. An own class was defined to be open for
 * addition of sidecar specific information in future.
 */

@JsonIgnoreProperties(ignoreUnknown = true)
public class SidecarUnSubscriptionPayload extends DeletePayload {
    public SidecarUnSubscriptionPayload() {
    }

    public SidecarUnSubscriptionPayload(DeletePayload unsubsriptionPayload) {
        if (unsubsriptionPayload != null) {
            subscriptionAppId = unsubsriptionPayload.subscriptionAppId;
            subscriptionAppName = unsubsriptionPayload.subscriptionAppName;
            subscribedTenantId = unsubsriptionPayload.subscribedTenantId;
            subscribedZoneId = unsubsriptionPayload.subscribedZoneId;
            subscribedSubdomain = unsubsriptionPayload.subscribedSubdomain;
            subscribedSubaccountId = unsubsriptionPayload.subscribedSubaccountId;
            subscribedCrmId = unsubsriptionPayload.subscribedCrmId;
            subscriptionAppPlan = unsubsriptionPayload.subscriptionAppPlan;
            subscriptionAppAmount = unsubsriptionPayload.subscriptionAppAmount;
            dependentServiceInstanceAppIds = unsubsriptionPayload.dependentServiceInstanceAppIds;
            dependantServiceInstanceAppIds = unsubsriptionPayload.dependantServiceInstanceAppIds;
            globalAccountGUID = unsubsriptionPayload.globalAccountGUID;
            userId = unsubsriptionPayload.userId;
            userInfo = unsubsriptionPayload.userInfo;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy