Class DefaultFinancialTransactionNetPresentValueService
java.lang.Object
com.sap.cloud.sdk.s4hana.datamodel.odatav4.services.DefaultFinancialTransactionNetPresentValueService
- All Implemented Interfaces:
OperationsOnEntityCollections,ServiceWithNavigableEntities,FinancialTransactionNetPresentValueService
@Named("com.sap.cloud.sdk.s4hana.datamodel.odatav4.services.DefaultFinancialTransactionNetPresentValueService")
@Deprecated
public class DefaultFinancialTransactionNetPresentValueService
extends Object
implements ServiceWithNavigableEntities, FinancialTransactionNetPresentValueService
Deprecated.
The service and all its related classes are deprecated. Please use the odata generator to generate the
VDM.
This service enables you to create, read, update, and delete net present values of financial transactions in the net present values table in Treasury and Risk Management. By default, NPVs are calculated in Treasury and Risk Management with the ***Calculate Net Present Values - With CVA and DVA*** app. You can enter externally calculated net present value using the ***Enter Net Present Values*** app or with this service..
Reference: SAP Business Accelerator Hub
Details:
-
Field Summary
Fields inherited from interface com.sap.cloud.sdk.s4hana.datamodel.odatav4.services.FinancialTransactionNetPresentValueService
DEFAULT_SERVICE_PATH -
Constructor Summary
ConstructorsConstructorDescriptionDeprecated.Creates a service usingFinancialTransactionNetPresentValueService.DEFAULT_SERVICE_PATHto send the requests. -
Method Summary
Modifier and TypeMethodDescriptionbatch()Deprecated.Creates a batch request builder object.Deprecated.Fetch the number of entries from theFinancialTransactionNPVentity collection matching the filter and search expressions.createFinancialTransactionNPV(FinancialTransactionNPV financialTransactionNPV) Deprecated.Create a newFinancialTransactionNPVentity and save it to the S/4HANA system.deleteFinancialTransactionNPV(FinancialTransactionNPV financialTransactionNPV) Deprecated.Deletes an existingFinancialTransactionNPVentity in the S/4HANA system.Deprecated.Fetch multipleFinancialTransactionNPVentities.getFinancialTransactionNPVByKey(String companyCode, String financialTransaction, String financialTransactionNPVType, LocalDate netPresentValueValidityDate) Deprecated.Fetch a singleFinancialTransactionNPVentity using key fields.Deprecated.updateFinancialTransactionNPV(FinancialTransactionNPV financialTransactionNPV) Deprecated.Update an existingFinancialTransactionNPVentity and save it to the S/4HANA system.withServicePath(String servicePath) Deprecated.Overrides the default service path and returns a new service instance with the specified service path.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.sap.cloud.sdk.datamodel.odatav4.core.ServiceWithNavigableEntities
applyAction, applyAction, applyFunction, applyFunction, forEntity, withFunction, withFunction
-
Constructor Details
-
DefaultFinancialTransactionNetPresentValueService
public DefaultFinancialTransactionNetPresentValueService()Deprecated.Creates a service usingFinancialTransactionNetPresentValueService.DEFAULT_SERVICE_PATHto send the requests.
-
-
Method Details
-
withServicePath
@Nonnull public DefaultFinancialTransactionNetPresentValueService withServicePath(@Nonnull String servicePath) Deprecated.Description copied from interface:FinancialTransactionNetPresentValueServiceOverrides the default service path and returns a new service instance with the specified service path. Also adjusts the respective entity URLs.- Specified by:
withServicePathin interfaceFinancialTransactionNetPresentValueService- Parameters:
servicePath- Service path that will override the default.- Returns:
- A new service instance with the specified service path.
-
batch
Deprecated.Description copied from interface:FinancialTransactionNetPresentValueServiceCreates a batch request builder object.- Specified by:
batchin interfaceFinancialTransactionNetPresentValueService- Returns:
- A request builder to handle batch operation on this service. To perform execution, call the
executemethod on the request builder object.
-
getAllFinancialTransactionNPV
Deprecated.Description copied from interface:FinancialTransactionNetPresentValueServiceFetch multipleFinancialTransactionNPVentities.- Specified by:
getAllFinancialTransactionNPVin interfaceFinancialTransactionNetPresentValueService- Returns:
- A request builder to fetch multiple
FinancialTransactionNPVentities. This request builder allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the request builder object.
-
countFinancialTransactionNPV
Deprecated.Description copied from interface:FinancialTransactionNetPresentValueServiceFetch the number of entries from theFinancialTransactionNPVentity collection matching the filter and search expressions.- Specified by:
countFinancialTransactionNPVin interfaceFinancialTransactionNetPresentValueService- Returns:
- A request builder to fetch the count of
FinancialTransactionNPVentities. This request builder allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the request builder object.
-
getFinancialTransactionNPVByKey
@Nonnull public GetByKeyRequestBuilder<FinancialTransactionNPV> getFinancialTransactionNPVByKey(String companyCode, String financialTransaction, String financialTransactionNPVType, LocalDate netPresentValueValidityDate) Deprecated.Description copied from interface:FinancialTransactionNetPresentValueServiceFetch a singleFinancialTransactionNPVentity using key fields.- Specified by:
getFinancialTransactionNPVByKeyin interfaceFinancialTransactionNetPresentValueService- Parameters:
companyCode- Company CodeConstraints: Not nullable, Maximum length: 4
financialTransaction- Financial TransactionConstraints: Not nullable, Maximum length: 13
financialTransactionNPVType- Price/NPV Type for OTC TransactionsConstraints: Not nullable, Maximum length: 3
netPresentValueValidityDate- Effective FromConstraints: Not nullable
- Returns:
- A request builder to fetch a single
FinancialTransactionNPVentity using key fields. This request builder allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the request builder object.
-
createFinancialTransactionNPV
@Nonnull public CreateRequestBuilder<FinancialTransactionNPV> createFinancialTransactionNPV(@Nonnull FinancialTransactionNPV financialTransactionNPV) Deprecated.Description copied from interface:FinancialTransactionNetPresentValueServiceCreate a newFinancialTransactionNPVentity and save it to the S/4HANA system.- Specified by:
createFinancialTransactionNPVin interfaceFinancialTransactionNetPresentValueService- Parameters:
financialTransactionNPV-FinancialTransactionNPVentity object that will be created in the S/4HANA system.- Returns:
- A request builder to create a new
FinancialTransactionNPVentity. To perform execution, call theexecutemethod on the request builder object.
-
updateFinancialTransactionNPV
@Nonnull public UpdateRequestBuilder<FinancialTransactionNPV> updateFinancialTransactionNPV(@Nonnull FinancialTransactionNPV financialTransactionNPV) Deprecated.Description copied from interface:FinancialTransactionNetPresentValueServiceUpdate an existingFinancialTransactionNPVentity and save it to the S/4HANA system.- Specified by:
updateFinancialTransactionNPVin interfaceFinancialTransactionNetPresentValueService- Parameters:
financialTransactionNPV-FinancialTransactionNPVentity object that will be updated in the S/4HANA system.- Returns:
- A request builder to update an existing
FinancialTransactionNPVentity. To perform execution, call theexecutemethod on the request builder object.
-
deleteFinancialTransactionNPV
@Nonnull public DeleteRequestBuilder<FinancialTransactionNPV> deleteFinancialTransactionNPV(@Nonnull FinancialTransactionNPV financialTransactionNPV) Deprecated.Description copied from interface:FinancialTransactionNetPresentValueServiceDeletes an existingFinancialTransactionNPVentity in the S/4HANA system.- Specified by:
deleteFinancialTransactionNPVin interfaceFinancialTransactionNetPresentValueService- Parameters:
financialTransactionNPV-FinancialTransactionNPVentity object that will be deleted in the S/4HANA system.- Returns:
- A request builder to delete an existing
FinancialTransactionNPVentity. To perform execution, call theexecutemethod on the request builder object.
-
getServicePath
Deprecated.- Specified by:
getServicePathin interfaceServiceWithNavigableEntities
-