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

com.sap.cds.feature.ucl.adapter.SpiiRequest Maven / Gradle / Ivy

The newest version!
package com.sap.cds.feature.ucl.adapter;

import com.sap.cds.CdsData;
import com.sap.cds.Struct;
import com.sap.cds.feature.ucl.services.SpiiContext;
import com.sap.cds.feature.ucl.services.SpiiTenant;

import java.util.Map;

/**
 * Request payload of an incoming UCL request.
 */
public interface SpiiRequest extends CdsData {

	static SpiiRequest create() {
		return Struct.create(SpiiRequest.class);
	}

	static SpiiRequest of(Map attributes) {
		return Struct.access(attributes).as(SpiiRequest.class);
	}

	SpiiContext getContext();

	SpiiTenant getReceiverTenant();

	SpiiTenant getAssignedTenant();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy