Magento Extensions Rating 2024
EXTENSIONS BY CATEGORY
B2B (Business-To-Business)
Blog
Customer
ERP (Enterprise Resource Planning)
Mega Menu
One Step Checkout
Order
POS (Point Of Sale)
Search
Shopping Cart
Sitemap
SEO
Social
Stock & Inventory Management
EXTENSIONS BY DEVELOPER
aheadWorks
Amasty
Boost My Shop
BSS Commerce
Magestore
MageWorx
Mirasvit
Templates Master
Wyomind
XTENTO
Magento 2 Documentation
Magento 2 Documentation
2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
vendor
magento
module-payment
Model
PaymentMethod.php
Go to the documentation of this file.
1
<?php
6
namespace
Magento\Payment\Model
;
7
11
class
PaymentMethod
implements
\Magento\Payment\Api\Data\PaymentMethodInterface
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
}
Magento\Payment\Model\PaymentMethod\getTitle
getTitle()
Definition:
PaymentMethod.php:58
Magento\Payment\Model\PaymentMethod\__construct
__construct($code, $title, $storeId, $isActive)
Definition:
PaymentMethod.php:39
Magento\Payment\Model\PaymentMethod
Definition:
PaymentMethod.php:11
Magento\Payment\Model
Magento\Payment\Model\PaymentMethod\getStoreId
getStoreId()
Definition:
PaymentMethod.php:66
Magento\Payment\Model\PaymentMethod\getCode
getCode()
Definition:
PaymentMethod.php:50
Magento\Payment\Model\PaymentMethod\getIsActive
getIsActive()
Definition:
PaymentMethod.php:74
Magento\Payment\Api\Data\PaymentMethodInterface
Definition:
PaymentMethodInterface.php:14