protected function configureAcceptedSale(SaleInterface $sale)
    {
        if (null === $date = $sale->getAcceptedAt()) {
            return false;
        }

        $changed = $this->updateExchangeRate($sale);

        $changed |= $this->updateLocale($sale);

        return $changed;
    }
protected function configureAcceptedSale(SaleInterface $sale)
    {
        if (null === $date = $sale->getAcceptedAt()) {
            return false;
        }

        $changed = $this->updateExchangeRate($sale);

        $changed |= $this->updateLocale($sale);

        return $changed;
    }
protected function configureAcceptedSale ( SaleInterface $ sale ) { if ( null === $ date = $ sale -> getAcceptedAt ( ) ) { return false ; } $ changed = $ this -> updateExchangeRate ( $ sale ) ; $ changed |= $ this -> updateLocale ( $ sale ) ; return $ changed ; }
Updates the sale exchange rate.

@param SaleInterface $sale

@return bool Whether the sale has been changed.
Updates the sale exchange rate .