@Named(value="com.sap.cloud.sdk.s4hana.onpremise.v2020.datamodel.odata.services.DefaultBankDetailService") public class DefaultBankDetailService extends Object implements BankDetailService
The service contains key information for banks, such as bank country, bank key, bank name, SWIFT code, bank group, bank number, region, street name, city, and branch. If there are any issues when retrieving the bank master data, the system displays error messages in the response..
Reference: SAP API Business Hub
OData Service: | OP_API_BANKDETAIL_SRV_0001 |
API Version: | 1 |
Minimum ERP Version: | 2020 |
Authentication Methods: | Basic, x509 |
Business Object: | Bank |
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
- Bank country key
Constraints: Not nullable, Maximum length: 3
bankInternalID
- Bank Keys
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 © 2021 SAP SE. All rights reserved.