function commerce_gc_transaction_load in Commerce GC 7
Load a giftcard transaction entity
Parameters
type $transaction_id:
type $reset:
Return value
type
File
- ./
commerce_gc.module, line 688 - Provides Giftcard coupon bundle, Giftcard Transaction entity and basic user interface elements.
Code
function commerce_gc_transaction_load($transaction_id, $reset = FALSE) {
$transactions = commerce_gc_transaction_load_multiple(array(
$transaction_id,
), array(), $reset);
return reset($transactions);
}