View Source ExWechatpay.Request (ex_wechatpay v0.1.5)

微信支付请求Request

Summary

Types

@type request_schema_t() :: [
  method: term(),
  api: binary(),
  params: %{optional(binary()) => binary()},
  body: term()
]
@type t() :: %ExWechatpay.Request{
  api: term(),
  body: term(),
  method: term(),
  params: term()
}

Functions

Link to this function

authorization(client, map)

View Source
@spec authorization(ExWechatpay.Client.t(), t()) :: String.t()
@spec new(request_schema_t()) :: t()