Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
Checkmo.php
Go to the documentation of this file.
1 <?php
7 
17 {
18  const PAYMENT_METHOD_CHECKMO_CODE = 'checkmo';
19 
26 
30  protected $_formBlockType = \Magento\OfflinePayments\Block\Form\Checkmo::class;
31 
35  protected $_infoBlockType = \Magento\OfflinePayments\Block\Info\Checkmo::class;
36 
42  protected $_isOffline = true;
43 
47  public function getPayableTo()
48  {
49  return $this->getConfigData('payable_to');
50  }
51 
55  public function getMailingAddress()
56  {
57  return $this->getConfigData('mailing_address');
58  }
59 }