Apruve v0.1.0 Apruve.CorporateAccount View Source
Module for corporate accounts.
Link to this section Summary
Link to this section Types
Link to this type
t()
View Source
t() :: %Apruve.CorporateAccount{
authorized_buyers: term(),
created_at: term(),
credit_amount_cents: term(),
credit_available_cents: term(),
credit_balance_cents: term(),
creditor_term_id: term(),
customer_uuid: term(),
disabled_at: term(),
id: term(),
merchant_uuid: term(),
name: term(),
payment_method_id: term(),
payment_term_strategy_name: term(),
status: term(),
trusted_merchant: term(),
type: term(),
updated_at: term()
}
Link to this section Functions
Link to this function
all_by_merchant_id(merchant_id, p_client_config \\ :from_app_config)
View Source
all_by_merchant_id( Apruve.Merchant.merchant_id(), Apruve.ClientConfig.t() | :from_app_config ) :: {:ok, [t()]} | {:error, any()}
Merchant struct from JSON string.
Link to this function
get_by_merchant_id_and_email(merchant_id, email, p_client_config \\ :from_app_config)
View Source
get_by_merchant_id_and_email( Apruve.Merchant.merchant_id(), email_address(), Apruve.ClientConfig.t() | :from_app_config ) :: {:ok, t()} | {:error, any()}