Interface ContractAccountService

All Known Implementing Classes:
DefaultContractAccountService

@Deprecated public interface 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..

Business Documentation

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 Details

  • Method Details

    • withServicePath

      @Nonnull ContractAccountService withServicePath(@Nonnull String servicePath)
      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

      @Nonnull BatchRequestBuilder batch()
      Deprecated.
      Creates a batch request builder object.
      Returns:
      A request builder to handle batch operation on this service. To perform execution, call the execute method on the request builder object.
    • getAllContractAccount

      @Nonnull GetAllRequestBuilder<ContractAccount> getAllContractAccount()
      Deprecated.
      Fetch multiple ContractAccount entities.
      Returns:
      A request builder to fetch multiple ContractAccount entities. This request builder allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call the execute method on the request builder object.
    • countContractAccount

      @Nonnull CountRequestBuilder<ContractAccount> countContractAccount()
      Deprecated.
      Fetch the number of entries from the ContractAccount entity collection matching the filter and search expressions.
      Returns:
      A request builder to fetch the count of ContractAccount entities. This request builder allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call the execute method on the request builder object.
    • getContractAccountByKey

      @Nonnull GetByKeyRequestBuilder<ContractAccount> getContractAccountByKey(String contractAccount)
      Deprecated.
      Fetch a single ContractAccount entity using key fields.
      Parameters:
      contractAccount - Contract Account

      Constraints: Not nullable, Maximum length: 12

      Returns:
      A request builder to fetch a single ContractAccount entity 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 the execute method on the request builder object.
    • getAllContractAccountPartner

      @Nonnull GetAllRequestBuilder<ContractAccountPartner> getAllContractAccountPartner()
      Deprecated.
      Fetch multiple ContractAccountPartner entities.
      Returns:
      A request builder to fetch multiple ContractAccountPartner entities. This request builder allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call the execute method on the request builder object.
    • countContractAccountPartner

      @Nonnull CountRequestBuilder<ContractAccountPartner> countContractAccountPartner()
      Deprecated.
      Fetch the number of entries from the ContractAccountPartner entity collection matching the filter and search expressions.
      Returns:
      A request builder to fetch the count of ContractAccountPartner entities. This request builder allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call the execute method on the request builder object.
    • getContractAccountPartnerByKey

      @Nonnull GetByKeyRequestBuilder<ContractAccountPartner> getContractAccountPartnerByKey(String contractAccount, String businessPartner)
      Deprecated.
      Fetch a single ContractAccountPartner entity using key fields.
      Parameters:
      businessPartner - Business Partner Number

      Constraints: Not nullable, Maximum length: 10

      contractAccount - Contract Account

      Constraints: Not nullable, Maximum length: 12

      Returns:
      A request builder to fetch a single ContractAccountPartner entity 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 the execute method on the request builder object.