Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
PaymentDetails.php
Go to the documentation of this file.
1 <?php
6 namespace Magento\Checkout\Model;
7 
13 {
17  public function getPaymentMethods()
18  {
19  return $this->getData(self::PAYMENT_METHODS);
20  }
21 
26  {
27  return $this->setData(self::PAYMENT_METHODS, $paymentMethods);
28  }
29 
33  public function getTotals()
34  {
35  return $this->getData(self::TOTALS);
36  }
37 
41  public function setTotals($totals)
42  {
43  return $this->setData(self::TOTALS, $totals);
44  }
45 
51  public function getExtensionAttributes()
52  {
53  return $this->_getExtensionAttributes();
54  }
55 
62  public function setExtensionAttributes(
63  \Magento\Checkout\Api\Data\PaymentDetailsExtensionInterface $extensionAttributes
64  ) {
65  return $this->_setExtensionAttributes($extensionAttributes);
66  }
67 }
_setExtensionAttributes(\Magento\Framework\Api\ExtensionAttributesInterface $extensionAttributes)
setExtensionAttributes(\Magento\Checkout\Api\Data\PaymentDetailsExtensionInterface $extensionAttributes)
$totals
Definition: totalbar.phtml:10
$paymentMethods