models/oxpspaymorrowoxbasket.php
protected function _getCostMetadata( $sCostName )
    {
        $aCostsMap = array(
            'oxdelivery'     => array(
                $this->_getShippingId(),
                'DeliveryCosts',
                'SHIPPING'
            ),
            'oxwrapping'     => array(
                'Wrapping',
                'Wrapping Costs',
                'GOODS'
            ),
            'oxgiftcard'     => array(
                'GiftCard',
                'Gift Card Costs',
                'GOODS'
            ),
            'oxpayment'      => array(
                $this->_getPaymentId(),
                'PaymentCosts',
                'PAYMENT_FEE'
            ),
            'oxtsprotection' => array(
                $this->_getTsProductId(),
                'TS Protection Costs',
                'GOODS'
            ),
        );

        return array_key_exists( $sCostName, $aCostsMap ) ? $aCostsMap[$sCostName] : array();
    }
protected function _getCostMetadata( $sCostName )
    {
        $aCostsMap = array(
            'oxdelivery'     => array(
                $this->_getShippingId(),
                'DeliveryCosts',
                'SHIPPING'
            ),
            'oxwrapping'     => array(
                'Wrapping',
                'Wrapping Costs',
                'GOODS'
            ),
            'oxgiftcard'     => array(
                'GiftCard',
                'Gift Card Costs',
                'GOODS'
            ),
            'oxpayment'      => array(
                $this->_getPaymentId(),
                'PaymentCosts',
                'PAYMENT_FEE'
            ),
            'oxtsprotection' => array(
                $this->_getTsProductId(),
                'TS Protection Costs',
                'GOODS'
            ),
        );

        return array_key_exists( $sCostName, $aCostsMap ) ? $aCostsMap[$sCostName] : array();
    }
protected function _getCostMetadata ( $ sCostName ) { $ aCostsMap = array ( 'oxdelivery' => array ( $ this -> _getShippingId ( ) , 'DeliveryCosts' , 'SHIPPING' ) , 'oxwrapping' => array ( 'Wrapping' , 'Wrapping Costs' , 'GOODS' ) , 'oxgiftcard' => array ( 'GiftCard' , 'Gift Card Costs' , 'GOODS' ) , 'oxpayment' => array ( $ this -> _getPaymentId ( ) , 'PaymentCosts' , 'PAYMENT_FEE' ) , 'oxtsprotection' => array ( $ this -> _getTsProductId ( ) , 'TS Protection Costs' , 'GOODS' ) , ) ; return array_key_exists ( $ sCostName , $ aCostsMap ) ? $ aCostsMap [ $ sCostName ] : array ( ) ; }
Get costs metadata values.

@param string $sCostName

@return array Cost metadata array: ID, Name, Type
Get costs metadata values .