Interface PaymentFormActionUrlStrategy
-
- All Known Implementing Classes:
CisPaymentFormActionUrlStrategy,CisSapDigitalPaymentFormActionUrlStrategy,DefaultPaymentFormActionUrlStrategy
public interface PaymentFormActionUrlStrategyStrategy for retrieving the correct URL for payment submission.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgetHopRequestUrl()Gets the URI of the Hosted Order Page.java.lang.StringgetSopRequestUrl(java.lang.String clientRef)Gets the URI of the Silent Order Post.
-
-
-
Method Detail
-
getHopRequestUrl
java.lang.String getHopRequestUrl()
Gets the URI of the Hosted Order Page. This method read the HOP URL using the configuration service, as such the URL has to be defined in a property file on the class path.- Returns:
- a URL to the HOP server.
-
getSopRequestUrl
java.lang.String getSopRequestUrl(java.lang.String clientRef)
Gets the URI of the Silent Order Post. By default this method will utilize a config property to define the SOP URL. An extension may implement this method to call an external service (e.g., CIS) to get the correct SOP URL.- Parameters:
clientRef- unique identifier representing the client in a call to external services.- Returns:
- a URL to the SOP server.
-
-