public interface ExternalPaymentService
| Modifier and Type | Method and Description |
|---|---|
default PaymentDetailResult |
createPayment(Integer requestId,
Long orderId,
List<PaymentInfo> payments,
PaymentParameters paymentParams)
Create payment with specified parameters.
|
default Optional<Long> |
getPaymentMethodIdFromCode(String paymentMethodCode)
Utility method allowing to extract a payment method id from a code.
|
PaymentDetailResult |
searchPaymentsByCriteria(Integer requestId,
SearchPaymentsCriteria searchPaymentsCriteria,
Integer minIndex,
Integer nbMaxResults)
Allows to search payments according to a criteria.
|
default PaymentDetailResult |
updatePayments(Integer requestId,
Long orderId,
List<PaymentDetail> payments) |
PaymentDetailResult searchPaymentsByCriteria(Integer requestId, SearchPaymentsCriteria searchPaymentsCriteria, Integer minIndex, Integer nbMaxResults)
requestId - Request Id as IntegersearchPaymentsCriteria - SearchPaymentsCriteriaminIndex - Maximal index as IntegernbMaxResults - Maximal results as IntegerPaymentDetailResultdefault PaymentDetailResult createPayment(Integer requestId, Long orderId, List<PaymentInfo> payments, PaymentParameters paymentParams)
orderId - Order IdrequestId - Request Idpayments - List of PaymentInfopaymentParams - PaymentParametersPaymentDetailResultdefault Optional<Long> getPaymentMethodIdFromCode(String paymentMethodCode)
paymentMethodCode - Payment method code as StringOptional objectdefault PaymentDetailResult updatePayments(Integer requestId, Long orderId, List<PaymentDetail> payments)
Copyright © 2021. All rights reserved.