mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-11 13:42:49 +01:00
39 lines
798 B
PHP
39 lines
798 B
PHP
<?php
|
|
/**
|
|
* Invoice Ninja (https://invoiceninja.com).
|
|
*
|
|
* @link https://github.com/invoiceninja/invoiceninja source repository
|
|
*
|
|
* @copyright Copyright (c) 2023. Invoice Ninja LLC (https://invoiceninja.com)
|
|
*
|
|
* @license https://www.elastic.co/licensing/elastic-license
|
|
*/
|
|
|
|
namespace App\DataMapper\Tax;
|
|
|
|
interface RuleInterface
|
|
{
|
|
public function init();
|
|
|
|
public function tax($item);
|
|
|
|
public function taxByType($type);
|
|
|
|
public function taxExempt($item);
|
|
|
|
public function taxDigital($item);
|
|
|
|
public function taxService($item);
|
|
|
|
public function taxShipping($item);
|
|
|
|
public function taxPhysical($item);
|
|
|
|
public function taxReduced($item);
|
|
|
|
public function default($item);
|
|
|
|
public function override($item);
|
|
|
|
public function calculateRates();
|
|
} |