Interface TermsAndConditions


public interface TermsAndConditions
TermsAndConditions provides the agreement on the rules for using the SDK, and requires the end user to agree and accept it.
  • Method Summary

    Modifier and Type
    Method
    Description
    Accepts the terms and condition to allow card digitization.
    Obtains the text and display to the end user for acceptance.
    Gets the ContentType enum that represents the type of text returned by getContent() method.
    Gets the height of the content if the content is of any media type such as SVG or PNG.
    Deprecated.
    since 6.10.0, please use getContent() instead.
    Gets the width of the content if the content is of any media type such as SVG or PNG.
  • Method Details

    • getContent

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

      @Deprecated String getText()
      Deprecated.
      since 6.10.0, please use getContent() instead.
      Gets the text to display to end users for acceptance.
      Returns:
      The text to display to the end user.
    • 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:
    • accept

      Accepts the terms and condition to allow card digitization.
      Returns:
      The TermsAndConditionAcceptanceToken object.
    • getWidth

      @Nullable 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 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.