Class DefaultContractAccountService
java.lang.Object
com.sap.cloud.sdk.s4hana.datamodel.odatav4.services.DefaultContractAccountService
- All Implemented Interfaces:
OperationsOnEntityCollections,ServiceWithNavigableEntities,ContractAccountService
@Named("com.sap.cloud.sdk.s4hana.datamodel.odatav4.services.DefaultContractAccountService")
@Deprecated
public class DefaultContractAccountService
extends Object
implements ServiceWithNavigableEntities, ContractAccountService
Deprecated.
The service and all its related classes are deprecated. Please use the odata generator to generate the
VDM.
Retrieve a list of contract accounts. Read contract account header and contract account-business partner relationship. Retrieve the account balance for a contract account..
Reference: SAP Business Accelerator Hub
Details:
| OData Service: | CONTRACTACCOUNT_0001 |
| API Version: | 1.0.1 |
| Minimum ERP Version: | 2302 |
| Communication Scenario: | Finance - Contract Accounting Master Data Integration(SAP_COM_0167) |
| Scope Items: | Contract Accounting - Master Data and Basic Functions(2AR), Contract Accounting - Master Data and Basic Functions(OAR) |
| Authentication Methods: | x509 |
| Service Group Name: | API_CONTRACTACCOUNT |
| Business Object: | Contract Account |
-
Field Summary
Fields inherited from interface com.sap.cloud.sdk.s4hana.datamodel.odatav4.services.ContractAccountService
DEFAULT_SERVICE_PATH -
Constructor Summary
ConstructorsConstructorDescriptionDeprecated.Creates a service usingContractAccountService.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 theContractAccountentity collection matching the filter and search expressions.Deprecated.Fetch the number of entries from theContractAccountPartnerentity collection matching the filter and search expressions.Deprecated.Fetch multipleContractAccountentities.Deprecated.Fetch multipleContractAccountPartnerentities.getContractAccountByKey(String contractAccount) Deprecated.Fetch a singleContractAccountentity using key fields.getContractAccountPartnerByKey(String contractAccount, String businessPartner) Deprecated.Fetch a singleContractAccountPartnerentity using key fields.Deprecated.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
-
DefaultContractAccountService
public DefaultContractAccountService()Deprecated.Creates a service usingContractAccountService.DEFAULT_SERVICE_PATHto send the requests.
-
-
Method Details
-
withServicePath
Deprecated.Description copied from interface:ContractAccountServiceOverrides the default service path and returns a new service instance with the specified service path. Also adjusts the respective entity URLs.- Specified by:
withServicePathin interfaceContractAccountService- 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:ContractAccountServiceCreates a batch request builder object.- Specified by:
batchin interfaceContractAccountService- Returns:
- A request builder to handle batch operation on this service. To perform execution, call the
executemethod on the request builder object.
-
getAllContractAccount
Deprecated.Description copied from interface:ContractAccountServiceFetch multipleContractAccountentities.- Specified by:
getAllContractAccountin interfaceContractAccountService- Returns:
- A request builder to fetch multiple
ContractAccountentities. 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.
-
countContractAccount
Deprecated.Description copied from interface:ContractAccountServiceFetch the number of entries from theContractAccountentity collection matching the filter and search expressions.- Specified by:
countContractAccountin interfaceContractAccountService- Returns:
- A request builder to fetch the count of
ContractAccountentities. 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.
-
getContractAccountByKey
@Nonnull public GetByKeyRequestBuilder<ContractAccount> getContractAccountByKey(String contractAccount) Deprecated.Description copied from interface:ContractAccountServiceFetch a singleContractAccountentity using key fields.- Specified by:
getContractAccountByKeyin interfaceContractAccountService- Parameters:
contractAccount- Contract AccountConstraints: Not nullable, Maximum length: 12
- Returns:
- A request builder to fetch a single
ContractAccountentity 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.
-
getAllContractAccountPartner
Deprecated.Description copied from interface:ContractAccountServiceFetch multipleContractAccountPartnerentities.- Specified by:
getAllContractAccountPartnerin interfaceContractAccountService- Returns:
- A request builder to fetch multiple
ContractAccountPartnerentities. 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.
-
countContractAccountPartner
Deprecated.Description copied from interface:ContractAccountServiceFetch the number of entries from theContractAccountPartnerentity collection matching the filter and search expressions.- Specified by:
countContractAccountPartnerin interfaceContractAccountService- Returns:
- A request builder to fetch the count of
ContractAccountPartnerentities. 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.
-
getContractAccountPartnerByKey
@Nonnull public GetByKeyRequestBuilder<ContractAccountPartner> getContractAccountPartnerByKey(String contractAccount, String businessPartner) Deprecated.Description copied from interface:ContractAccountServiceFetch a singleContractAccountPartnerentity using key fields.- Specified by:
getContractAccountPartnerByKeyin interfaceContractAccountService- Parameters:
contractAccount- Contract AccountConstraints: Not nullable, Maximum length: 12
businessPartner- Business Partner NumberConstraints: Not nullable, Maximum length: 10
- Returns:
- A request builder to fetch a single
ContractAccountPartnerentity 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.
-
getServicePath
Deprecated.- Specified by:
getServicePathin interfaceServiceWithNavigableEntities
-