final class LegalContentServiceImpl extends java.lang.Object implements LegalContentService
Modifier and Type | Field and Description |
---|---|
private static java.lang.String |
EP6_IMPRINT_ENDPOINT |
private static java.lang.String |
EP6_LEGALPAGES_ENDPOINT |
private static java.lang.String |
EP6_PRIVACYPOLICY_ENDPOINT |
private static java.lang.String |
EP6_RIGHTSOFWIDTHDRAWAL_ENDPOINT |
private static java.lang.String |
EP6_SHIPPINGINFORMATION_ENDPOINT |
private static java.lang.String |
EP6_TERMSANDCONDITIONS_ENDPOINT |
private InvocationBuilderFactory |
invocationBuilderFactory |
Constructor and Description |
---|
LegalContentServiceImpl(InvocationBuilderFactory invocationBuilderFactory) |
Modifier and Type | Method and Description |
---|---|
ContactInformation |
getContactInformation(ShopRequestContext requestContext) |
ContentPage |
getPrivacyPolicy(ShopRequestContext requestContext) |
private java.util.Map<java.lang.String,java.lang.Object[]> |
getQueryParameters(java.util.Locale locale) |
ContentPage |
getRightsOfWithdrawal(ShopRequestContext requestContext) |
ContentPage |
getShippingInformation(ShopRequestContext requestContext) |
LegalContentSummary |
getSummary(ShopRequestContext requestContext) |
ContentPage |
getTermsAndConditions(ShopRequestContext requestContext) |
ContactInformation |
updateContactInformation(ContactInformation contactInformation,
java.lang.String shopId,
java.util.Locale locale) |
ContentPage |
updatePrivacyPolicy(ContentPage privacyPolicy,
java.lang.String shopId,
java.util.Locale locale) |
ContentPage |
updateRightsOfWithdrawal(ContentPage rightsOfWidthdrawal,
java.lang.String shopId,
java.util.Locale locale) |
ContentPage |
updateShippingInformation(ContentPage shippingInformation,
java.lang.String shopId,
java.util.Locale locale) |
ContentPage |
updateTermsAndConditions(ContentPage termsAndConditions,
java.lang.String shopId,
java.util.Locale locale) |
private static final java.lang.String EP6_LEGALPAGES_ENDPOINT
private static final java.lang.String EP6_IMPRINT_ENDPOINT
private static final java.lang.String EP6_PRIVACYPOLICY_ENDPOINT
private static final java.lang.String EP6_TERMSANDCONDITIONS_ENDPOINT
private static final java.lang.String EP6_RIGHTSOFWIDTHDRAWAL_ENDPOINT
private static final java.lang.String EP6_SHIPPINGINFORMATION_ENDPOINT
private final InvocationBuilderFactory invocationBuilderFactory
@Inject public LegalContentServiceImpl(InvocationBuilderFactory invocationBuilderFactory)
public LegalContentSummary getSummary(ShopRequestContext requestContext)
getSummary
in interface LegalContentService
public ContentPage getPrivacyPolicy(ShopRequestContext requestContext)
getPrivacyPolicy
in interface LegalContentService
public ContentPage getTermsAndConditions(ShopRequestContext requestContext)
getTermsAndConditions
in interface LegalContentService
public ContentPage getRightsOfWithdrawal(ShopRequestContext requestContext)
getRightsOfWithdrawal
in interface LegalContentService
public ContentPage getShippingInformation(ShopRequestContext requestContext)
getShippingInformation
in interface LegalContentService
public ContactInformation getContactInformation(ShopRequestContext requestContext)
getContactInformation
in interface LegalContentService
public ContactInformation updateContactInformation(ContactInformation contactInformation, java.lang.String shopId, java.util.Locale locale)
updateContactInformation
in interface LegalContentService
public ContentPage updatePrivacyPolicy(ContentPage privacyPolicy, java.lang.String shopId, java.util.Locale locale)
updatePrivacyPolicy
in interface LegalContentService
public ContentPage updateTermsAndConditions(ContentPage termsAndConditions, java.lang.String shopId, java.util.Locale locale)
updateTermsAndConditions
in interface LegalContentService
public ContentPage updateRightsOfWithdrawal(ContentPage rightsOfWidthdrawal, java.lang.String shopId, java.util.Locale locale)
updateRightsOfWithdrawal
in interface LegalContentService
public ContentPage updateShippingInformation(ContentPage shippingInformation, java.lang.String shopId, java.util.Locale locale)
updateShippingInformation
in interface LegalContentService
private java.util.Map<java.lang.String,java.lang.Object[]> getQueryParameters(java.util.Locale locale)