models/oxpspaymorrowoxbasketitem.php
public function getPaymorrowBasketItemSummary( $iLineItemCount )
    {
        /** @var OxpsPaymorrowOxBasketItem|oxBasketItem $this */

        $sPaymorrowLineItemPrefix = self::getPaymorrowBasketSummaryLineItemPrefix( $iLineItemCount );

        return array(
            $sPaymorrowLineItemPrefix . 'quantity'       => (double) $this->getAmount(),
            $sPaymorrowLineItemPrefix . 'articleId'      => $this->_toUtf( $this->getProductNumber() ),
            $sPaymorrowLineItemPrefix . 'name'           => $this->_toUtf( $this->getTitle(), 50 ),
            $sPaymorrowLineItemPrefix . 'type'           => 'GOODS',
            $sPaymorrowLineItemPrefix . 'unitPriceGross' => (double) $this->getUnitPrice()->getBruttoPrice(),
            $sPaymorrowLineItemPrefix . 'grossAmount'    => (double) $this->getPrice()->getBruttoPrice(),
            $sPaymorrowLineItemPrefix . 'vatAmount'      => (double) $this->getPrice()->getVatValue(),
            $sPaymorrowLineItemPrefix . 'vatRate'        => (double) $this->getVatPercent(),
        );
    }
public function getPaymorrowBasketItemSummary( $iLineItemCount )
    {
        /** @var OxpsPaymorrowOxBasketItem|oxBasketItem $this */

        $sPaymorrowLineItemPrefix = self::getPaymorrowBasketSummaryLineItemPrefix( $iLineItemCount );

        return array(
            $sPaymorrowLineItemPrefix . 'quantity'       => (double) $this->getAmount(),
            $sPaymorrowLineItemPrefix . 'articleId'      => $this->_toUtf( $this->getProductNumber() ),
            $sPaymorrowLineItemPrefix . 'name'           => $this->_toUtf( $this->getTitle(), 50 ),
            $sPaymorrowLineItemPrefix . 'type'           => 'GOODS',
            $sPaymorrowLineItemPrefix . 'unitPriceGross' => (double) $this->getUnitPrice()->getBruttoPrice(),
            $sPaymorrowLineItemPrefix . 'grossAmount'    => (double) $this->getPrice()->getBruttoPrice(),
            $sPaymorrowLineItemPrefix . 'vatAmount'      => (double) $this->getPrice()->getVatValue(),
            $sPaymorrowLineItemPrefix . 'vatRate'        => (double) $this->getVatPercent(),
        );
    }
public function getPaymorrowBasketItemSummary ( $ iLineItemCount ) { /** @var OxpsPaymorrowOxBasketItem|oxBasketItem $this */ $ sPaymorrowLineItemPrefix = self :: getPaymorrowBasketSummaryLineItemPrefix ( $ iLineItemCount ) ; return array ( $ sPaymorrowLineItemPrefix . 'quantity' => ( double ) $ this -> getAmount ( ) , $ sPaymorrowLineItemPrefix . 'articleId' => $ this -> _toUtf ( $ this -> getProductNumber ( ) ) , $ sPaymorrowLineItemPrefix . 'name' => $ this -> _toUtf ( $ this -> getTitle ( ) , 50 ) , $ sPaymorrowLineItemPrefix . 'type' => 'GOODS' , $ sPaymorrowLineItemPrefix . 'unitPriceGross' => ( double ) $ this -> getUnitPrice ( ) -> getBruttoPrice ( ) , $ sPaymorrowLineItemPrefix . 'grossAmount' => ( double ) $ this -> getPrice ( ) -> getBruttoPrice ( ) , $ sPaymorrowLineItemPrefix . 'vatAmount' => ( double ) $ this -> getPrice ( ) -> getVatValue ( ) , $ sPaymorrowLineItemPrefix . 'vatRate' => ( double ) $ this -> getVatPercent ( ) , ) ; }
Compiles summary data array of basket item for Paymorrow.

@param int $iLineItemCount

@return array
Compiles summary data array of basket item for Paymorrow .