public class DefaultYmktConsentService extends java.lang.Object implements YmktConsentService
| Constructor and Description |
|---|
DefaultYmktConsentService() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
getUserConsent(java.lang.String consentID)
Consent verification for current session user.
|
boolean |
getUserConsent(java.lang.String customerId,
java.lang.String consentID)
Consent verification for provided customer.
|
public boolean getUserConsent(java.lang.String consentID)
YmktConsentServicegetUserConsent in interface YmktConsentServiceconsentID - Property prefix of yMKT consent Id.true if the user has consent, false otherwise.public boolean getUserConsent(java.lang.String customerId,
java.lang.String consentID)
YmktConsentServicegetUserConsent in interface YmktConsentServicecustomerId - Value of Customer.customerID.consentID - Value of yMKT ConsentTemplate.id.true if the customer has consent, false otherwise.Copyright © 2018 SAP SE. All Rights Reserved.