<commit_before><?php
class Vpc_Shop_Cart_Checkout_Payment_CashOnDelivery_Component extends Vpc_Shop_Cart_Checkout_Payment_Abstract_Component
{
    public static function getSettings()
    {
        $ret = parent::getSettings();
        $ret['componentName'] = trlVps('Cash on Delivery');
        $ret['generators']['mail']['component'] = 'Vpc_Shop_Cart_Checkout_Payment_CashOnDelivery_Mail_Component';
        $ret['generators']['confirm']['component'] = 'Vpc_Shop_Cart_Checkout_Payment_CashOnDelivery_Confirm_Component';
        $ret['generators']['shippedMail']['component'] = 'Vpc_Shop_Cart_Checkout_Payment_CashOnDelivery_ShippedMail_Component';
        $ret['cashOnDeliveryCharge'] = 6.5;
        return $ret;
    }

    protected final function _getCashOnDeliveryCharge($order)<commit_msg>Nachnahmegebuer fehlte, OrderData korrekt verwenden<commit_after><?php
class Vpc_Shop_Cart_Checkout_Payment_CashOnDelivery_Component extends Vpc_Shop_Cart_Checkout_Payment_Abstract_Component
{
    public static function getSettings()
    {
        $ret = parent::getSettings();
        $ret['componentName'] = trlVps('Cash on Delivery');
        $ret['generators']['mail']['component'] = 'Vpc_Shop_Cart_Checkout_Payment_CashOnDelivery_Mail_Component';
        $ret['generators']['confirm']['component'] = 'Vpc_Shop_Cart_Checkout_Payment_CashOnDelivery_Confirm_Component';
        $ret['generators']['shippedMail']['component'] = 'Vpc_Shop_Cart_Checkout_Payment_CashOnDelivery_ShippedMail_Component';
        $ret['cashOnDeliveryCharge'] = 6.5;
        $ret['orderData'] = 'Vpc_Shop_Cart_Checkout_Payment_CashOnDelivery_OrderData';
        return $ret;
    }

    protected final function _getCashOnDeliveryCharge($order)
{'fraction_non_alphanumeric': 0.1131195335276968, 'fraction_numerical': 0.0023323615160349854, 'mean_word_length': 6.2100840336134455, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1789547', 'n_tokens_mistral': 540, 'n_tokens_neox': 536, 'n_words': 63}