Interface PaymentAdviceService
- All Superinterfaces:
BatchService<PaymentAdviceServiceBatch>
- All Known Implementing Classes:
DefaultPaymentAdviceService
You can use this inbound synchronous service to create, read, update, and delete payment advices related to a customer or a supplier. It is based on the OData protocol and can be consumed in SAP Fiori apps and other user interfaces. The service can be used with payment advices of any supported type..
Reference: SAP Business Accelerator Hub
Details:
| OData Service: | API_PAYMENT_ADVICE_SRV |
| API Version: | 1.0.0 |
| Minimum ERP Version: | 2302 |
| Communication Scenario: | Finance - Payment Advice Integration(SAP_COM_0331) |
| Scope Items: | Accounts Receivable(J59), Accounts Receivable(O59) |
| Authentication Methods: | x509 |
| Business Object: | Payment Advice |
-
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 TypeMethodDescriptioncreatePaymentAdvice(PaymentAdvice paymentAdvice) Deprecated.Create a newPaymentAdviceentity and save it to the S/4HANA system.createPaymentAdviceItem(PaymentAdviceItem paymentAdviceItem) Deprecated.Create a newPaymentAdviceItementity and save it to the S/4HANA system.deletePaymentAdvice(PaymentAdvice paymentAdvice) Deprecated.Deletes an existingPaymentAdviceentity in the S/4HANA system.deletePaymentAdviceItem(PaymentAdviceItem paymentAdviceItem) Deprecated.Deletes an existingPaymentAdviceItementity in the S/4HANA system.Deprecated.Fetch multiplePaymentAdviceentities.Deprecated.Fetch multiplePaymentAdviceItementities.getPaymentAdviceByKey(String companyCode, String paymentAdviceAccountType, String paymentAdviceAccount, String paymentAdvice) Deprecated.Fetch a singlePaymentAdviceentity using key fields.getPaymentAdviceItemByKey(String companyCode, String paymentAdviceAccountType, String paymentAdviceAccount, String paymentAdvice, String paymentAdviceItem) Deprecated.Fetch a singlePaymentAdviceItementity using key fields.updatePaymentAdvice(PaymentAdvice paymentAdvice) Deprecated.Update an existingPaymentAdviceentity and save it to the S/4HANA system.updatePaymentAdviceItem(PaymentAdviceItem paymentAdviceItem) Deprecated.Update an existingPaymentAdviceItementity 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.Methods inherited from interface com.sap.cloud.sdk.datamodel.odata.helper.batch.BatchService
batch
-
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.
-
getAllPaymentAdvice
Deprecated.Fetch multiplePaymentAdviceentities.- Returns:
- A fluent helper to fetch multiple
PaymentAdviceentities. 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.
-
getPaymentAdviceByKey
@Nonnull PaymentAdviceByKeyFluentHelper getPaymentAdviceByKey(String companyCode, String paymentAdviceAccountType, String paymentAdviceAccount, String paymentAdvice) Deprecated.Fetch a singlePaymentAdviceentity using key fields.- Parameters:
companyCode- Company CodeConstraints: Not nullable, Maximum length: 4
paymentAdviceAccountType- Payment Advice Account TypeConstraints: Not nullable, Maximum length: 1
paymentAdvice- Payment Advice NumberConstraints: Not nullable, Maximum length: 16
paymentAdviceAccount- Account NumberConstraints: Not nullable, Maximum length: 10
- Returns:
- A fluent helper to fetch a single
PaymentAdviceentity 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.
-
createPaymentAdvice
Deprecated.Create a newPaymentAdviceentity and save it to the S/4HANA system.- Parameters:
paymentAdvice-PaymentAdviceentity object that will be created in the S/4HANA system.- Returns:
- A fluent helper to create a new
PaymentAdviceentity. To perform execution, call theexecutemethod on the fluent helper object.
-
updatePaymentAdvice
Deprecated.Update an existingPaymentAdviceentity and save it to the S/4HANA system.- Parameters:
paymentAdvice-PaymentAdviceentity object that will be updated in the S/4HANA system.- Returns:
- A fluent helper to update an existing
PaymentAdviceentity. To perform execution, call theexecutemethod on the fluent helper object.
-
deletePaymentAdvice
Deprecated.Deletes an existingPaymentAdviceentity in the S/4HANA system.- Parameters:
paymentAdvice-PaymentAdviceentity object that will be deleted in the S/4HANA system.- Returns:
- A fluent helper to delete an existing
PaymentAdviceentity. To perform execution, call theexecutemethod on the fluent helper object.
-
getAllPaymentAdviceItem
Deprecated.Fetch multiplePaymentAdviceItementities.- Returns:
- A fluent helper to fetch multiple
PaymentAdviceItementities. 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.
-
getPaymentAdviceItemByKey
@Nonnull PaymentAdviceItemByKeyFluentHelper getPaymentAdviceItemByKey(String companyCode, String paymentAdviceAccountType, String paymentAdviceAccount, String paymentAdvice, String paymentAdviceItem) Deprecated.Fetch a singlePaymentAdviceItementity using key fields.- Parameters:
companyCode- Company CodeConstraints: Not nullable, Maximum length: 4
paymentAdviceAccountType- Payment Advice Account TypeConstraints: Not nullable, Maximum length: 1
paymentAdvice- Payment Advice NumberConstraints: Not nullable, Maximum length: 16
paymentAdviceAccount- Account NumberConstraints: Not nullable, Maximum length: 10
paymentAdviceItem- Payment Advice Line ItemConstraints: Not nullable, Maximum length: 5
- Returns:
- A fluent helper to fetch a single
PaymentAdviceItementity 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.
-
createPaymentAdviceItem
@Nonnull PaymentAdviceItemCreateFluentHelper createPaymentAdviceItem(@Nonnull PaymentAdviceItem paymentAdviceItem) Deprecated.Create a newPaymentAdviceItementity and save it to the S/4HANA system.- Parameters:
paymentAdviceItem-PaymentAdviceItementity object that will be created in the S/4HANA system.- Returns:
- A fluent helper to create a new
PaymentAdviceItementity. To perform execution, call theexecutemethod on the fluent helper object.
-
updatePaymentAdviceItem
@Nonnull PaymentAdviceItemUpdateFluentHelper updatePaymentAdviceItem(@Nonnull PaymentAdviceItem paymentAdviceItem) Deprecated.Update an existingPaymentAdviceItementity and save it to the S/4HANA system.- Parameters:
paymentAdviceItem-PaymentAdviceItementity object that will be updated in the S/4HANA system.- Returns:
- A fluent helper to update an existing
PaymentAdviceItementity. To perform execution, call theexecutemethod on the fluent helper object.
-
deletePaymentAdviceItem
@Nonnull PaymentAdviceItemDeleteFluentHelper deletePaymentAdviceItem(@Nonnull PaymentAdviceItem paymentAdviceItem) Deprecated.Deletes an existingPaymentAdviceItementity in the S/4HANA system.- Parameters:
paymentAdviceItem-PaymentAdviceItementity object that will be deleted in the S/4HANA system.- Returns:
- A fluent helper to delete an existing
PaymentAdviceItementity. To perform execution, call theexecutemethod on the fluent helper object.
-