public class BoardingUrlBuilderImpl extends java.lang.Object implements BoardingUrlBuilder
Modifier and Type | Field and Description |
---|---|
private PathUtility |
pathUtility |
private SageoneConfig |
sageoneConfig |
Constructor and Description |
---|
BoardingUrlBuilderImpl(SageoneConfig sageoneConfig,
PathUtility pathUtility) |
Modifier and Type | Method and Description |
---|---|
private java.lang.String |
buildBacklinkPath(java.lang.String shopId) |
private javax.ws.rs.core.MultivaluedMap<java.lang.String,java.lang.String> |
buildQueryParameterForBacklinkUrl(java.lang.String ep6RedirectUrl) |
private javax.ws.rs.core.MultivaluedMap<java.lang.String,java.lang.String> |
buildQueryParametersForAuthUrl(java.lang.String redirectUrl) |
java.lang.String |
getAuthUrl(java.lang.String shopId,
java.lang.String ep6RedirectUrl,
java.lang.String epjRedirectUrl) |
java.lang.String |
getBacklinkUrl(java.lang.String shopId,
java.lang.String ep6RedirectUrl,
java.lang.String epjRedirectUrl) |
private SageoneConfig sageoneConfig
private PathUtility pathUtility
@Inject public BoardingUrlBuilderImpl(SageoneConfig sageoneConfig, PathUtility pathUtility)
public java.lang.String getAuthUrl(java.lang.String shopId, java.lang.String ep6RedirectUrl, java.lang.String epjRedirectUrl)
getAuthUrl
in interface BoardingUrlBuilder
shopId
- the id of the shopep6RedirectUrl
- the url where the merchant will be redirected after the boardingpublic java.lang.String getBacklinkUrl(java.lang.String shopId, java.lang.String ep6RedirectUrl, java.lang.String epjRedirectUrl)
getBacklinkUrl
in interface BoardingUrlBuilder
shopId
- the id of the shopep6RedirectUrl
- the url where the merchant will be redirected after the boardingepjRedirectUrl
- the url where the mechant will be redirected afterprivate java.lang.String buildBacklinkPath(java.lang.String shopId)
private javax.ws.rs.core.MultivaluedMap<java.lang.String,java.lang.String> buildQueryParameterForBacklinkUrl(java.lang.String ep6RedirectUrl)
private javax.ws.rs.core.MultivaluedMap<java.lang.String,java.lang.String> buildQueryParametersForAuthUrl(java.lang.String redirectUrl)