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..

Business Documentation

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
  • Constructor Details

  • Method Details

    • withServicePath

      @Nonnull public DefaultBankService withServicePath(@Nonnull String servicePath)
      Deprecated.
      Description copied from interface: BankService
      Overrides the default service path and returns a new service instance with the specified service path. Also adjusts the respective entity URLs.
      Specified by:
      withServicePath in interface BankService
      Parameters:
      servicePath - Service path that will override the default.
      Returns:
      A new service instance with the specified service path.
    • batch

      @Nonnull public BatchRequestBuilder batch()
      Deprecated.
      Description copied from interface: BankService
      Creates a batch request builder object.
      Specified by:
      batch in interface BankService
      Returns:
      A request builder to handle batch operation on this service. To perform execution, call the execute method on the request builder object.
    • getAllBank

      @Nonnull public GetAllRequestBuilder<Bank> getAllBank()
      Deprecated.
      Description copied from interface: BankService
      Fetch multiple Bank entities.
      Specified by:
      getAllBank in interface BankService
      Returns:
      A request builder to fetch multiple Bank entities. This request builder allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call the execute method on the request builder object.
    • countBank

      @Nonnull public CountRequestBuilder<Bank> countBank()
      Deprecated.
      Description copied from interface: BankService
      Fetch the number of entries from the Bank entity collection matching the filter and search expressions.
      Specified by:
      countBank in interface BankService
      Returns:
      A request builder to fetch the count of Bank entities. This request builder allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call the execute method on the request builder object.
    • getBankByKey

      @Nonnull public GetByKeyRequestBuilder<Bank> getBankByKey(String bankCountry, String bankInternalID)
      Deprecated.
      Description copied from interface: BankService
      Fetch a single Bank entity using key fields.
      Specified by:
      getBankByKey in interface BankService
      Parameters:
      bankCountry - Country/Region Key of Bank

      Constraints: Not nullable, Maximum length: 3

      bankInternalID - Bank Keys

      Constraints: Not nullable, Maximum length: 15

      Returns:
      A request builder to fetch a single Bank entity 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 the execute method on the request builder object.
    • createBank

      @Nonnull public CreateRequestBuilder<Bank> createBank(@Nonnull Bank bank)
      Deprecated.
      Description copied from interface: BankService
      Create a new Bank entity and save it to the S/4HANA system.
      Specified by:
      createBank in interface BankService
      Parameters:
      bank - Bank entity object that will be created in the S/4HANA system.
      Returns:
      A request builder to create a new Bank entity. To perform execution, call the execute method on the request builder object.
    • updateBank

      @Nonnull public UpdateRequestBuilder<Bank> updateBank(@Nonnull Bank bank)
      Deprecated.
      Description copied from interface: BankService
      Update an existing Bank entity and save it to the S/4HANA system.
      Specified by:
      updateBank in interface BankService
      Parameters:
      bank - Bank entity object that will be updated in the S/4HANA system.
      Returns:
      A request builder to update an existing Bank entity. To perform execution, call the execute method on the request builder object.
    • getServicePath

      @Nonnull public String getServicePath()
      Deprecated.
      Specified by:
      getServicePath in interface ServiceWithNavigableEntities