Tabnine Logo
EmailNotification.getTemplateName
Code IndexAdd Tabnine to your IDE (free)

How to use
getTemplateName
method
in
com.ning.billing.overdue.EmailNotification

Best Java code snippets using com.ning.billing.overdue.EmailNotification.getTemplateName (Showing top 2 results out of 315)

origin: com.ning.billing/killbill-overdue

  public String generateEmail(final Account account, final BillingState billingState,
                           final Account overdueable, final OverdueState nextOverdueState) throws IOException {
    final Map<String, Object> data = new HashMap<String, Object>();

    // TODO raw objects for now. We eventually should respect the account locale and support translations
    data.put("account", account);
    data.put("billingState", overdueEmailFormatterFactory.createBillingStateFormatter(billingState));
    data.put("overdueable", overdueable);
    data.put("nextOverdueState", nextOverdueState);

    // TODO single template for all languages for now
    return templateEngine.executeTemplate(nextOverdueState.getEnterStateEmailNotification().getTemplateName(), data);
  }
}
origin: com.ning.billing/killbill-overdue

Assert.assertEquals(secondNotification.getTemplateName(), "Titi");
Assert.assertFalse(secondNotification.isHTML());
com.ning.billing.overdueEmailNotificationgetTemplateName

Popular methods of EmailNotification

  • getSubject
  • isHTML

Popular in Java

  • Parsing JSON documents to java classes using gson
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • getSystemService (Context)
  • getApplicationContext (Context)
  • URL (java.net)
    A Uniform Resource Locator that identifies the location of an Internet resource as specified by RFC
  • MessageDigest (java.security)
    Uses a one-way hash function to turn an arbitrary number of bytes into a fixed-length byte sequence.
  • NumberFormat (java.text)
    The abstract base class for all number formats. This class provides the interface for formatting and
  • Arrays (java.util)
    This class contains various methods for manipulating arrays (such as sorting and searching). This cl
  • Set (java.util)
    A Set is a data structure which does not allow duplicate elements.
  • Collectors (java.util.stream)
  • Top PhpStorm plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now