Interface EmailComposer<I>

Type Parameters:
I - Email Request
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface EmailComposer<I>
Composes an Email Request for the Transactional Email provider given a Email.
Since:
1.0.0
  • Method Summary

    Modifier and Type
    Method
    Description
    compose(@NonNull @NotNull @Valid Email email)
     
    default I
    compose(@NonNull @NotNull @Valid Email email, Consumer<I> emailRequest)