magento2-docker/generated/code/Magento/Sales/Api/Data/OrderPaymentExtension.php

45 lines
1.1 KiB
PHP
Executable File

<?php
namespace Magento\Sales\Api\Data;
/**
* Extension class for @see \Magento\Sales\Api\Data\OrderPaymentInterface
*/
class OrderPaymentExtension extends \Magento\Framework\Api\AbstractSimpleObject implements OrderPaymentExtensionInterface
{
/**
* @return string|null
*/
public function getNotificationMessage()
{
return $this->_get('notification_message');
}
/**
* @param string $notificationMessage
* @return $this
*/
public function setNotificationMessage($notificationMessage)
{
$this->setData('notification_message', $notificationMessage);
return $this;
}
/**
* @return \Magento\Vault\Api\Data\PaymentTokenInterface|null
*/
public function getVaultPaymentToken()
{
return $this->_get('vault_payment_token');
}
/**
* @param \Magento\Vault\Api\Data\PaymentTokenInterface $vaultPaymentToken
* @return $this
*/
public function setVaultPaymentToken(\Magento\Vault\Api\Data\PaymentTokenInterface $vaultPaymentToken)
{
$this->setData('vault_payment_token', $vaultPaymentToken);
return $this;
}
}