You are here

function commerce_cardonfile_statuses in Commerce Card on File 7.2

Returns a list of card statuses.

1 string reference to 'commerce_cardonfile_statuses'
commerce_cardonfile_entity_property_info in ./commerce_cardonfile.info.inc
Implements hook_entity_property_info().

File

./commerce_cardonfile.module, line 1499
Supports card on file functionality for credit card payment methods by associating card data reference IDs from payment gateways with user accounts.

Code

function commerce_cardonfile_statuses() {
  $statuses = array(
    0 => t('Disabled'),
    1 => t('Active'),
    2 => t('Not deletable'),
    3 => t('Declined'),
  );
  return $statuses;
}