![]() 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 PayoutItemDetails * * This object contains status and other data for an individual payout of a batch. * * @package PayPal\Api * * @property string payout_item_id * @property string transaction_id * @property string transaction_status * @property \PayPal\Api\Currency payout_item_fee * @property string payout_batch_id * @property string sender_batch_id * @property \PayPal\Api\PayoutItem payout_item * @property string time_processed * @property \PayPal\Api\Error errors * @property \PayPal\Api\Links[] links */ class PayoutItemDetails extends PayPalModel { /** * An ID for an individual payout. Provided by PayPal, such as in the case of getting the status of a batch request. 30 characters max. * * @param string $payout_item_id * * @return $this */ public function setPayoutItemId($payout_item_id) { $this->payout_item_id = $payout_item_id; return $this; } /** * An ID for an individual payout. Provided by PayPal, such as in the case of getting the status of a batch request. 30 characters max. * * @return string */ public function getPayoutItemId() { return $this->payout_item_id; } /** * Generated ID for the transaction. 30 characters max. * * @param string $transaction_id * * @return $this */ public function setTransactionId($transaction_id) { $this->transaction_id = $transaction_id; return $this; } /** * Generated ID for the transaction. 30 characters max. * * @return string */ public function getTransactionId() { return $this->transaction_id; } /** * Status of a transaction. * * @param string $transaction_status * * @return $this */ public function setTransactionStatus($transaction_status) { $this->transaction_status = $transaction_status; return $this; } /** * Status of a transaction. * * @return string */ public function getTransactionStatus() { return $this->transaction_status; } /** * Amount of money in U.S. dollars for fees. * * @param \PayPal\Api\Currency $payout_item_fee * * @return $this */ public function setPayoutItemFee($payout_item_fee) { $this->payout_item_fee = $payout_item_fee; return $this; } /** * Amount of money in U.S. dollars for fees. * * @return \PayPal\Api\Currency */ public function getPayoutItemFee() { return $this->payout_item_fee; } /** * An ID for the batch payout. Generated by PayPal. 30 characters max. * * @param string $payout_batch_id * * @return $this */ public function setPayoutBatchId($payout_batch_id) { $this->payout_batch_id = $payout_batch_id; return $this; } /** * An ID for the batch payout. Generated by PayPal. 30 characters max. * * @return string */ public function getPayoutBatchId() { return $this->payout_batch_id; } /** * Sender-created ID for tracking the batch in an accounting system. 30 characters max. * * @param string $sender_batch_id * * @return $this */ public function setSenderBatchId($sender_batch_id) { $this->sender_batch_id = $sender_batch_id; return $this; } /** * Sender-created ID for tracking the batch in an accounting system. 30 characters max. * * @return string */ public function getSenderBatchId() { return $this->sender_batch_id; } /** * The data for a payout item that the sender initially provided. * * @param \PayPal\Api\PayoutItem $payout_item * * @return $this */ public function setPayoutItem($payout_item) { $this->payout_item = $payout_item; return $this; } /** * The data for a payout item that the sender initially provided. * * @return \PayPal\Api\PayoutItem */ public function getPayoutItem() { return $this->payout_item; } /** * Time of the last processing for this item. * * @param string $time_processed * * @return $this */ public function setTimeProcessed($time_processed) { $this->time_processed = $time_processed; return $this; } /** * Time of the last processing for this item. * * @return string */ public function getTimeProcessed() { return $this->time_processed; } /** * Sets Error * * @param \PayPal\Api\Error $errors * * @return $this */ public function setErrors($errors) { $this->errors = $errors; return $this; } /** * Gets Error * * @return \PayPal\Api\Error */ public function getErrors() { return $this->errors; } /** * Sets Links * * @param \PayPal\Api\Links[] $links * * @return $this */ public function setLinks($links) { $this->links = $links; return $this; } /** * Gets Links * * @return \PayPal\Api\Links[] */ public function getLinks() { return $this->links; } /** * Append Links to the list. * * @param \PayPal\Api\Links $links * @return $this */ public function addLink($links) { if (!$this->getLinks()) { return $this->setLinks(array($links)); } else { return $this->setLinks( array_merge($this->getLinks(), array($links)) ); } } /** * Remove Links from the list. * * @param \PayPal\Api\Links $links * @return $this */ public function removeLink($links) { return $this->setLinks( array_diff($this->getLinks(), array($links)) ); } }