Package com.hybris.ymkt.common.consent
Interface YmktConsentService
- All Known Implementing Classes:
DefaultYmktConsentService,DefaultYmktConsentService
public interface YmktConsentService
Consent service for yMKT integration.
-
Method Summary
Modifier and TypeMethodDescriptionbooleangetUserConsent(String consentId) Consent verification for current session user.booleangetUserConsent(String customerId, String consentId) Consent verification for provided customer.
-
Method Details
-
getUserConsent
Consent verification for current session user.- Parameters:
consentId- Property prefix of yMKT consent Id.- Returns:
trueif the user has consent,falseotherwise.
-
getUserConsent
Consent verification for provided customer.- Parameters:
customerId- Value ofCustomer.customerID.consentId- Value of yMKTConsentTemplate.id.- Returns:
trueif the customer has consent,falseotherwise.
-