| Server IP : 54.36.91.62 / Your IP : 216.73.217.117 Web Server : Apache System : Linux webm013.cluster127.gra.hosting.ovh.net 5.15.206-ovh-vps-grsec-zfs-classid #1 SMP Fri May 15 02:41:25 UTC 2026 x86_64 User : coopiak ( 151928) PHP Version : 8.3.23 Disable Function : _dyuweyrj4,_dyuweyrj4r,dl MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/coopiak/amisdesseniors-fr/plugins/djcatalog2payment/paypal/lib/PayPal/Api/ |
Upload File : |
<?php
namespace PayPal\Api;
/**
* Class Transaction
*
* A transaction defines the contract of a payment - what is the payment for and who is fulfilling it.
*
* @package PayPal\Api
*
*/
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;
}
/**
* Identifier to the purchase unit corresponding to this sale transaction
*
* @param string $purchase_unit_reference_id
* @deprecated Use #setReferenceId instead
* @return $this
*/
public function setPurchaseUnitReferenceId($purchase_unit_reference_id)
{
$this->purchase_unit_reference_id = $purchase_unit_reference_id;
return $this;
}
/**
* Identifier to the purchase unit corresponding to this sale transaction
*
* @deprecated Use #getReferenceId instead
* @return string
*/
public function getPurchaseUnitReferenceId()
{
return $this->purchase_unit_reference_id;
}
}