ECPayInvoice.Request behaviour (ecpay_invoice v0.0.1-alpha4)

Link to this section Summary

Link to this section Functions

Link to this function

generic_request(endpoint, payload, profile \\ :staging)

Link to this function

handle_response(arg)

Link to this function

perform(request, profile \\ :staging)

Link to this function

post(endpoint, body)

Link to this section Callbacks

Specs

endpoint() :: String.t()
Link to this callback

to_api_payload(struct, profile)

Specs

to_api_payload(struct :: term(), profile :: atom() | String.t()) ::
  map() | list()