Gets the rate value for this ProductPackageItemBaseRate.

@return rate   * The rate value of {@link ProductPackageItem}.

<p>This attribute is required and the currency
code is read-only.
17942
public com.google.api.ads.admanager.axis.v201805.Money getRate() {
        return rate;
    }
1133086
public long getPrice(Configuration configuration) {
        long total = 0;
        for (KnapsackItem knapsackItem : getKnapsackItems()) {
            if (configuration.valueAt(knapsackItem.getIndex()) == 1) {
                total += knapsackItem.getPrice();
            }
        }
        return total;
    }
841678
public function getBidPrice()
    {
        if ($this->_sBidPrice === null) {
            $this->_sBidPrice = false;

            $aParams = $this->_getParams();
            $oCur = \OxidEsales\Eshop\Core\Registry::getConfig()->getActShopCurrencyObject();
            $iPrice = \OxidEsales\Eshop\Core\Registry::getUtils()->currency2Float($aParams['price']);
            $this->_sBidPrice = \OxidEsales\Eshop\Core\Registry::getLang()->formatCurrency($iPrice, $oCur);
        }

        return $this->_sBidPrice;
    }
733223
protected function _getCostSum()
    {
        if ($this->getAddSumType() == 'abs') {
            $oCur = \OxidEsales\Eshop\Core\Registry::getConfig()->getActShopCurrencyObject();
            $dPrice = $this->getAddSum() * $oCur->rate * $this->_getMultiplier();
        } else {
            $dPrice = $this->_dPrice / 100 * $this->getAddSum();
        }

        return $dPrice;
    }
68938
public function getPrice()
    {
        $price = $this->BasePrice;
                
        // Check for customisations that modify price
        foreach ($this->getCustomisations() as $item) {
            $price += ($item->Price) ? $item->Price : 0;
        }
        
        return $price;
    }
226280
@Override
    public byte[] getValue() {
        StringBuilder sb = new StringBuilder(64);
        sb.append(component).append(MetricUtils.AT).append(taskId).append(MetricUtils.AT)
                .append(streamId).append(MetricUtils.AT).append(metricType).append(MetricUtils.AT)
                .append(host).append(MetricUtils.AT).append(port).append(MetricUtils.AT)
                .append(metricGroup).append(MetricUtils.AT).append(metricName);
        return sb.toString().getBytes();
    }
1049409
protected function getCurrencyCodeAttribute()
    {
        if (empty($this->sActiveCurrency)) {
            return CurrencyHelper::instance()->getActiveCurrencyCode();
        }

        $sResult = CurrencyHelper::instance()->getCurrencyCode($this->sActiveCurrency);
        $this->sActiveCurrency = null;

        return $sResult;
    }
709244
public com.google.api.ads.admanager.axis.v201811.Money getLineItemCostPerUnit() {
        return lineItemCostPerUnit;
    }
249396
public function getAmount()
    {
        if ($this->isStatusExceptional()) {
            return (string)($this->getData()->getBtcPrice() * $this->getData()->getRate());
        }

        return (string)$this->data->getPrice();
    }
403325
synchronized public long getValue() {

        if (limitReached) {
            throw Error.error(ErrorCode.X_2200H);
        }

        long nextValue;

        if (increment > 0) {
            if (currValue > maxValue - increment) {
                if (isCycle) {
                    nextValue = minValue;
                } else {
                    limitReached = true;
                    nextValue    = minValue;
                }
            } else {
                nextValue = currValue + increment;
            }
        } else {
            if (currValue < minValue - increment) {
                if (isCycle) {
                    nextValue = maxValue;
                } else {
                    limitReached = true;
                    nextValue    = minValue;
                }
            } else {
                nextValue = currValue + increment;
            }
        }

        long result = currValue;

        currValue = nextValue;

        return result;
    }
912776
public com.google.api.ads.admanager.axis.v201805.DeliveryRateType getBuiltInDeliveryRateType() {
        return builtInDeliveryRateType;
    }
614390
public function getShopCurrency()
    {
        if ((null === ($curr = $this->getRequestParameter('cur')))) {
            if (null === ($curr = $this->getRequestParameter('currency'))) {
                $curr = $this->getSession()->getVariable('currency');
            }
        }

        return (int) $curr;
    }
807422
public function getProductsNetPrice()
    {
        return \OxidEsales\Eshop\Core\Registry::getLang()->formatCurrency($this->getNettoSum(), $this->getBasketCurrency());
    }
1145416
public function getFPrice()
    {
        $myConfig = \OxidEsales\Eshop\Core\Registry::getConfig();
        // 0002030 No need to return price if it disabled for better performance.
        if (!$myConfig->getConfigParam('bl_perfLoadPrice')) {
            return;
        }

        if ($this->_sFPrice) {
            return $this->_sFPrice;
        }

        $sFromPrefix = '';

        if (!$this->_isFixedPrice()) {
            $sFromPrefix = \OxidEsales\Eshop\Core\Registry::getLang()->translateString('PRICE_FROM') . ' ';
        }

        $dMinPrice = $this->getMinDPrice();
        $sFMinPrice = \OxidEsales\Eshop\Core\Registry::getLang()->formatCurrency($dMinPrice);
        $sCurrency = ' ' . \OxidEsales\Eshop\Core\Registry::getConfig()->getActShopCurrencyObject()->sign;
        $this->_sFPrice = $sFromPrefix . $sFMinPrice . $sCurrency;

        return $this->_sFPrice;
    }
684642
public Set<RateType> getRateTypes() {
        @SuppressWarnings("unchecked")
        Set<RateType> rateSet = get(KEY_RATE_TYPES, Set.class);
        if (rateSet == null) {
            return Collections.emptySet();
        }
        return Collections.unmodifiableSet(rateSet);
    }
901894
public int getWeight() {
        if (tc.isEntryEnabled())
            SibTr.entry(this, tc, "getWeight");
        if (tc.isEntryEnabled())
            SibTr.exit(this, tc, "getWeight");
        // TODO: this probably isn't a good value.
        return 0;
    }
1114854
public java.lang.String getCurrencyCode() {
    java.lang.Object ref = currencyCode_;
    if (ref instanceof java.lang.String) {
      return (java.lang.String) ref;
    } else {
      com.google.protobuf.ByteString bs = 
          (com.google.protobuf.ByteString) ref;
      java.lang.String s = bs.toStringUtf8();
      currencyCode_ = s;
      return s;
    }
  }