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