Interface YmktConsentService

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method 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.
    • Method Detail

      • getUserConsent

        boolean getUserConsent​(java.lang.String consentId)
        Consent verification for current session user.
        Parameters:
        consentId - Property prefix of yMKT consent Id.
        Returns:
        true if the user has consent, false otherwise.
      • getUserConsent

        boolean getUserConsent​(java.lang.String customerId,
                               java.lang.String consentId)
        Consent verification for provided customer.
        Parameters:
        customerId - Value of Customer.customerID.
        consentId - Value of yMKT ConsentTemplate.id.
        Returns:
        true if the customer has consent, false otherwise.