public function getPriceOffsets()
    {
        $currencyOffsets = SaleOffsetCurrencyQuery::create()->filterBySaleId($this->getId())->find();

        $offsetList = [];

        /** @var SaleOffsetCurrency $currencyOffset */
        foreach ($currencyOffsets as $currencyOffset) {
            $offsetList[$currencyOffset->getCurrencyId()] = $currencyOffset->getPriceOffsetValue();
        }

        return $offsetList;
    }
public function getPriceOffsets()
    {
        $currencyOffsets = SaleOffsetCurrencyQuery::create()->filterBySaleId($this->getId())->find();

        $offsetList = [];

        /** @var SaleOffsetCurrency $currencyOffset */
        foreach ($currencyOffsets as $currencyOffset) {
            $offsetList[$currencyOffset->getCurrencyId()] = $currencyOffset->getPriceOffsetValue();
        }

        return $offsetList;
    }
public function getPriceOffsets ( ) { $ currencyOffsets = SaleOffsetCurrencyQuery :: create ( ) -> filterBySaleId ( $ this -> getId ( ) ) -> find ( ) ; $ offsetList = [ ] ; /** @var SaleOffsetCurrency $currencyOffset */ foreach ( $ currencyOffsets as $ currencyOffset ) { $ offsetList [ $ currencyOffset -> getCurrencyId ( ) ] = $ currencyOffset -> getPriceOffsetValue ( ) ; } return $ offsetList ; }
Get the price offsets for each of the currencies.

@return array an array of (currency ID => offset value)
Get the price offsets for each of the currencies .