@Service(value="hbciInitiateSinglePayment") public class HbciInitiateSinglePaymentEntrypoint extends Object implements SinglePayment
Modifier and Type | Class and Description |
---|---|
static interface |
HbciInitiateSinglePaymentEntrypoint.FromRequest
Mapper to convert incoming user request to processable request context.
|
Constructor and Description |
---|
HbciInitiateSinglePaymentEntrypoint() |
Modifier and Type | Method and Description |
---|---|
CompletableFuture<Result<SinglePaymentBody>> |
execute(ServiceContext<InitiateSinglePaymentRequest> serviceContext)
Execute associated action using the input.
|
protected PaymentHbciContext |
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 PaymentHbciContext prepareContext(ServiceContext<InitiateSinglePaymentRequest> serviceContext)
Copyright © 2020. All rights reserved.