Class DefaultPaymentItemService
java.lang.Object
com.sap.cloud.sdk.s4hana.datamodel.odata.services.DefaultPaymentItemService
- All Implemented Interfaces:
BatchService<PaymentItemServiceBatch>,PaymentItemService
@Named("com.sap.cloud.sdk.s4hana.datamodel.odata.services.DefaultPaymentItemService")
@Deprecated
public class DefaultPaymentItemService
extends Object
implements PaymentItemService
Deprecated.
The service and all its related classes are deprecated. Please use the odata generator to generate the
VDM.
This service contains payment header and payment item. The payment header is read by groups, and in each group, there are one or more payment items. Appropriate checks for restricted values and authorizations are executed for updating the approval status of payment items. Once the update has been completed, the status code is sent in the response. If there are any issues during updating the approval status of payment item, the system display error messages in the response. .
Reference: SAP Business Accelerator Hub
Details:
| OData Service: | API_CN_PAYMENTRELEASELIST_APPR_SRV |
| API Version: | 1.0.0 |
| Minimum ERP Version: | 2302 |
| Communication Scenario: | Finance - China Payment Approval Integration(SAP_COM_0711) |
| Scope Items: | Accounts Payable(J60) |
| Authentication Methods: | x509 |
| Business Object: | Payment Medium |
-
Field Summary
Fields inherited from interface com.sap.cloud.sdk.s4hana.datamodel.odata.services.PaymentItemService
DEFAULT_SERVICE_PATH -
Constructor Summary
ConstructorsConstructorDescriptionDeprecated.Creates a service usingPaymentItemService.DEFAULT_SERVICE_PATHto send the requests. -
Method Summary
Modifier and TypeMethodDescriptionbatch()Deprecated.Deprecated.Fetch multiplePaymentReleaseListHeaderentities.Deprecated.Fetch multiplePaymentReleaseListItementities.getPaymentReleaseListHeaderByKey(String paymentreleaselist) Deprecated.Fetch a singlePaymentReleaseListHeaderentity using key fields.getPaymentReleaseListItemByKey(UUID paymentreleaselistitemuuid) Deprecated.Fetch a singlePaymentReleaseListItementity using key fields.updatePaymentReleaseListItem(PaymentReleaseListItem paymentReleaseListItem) Deprecated.Update an existingPaymentReleaseListItementity 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.
-
Constructor Details
-
DefaultPaymentItemService
public DefaultPaymentItemService()Deprecated.Creates a service usingPaymentItemService.DEFAULT_SERVICE_PATHto send the requests.
-
-
Method Details
-
withServicePath
Deprecated.Description copied from interface:PaymentItemServiceOverrides the default service path and returns a new service instance with the specified service path. Also adjusts the respective entity URLs.- Specified by:
withServicePathin interfacePaymentItemService- Parameters:
servicePath- Service path that will override the default.- Returns:
- A new service instance with the specified service path.
-
batch
Deprecated.- Specified by:
batchin interfaceBatchService<PaymentItemServiceBatch>
-
getAllPaymentReleaseListHeader
Deprecated.Description copied from interface:PaymentItemServiceFetch multiplePaymentReleaseListHeaderentities.- Specified by:
getAllPaymentReleaseListHeaderin interfacePaymentItemService- Returns:
- A fluent helper to fetch multiple
PaymentReleaseListHeaderentities. This fluent helper allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the fluent helper object.
-
getPaymentReleaseListHeaderByKey
@Nonnull public PaymentReleaseListHeaderByKeyFluentHelper getPaymentReleaseListHeaderByKey(String paymentreleaselist) Deprecated.Description copied from interface:PaymentItemServiceFetch a singlePaymentReleaseListHeaderentity using key fields.- Specified by:
getPaymentReleaseListHeaderByKeyin interfacePaymentItemService- Parameters:
paymentreleaselist- List IDConstraints: Not nullable, Maximum length: 10
- Returns:
- A fluent helper to fetch a single
PaymentReleaseListHeaderentity using key fields. This fluent helper allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the fluent helper object.
-
getAllPaymentReleaseListItem
Deprecated.Description copied from interface:PaymentItemServiceFetch multiplePaymentReleaseListItementities.- Specified by:
getAllPaymentReleaseListItemin interfacePaymentItemService- Returns:
- A fluent helper to fetch multiple
PaymentReleaseListItementities. This fluent helper allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the fluent helper object.
-
getPaymentReleaseListItemByKey
@Nonnull public PaymentReleaseListItemByKeyFluentHelper getPaymentReleaseListItemByKey(UUID paymentreleaselistitemuuid) Deprecated.Description copied from interface:PaymentItemServiceFetch a singlePaymentReleaseListItementity using key fields.- Specified by:
getPaymentReleaseListItemByKeyin interfacePaymentItemService- Parameters:
paymentreleaselistitemuuid- UUIDConstraints: Not nullable
- Returns:
- A fluent helper to fetch a single
PaymentReleaseListItementity using key fields. This fluent helper allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the fluent helper object.
-
updatePaymentReleaseListItem
@Nonnull public PaymentReleaseListItemUpdateFluentHelper updatePaymentReleaseListItem(@Nonnull PaymentReleaseListItem paymentReleaseListItem) Deprecated.Description copied from interface:PaymentItemServiceUpdate an existingPaymentReleaseListItementity and save it to the S/4HANA system.- Specified by:
updatePaymentReleaseListItemin interfacePaymentItemService- Parameters:
paymentReleaseListItem-PaymentReleaseListItementity object that will be updated in the S/4HANA system.- Returns:
- A fluent helper to update an existing
PaymentReleaseListItementity. To perform execution, call theexecutemethod on the fluent helper object.
-