@Named(value="com.sap.cloud.sdk.s4hana.datamodel.odata.services.DefaultPaymentItemService") public class DefaultPaymentItemService extends Object implements PaymentItemService
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 API Business Hub
OData Service: | API_CN_PAYMENTRELEASELIST_APPR_SRV |
API Version: | 1 |
Communication Scenario: | Finance - China Payment Approval Integration (SAP_COM_0711) |
Scope Items: | Accounts Payable (J60) |
Authentication Methods: | Basic, x509 |
Business Object: | PaymentMedium |
DEFAULT_SERVICE_PATH
Constructor and Description |
---|
DefaultPaymentItemService()
Creates a service using
PaymentItemService.DEFAULT_SERVICE_PATH to send the requests. |
public DefaultPaymentItemService()
PaymentItemService.DEFAULT_SERVICE_PATH
to send the requests.@Nonnull public DefaultPaymentItemService withServicePath(@Nonnull String servicePath)
PaymentItemService
withServicePath
in interface PaymentItemService
servicePath
- Service path that will override the default.@Nonnull public DefaultPaymentItemServiceBatch batch()
batch
in interface BatchService<PaymentItemServiceBatch>
@Nonnull public PaymentReleaseListHeaderFluentHelper getAllPaymentReleaseListHeader()
PaymentItemService
PaymentReleaseListHeader
entities.getAllPaymentReleaseListHeader
in interface PaymentItemService
PaymentReleaseListHeader
entities. This fluent helper allows methods which modify the underlying query
to be called before executing the query itself. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public PaymentReleaseListHeaderByKeyFluentHelper getPaymentReleaseListHeaderByKey(String paymentreleaselist)
PaymentItemService
PaymentReleaseListHeader
entity using key fields.getPaymentReleaseListHeaderByKey
in interface PaymentItemService
paymentreleaselist
- Uniquely identifies a list created in the Payment Release List application and is generated by the
application.
Constraints: Not nullable, Maximum length: 10
PaymentReleaseListHeader
entity 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 the
execute
method on the fluent helper object.@Nonnull public PaymentReleaseListItemFluentHelper getAllPaymentReleaseListItem()
PaymentItemService
PaymentReleaseListItem
entities.getAllPaymentReleaseListItem
in interface PaymentItemService
PaymentReleaseListItem
entities. This fluent helper allows methods which modify the underlying query to
be called before executing the query itself. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public PaymentReleaseListItemByKeyFluentHelper getPaymentReleaseListItemByKey(UUID paymentreleaselistitemuuid)
PaymentItemService
PaymentReleaseListItem
entity using key fields.getPaymentReleaseListItemByKey
in interface PaymentItemService
paymentreleaselistitemuuid
- UUID in X form (binary)
Constraints: Not nullable
PaymentReleaseListItem
entity 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 the
execute
method on the fluent helper object.@Nonnull public PaymentReleaseListItemUpdateFluentHelper updatePaymentReleaseListItem(@Nonnull PaymentReleaseListItem paymentReleaseListItem)
PaymentItemService
PaymentReleaseListItem
entity and save it to the S/4HANA system.updatePaymentReleaseListItem
in interface PaymentItemService
paymentReleaseListItem
- PaymentReleaseListItem
entity object that will be updated in the S/4HANA system.PaymentReleaseListItem
entity. To perform execution, call the
execute
method on the fluent helper object.Copyright © 2021 SAP SE. All rights reserved.