PayPalApiTransaction

Class Transaction.

Defined (1)

The class is defined in the following location(s).

/classes/lib/PayPal/Api/Transaction.php  
  1. class Transaction extends TransactionBase 
  2. /** 
  3. * Additional transactions for complex payment scenarios. 
  4. * @param self $transactions 
  5. * @return $this 
  6. */ 
  7. public function setTransactions($transactions) 
  8. $this->transactions = $transactions; 
  9. return $this; 
  10.  
  11. /** 
  12. * Additional transactions for complex payment scenarios. 
  13. * @return self[] 
  14. */ 
  15. public function getTransactions() 
  16. return $this->transactions; 
  17.  
  18. /** 
  19. * Identifier to the purchase unit corresponding to this sale transaction 
  20. * @param string $purchase_unit_reference_id 
  21. * @return $this 
  22. */ 
  23. public function setPurchaseUnitReferenceId($purchase_unit_reference_id) 
  24. $this->purchase_unit_reference_id = $purchase_unit_reference_id; 
  25. return $this; 
  26.  
  27. /** 
  28. * Identifier to the purchase unit corresponding to this sale transaction 
  29. * @return string 
  30. */ 
  31. public function getPurchaseUnitReferenceId() 
  32. return $this->purchase_unit_reference_id; 
  33.