src/AvaTaxClient.php
/**
     * Add a line with an exemption to this transaction
     *
     * @param   float               $amount         The amount of this line item
     * @param   string              $exemptionCode  The exemption code for this line item
     * @return  TransactionBuilder
     */
Add a line with an exemption to this transaction
@param   float               $amount         The amount of this line item
@param   string              $exemptionCode  The exemption code for this line item
@return  TransactionBuilder
Add a line with an exemption to this transaction @param float $amount The amount of this line item @param string $exemptionCode The exemption code for this line item @return TransactionBuilder
public function withExemptLine($amount, $itemCode, $exemptionCode)
    {
        $l = [
            'number' => $this->_line_number,
            'quantity' => 1,
            'amount' => $amount,
            'exemptionCode' => $exemptionCode,
            'itemCode'      => $itemCode
        ];
        array_push($this->_model['lines'], $l);
        $this->_line_number++;
        return $this;
    }
public function withExemptLine ( $ amount , $ itemCode , $ exemptionCode ) { $ l = [ 'number' => $ this -> _line_number , 'quantity' => 1 , 'amount' => $ amount , 'exemptionCode' => $ exemptionCode , 'itemCode' => $ itemCode ] ; array_push ( $ this -> _model [ 'lines' ] , $ l ) ; $ this -> _line_number ++ ; return $ this ; }
Add a line with an exemption to this transaction
 @param   float               $amount         The amount of this line item
 @param   string              $exemptionCode  The exemption code for this line item
 @return  TransactionBuilder
Add a line with an exemption to this transaction @param float $amount The amount of this line item @param string $exemptionCode The exemption code for this line item @return TransactionBuilder
// Continue building