MPP.Plug.MethodEntry (mpp v0.16.0)

Copy Markdown View Source

Per-method configuration within a multi-method endpoint.

Holds the pre-computed charge, base64url request string, and server-only config for a single payment method.

Summary

Types

t()

@type t() :: %MPP.Plug.MethodEntry{
  charge:
    MPP.Intents.Charge.t()
    | MPP.Intents.Session.t()
    | MPP.Intents.Subscription.t(),
  method: module(),
  method_config: map(),
  request: String.t()
}