Class DefaultBankV2Service
java.lang.Object
com.sap.cloud.sdk.s4hana.datamodel.odatav4.services.DefaultBankV2Service
- All Implemented Interfaces:
OperationsOnEntityCollections,ServiceWithNavigableEntities,BankV2Service
@Named("com.sap.cloud.sdk.s4hana.datamodel.odatav4.services.DefaultBankV2Service")
@Deprecated
public class DefaultBankV2Service
extends Object
implements ServiceWithNavigableEntities, BankV2Service
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_0002 |
| API Version: | 2.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.BankV2Service
DEFAULT_SERVICE_PATH -
Constructor Summary
ConstructorsConstructorDescriptionDeprecated.Creates a service usingBankV2Service.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.Deprecated.Fetch the number of entries from theBankAddressentity collection matching the filter and search expressions.createBank(Bank bank) Deprecated.Create a newBankentity and save it to the S/4HANA system.deleteBankAddress(BankAddress bankAddress) Deprecated.Deletes an existingBankAddressentity in the S/4HANA system.Deprecated.Fetch multipleBankentities.Deprecated.Fetch multipleBankAddressentities.getBankAddressByKey(String bankCountry, String bankInternalID, String addressRepresentationCode) Deprecated.Fetch a singleBankAddressentity using key fields.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.updateBankAddress(BankAddress bankAddress) Deprecated.Update an existingBankAddressentity 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
-
DefaultBankV2Service
public DefaultBankV2Service()Deprecated.Creates a service usingBankV2Service.DEFAULT_SERVICE_PATHto send the requests.
-
-
Method Details
-
withServicePath
Deprecated.Description copied from interface:BankV2ServiceOverrides the default service path and returns a new service instance with the specified service path. Also adjusts the respective entity URLs.- Specified by:
withServicePathin interfaceBankV2Service- 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:BankV2ServiceCreates a batch request builder object.- Specified by:
batchin interfaceBankV2Service- 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:BankV2ServiceFetch multipleBankentities.- Specified by:
getAllBankin interfaceBankV2Service- 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:BankV2ServiceFetch the number of entries from theBankentity collection matching the filter and search expressions.- Specified by:
countBankin interfaceBankV2Service- 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:BankV2ServiceFetch a singleBankentity using key fields.- Specified by:
getBankByKeyin interfaceBankV2Service- 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:BankV2ServiceCreate a newBankentity and save it to the S/4HANA system.- Specified by:
createBankin interfaceBankV2Service- 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:BankV2ServiceUpdate an existingBankentity and save it to the S/4HANA system.- Specified by:
updateBankin interfaceBankV2Service- 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.
-
getAllBankAddress
Deprecated.Description copied from interface:BankV2ServiceFetch multipleBankAddressentities.- Specified by:
getAllBankAddressin interfaceBankV2Service- Returns:
- A request builder to fetch multiple
BankAddressentities. 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.
-
countBankAddress
Deprecated.Description copied from interface:BankV2ServiceFetch the number of entries from theBankAddressentity collection matching the filter and search expressions.- Specified by:
countBankAddressin interfaceBankV2Service- Returns:
- A request builder to fetch the count of
BankAddressentities. 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.
-
getBankAddressByKey
@Nonnull public GetByKeyRequestBuilder<BankAddress> getBankAddressByKey(String bankCountry, String bankInternalID, String addressRepresentationCode) Deprecated.Description copied from interface:BankV2ServiceFetch a singleBankAddressentity using key fields.- Specified by:
getBankAddressByKeyin interfaceBankV2Service- Parameters:
bankCountry- Country/Region Key of BankConstraints: Not nullable, Maximum length: 3
bankInternalID- Bank KeysConstraints: Not nullable, Maximum length: 15
addressRepresentationCode- Version ID for International AddressesConstraints: Not nullable, Maximum length: 1
- Returns:
- A request builder to fetch a single
BankAddressentity 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.
-
updateBankAddress
@Nonnull public UpdateRequestBuilder<BankAddress> updateBankAddress(@Nonnull BankAddress bankAddress) Deprecated.Description copied from interface:BankV2ServiceUpdate an existingBankAddressentity and save it to the S/4HANA system.- Specified by:
updateBankAddressin interfaceBankV2Service- Parameters:
bankAddress-BankAddressentity object that will be updated in the S/4HANA system.- Returns:
- A request builder to update an existing
BankAddressentity. To perform execution, call theexecutemethod on the request builder object.
-
deleteBankAddress
@Nonnull public DeleteRequestBuilder<BankAddress> deleteBankAddress(@Nonnull BankAddress bankAddress) Deprecated.Description copied from interface:BankV2ServiceDeletes an existingBankAddressentity in the S/4HANA system.- Specified by:
deleteBankAddressin interfaceBankV2Service- Parameters:
bankAddress-BankAddressentity object that will be deleted in the S/4HANA system.- Returns:
- A request builder to delete an existing
BankAddressentity. To perform execution, call theexecutemethod on the request builder object.
-
getServicePath
Deprecated.- Specified by:
getServicePathin interfaceServiceWithNavigableEntities
-