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 InvocationBuilder |
invocationBuilder |
Constructor and Description |
---|
LegalContentServiceImpl(InvocationBuilder invocationBuilder) |
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 InvocationBuilder invocationBuilder
@Inject public LegalContentServiceImpl(InvocationBuilder invocationBuilder)
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, ShopRequestContext requestContext)
updateContactInformation
in interface LegalContentService
public ContentPage updatePrivacyPolicy(ContentPage privacyPolicy, ShopRequestContext requestContext)
updatePrivacyPolicy
in interface LegalContentService
public ContentPage updateTermsAndConditions(ContentPage termsAndConditions, ShopRequestContext requestContext)
updateTermsAndConditions
in interface LegalContentService
public ContentPage updateRightsOfWithdrawal(ContentPage rightsOfWidthdrawal, ShopRequestContext requestContext)
updateRightsOfWithdrawal
in interface LegalContentService
public ContentPage updateShippingInformation(ContentPage shippingInformation, ShopRequestContext requestContext)
updateShippingInformation
in interface LegalContentService
private java.util.Map<java.lang.String,java.lang.Object[]> getQueryParameters(java.util.Locale locale)