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