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

Link to this section Summary

Link to this section Types

Specs

t() :: %Peacemaker.Mailer.StraightSaleDetails{
  date: term(),
  email: term(),
  full_name: term(),
  order_id: term(),
  order_total: term(),
  plan_description: term(),
  product_copy: term(),
  subscription_bill_term: term(),
  time: term(),
  unit_amount: term(),
  unit_price: term(),
  unit_quantity: term()
}

Link to this section Functions

Specs

build(%{order_id: String.t() | Integer.t()} | String.t() | Integer.t()) :: t()

Specs

send_email(t()) ::
  {%{
     :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()