You are here

function commerce_sermepa_get_available_transaction_types in Commerce sermepa 7

Get all available transaction types.

Return value

array Return an array with all available transaction types.

1 string reference to 'commerce_sermepa_get_available_transaction_types'
commerce_sermepa_rules_action_info in ./commerce_sermepa.rules.inc
Implements hook_rules_action_info().

File

./commerce_sermepa.rules.inc, line 681
Rules integration for the commerce sermepa module.

Code

function commerce_sermepa_get_available_transaction_types() {
  if (!class_exists('Sermepa')) {
    libraries_load('sermepa');
  }
  return Sermepa::getAvailableTransactionTypes();
}