Files
redline.com.pl/modules/paypal/classes/API/Response/ResponseOrderCapture.php
2024-11-11 18:46:54 +01:00

234 lines
4.3 KiB
PHP

<?php
/**
* 2007-2020 PayPal
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License (AFL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/afl-3.0.php
* If you did not receive a copy of the license and are unable to
* obtain it through the world-wide-web, please send an email
* to license@prestashop.com so we can send you a copy immediately.
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
* versions in the future. If you wish to customize PrestaShop for your
* needs please refer to http://www.prestashop.com for more information.
*
* @author 2007-2020 PayPal
* @author 202 ecommerce <tech@202-ecommerce.com>
* @copyright PayPal
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
namespace PaypalAddons\classes\API\Response;
class ResponseOrderCapture extends Response
{
/** @var string*/
protected $paymentId;
/** @var string*/
protected $transactionId;
/** @var string*/
protected $currency;
/** @var string*/
protected $status;
/** @var \DateTime*/
protected $dateTransaction;
/** @var bool*/
protected $capture;
/** @var string*/
protected $paymentMethod;
/** @var string*/
protected $paymentTool;
/** @var float*/
protected $totalPaid;
/** @var string*/
protected $method;
/**
* @return string
*/
public function getMethod()
{
return $this->method;
}
/**
* @param string $method
*/
public function setMethod($method)
{
$this->method = $method;
return $this;
}
/**
* @return float
*/
public function getTotalPaid()
{
return $this->totalPaid;
}
/**
* @param float $totalPaid
*/
public function setTotalPaid($totalPaid)
{
$this->totalPaid = $totalPaid;
return $this;
}
/**
* @return string
*/
public function getPaymentMethod()
{
return $this->paymentMethod;
}
/**
* @param string $paymentMethod
*/
public function setPaymentMethod($paymentMethod)
{
$this->paymentMethod = $paymentMethod;
return $this;
}
/**
* @return string
*/
public function getPaymentTool()
{
return $this->paymentTool;
}
/**
* @param string $paymentTool
*/
public function setPaymentTool($paymentTool)
{
$this->paymentTool = $paymentTool;
return $this;
}
/**
* @return string
*/
public function getPaymentId()
{
return $this->paymentId;
}
/**
* @param string $paymentId
*/
public function setPaymentId($paymentId)
{
$this->paymentId = $paymentId;
return $this;
}
/**
* @return string
*/
public function getTransactionId()
{
return $this->transactionId;
}
/**
* @param string $transactionId
*/
public function setTransactionId($transactionId)
{
$this->transactionId = $transactionId;
return $this;
}
/**
* @return string
*/
public function getCurrency()
{
return $this->currency;
}
/**
* @param string $currency
*/
public function setCurrency($currency)
{
$this->currency = $currency;
return $this;
}
/**
* @return string
*/
public function getStatus()
{
return $this->status;
}
/**
* @param string $status
*/
public function setStatus($status)
{
$this->status = $status;
return $this;
}
/**
* @return \DateTime
*/
public function getDateTransaction()
{
return $this->dateTransaction;
}
/**
* @param \DateTime $dateTransaction
*/
public function setDateTransaction($dateTransaction)
{
$this->dateTransaction = $dateTransaction;
return $this;
}
/**
* @return bool
*/
public function isCapture()
{
return $this->capture;
}
/**
* @param bool $capture
*/
public function setCapture($capture)
{
$this->capture = $capture;
return $this;
}
}