Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
PaymentDataObject.php
Go to the documentation of this file.
1 <?php
7 
9 
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 }
__construct(OrderAdapterInterface $order, InfoInterface $payment)
$order
Definition: order.php:55
$payment
Definition: order.php:17