Interface ContractAccountService
- All Known Implementing Classes:
DefaultContractAccountService
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
FieldsModifier and TypeFieldDescriptionstatic final StringDeprecated.If no other path was provided via thewithServicePath(String)method, this is the default service path used to access the endpoint. -
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.withServicePath(String servicePath) Deprecated.Overrides the default service path and returns a new service instance with the specified service path.
-
Field Details
-
DEFAULT_SERVICE_PATH
Deprecated.If no other path was provided via thewithServicePath(String)method, this is the default service path used to access the endpoint.- See Also:
-
-
Method Details
-
withServicePath
Deprecated.Overrides the default service path and returns a new service instance with the specified service path. Also adjusts the respective entity URLs.- Parameters:
servicePath- Service path that will override the default.- Returns:
- A new service instance with the specified service path.
-
batch
Deprecated.Creates a batch request builder object.- Returns:
- A request builder to handle batch operation on this service. To perform execution, call the
executemethod on the request builder object.
-
getAllContractAccount
Deprecated.Fetch multipleContractAccountentities.- 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.Fetch the number of entries from theContractAccountentity collection matching the filter and search expressions.- 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
Deprecated.Fetch a singleContractAccountentity using key fields.- 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.Fetch multipleContractAccountPartnerentities.- 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.Fetch the number of entries from theContractAccountPartnerentity collection matching the filter and search expressions.- 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 GetByKeyRequestBuilder<ContractAccountPartner> getContractAccountPartnerByKey(String contractAccount, String businessPartner) Deprecated.Fetch a singleContractAccountPartnerentity using key fields.- Parameters:
businessPartner- Business Partner NumberConstraints: Not nullable, Maximum length: 10
contractAccount- Contract AccountConstraints: Not nullable, Maximum length: 12
- 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.
-