Class Xs2aInitiateSinglePaymentEntrypoint
- java.lang.Object
-
- de.adorsys.opba.protocol.xs2a.entrypoint.pis.Xs2aInitiateSinglePaymentEntrypoint
-
- All Implemented Interfaces:
Action<de.adorsys.opba.protocol.api.dto.request.payments.InitiateSinglePaymentRequest,de.adorsys.opba.protocol.api.dto.request.payments.SinglePaymentBody>,SinglePayment
@Service("xs2aInitiateSinglePayment") public class Xs2aInitiateSinglePaymentEntrypoint extends Object implements SinglePaymentEntry point that handles payment initiation request from the FinTech. Prepares the context and triggers BPMN engine for further actions.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceXs2aInitiateSinglePaymentEntrypoint.FromRequestMapper to convert incoming user request to processable request context.
-
Constructor Summary
Constructors Constructor Description Xs2aInitiateSinglePaymentEntrypoint()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CompletableFuture<de.adorsys.opba.protocol.api.dto.result.fromprotocol.Result<de.adorsys.opba.protocol.api.dto.request.payments.SinglePaymentBody>>execute(de.adorsys.opba.protocol.api.dto.context.ServiceContext<de.adorsys.opba.protocol.api.dto.request.payments.InitiateSinglePaymentRequest> serviceContext)protected SinglePaymentXs2aContextprepareContext(de.adorsys.opba.protocol.api.dto.context.ServiceContext<de.adorsys.opba.protocol.api.dto.request.payments.InitiateSinglePaymentRequest> serviceContext)
-
-
-
Method Detail
-
execute
public CompletableFuture<de.adorsys.opba.protocol.api.dto.result.fromprotocol.Result<de.adorsys.opba.protocol.api.dto.request.payments.SinglePaymentBody>> execute(de.adorsys.opba.protocol.api.dto.context.ServiceContext<de.adorsys.opba.protocol.api.dto.request.payments.InitiateSinglePaymentRequest> serviceContext)
-
prepareContext
protected SinglePaymentXs2aContext prepareContext(de.adorsys.opba.protocol.api.dto.context.ServiceContext<de.adorsys.opba.protocol.api.dto.request.payments.InitiateSinglePaymentRequest> serviceContext)
-
-