@Service(value="xs2aGetPaymentInfoState") public class Xs2aGetPaymentInfoEntrypoint extends Object implements GetPaymentInfoState
Modifier and Type | Class and Description |
---|---|
static class |
Xs2aGetPaymentInfoEntrypoint.Extractor |
static interface |
Xs2aGetPaymentInfoEntrypoint.FromRequest
Mapper to convert incoming user request to processable request context.
|
static interface |
Xs2aGetPaymentInfoEntrypoint.PaymentInformationToBodyMapper |
Constructor and Description |
---|
Xs2aGetPaymentInfoEntrypoint() |
Modifier and Type | Method and Description |
---|---|
CompletableFuture<Result<PaymentInfoBody>> |
execute(ServiceContext<PaymentInfoRequest> context)
Execute associated action using the input.
|
protected Xs2aPisContext |
prepareContext(ServiceContext<PaymentInfoRequest> serviceContext,
ProtocolFacingPayment payment) |
@Transactional public CompletableFuture<Result<PaymentInfoBody>> execute(ServiceContext<PaymentInfoRequest> context)
Action
execute
in interface Action<PaymentInfoRequest,PaymentInfoBody>
context
- Request context (Request ID, Bank ID, password, redirect URLs, etc.) and associated services (Encryption, Consent access, etc.)protected Xs2aPisContext prepareContext(ServiceContext<PaymentInfoRequest> serviceContext, ProtocolFacingPayment payment)
Copyright © 2020. All rights reserved.