Seditio Source
Root |
./othercms/ips_4.3.4/applications/nexus/extensions/nexus/Item/ShippingCharge.php
<?php
/**
 * @brief        Invoice Item Class for Shipping Charges
 * @author        <a href='https://www.invisioncommunity.com'>Invision Power Services, Inc.</a>
 * @copyright    (c) Invision Power Services, Inc.
 * @license        https://www.invisioncommunity.com/legal/standards/
 * @package        Invision Community
 * @subpackage    Nexus
 * @since        20 Mar 2014
 */

namespace IPS\nexus\extensions\nexus\Item;

/* To prevent PHP errors (extending class does not exist) revealing path */
if ( !defined( '\IPS\SUITE_UNIQUE_KEY' ) )
{
   
header( ( isset( $_SERVER['SERVER_PROTOCOL'] ) ? $_SERVER['SERVER_PROTOCOL'] : 'HTTP/1.0' ) . ' 403 Forbidden' );
    exit;
}

/**
 * Invoice Item Class for Shipping Charges
 */
class _ShippingCharge extends \IPS\nexus\Invoice\Item\Charge
{
   
/**
     * @brief    Application
     */
   
public static $application = 'nexus';
   
   
/**
     * @brief    Application
     */
   
public static $type = 'shipping';
   
   
/**
     * @brief    Icon
     */
   
public static $icon = 'truck';
   
   
/**
     * @brief    Title
     */
   
public static $title = 'checkout_shipping';
}