Class LabelCustomization

java.lang.Object
com.netcetera.threeds.sdk.api.ui.logic.Customization
com.netcetera.threeds.sdk.api.ui.logic.LabelCustomization
All Implemented Interfaces:
Serializable

public final class LabelCustomization extends Customization implements Serializable
Provides methods for passing LabelCustomization parameters to the 3DS SDK.
See Also:
  • Constructor Details

    • LabelCustomization

      public LabelCustomization()
      Constructor.
  • Method Details

    • getHeadingTextColor

      public String getHeadingTextColor()
      Provides the value for the heading text color.
      Returns:
      String
    • setHeadingTextColor

      public void setHeadingTextColor(String hexColorCode) throws InvalidInputException
      Sets the color of the heading label text.
      Parameters:
      hexColorCode - String should be hexadecimal format, example: #999999
      Throws:
      InvalidInputException - if invalid input is provided.
    • getHeadingTextFontName

      public String getHeadingTextFontName()
      Provides the value for heading text font name.
      Returns:
      String
    • setHeadingTextFontName

      public void setHeadingTextFontName(String headingTextFontName) throws InvalidInputException
      Parameters:
      headingTextFontName - String
      Throws:
      InvalidInputException - if invalid input is provided.
    • getHeadingTextFontSize

      public int getHeadingTextFontSize()
      Provides the value for heading text font size is SP.
      Returns:
      int value of text font size
    • setHeadingTextFontSize

      public void setHeadingTextFontSize(int headingTextFontSize) throws InvalidInputException
      Sets the font size of the heading label text in SP.
      Parameters:
      headingTextFontSize - int value of heading text font size in SP.
      Throws:
      InvalidInputException - if invalid input is provided.
    • getHeadingDarkTextColor

      @Deprecated public String getHeadingDarkTextColor()
      Deprecated.
      This is no longer supported since EMVCo Specification 2.3.1. Use getHeadingTextColor() with UiCustomization.UiCustomizationType.DARK instead.
      Provides the value for the dark heading text color.
      Returns:
      String
    • setHeadingDarkTextColor

      @Deprecated public void setHeadingDarkTextColor(String hexColorCode) throws InvalidInputException
      Deprecated.
      This is no longer supported since EMVCo Specification 2.3.1. Use setHeadingTextColor(String) with UiCustomization.UiCustomizationType.DARK instead.
      Sets the dark color of the heading label text.
      Parameters:
      hexColorCode - String should be hexadecimal format, example: #999999
      Throws:
      InvalidInputException - if invalid input is provided.