Class PaymentInitiationHeadersBuilder

    • Constructor Detail

      • PaymentInitiationHeadersBuilder

        @Autowired
        public PaymentInitiationHeadersBuilder​(ScaApproachResolver scaApproachResolver)
    • Method Detail

      • buildInitiatePaymentHeaders

        public ResponseHeaders buildInitiatePaymentHeaders​(@Nullable
                                                           @Nullable String authorisationId,
                                                           @NotNull
                                                           @NotNull String selfLink,
                                                           @NotNull
                                                           @NotNull NotificationModeResponseHeaders notificationHeaders)
        Builds response headers for successful initiate payment request
        Parameters:
        authorisationId - id of the authorisation, if it was created implicitly
        selfLink - link to the newly created payment
        notificationHeaders - NotificationModeResponseHeaders notification headers
        Returns:
        response headers