This repository has been archived on 2026-04-06. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
PayPal-PHP-SDK/lib/PayPal/Api/Transaction.php
japatel 29a8d8f50d Renaming Namespaces and Organizing Classes
- Updated OpenId classes to be in API namespace
- Updated PP Naming Convention to PayPal Naming Convention
- FormatConverter Class got its own namespace
- Handlers are grouped in Handler namespace
- Samples and Tests Updated Accordingly
2014-12-17 17:17:29 -06:00

44 lines
810 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 self 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;
}
}