Class Xs2aGetPaymentInfoEntrypoint

  • All Implemented Interfaces:
    Action<de.adorsys.opba.protocol.api.dto.request.payments.PaymentInfoRequest,​de.adorsys.opba.protocol.api.dto.request.payments.PaymentInfoBody>, GetPaymentInfoState

    @Service("xs2aGetPaymentInfoState")
    public class Xs2aGetPaymentInfoEntrypoint
    extends Object
    implements GetPaymentInfoState
    Entry point to get payment information. BPMN engine and process is not touched.
    • Constructor Detail

      • Xs2aGetPaymentInfoEntrypoint

        public Xs2aGetPaymentInfoEntrypoint()
    • Method Detail

      • execute

        @Transactional
        public CompletableFuture<de.adorsys.opba.protocol.api.dto.result.fromprotocol.Result<de.adorsys.opba.protocol.api.dto.request.payments.PaymentInfoBody>> execute​(de.adorsys.opba.protocol.api.dto.context.ServiceContext<de.adorsys.opba.protocol.api.dto.request.payments.PaymentInfoRequest> context)
        Specified by:
        execute in interface Action<de.adorsys.opba.protocol.api.dto.request.payments.PaymentInfoRequest,​de.adorsys.opba.protocol.api.dto.request.payments.PaymentInfoBody>
      • prepareContext

        protected Xs2aPisContext prepareContext​(de.adorsys.opba.protocol.api.dto.context.ServiceContext<de.adorsys.opba.protocol.api.dto.request.payments.PaymentInfoRequest> serviceContext,
                                                de.adorsys.opba.protocol.api.services.scoped.consent.ProtocolFacingPayment payment)