@Named(value="com.sap.cloud.sdk.s4hana.datamodel.odata.services.DefaultBankDetailService") public class DefaultBankDetailService extends Object implements BankDetailService
This service can be consumed by external applications in order to integrate with bank master data in SAP S/4HANA Cloud. It enables you to read bank data from SAP S/4HANA Cloud.
Reference: SAP API Business Hub
OData Service: | API_BANKDETAIL_SRV |
API Version: | 1 |
Communication Scenario: | Finance - Bank Integration (SAP_COM_0127) |
Scope Items: | Advanced Bank Account Management (J77) |
Authentication Methods: | Basic, x509 |
DEFAULT_SERVICE_PATH
Constructor and Description |
---|
DefaultBankDetailService()
Creates a service using
BankDetailService.DEFAULT_SERVICE_PATH to send the requests. |
Modifier and Type | Method and Description |
---|---|
DefaultBankDetailServiceBatch |
batch()
Instantiate a new FluentHelper instance for a single OData batch request.
|
BankDetailFluentHelper |
getAllBankDetail()
Fetch multiple
BankDetail
entities. |
BankDetailByKeyFluentHelper |
getBankDetailByKey(String bankCountry,
String bankInternalID)
Fetch a single
BankDetail
entity using key fields. |
DefaultBankDetailService |
withServicePath(String servicePath)
Overrides the default service path and returns a new service instance with the specified service path.
|
public DefaultBankDetailService()
BankDetailService.DEFAULT_SERVICE_PATH
to send the requests.@Nonnull public DefaultBankDetailService withServicePath(@Nonnull String servicePath)
BankDetailService
withServicePath
in interface BankDetailService
servicePath
- Service path that will override the default.@Nonnull public DefaultBankDetailServiceBatch batch()
batch
in interface BatchService<BankDetailServiceBatch>
@Nonnull public BankDetailFluentHelper getAllBankDetail()
BankDetailService
BankDetail
entities.getAllBankDetail
in interface BankDetailService
BankDetail
entities.
This fluent helper allows methods which modify the underlying query to be called before executing the
query itself. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public BankDetailByKeyFluentHelper getBankDetailByKey(String bankCountry, String bankInternalID)
BankDetailService
BankDetail
entity using key fields.getBankDetailByKey
in interface BankDetailService
bankCountry
- Identifies the country in which the bank is located.
Constraints: Not nullable, Maximum length: 3
bankInternalID
- In this field, you specify the bank key under which bank data from the respective country is stored.
Constraints: Not nullable, Maximum length: 15
BankDetail
entity 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 the
execute
method on the fluent helper object.Copyright © 2019 SAP SE. All rights reserved.