Packages

Library to create payment gateways

Current section

Files

Jump to
ex_payments_template lib base_payment base_behaviour.ex
Raw

lib/base_payment/base_behaviour.ex

defmodule BasePayment.BaseBehaviour do
@moduledoc """
Base behaviour for payment gateways.
"""
@callback config() :: {:ok, %BasePayment.BaseConfig{}} | {:error, String.t()}
end