Telegex v0.1.0-rc.6 Telegex.Model.SuccessfulPayment View Source

Link to this section Summary

Functions

Convert map data to Elixir.Telegex.Model.SuccessfulPayment. Unlike struct/2, this function will convert nested struct fields together.

Link to this section Types

Specs

t() :: %Telegex.Model.SuccessfulPayment{
  currency: String.t(),
  invoice_payload: String.t(),
  order_info: Telegex.Model.OrderInfo.t() | nil,
  provider_payment_charge_id: String.t(),
  shipping_option_id: String.t() | nil,
  telegram_payment_charge_id: String.t(),
  total_amount: integer()
}

Link to this section Functions

Convert map data to Elixir.Telegex.Model.SuccessfulPayment. Unlike struct/2, this function will convert nested struct fields together.