You are here

function commerce_gc_transaction_delete in Commerce GC 7

Deletes a giftcard transaction by ID.

Parameters

$product_id: The ID of the product to delete.

Return value

TRUE on success, FALSE otherwise.

1 call to commerce_gc_transaction_delete()
commerce_gc_delete_transaction_form_submit in ./commerce_gc.module

File

./commerce_gc.module, line 724
Provides Giftcard coupon bundle, Giftcard Transaction entity and basic user interface elements.

Code

function commerce_gc_transaction_delete($transaction_id) {
  return commerce_gc_transaction_delete_multiple(array(
    $transaction_id,
  ));
}