Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
PaymentMethod.php
Go to the documentation of this file.
1 <?php
6 namespace Magento\Payment\Model;
7 
12 {
16  private $code;
17 
21  private $title;
22 
26  private $storeId;
27 
31  private $isActive;
32 
39  public function __construct($code, $title, $storeId, $isActive)
40  {
41  $this->code = $code;
42  $this->title = $title;
43  $this->storeId = $storeId;
44  $this->isActive = $isActive;
45  }
46 
50  public function getCode()
51  {
52  return $this->code;
53  }
54 
58  public function getTitle()
59  {
60  return $this->title;
61  }
62 
66  public function getStoreId()
67  {
68  return $this->storeId;
69  }
70 
74  public function getIsActive()
75  {
76  return $this->isActive;
77  }
78 }
__construct($code, $title, $storeId, $isActive)