Class DefaultPaymentAdviceService
- All Implemented Interfaces:
BatchService<PaymentAdviceServiceBatch>,PaymentAdviceService
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
Fields inherited from interface com.sap.cloud.sdk.s4hana.datamodel.odata.services.PaymentAdviceService
DEFAULT_SERVICE_PATH -
Constructor Summary
ConstructorsConstructorDescriptionDeprecated.Creates a service usingPaymentAdviceService.DEFAULT_SERVICE_PATHto send the requests. -
Method Summary
Modifier and TypeMethodDescriptionbatch()Deprecated.createPaymentAdvice(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.
-
Constructor Details
-
DefaultPaymentAdviceService
public DefaultPaymentAdviceService()Deprecated.Creates a service usingPaymentAdviceService.DEFAULT_SERVICE_PATHto send the requests.
-
-
Method Details
-
withServicePath
Deprecated.Description copied from interface:PaymentAdviceServiceOverrides the default service path and returns a new service instance with the specified service path. Also adjusts the respective entity URLs.- Specified by:
withServicePathin interfacePaymentAdviceService- 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<PaymentAdviceServiceBatch>
-
getAllPaymentAdvice
Deprecated.Description copied from interface:PaymentAdviceServiceFetch multiplePaymentAdviceentities.- Specified by:
getAllPaymentAdvicein interfacePaymentAdviceService- 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 public PaymentAdviceByKeyFluentHelper getPaymentAdviceByKey(String companyCode, String paymentAdviceAccountType, String paymentAdviceAccount, String paymentAdvice) Deprecated.Description copied from interface:PaymentAdviceServiceFetch a singlePaymentAdviceentity using key fields.- Specified by:
getPaymentAdviceByKeyin interfacePaymentAdviceService- Parameters:
companyCode- Company CodeConstraints: Not nullable, Maximum length: 4
paymentAdviceAccountType- Payment Advice Account TypeConstraints: Not nullable, Maximum length: 1
paymentAdviceAccount- Account NumberConstraints: Not nullable, Maximum length: 10
paymentAdvice- Payment Advice NumberConstraints: Not nullable, Maximum length: 16
- 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
@Nonnull public PaymentAdviceCreateFluentHelper createPaymentAdvice(@Nonnull PaymentAdvice paymentAdvice) Deprecated.Description copied from interface:PaymentAdviceServiceCreate a newPaymentAdviceentity and save it to the S/4HANA system.- Specified by:
createPaymentAdvicein interfacePaymentAdviceService- 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
@Nonnull public PaymentAdviceUpdateFluentHelper updatePaymentAdvice(@Nonnull PaymentAdvice paymentAdvice) Deprecated.Description copied from interface:PaymentAdviceServiceUpdate an existingPaymentAdviceentity and save it to the S/4HANA system.- Specified by:
updatePaymentAdvicein interfacePaymentAdviceService- 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
@Nonnull public PaymentAdviceDeleteFluentHelper deletePaymentAdvice(@Nonnull PaymentAdvice paymentAdvice) Deprecated.Description copied from interface:PaymentAdviceServiceDeletes an existingPaymentAdviceentity in the S/4HANA system.- Specified by:
deletePaymentAdvicein interfacePaymentAdviceService- 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.Description copied from interface:PaymentAdviceServiceFetch multiplePaymentAdviceItementities.- Specified by:
getAllPaymentAdviceItemin interfacePaymentAdviceService- 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 public PaymentAdviceItemByKeyFluentHelper getPaymentAdviceItemByKey(String companyCode, String paymentAdviceAccountType, String paymentAdviceAccount, String paymentAdvice, String paymentAdviceItem) Deprecated.Description copied from interface:PaymentAdviceServiceFetch a singlePaymentAdviceItementity using key fields.- Specified by:
getPaymentAdviceItemByKeyin interfacePaymentAdviceService- Parameters:
companyCode- Company CodeConstraints: Not nullable, Maximum length: 4
paymentAdviceAccountType- Payment Advice Account TypeConstraints: Not nullable, Maximum length: 1
paymentAdviceAccount- Account NumberConstraints: Not nullable, Maximum length: 10
paymentAdvice- Payment Advice NumberConstraints: Not nullable, Maximum length: 16
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 public PaymentAdviceItemCreateFluentHelper createPaymentAdviceItem(@Nonnull PaymentAdviceItem paymentAdviceItem) Deprecated.Description copied from interface:PaymentAdviceServiceCreate a newPaymentAdviceItementity and save it to the S/4HANA system.- Specified by:
createPaymentAdviceItemin interfacePaymentAdviceService- 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 public PaymentAdviceItemUpdateFluentHelper updatePaymentAdviceItem(@Nonnull PaymentAdviceItem paymentAdviceItem) Deprecated.Description copied from interface:PaymentAdviceServiceUpdate an existingPaymentAdviceItementity and save it to the S/4HANA system.- Specified by:
updatePaymentAdviceItemin interfacePaymentAdviceService- 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 public PaymentAdviceItemDeleteFluentHelper deletePaymentAdviceItem(@Nonnull PaymentAdviceItem paymentAdviceItem) Deprecated.Description copied from interface:PaymentAdviceServiceDeletes an existingPaymentAdviceItementity in the S/4HANA system.- Specified by:
deletePaymentAdviceItemin interfacePaymentAdviceService- 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.
-