private function getShippingAmount(array $entry)
    {
        $isShippingBruttoAndNettoSame = 1 === $entry['taxFree'] && $entry['taxFree'] == $entry['net'];
        if ($isShippingBruttoAndNettoSame) {
            return $entry['invoiceShippingNet'] + $entry['invoiceShippingNet'] * $this->getMaxTaxRateFromOrderItems($entry) / 100;
        }

        return (float) $entry['invoiceShipping'];
    }
private function getShippingAmount(array $entry)
    {
        $isShippingBruttoAndNettoSame = 1 === $entry['taxFree'] && $entry['taxFree'] == $entry['net'];
        if ($isShippingBruttoAndNettoSame) {
            return $entry['invoiceShippingNet'] + $entry['invoiceShippingNet'] * $this->getMaxTaxRateFromOrderItems($entry) / 100;
        }

        return (float) $entry['invoiceShipping'];
    }
@param array $entry

@return float