Class TermsAndConditions

java.lang.Object
com.thalesgroup.gemalto.d1.paymentpasskey.TermsAndConditions

public class TermsAndConditions extends Object
Terms and Conditions data class for Payment Passkey.
  • Constructor Details

    • TermsAndConditions

      public TermsAndConditions()
  • Method Details

    • getComplianceType

      @Nullable public String getComplianceType()
      Gets the compliance type.
      Returns:
      The compliance type, or null if it is not available.
    • setComplianceType

      public void setComplianceType(@Nullable String complianceType)
      Sets the compliance type.
      Parameters:
      complianceType - The compliance type to set.
    • getUri

      @Nullable public Uri getUri()
      Gets the URI for the terms and conditions.
      Returns:
      The URI, or null if it is not available.
    • setUri

      public void setUri(@Nullable Uri uri)
      Sets the URI for the terms and conditions.
      Parameters:
      uri - The URI to set.
    • getVersion

      @Nullable public String getVersion()
      Gets the version of the terms and conditions.
      Returns:
      The version, or null if it is not available.
    • setVersion

      public void setVersion(@Nullable String version)
      Sets the version of the terms and conditions.
      Parameters:
      version - The version to set.
    • getDatePublished

      @Nullable public Instant getDatePublished()
      Gets the publication date of the terms and conditions.
      Returns:
      The publication date, or null if it is not available.
    • setDatePublished

      public void setDatePublished(@Nullable Instant datePublished)
      Sets the publication date of the terms and conditions.
      Parameters:
      datePublished - The published date to set.
    • getAcceptedAt

      @Nullable public Instant getAcceptedAt()
      Gets the timestamp when the terms and conditions were accepted.
      Returns:
      The accepted timestamp in milliseconds.
    • setAcceptedAt

      public void setAcceptedAt(@Nullable Instant acceptedAt)
      Sets the timestamp when the terms and conditions were accepted.
      Parameters:
      acceptedAt - The accepted timestamp to set.
    • getLocale

      @Nullable public String getLocale()
      Gets the locale/language text description.
      Returns:
      The locale.
    • setLocale

      public void setLocale(@Nullable String locale)
      Sets the locale/language text description.
      Parameters:
      locale - The locale to set.
    • getCallToActionText

      @Nullable public String getCallToActionText()
      Gets the call-to-action text.
      Returns:
      The call-to-action text.
    • setCallToActionText

      public void setCallToActionText(@Nullable String callToActionText)
      Sets the call-to-action text.
      Parameters:
      callToActionText - The call-to-action text to set.
    • getCompanyName

      @Nullable public String getCompanyName()
      Gets the company name.
      Returns:
      The company name.
    • setCompanyName

      public void setCompanyName(@Nullable String companyName)
      Sets the company name.
      Parameters:
      companyName - The company name to set.
    • getConsentLanguageText

      @Nullable public String getConsentLanguageText()
      Gets the consent language text.
      Returns:
      The consent language text, or null if it is not available.
    • setConsentLanguageText

      public void setConsentLanguageText(@Nullable String consentLanguageText)
      Sets the consent language text.
      Parameters:
      consentLanguageText - The consent language text to set.
    • getConsentLanguageTextVersion

      @Nullable public String getConsentLanguageTextVersion()
      Gets the version of the consent language text.
      Returns:
      The consent language text version, or null if it is not available.
    • setConsentLanguageTextVersion

      public void setConsentLanguageTextVersion(@Nullable String consentLanguageTextVersion)
      Sets the version of the consent language text.
      Parameters:
      consentLanguageTextVersion - The consent language text version to set.
    • getChannel

      @Nullable public String getChannel()
      Gets the channel through which the terms were accepted.
      Returns:
      The channel, or null if it is not available.
    • setChannel

      public void setChannel(@Nullable String channel)
      Sets the channel through which the terms were accepted.
      Parameters:
      channel - The channel to set.