/**
  * @param VisitorInterface $visitor
  * @param FloatType        $data
  * @param array            $type
  * @param Context          $context
  *
  * @return mixed|void
  */
 public function serializeFloatType(VisitorInterface $visitor, FloatType $data, array $type, Context $context)
 {
     $numberFormatter = new \NumberFormatter($this->getLocale($type), $this->getFormat($type));
     if ($visitor instanceof XmlSerializationVisitor && false === $this->xmlCData) {
         return $visitor->visitSimpleString($numberFormatter->format($data->getValue()), $type, $context);
     }
     return $visitor->visitString($numberFormatter->format($data->getValue()), $type, $context);
 }
 /**
  * @return float
  */
 public function getShippingTaxRate()
 {
     return $this->shippingTaxRate->getValue();
 }
 /**
  * @return float
  */
 public function getEBayShippingCost()
 {
     return $this->eBayShippingCost->getValue();
 }
 /**
  * @return float
  */
 public function getItemWeight()
 {
     return $this->itemWeight->getValue();
 }
 /**
  * @return float
  */
 public function getMaxAmount()
 {
     return $this->maxAmount->getValue();
 }
 /**
  * @return float
  */
 public function getAdditionalItemCosts()
 {
     return $this->additionalItemCosts->getValue();
 }
 /**
  * @return float
  */
 public function getBasepriceFactor()
 {
     return $this->basepriceFactor->getValue();
 }
 /**
  * @return float
  */
 public function getShippingCost()
 {
     return $this->shippingCost->getValue();
 }
 /**
  * @return float
  */
 public function getFullAmount()
 {
     return $this->fullAmount->getValue();
 }
 /**
  * @return float
  */
 public function getPrice()
 {
     return $this->price->getValue();
 }
Beispiel #11
0
 /**
  * @return float
  */
 public function getWeight()
 {
     return $this->weight->getValue();
 }
 /**
  * @return float
  */
 public function getScaledDPrice()
 {
     return $this->scaledDPrice->getValue();
 }
 /**
  * @return float
  */
 public function getPaymentAdditionalCost()
 {
     return $this->paymentAdditionalCost->getValue();
 }
Beispiel #14
0
 /**
  * @return float
  */
 public function getAnr()
 {
     return $this->anr->getValue();
 }