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
Gateway
Data
PaymentDataObject.php
Go to the documentation of this file.
1
<?php
6
namespace
Magento\Payment\Gateway\Data
;
7
8
use
Magento\Payment\Model\InfoInterface
;
9
10
class
PaymentDataObject
implements
PaymentDataObjectInterface
11
{
15
private
$order;
16
20
private
$payment;
21
26
public
function
__construct
(
27
OrderAdapterInterface
$order,
28
InfoInterface
$payment
29
) {
30
$this->order =
$order
;
31
$this->payment =
$payment
;
32
}
33
39
public
function
getOrder
()
40
{
41
return
$this->order;
42
}
43
49
public
function
getPayment
()
50
{
51
return
$this->payment;
52
}
53
}
Magento\Payment\Gateway\Data\PaymentDataObject
Definition:
PaymentDataObject.php:10
Magento\Payment\Gateway\Data\PaymentDataObject\getOrder
getOrder()
Definition:
PaymentDataObject.php:39
Magento\Payment\Gateway\Data\PaymentDataObjectInterface
Definition:
PaymentDataObjectInterface.php:16
Magento\Payment\Gateway\Data
Definition:
AddressAdapterInterface.php:6
Magento\Payment\Gateway\Data\PaymentDataObject\__construct
__construct(OrderAdapterInterface $order, InfoInterface $payment)
Definition:
PaymentDataObject.php:26
$order
$order
Definition:
order.php:55
Magento\Payment\Gateway\Data\OrderAdapterInterface
Definition:
OrderAdapterInterface.php:13
$payment
$payment
Definition:
order.php:17
Magento\Payment\Gateway\Data\PaymentDataObject\getPayment
getPayment()
Definition:
PaymentDataObject.php:49
Magento\Payment\Model\InfoInterface
Definition:
InfoInterface.php:14