PayPalApiRelatedResources

Class RelatedResources.

Defined (1)

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

/classes/lib/PayPal/Api/RelatedResources.php  
  1. class RelatedResources extends PayPalModel 
  2. /** 
  3. * Sale transaction 
  4. * @param \PayPal\Api\Sale $sale 
  5. * @return $this 
  6. */ 
  7. public function setSale($sale) 
  8. $this->sale = $sale; 
  9. return $this; 
  10.  
  11. /** 
  12. * Sale transaction 
  13. * @return \PayPal\Api\Sale 
  14. */ 
  15. public function getSale() 
  16. return $this->sale; 
  17.  
  18. /** 
  19. * Authorization transaction 
  20. * @param \PayPal\Api\Authorization $authorization 
  21. * @return $this 
  22. */ 
  23. public function setAuthorization($authorization) 
  24. $this->authorization = $authorization; 
  25. return $this; 
  26.  
  27. /** 
  28. * Authorization transaction 
  29. * @return \PayPal\Api\Authorization 
  30. */ 
  31. public function getAuthorization() 
  32. return $this->authorization; 
  33.  
  34. /** 
  35. * Order transaction 
  36. * @param \PayPal\Api\Order $order 
  37. * @return $this 
  38. */ 
  39. public function setOrder($order) 
  40. $this->order = $order; 
  41. return $this; 
  42.  
  43. /** 
  44. * Order transaction 
  45. * @return \PayPal\Api\Order 
  46. */ 
  47. public function getOrder() 
  48. return $this->order; 
  49.  
  50. /** 
  51. * Capture transaction 
  52. * @param \PayPal\Api\Capture $capture 
  53. * @return $this 
  54. */ 
  55. public function setCapture($capture) 
  56. $this->capture = $capture; 
  57. return $this; 
  58.  
  59. /** 
  60. * Capture transaction 
  61. * @return \PayPal\Api\Capture 
  62. */ 
  63. public function getCapture() 
  64. return $this->capture; 
  65.  
  66. /** 
  67. * Refund transaction 
  68. * @param \PayPal\Api\Refund $refund 
  69. * @return $this 
  70. */ 
  71. public function setRefund($refund) 
  72. $this->refund = $refund; 
  73. return $this; 
  74.  
  75. /** 
  76. * Refund transaction 
  77. * @return \PayPal\Api\Refund 
  78. */ 
  79. public function getRefund() 
  80. return $this->refund; 
  81.