Interface TermsAndConditions
-
public interface TermsAndConditionsTermsAndConditions provides the Contents of the Terms and Condition and also provides the means to accept it.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description TermsAndConditionSessionaccept()Accepts the terms and conditions to allow the card digitization process.java.lang.StringgetContent()Gets the text to display to end users for acceptance.ContentTypegetContentType()Gets the ContentType enum that represents the type of text returned bygetContent()method.java.lang.StringgetHeight()Gets the height of the content if the content is of any media type such as SVG or PNG.java.lang.StringgetText()Deprecated.since 6.10.0, please usegetContent()instead.java.lang.StringgetWidth()Gets the width of the content if the content is of any media type such as SVG or PNG.
-
-
-
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 usegetContent()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 bygetContent()method.- Returns:
- The
ContentTypeenum 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.
-
-