Class DefaultIncotermService
java.lang.Object
com.sap.cloud.sdk.s4hana.datamodel.odata.services.DefaultIncotermService
- All Implemented Interfaces:
BatchService<IncotermServiceBatch>,IncotermService
@Named("com.sap.cloud.sdk.s4hana.datamodel.odata.services.DefaultIncotermService")
@Deprecated
public class DefaultIncotermService
extends Object
implements IncotermService
Deprecated.
The service and all its related classes are deprecated. Please use the odata generator to generate the
VDM.
The OData service enables external systems and other consumers to retrieve Incoterms data in your system. Retrievable details include Incoterms and Incoterms versions.
Reference: SAP Business Accelerator Hub
Details:
| OData Service: | API_SD_INCOTERMS_SRV |
| API Version: | 1.0.0 |
| Minimum ERP Version: | 2302 |
| Communication Scenario: | Sales Master Data Integration(SAP_COM_0746), Procurement - Supplier Quotation Management Integration(SAP_COM_0760) |
| Scope Items: | Sell from Stock(BD9), Sell from Stock(OD9), Direct Material Sourcing(4RD) |
| Authentication Methods: | x509 |
| Business Object: | Incoterms Classification |
-
Field Summary
Fields inherited from interface com.sap.cloud.sdk.s4hana.datamodel.odata.services.IncotermService
DEFAULT_SERVICE_PATH -
Constructor Summary
ConstructorsConstructorDescriptionDeprecated.Creates a service usingIncotermService.DEFAULT_SERVICE_PATHto send the requests. -
Method Summary
Modifier and TypeMethodDescriptionbatch()Deprecated.Deprecated.Fetch multipleIncotermsClassificationentities.Deprecated.Fetch multipleIncotermsClassificationTextentities.Deprecated.Fetch multipleIncotermsVersionentities.Deprecated.Fetch multipleIncotermsVersionTextentities.getIncotermsClassificationByKey(String incotermsClassification) Deprecated.Fetch a singleIncotermsClassificationentity using key fields.getIncotermsClassificationTextByKey(String incotermsClassification, String language) Deprecated.Fetch a singleIncotermsClassificationTextentity using key fields.getIncotermsVersionByKey(String incotermsVersion) Deprecated.Fetch a singleIncotermsVersionentity using key fields.getIncotermsVersionTextByKey(String incotermsVersion, String language) Deprecated.Fetch a singleIncotermsVersionTextentity using key fields.withServicePath(String servicePath) Deprecated.Overrides the default service path and returns a new service instance with the specified service path.
-
Constructor Details
-
DefaultIncotermService
public DefaultIncotermService()Deprecated.Creates a service usingIncotermService.DEFAULT_SERVICE_PATHto send the requests.
-
-
Method Details
-
withServicePath
Deprecated.Description copied from interface:IncotermServiceOverrides the default service path and returns a new service instance with the specified service path. Also adjusts the respective entity URLs.- Specified by:
withServicePathin interfaceIncotermService- Parameters:
servicePath- Service path that will override the default.- Returns:
- A new service instance with the specified service path.
-
batch
Deprecated.- Specified by:
batchin interfaceBatchService<IncotermServiceBatch>
-
getAllIncotermsClassification
Deprecated.Description copied from interface:IncotermServiceFetch multipleIncotermsClassificationentities.- Specified by:
getAllIncotermsClassificationin interfaceIncotermService- Returns:
- A fluent helper to fetch multiple
IncotermsClassificationentities. This fluent helper allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the fluent helper object.
-
getIncotermsClassificationByKey
@Nonnull public IncotermsClassificationByKeyFluentHelper getIncotermsClassificationByKey(String incotermsClassification) Deprecated.Description copied from interface:IncotermServiceFetch a singleIncotermsClassificationentity using key fields.- Specified by:
getIncotermsClassificationByKeyin interfaceIncotermService- Parameters:
incotermsClassification- Incoterms (Part 1)Constraints: Not nullable, Maximum length: 3
- Returns:
- A fluent helper to fetch a single
IncotermsClassificationentity using key fields. This fluent helper allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the fluent helper object.
-
getAllIncotermsClassificationText
Deprecated.Description copied from interface:IncotermServiceFetch multipleIncotermsClassificationTextentities.- Specified by:
getAllIncotermsClassificationTextin interfaceIncotermService- Returns:
- A fluent helper to fetch multiple
IncotermsClassificationTextentities. This fluent helper allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the fluent helper object.
-
getIncotermsClassificationTextByKey
@Nonnull public IncotermsClassificationTextByKeyFluentHelper getIncotermsClassificationTextByKey(String incotermsClassification, String language) Deprecated.Description copied from interface:IncotermServiceFetch a singleIncotermsClassificationTextentity using key fields.- Specified by:
getIncotermsClassificationTextByKeyin interfaceIncotermService- Parameters:
incotermsClassification- Incoterms (Part 1)Constraints: Not nullable, Maximum length: 3
language- Language KeyConstraints: Not nullable, Maximum length: 2
- Returns:
- A fluent helper to fetch a single
IncotermsClassificationTextentity using key fields. This fluent helper allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the fluent helper object.
-
getAllIncotermsVersion
Deprecated.Description copied from interface:IncotermServiceFetch multipleIncotermsVersionentities.- Specified by:
getAllIncotermsVersionin interfaceIncotermService- Returns:
- A fluent helper to fetch multiple
IncotermsVersionentities. This fluent helper allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the fluent helper object.
-
getIncotermsVersionByKey
Deprecated.Description copied from interface:IncotermServiceFetch a singleIncotermsVersionentity using key fields.- Specified by:
getIncotermsVersionByKeyin interfaceIncotermService- Parameters:
incotermsVersion- Incoterms VersionConstraints: Not nullable, Maximum length: 4
- Returns:
- A fluent helper to fetch a single
IncotermsVersionentity using key fields. This fluent helper allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the fluent helper object.
-
getAllIncotermsVersionText
Deprecated.Description copied from interface:IncotermServiceFetch multipleIncotermsVersionTextentities.- Specified by:
getAllIncotermsVersionTextin interfaceIncotermService- Returns:
- A fluent helper to fetch multiple
IncotermsVersionTextentities. This fluent helper allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the fluent helper object.
-
getIncotermsVersionTextByKey
@Nonnull public IncotermsVersionTextByKeyFluentHelper getIncotermsVersionTextByKey(String incotermsVersion, String language) Deprecated.Description copied from interface:IncotermServiceFetch a singleIncotermsVersionTextentity using key fields.- Specified by:
getIncotermsVersionTextByKeyin interfaceIncotermService- Parameters:
incotermsVersion- Incoterms VersionConstraints: Not nullable, Maximum length: 4
language- Language KeyConstraints: Not nullable, Maximum length: 2
- Returns:
- A fluent helper to fetch a single
IncotermsVersionTextentity using key fields. This fluent helper allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the fluent helper object.
-