Class DefaultBankService
java.lang.Object
com.sap.cloud.sdk.s4hana.datamodel.odatav4.services.DefaultBankService
- All Implemented Interfaces:
OperationsOnEntityCollections,ServiceWithNavigableEntities,BankService
@Named("com.sap.cloud.sdk.s4hana.datamodel.odatav4.services.DefaultBankService")
@Deprecated
public class DefaultBankService
extends Object
implements ServiceWithNavigableEntities, BankService
Deprecated.
The service and all its related classes are deprecated. Please use the odata generator to generate the
VDM.
You can use this inbound synchronous service to create, read, update, and mark bank master data for deletion. Use a standard archiving tool for the actual deletion of bank master data. The service is based on the OData protocol and can be consumed in SAP Fiori apps and other user interfaces..
Reference: SAP Business Accelerator Hub
Details:
| OData Service: | BANK_0001 |
| API Version: | 1.0.1 |
| Minimum ERP Version: | 2302 |
| Communication Scenario: | Bank - Bank Integration(SAP_COM_0379) |
| Scope Items: | Basic Bank Account Management(BFA), Basic Bank Account Management(OFA) |
| Authentication Methods: | x509 |
| Service Group Name: | API_BANK |
| Business Object: | Bank |
-
Field Summary
Fields inherited from interface com.sap.cloud.sdk.s4hana.datamodel.odatav4.services.BankService
DEFAULT_SERVICE_PATH -
Constructor Summary
ConstructorsConstructorDescriptionDeprecated.Creates a service usingBankService.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 theBankentity collection matching the filter and search expressions.createBank(Bank bank) Deprecated.Create a newBankentity and save it to the S/4HANA system.Deprecated.Fetch multipleBankentities.getBankByKey(String bankCountry, String bankInternalID) Deprecated.Fetch a singleBankentity using key fields.Deprecated.updateBank(Bank bank) Deprecated.Update an existingBankentity 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
-
DefaultBankService
public DefaultBankService()Deprecated.Creates a service usingBankService.DEFAULT_SERVICE_PATHto send the requests.
-
-
Method Details
-
withServicePath
Deprecated.Description copied from interface:BankServiceOverrides the default service path and returns a new service instance with the specified service path. Also adjusts the respective entity URLs.- Specified by:
withServicePathin interfaceBankService- 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:BankServiceCreates a batch request builder object.- Specified by:
batchin interfaceBankService- Returns:
- A request builder to handle batch operation on this service. To perform execution, call the
executemethod on the request builder object.
-
getAllBank
Deprecated.Description copied from interface:BankServiceFetch multipleBankentities.- Specified by:
getAllBankin interfaceBankService- Returns:
- A request builder to fetch multiple
Bankentities. 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.
-
countBank
Deprecated.Description copied from interface:BankServiceFetch the number of entries from theBankentity collection matching the filter and search expressions.- Specified by:
countBankin interfaceBankService- Returns:
- A request builder to fetch the count of
Bankentities. 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.
-
getBankByKey
@Nonnull public GetByKeyRequestBuilder<Bank> getBankByKey(String bankCountry, String bankInternalID) Deprecated.Description copied from interface:BankServiceFetch a singleBankentity using key fields.- Specified by:
getBankByKeyin interfaceBankService- Parameters:
bankCountry- Country/Region Key of BankConstraints: Not nullable, Maximum length: 3
bankInternalID- Bank KeysConstraints: Not nullable, Maximum length: 15
- Returns:
- A request builder to fetch a single
Bankentity 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.
-
createBank
Deprecated.Description copied from interface:BankServiceCreate a newBankentity and save it to the S/4HANA system.- Specified by:
createBankin interfaceBankService- Parameters:
bank-Bankentity object that will be created in the S/4HANA system.- Returns:
- A request builder to create a new
Bankentity. To perform execution, call theexecutemethod on the request builder object.
-
updateBank
Deprecated.Description copied from interface:BankServiceUpdate an existingBankentity and save it to the S/4HANA system.- Specified by:
updateBankin interfaceBankService- Parameters:
bank-Bankentity object that will be updated in the S/4HANA system.- Returns:
- A request builder to update an existing
Bankentity. To perform execution, call theexecutemethod on the request builder object.
-
getServicePath
Deprecated.- Specified by:
getServicePathin interfaceServiceWithNavigableEntities
-