for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?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.
*/
declare(strict_types = 1);
namespace Pyz\Zed\SalesOrderAmendment;
use Generated\Shared\Transfer\QuoteTransfer;
use Spryker\Zed\SalesOrderAmendment\SalesOrderAmendmentConfig as SprykerSalesOrderAmendmentConfig;
class SalesOrderAmendmentConfig extends SprykerSalesOrderAmendmentConfig
{
* @return array<string>
public function getQuoteFieldsAllowedForSaving(): array
return array_merge(parent::getQuoteFieldsAllowedForSaving(), [
QuoteTransfer::BUNDLE_ITEMS,
QuoteTransfer::CART_NOTE,
QuoteTransfer::EXPENSES,
QuoteTransfer::VOUCHER_DISCOUNTS,
QuoteTransfer::CART_RULE_DISCOUNTS,
QuoteTransfer::PROMOTION_ITEMS,
QuoteTransfer::IS_LOCKED,
QuoteTransfer::QUOTE_REQUEST_VERSION_REFERENCE,
QuoteTransfer::QUOTE_REQUEST_REFERENCE,
QuoteTransfer::MERCHANT_REFERENCE,
QuoteTransfer::IS_ORDER_PLACED_SUCCESSFULLY,
]);
}