core/oxpspaymorroweshopdataprovider.php
protected function _addOrderData( array $aData, oxUser $oUser )
    {
        /** @var OxpsPaymorrowOxBasket|oxBasket $oBasket */
        $oBasket = $oUser->getUserPaymorrowUserBasketFromSession();

        // Common order fields
        $aData['order_grossAmount'] = (double) $oBasket->getPaymorrowTotalAmount();
        $aData['order_vatAmount']   = (double) $oBasket->getPaymorrowTotalVatAmount();
        $aData['order_currency']    = self::toUtf( $oBasket->getPaymorrowBasketCurrency() );

        // Summarized line items array: products, costs, vouchers
        $aData = array_merge( $aData, $oBasket->getPaymorrowBasketLineItems() );

        return $aData;
    }
protected function _addOrderData( array $aData, oxUser $oUser )
    {
        /** @var OxpsPaymorrowOxBasket|oxBasket $oBasket */
        $oBasket = $oUser->getUserPaymorrowUserBasketFromSession();

        // Common order fields
        $aData['order_grossAmount'] = (double) $oBasket->getPaymorrowTotalAmount();
        $aData['order_vatAmount']   = (double) $oBasket->getPaymorrowTotalVatAmount();
        $aData['order_currency']    = self::toUtf( $oBasket->getPaymorrowBasketCurrency() );

        // Summarized line items array: products, costs, vouchers
        $aData = array_merge( $aData, $oBasket->getPaymorrowBasketLineItems() );

        return $aData;
    }
protected function _addOrderData ( array $ aData , oxUser $ oUser ) { /** @var OxpsPaymorrowOxBasket|oxBasket $oBasket */ $ oBasket = $ oUser -> getUserPaymorrowUserBasketFromSession ( ) ; // Common order fields $ aData [ 'order_grossAmount' ] = ( double ) $ oBasket -> getPaymorrowTotalAmount ( ) ; $ aData [ 'order_vatAmount' ] = ( double ) $ oBasket -> getPaymorrowTotalVatAmount ( ) ; $ aData [ 'order_currency' ] = self :: toUtf ( $ oBasket -> getPaymorrowBasketCurrency ( ) ) ; // Summarized line items array: products, costs, vouchers $ aData = array_merge ( $ aData , $ oBasket -> getPaymorrowBasketLineItems ( ) ) ; return $ aData ; }
Add order related data to array.

@param array                      $aData
@param OxpsPaymorrowOxUser|oxUser $oUser

@return array
Add order related data to array .