All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.sap.cloud.sdk.s4hana.datamodel.odata.services.DefaultBankDetailService Maven / Gradle / Ivy

/*
 * Copyright (c) 2019 SAP SE or an SAP affiliate company. All rights reserved.
 */

package com.sap.cloud.sdk.s4hana.datamodel.odata.services;

import javax.annotation.Nonnull;
import javax.inject.Named;

import com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.bankdetail.BankDetailByKeyFluentHelper;
import com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.bankdetail.BankDetailFluentHelper;

/**
 * 

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

*

* Business * Documentation *

*

* Reference: SAP API * Business Hub *

*

Details:

* * * * * * * * * * * * * * * * * * * * * *
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
* */ @Named( "com.sap.cloud.sdk.s4hana.datamodel.odata.services.DefaultBankDetailService" ) public class DefaultBankDetailService implements BankDetailService { @Nonnull private final String servicePath; /** * Creates a service using {@link BankDetailService#DEFAULT_SERVICE_PATH} to send the requests. * */ public DefaultBankDetailService() { servicePath = BankDetailService.DEFAULT_SERVICE_PATH; } /** * Creates a service using the provided service path to send the requests. *

* Used by the fluent {@link #withServicePath(String)} method. * */ private DefaultBankDetailService( @Nonnull final String servicePath ) { this.servicePath = servicePath; } @Override @Nonnull public DefaultBankDetailService withServicePath( @Nonnull final String servicePath ) { return new DefaultBankDetailService(servicePath); } @Override @Nonnull public BankDetailFluentHelper getAllBankDetail() { return new BankDetailFluentHelper(servicePath); } @Override @Nonnull public BankDetailByKeyFluentHelper getBankDetailByKey( final String bankCountry, final String bankInternalID ) { return new BankDetailByKeyFluentHelper(servicePath, bankCountry, bankInternalID); } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy