ltsecurityinc安防产品在线商城代码
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
<?php
|
||||
/**
|
||||
* Copyright © All rights reserved.
|
||||
* See COPYING.txt for license details.
|
||||
*/
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace Lts\Netterm\Model\Payment;
|
||||
|
||||
use Magento\Payment\Model\Method\AbstractMethod;
|
||||
use Magento\Quote\Api\Data\CartInterface;
|
||||
|
||||
class Netterm extends AbstractMethod
|
||||
{
|
||||
public const PAYMENT_METHOD_NETTERM_CODE = 'netterm';
|
||||
|
||||
protected $_code = self::PAYMENT_METHOD_NETTERM_CODE;
|
||||
protected $_isOffline = true;
|
||||
|
||||
public function getInstructions(): string
|
||||
{
|
||||
$instructions = $this->getConfigData('instructions');
|
||||
return $instructions !== null ? trim($instructions) : '';
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user