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

com.sap.cloud.sdk.s4hana.datamodel.odata.services.DefaultCustomerAndSupplierIndustryService Maven / Gradle / Ivy

/*
 * Copyright (c) 2019 SAP SE or an SAP affiliate company. All rights reserved.
 */

package com.sap.cloud.sdk.s4hana.datamodel.odata.services;

import javax.annotation.Nonnull;
import javax.inject.Named;

import com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.customerandsupplierindustry.CustomerSupplierIndustryByKeyFluentHelper;
import com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.customerandsupplierindustry.CustomerSupplierIndustryFluentHelper;
import com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.customerandsupplierindustry.CustomerSupplierIndustryTextByKeyFluentHelper;
import com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.customerandsupplierindustry.CustomerSupplierIndustryTextFluentHelper;
import com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.customerandsupplierindustry.batch.DefaultCustomerAndSupplierIndustryServiceBatch;

/**
 * 

* This service enables you to read the industry master data of the customer and supplier in an API call. It is based on * the OData protocol, and can be consumed in Fiori apps and on other user interfaces. *

*

* Business * Documentation *

*

* Reference: SAP * API Business Hub *

*

Details:

* * * * * * * * * * * * * * * * * *
OData Service:API_CUSTOMERSUPPLIERINDUSTRY_SRV
API Version:1
Communication Scenario:SAP Business Objects Cloud for Planning Integration (SAP_COM_0087)
Scope Items:oData Integration with SAP Business Objects Cloud for * Planning (1YB)
* */ @Named( "com.sap.cloud.sdk.s4hana.datamodel.odata.services.DefaultCustomerAndSupplierIndustryService" ) public class DefaultCustomerAndSupplierIndustryService implements CustomerAndSupplierIndustryService { @Nonnull private final String servicePath; /** * Creates a service using {@link CustomerAndSupplierIndustryService#DEFAULT_SERVICE_PATH} to send the requests. * */ public DefaultCustomerAndSupplierIndustryService() { servicePath = CustomerAndSupplierIndustryService.DEFAULT_SERVICE_PATH; } /** * Creates a service using the provided service path to send the requests. *

* Used by the fluent {@link #withServicePath(String)} method. * */ private DefaultCustomerAndSupplierIndustryService( @Nonnull final String servicePath ) { this.servicePath = servicePath; } @Override @Nonnull public DefaultCustomerAndSupplierIndustryService withServicePath( @Nonnull final String servicePath ) { return new DefaultCustomerAndSupplierIndustryService(servicePath); } /** * {@inheritDoc} * */ @Override @Nonnull public DefaultCustomerAndSupplierIndustryServiceBatch batch() { return new DefaultCustomerAndSupplierIndustryServiceBatch(this); } @Override @Nonnull public CustomerSupplierIndustryFluentHelper getAllCustomerSupplierIndustry() { return new CustomerSupplierIndustryFluentHelper(servicePath); } @Override @Nonnull public CustomerSupplierIndustryByKeyFluentHelper getCustomerSupplierIndustryByKey( final String industry ) { return new CustomerSupplierIndustryByKeyFluentHelper(servicePath, industry); } @Override @Nonnull public CustomerSupplierIndustryTextFluentHelper getAllCustomerSupplierIndustryText() { return new CustomerSupplierIndustryTextFluentHelper(servicePath); } @Override @Nonnull public CustomerSupplierIndustryTextByKeyFluentHelper getCustomerSupplierIndustryTextByKey( final String language, final String industry ) { return new CustomerSupplierIndustryTextByKeyFluentHelper(servicePath, language, industry); } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy