All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.truelayer.java.hpp.IHostedPaymentPageLinkBuilder Maven / Gradle / Ivy

There is a newer version: 16.0.0
Show newest version
package com.truelayer.java.hpp;

import java.net.URI;

/**
 * Exposes all the Hosted Payment Page related capabilities of the library.
 */
public interface IHostedPaymentPageLinkBuilder {
    /**
     * Builds a link to TrueLayer HPP with the given details
     * @param paymentId the id of the payment created with a previous call to the Create Payment endpoint
     * @param resource_token the token of the payment created with a previous call to the Create Payment endpoint
     * @param returnUri the return URI where the client will be redirected once the payment is completed
     * @return the link to TrueLayer hosted payment page
     * @see See Hosted Payment Page documentaion for further details
     */
    URI getHostedPaymentPageLink(String paymentId, String resource_token, URI returnUri);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy