Interface PaymentRequisitionService
- All Known Implementing Classes:
DefaultPaymentRequisitionService
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..
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 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 thePaymentStrategyentity collection matching the filter and search expressions.Deprecated.Fetch the number of entries from theRequisitionentity collection matching the filter and search expressions.Deprecated.Fetch the number of entries from theRequisitionItementity collection matching the filter and search expressions.createRequisition(Requisition requisition) Deprecated.Create a newRequisitionentity and save it to the S/4HANA system.deletePaymentStrategy(PaymentStrategy paymentStrategy) Deprecated.Deletes an existingPaymentStrategyentity in the S/4HANA system.deleteRequisition(Requisition requisition) Deprecated.Deletes an existingRequisitionentity in the S/4HANA system.deleteRequisitionItem(RequisitionItem requisitionItem) Deprecated.Deletes an existingRequisitionItementity in the S/4HANA system.Deprecated.Fetch multiplePaymentStrategyentities.Deprecated.Fetch multipleRequisitionentities.Deprecated.Fetch multipleRequisitionItementities.getPaymentStrategyByKey(UUID paymentRequisitionStrategyUUID) Deprecated.Fetch a singlePaymentStrategyentity using key fields.getRequisitionByKey(UUID paymentRequisitionUUID) Deprecated.Fetch a singleRequisitionentity using key fields.getRequisitionItemByKey(UUID paymentRequisitionItemUUID) Deprecated.Fetch a singleRequisitionItementity using key fields.updatePaymentStrategy(PaymentStrategy paymentStrategy) Deprecated.Update an existingPaymentStrategyentity and save it to the S/4HANA system.updateRequisition(Requisition requisition) Deprecated.Update an existingRequisitionentity and save it to the S/4HANA system.updateRequisitionItem(RequisitionItem requisitionItem) Deprecated.Update an existingRequisitionItementity and save it to the S/4HANA system.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.
-
getAllPaymentStrategy
Deprecated.Fetch multiplePaymentStrategyentities.- Returns:
- A request builder to fetch multiple
PaymentStrategyentities. 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.
-
countPaymentStrategy
Deprecated.Fetch the number of entries from thePaymentStrategyentity collection matching the filter and search expressions.- Returns:
- A request builder to fetch the count of
PaymentStrategyentities. 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.
-
getPaymentStrategyByKey
@Nonnull GetByKeyRequestBuilder<PaymentStrategy> getPaymentStrategyByKey(UUID paymentRequisitionStrategyUUID) Deprecated.Fetch a singlePaymentStrategyentity using key fields.- Parameters:
paymentRequisitionStrategyUUID- Payment Requisition Strategy UUIDConstraints: Not nullable
- Returns:
- A request builder to fetch a single
PaymentStrategyentity 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.
-
updatePaymentStrategy
@Nonnull UpdateRequestBuilder<PaymentStrategy> updatePaymentStrategy(@Nonnull PaymentStrategy paymentStrategy) Deprecated.Update an existingPaymentStrategyentity and save it to the S/4HANA system.- Parameters:
paymentStrategy-PaymentStrategyentity object that will be updated in the S/4HANA system.- Returns:
- A request builder to update an existing
PaymentStrategyentity. To perform execution, call theexecutemethod on the request builder object.
-
deletePaymentStrategy
@Nonnull DeleteRequestBuilder<PaymentStrategy> deletePaymentStrategy(@Nonnull PaymentStrategy paymentStrategy) Deprecated.Deletes an existingPaymentStrategyentity in the S/4HANA system.- Parameters:
paymentStrategy-PaymentStrategyentity object that will be deleted in the S/4HANA system.- Returns:
- A request builder to delete an existing
PaymentStrategyentity. To perform execution, call theexecutemethod on the request builder object.
-
getAllRequisition
Deprecated.Fetch multipleRequisitionentities.- Returns:
- A request builder to fetch multiple
Requisitionentities. 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.
-
countRequisition
Deprecated.Fetch the number of entries from theRequisitionentity collection matching the filter and search expressions.- Returns:
- A request builder to fetch the count of
Requisitionentities. 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.
-
getRequisitionByKey
Deprecated.Fetch a singleRequisitionentity using key fields.- Parameters:
paymentRequisitionUUID- Payment Requisition UUIDConstraints: Not nullable
- Returns:
- A request builder to fetch a single
Requisitionentity 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.
-
createRequisition
Deprecated.Create a newRequisitionentity and save it to the S/4HANA system.- Parameters:
requisition-Requisitionentity object that will be created in the S/4HANA system.- Returns:
- A request builder to create a new
Requisitionentity. To perform execution, call theexecutemethod on the request builder object.
-
updateRequisition
Deprecated.Update an existingRequisitionentity and save it to the S/4HANA system.- Parameters:
requisition-Requisitionentity object that will be updated in the S/4HANA system.- Returns:
- A request builder to update an existing
Requisitionentity. To perform execution, call theexecutemethod on the request builder object.
-
deleteRequisition
Deprecated.Deletes an existingRequisitionentity in the S/4HANA system.- Parameters:
requisition-Requisitionentity object that will be deleted in the S/4HANA system.- Returns:
- A request builder to delete an existing
Requisitionentity. To perform execution, call theexecutemethod on the request builder object.
-
getAllRequisitionItem
Deprecated.Fetch multipleRequisitionItementities.- Returns:
- A request builder to fetch multiple
RequisitionItementities. 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.
-
countRequisitionItem
Deprecated.Fetch the number of entries from theRequisitionItementity collection matching the filter and search expressions.- Returns:
- A request builder to fetch the count of
RequisitionItementities. 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.
-
getRequisitionItemByKey
@Nonnull GetByKeyRequestBuilder<RequisitionItem> getRequisitionItemByKey(UUID paymentRequisitionItemUUID) Deprecated.Fetch a singleRequisitionItementity using key fields.- Parameters:
paymentRequisitionItemUUID- Payment Requisition Item UUIDConstraints: Not nullable
- Returns:
- A request builder to fetch a single
RequisitionItementity 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.
-
updateRequisitionItem
@Nonnull UpdateRequestBuilder<RequisitionItem> updateRequisitionItem(@Nonnull RequisitionItem requisitionItem) Deprecated.Update an existingRequisitionItementity and save it to the S/4HANA system.- Parameters:
requisitionItem-RequisitionItementity object that will be updated in the S/4HANA system.- Returns:
- A request builder to update an existing
RequisitionItementity. To perform execution, call theexecutemethod on the request builder object.
-
deleteRequisitionItem
@Nonnull DeleteRequestBuilder<RequisitionItem> deleteRequisitionItem(@Nonnull RequisitionItem requisitionItem) Deprecated.Deletes an existingRequisitionItementity in the S/4HANA system.- Parameters:
requisitionItem-RequisitionItementity object that will be deleted in the S/4HANA system.- Returns:
- A request builder to delete an existing
RequisitionItementity. To perform execution, call theexecutemethod on the request builder object.
-