Interface TermsAndConditions


  • public interface TermsAndConditions
    TermsAndConditions provides the Contents of the Terms and Condition and also provides the means to accept it.
    • Method Detail

      • getContent

        java.lang.String getContent()
        Gets the text to display to end users for acceptance.
        Returns:
        A String value representing the text to display to end users.
      • getText

        @Deprecated
        java.lang.String getText()
        Deprecated.
        since 6.10.0, please use getContent() instead.
        Gets the text to display to end users for acceptance.
        Returns:
        A String value representing the text to display to end users.
      • getContentType

        ContentType getContentType()
        Gets the ContentType enum that represents the type of text returned by getContent() method.
        Returns:
        The ContentType enum value indicating the type of text.
        See Also:
        ContentType
      • accept

        TermsAndConditionSession accept()
        Accepts the terms and conditions to allow the card digitization process.
        Returns:
        The TermsAndConditionAcceptanceToken object.
      • getWidth

        @Nullable
        java.lang.String getWidth()
        Gets the width of the content if the content is of any media type such as SVG or PNG.
        Returns:
        A String representing the width of the content. If the content is a non-media type, such as text/plain, text/html, or PDF, a null value is returned.
      • getHeight

        @Nullable
        java.lang.String getHeight()
        Gets the height of the content if the content is of any media type such as SVG or PNG.
        Returns:
        A String representing the height of the content. If the content is a non-media type, such as text/plain, text/html, or PDF, a null value is returned.