![]() Server : Apache System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64 User : corals ( 1002) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system Directory : /home/corals/mcoil.corals.io/vendor/paypal/rest-api-sdk-php/lib/PayPal/Api/ |
<?php namespace PayPal\Api; use PayPal\Common\PayPalModel; /** * Class RelatedResources * * Each one representing a financial transaction (Sale, Authorization, Capture, Refund) related to the payment. * * @package PayPal\Api * * @property \PayPal\Api\Sale sale * @property \PayPal\Api\Authorization authorization * @property \PayPal\Api\Order order * @property \PayPal\Api\Capture capture * @property \PayPal\Api\Refund refund */ class RelatedResources extends PayPalModel { /** * Sale transaction * * @param \PayPal\Api\Sale $sale * * @return $this */ public function setSale($sale) { $this->sale = $sale; return $this; } /** * Sale transaction * * @return \PayPal\Api\Sale */ public function getSale() { return $this->sale; } /** * Authorization transaction * * @param \PayPal\Api\Authorization $authorization * * @return $this */ public function setAuthorization($authorization) { $this->authorization = $authorization; return $this; } /** * Authorization transaction * * @return \PayPal\Api\Authorization */ public function getAuthorization() { return $this->authorization; } /** * Order transaction * * @param \PayPal\Api\Order $order * * @return $this */ public function setOrder($order) { $this->order = $order; return $this; } /** * Order transaction * * @return \PayPal\Api\Order */ public function getOrder() { return $this->order; } /** * Capture transaction * * @param \PayPal\Api\Capture $capture * * @return $this */ public function setCapture($capture) { $this->capture = $capture; return $this; } /** * Capture transaction * * @return \PayPal\Api\Capture */ public function getCapture() { return $this->capture; } /** * Refund transaction * * @param \PayPal\Api\Refund $refund * * @return $this */ public function setRefund($refund) { $this->refund = $refund; return $this; } /** * Refund transaction * * @return \PayPal\Api\Refund */ public function getRefund() { return $this->refund; } }