Interface PaymentRequisitionService

All Known Implementing Classes:
DefaultPaymentRequisitionService

@Deprecated public interface PaymentRequisitionService
Deprecated.
The service and all its related classes are deprecated. Please use the odata generator to generate the VDM.

This service contains payment requisitions, payment requisition items and payment requisition strategies. You can use this service to read, create, delete, submit, and update these objects. If there are any issues during updating the approval status of payment requisitions, the system display error messages in the response..

Business Documentation

Reference: SAP Business Accelerator Hub

Details:

OData Service: PAYMENTREQUISITIONCN_0001
API Version: 1.0.0
Minimum ERP Version: 2302
Communication Scenario: Finance - China Payment Requisition Integration(SAP_COM_0727)
Scope Items: Accounts Payable(J60)
Authentication Methods: x509
Service Group Name: API_CN_PAYMENTREQUISITION
Business Object: China Payment Requisition
  • Field Details

  • Method Details

    • withServicePath

      @Nonnull PaymentRequisitionService 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.
    • getAllPaymentStrategy

      @Nonnull GetAllRequestBuilder<PaymentStrategy> getAllPaymentStrategy()
      Deprecated.
      Fetch multiple PaymentStrategy entities.
      Returns:
      A request builder to fetch multiple PaymentStrategy 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.
    • countPaymentStrategy

      @Nonnull CountRequestBuilder<PaymentStrategy> countPaymentStrategy()
      Deprecated.
      Fetch the number of entries from the PaymentStrategy entity collection matching the filter and search expressions.
      Returns:
      A request builder to fetch the count of PaymentStrategy 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.
    • getPaymentStrategyByKey

      @Nonnull GetByKeyRequestBuilder<PaymentStrategy> getPaymentStrategyByKey(UUID paymentRequisitionStrategyUUID)
      Deprecated.
      Fetch a single PaymentStrategy entity using key fields.
      Parameters:
      paymentRequisitionStrategyUUID - Payment Requisition Strategy UUID

      Constraints: Not nullable

      Returns:
      A request builder to fetch a single PaymentStrategy 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.
    • updatePaymentStrategy

      @Nonnull UpdateRequestBuilder<PaymentStrategy> updatePaymentStrategy(@Nonnull PaymentStrategy paymentStrategy)
      Deprecated.
      Update an existing PaymentStrategy entity and save it to the S/4HANA system.
      Parameters:
      paymentStrategy - PaymentStrategy entity object that will be updated in the S/4HANA system.
      Returns:
      A request builder to update an existing PaymentStrategy entity. To perform execution, call the execute method on the request builder object.
    • deletePaymentStrategy

      @Nonnull DeleteRequestBuilder<PaymentStrategy> deletePaymentStrategy(@Nonnull PaymentStrategy paymentStrategy)
      Deprecated.
      Deletes an existing PaymentStrategy entity in the S/4HANA system.
      Parameters:
      paymentStrategy - PaymentStrategy entity object that will be deleted in the S/4HANA system.
      Returns:
      A request builder to delete an existing PaymentStrategy entity. To perform execution, call the execute method on the request builder object.
    • getAllRequisition

      @Nonnull GetAllRequestBuilder<Requisition> getAllRequisition()
      Deprecated.
      Fetch multiple Requisition entities.
      Returns:
      A request builder to fetch multiple Requisition 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.
    • countRequisition

      @Nonnull CountRequestBuilder<Requisition> countRequisition()
      Deprecated.
      Fetch the number of entries from the Requisition entity collection matching the filter and search expressions.
      Returns:
      A request builder to fetch the count of Requisition 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.
    • getRequisitionByKey

      @Nonnull GetByKeyRequestBuilder<Requisition> getRequisitionByKey(UUID paymentRequisitionUUID)
      Deprecated.
      Fetch a single Requisition entity using key fields.
      Parameters:
      paymentRequisitionUUID - Payment Requisition UUID

      Constraints: Not nullable

      Returns:
      A request builder to fetch a single Requisition 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.
    • createRequisition

      @Nonnull CreateRequestBuilder<Requisition> createRequisition(@Nonnull Requisition requisition)
      Deprecated.
      Create a new Requisition entity and save it to the S/4HANA system.
      Parameters:
      requisition - Requisition entity object that will be created in the S/4HANA system.
      Returns:
      A request builder to create a new Requisition entity. To perform execution, call the execute method on the request builder object.
    • updateRequisition

      @Nonnull UpdateRequestBuilder<Requisition> updateRequisition(@Nonnull Requisition requisition)
      Deprecated.
      Update an existing Requisition entity and save it to the S/4HANA system.
      Parameters:
      requisition - Requisition entity object that will be updated in the S/4HANA system.
      Returns:
      A request builder to update an existing Requisition entity. To perform execution, call the execute method on the request builder object.
    • deleteRequisition

      @Nonnull DeleteRequestBuilder<Requisition> deleteRequisition(@Nonnull Requisition requisition)
      Deprecated.
      Deletes an existing Requisition entity in the S/4HANA system.
      Parameters:
      requisition - Requisition entity object that will be deleted in the S/4HANA system.
      Returns:
      A request builder to delete an existing Requisition entity. To perform execution, call the execute method on the request builder object.
    • getAllRequisitionItem

      @Nonnull GetAllRequestBuilder<RequisitionItem> getAllRequisitionItem()
      Deprecated.
      Fetch multiple RequisitionItem entities.
      Returns:
      A request builder to fetch multiple RequisitionItem 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.
    • countRequisitionItem

      @Nonnull CountRequestBuilder<RequisitionItem> countRequisitionItem()
      Deprecated.
      Fetch the number of entries from the RequisitionItem entity collection matching the filter and search expressions.
      Returns:
      A request builder to fetch the count of RequisitionItem 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.
    • getRequisitionItemByKey

      @Nonnull GetByKeyRequestBuilder<RequisitionItem> getRequisitionItemByKey(UUID paymentRequisitionItemUUID)
      Deprecated.
      Fetch a single RequisitionItem entity using key fields.
      Parameters:
      paymentRequisitionItemUUID - Payment Requisition Item UUID

      Constraints: Not nullable

      Returns:
      A request builder to fetch a single RequisitionItem 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.
    • updateRequisitionItem

      @Nonnull UpdateRequestBuilder<RequisitionItem> updateRequisitionItem(@Nonnull RequisitionItem requisitionItem)
      Deprecated.
      Update an existing RequisitionItem entity and save it to the S/4HANA system.
      Parameters:
      requisitionItem - RequisitionItem entity object that will be updated in the S/4HANA system.
      Returns:
      A request builder to update an existing RequisitionItem entity. To perform execution, call the execute method on the request builder object.
    • deleteRequisitionItem

      @Nonnull DeleteRequestBuilder<RequisitionItem> deleteRequisitionItem(@Nonnull RequisitionItem requisitionItem)
      Deprecated.
      Deletes an existing RequisitionItem entity in the S/4HANA system.
      Parameters:
      requisitionItem - RequisitionItem entity object that will be deleted in the S/4HANA system.
      Returns:
      A request builder to delete an existing RequisitionItem entity. To perform execution, call the execute method on the request builder object.