forked from LiveCarta/PayPal-PHP-SDK
- Removed Deprecated Getter Setters from all Model Classes - All Camelcase getters and setters are removed. Please use first letter uppercase syntax - E.g. instead of using get_notify_url(), use getNotifyUrl() instead
44 lines
817 B
PHP
44 lines
817 B
PHP
<?php
|
|
|
|
namespace PayPal\Api;
|
|
|
|
use PayPal\Common\PayPalModel;
|
|
use PayPal\Rest\ApiContext;
|
|
|
|
/**
|
|
* Class Transaction
|
|
*
|
|
* A transaction defines the contract of a payment - what is the payment for and who is fulfilling it.
|
|
*
|
|
* @package PayPal\Api
|
|
*
|
|
* @property Transaction transactions
|
|
*/
|
|
class Transaction extends TransactionBase
|
|
{
|
|
/**
|
|
* Additional transactions for complex payment scenarios.
|
|
*
|
|
*
|
|
* @param self $transactions
|
|
*
|
|
* @return $this
|
|
*/
|
|
public function setTransactions($transactions)
|
|
{
|
|
$this->transactions = $transactions;
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Additional transactions for complex payment scenarios.
|
|
*
|
|
* @return self[]
|
|
*/
|
|
public function getTransactions()
|
|
{
|
|
return $this->transactions;
|
|
}
|
|
|
|
}
|