You are here

commerce_avatax.api.php in Drupal Commerce Connector for AvaTax 7.5

Same filename and directory in other branches
  1. 8 commerce_avatax.api.php

This file contains no working PHP code; it exists to provide additional documentation for doxygen as well as to document hooks in the standard Drupal manner.

File

commerce_avatax.api.php
View source
<?php

/**
 * @file
 * This file contains no working PHP code; it exists to provide additional
 * documentation for doxygen as well as to document hooks in the standard
 * Drupal manner.
 */

/**
 * Allows modules to alter the create transaction request before its sent to the
 * Avatax API.
 *
 * @param array $request_body
 *   The request body array.
 * @param object $order
 *   The order object.
 *
 * @see commerce_avatax_create_transaction().
 */
function hook_commerce_avatax_create_transaction_alter(&$request_body, $order) {
}

Functions

Namesort descending Description
hook_commerce_avatax_create_transaction_alter Allows modules to alter the create transaction request before its sent to the Avatax API.