Interface LibraryTemplateBodyInputs.Builder

  • Method Details

    • addContactNumber

      LibraryTemplateBodyInputs.Builder addContactNumber(Boolean addContactNumber)

      When true, includes a contact number in the template body.

      Parameters:
      addContactNumber - When true, includes a contact number in the template body.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • addLearnMoreLink

      LibraryTemplateBodyInputs.Builder addLearnMoreLink(Boolean addLearnMoreLink)

      When true, includes a "learn more" link in the template body.

      Parameters:
      addLearnMoreLink - When true, includes a "learn more" link in the template body.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • addSecurityRecommendation

      LibraryTemplateBodyInputs.Builder addSecurityRecommendation(Boolean addSecurityRecommendation)

      When true, includes security recommendations in the template body.

      Parameters:
      addSecurityRecommendation - When true, includes security recommendations in the template body.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • addTrackPackageLink

      LibraryTemplateBodyInputs.Builder addTrackPackageLink(Boolean addTrackPackageLink)

      When true, includes a package tracking link in the template body.

      Parameters:
      addTrackPackageLink - When true, includes a package tracking link in the template body.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • codeExpirationMinutes

      LibraryTemplateBodyInputs.Builder codeExpirationMinutes(Integer codeExpirationMinutes)

      The number of minutes until a verification code or OTP expires.

      Parameters:
      codeExpirationMinutes - The number of minutes until a verification code or OTP expires.
      Returns:
      Returns a reference to this object so that method calls can be chained together.