Skip to content

Commit

Permalink
ACP-3558: Merchant payment expense support.
Browse files Browse the repository at this point in the history
  • Loading branch information
abitskil committed Sep 9, 2024
1 parent 886ae2e commit aa7e288
Show file tree
Hide file tree
Showing 2 changed files with 41 additions and 13 deletions.
28 changes: 15 additions & 13 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

26 changes: 26 additions & 0 deletions src/Pyz/Zed/SalesPaymentMerchant/SalesPaymentMerchantConfig.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
<?php

/**
* This file is part of the Spryker Commerce OS.
* For full license information, please view the LICENSE file that was distributed with this source code.
*/

namespace Pyz\Zed\SalesPaymentMerchant;

use Spryker\Shared\Shipment\ShipmentConfig;
use Spryker\Zed\SalesPaymentMerchant\SalesPaymentMerchantConfig as SprykerSalesPaymentMerchantConfig;

class SalesPaymentMerchantConfig extends SprykerSalesPaymentMerchantConfig
{
/**
* @var bool
*/
protected const ORDER_EXPENSE_INCLUDED_IN_PAYMENT_PROCESS = false;

/**
* @var array<string, list<string>>
*/
protected const EXCLUDED_EXPENSE_TYPES_FOR_STORE = [
'AT' => [ShipmentConfig::SHIPMENT_EXPENSE_TYPE],
];
}

0 comments on commit aa7e288

Please sign in to comment.