<commit_before><?php

namespace ShopwarePlugins\Connect\Components\Utils;

use Shopware\Connect\Struct\PaymentStatus;
use Shopware\Models\Order\Order;

/**
 * Class OrderPaymentStatusMapper
 * @package ShopwarePlugins\Connect\Components\Utils
 */
class OrderPaymentStatusMapper
{

    private $mapping;

    /**
     * Returns an array of mappings from sw order states to connect order states
     *
     * Can be modified and extended by using the Connect_OrderStatus_Mapping filter event
     *
     * @return mixed
     */
    protected function getMapping()
    {
        if (!$this->mapping) {
            $this->mapping = array(
                'open' => PaymentStatus::PAYMENT_OPEN,<commit_msg>CON-2871 Added Completely paid in the payment status mapper<commit_after><?php

namespace ShopwarePlugins\Connect\Components\Utils;

use Shopware\Connect\Struct\PaymentStatus;
use Shopware\Models\Order\Order;

/**
 * Class OrderPaymentStatusMapper
 * @package ShopwarePlugins\Connect\Components\Utils
 */
class OrderPaymentStatusMapper
{

    private $mapping;

    /**
     * Returns an array of mappings from sw order states to connect order states
     *
     * Can be modified and extended by using the Connect_OrderStatus_Mapping filter event
     *
     * @return mixed
     */
    protected function getMapping()
    {
        if (!$this->mapping) {
            $this->mapping = array(
                'open' => PaymentStatus::PAYMENT_OPEN,
                'completely_paid' => PaymentStatus::PAYMENT_RECEIVED,
{'fraction_non_alphanumeric': 0.08959156785243742, 'fraction_numerical': 0.002635046113306983, 'mean_word_length': 3.050666666666667, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 10, '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': '2225869', 'n_tokens_mistral': 415, 'n_tokens_neox': 404, 'n_words': 109}