Peacemaker.Mailer.BillingDetails behaviour (Peacemaker v3.3.5-rc.7) View Source

Link to this section Summary

Callbacks

Parses a string.

Lists all supported file extensions.

Link to this section Types

Specs

billing_details() :: %{
  date: Date.t(),
  contact: %{full_name: String.t(), first_name: String.t(), email: String.t()}
}

Specs

order_id() :: String.t() | Integer.t()

Link to this section Callbacks

Specs

build(order_id()) :: billing_details()

Parses a string.

Specs

send(term()) ::
  {%{
     :bcc => binary() | {binary(), binary()},
     :cc => binary() | {binary(), binary()},
     :from => binary() | {binary(), binary()},
     :to => binary() | {binary(), binary()},
     optional(any()) => any()
   }, Bamboo.Email.t()}
  | Bamboo.Email.t()

Lists all supported file extensions.