Class 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 SinglePayment
    Entry point that handles payment initiation request from the FinTech. Prepares the context and triggers BPMN engine for further actions.
    • Constructor Detail

      • Xs2aInitiateSinglePaymentEntrypoint

        public Xs2aInitiateSinglePaymentEntrypoint()
    • 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)
        Specified by:
        execute in interface Action<de.adorsys.opba.protocol.api.dto.request.payments.InitiateSinglePaymentRequest,​de.adorsys.opba.protocol.api.dto.request.payments.SinglePaymentBody>
      • prepareContext

        protected SinglePaymentXs2aContext prepareContext​(de.adorsys.opba.protocol.api.dto.context.ServiceContext<de.adorsys.opba.protocol.api.dto.request.payments.InitiateSinglePaymentRequest> serviceContext)