Overview
  • Namespace
  • Class

Namespaces

  • PayPal
    • Api
    • Auth
    • Cache
    • Common
    • Converter
    • Core
    • Exception
    • Handler
    • Log
    • Rest
    • Security
    • Transport
    • Validation

Classes

  • PayPal\Api\Address
  • PayPal\Api\Agreement
  • PayPal\Api\AgreementDetails
  • PayPal\Api\AgreementStateDescriptor
  • PayPal\Api\AgreementTransaction
  • PayPal\Api\AgreementTransactions
  • PayPal\Api\AlternatePayment
  • PayPal\Api\Amount
  • PayPal\Api\Authorization
  • PayPal\Api\BankAccount
  • PayPal\Api\BankAccountsList
  • PayPal\Api\BankToken
  • PayPal\Api\BaseAddress
  • PayPal\Api\Billing
  • PayPal\Api\BillingAgreementToken
  • PayPal\Api\BillingInfo
  • PayPal\Api\CancelNotification
  • PayPal\Api\Capture
  • PayPal\Api\CarrierAccount
  • PayPal\Api\CarrierAccountToken
  • PayPal\Api\CartBase
  • PayPal\Api\ChargeModel
  • PayPal\Api\Cost
  • PayPal\Api\CountryCode
  • PayPal\Api\CreateProfileResponse
  • PayPal\Api\Credit
  • PayPal\Api\CreditCard
  • PayPal\Api\CreditCardHistory
  • PayPal\Api\CreditCardList
  • PayPal\Api\CreditCardToken
  • PayPal\Api\CreditFinancingOffered
  • PayPal\Api\Currency
  • PayPal\Api\CurrencyConversion
  • PayPal\Api\CustomAmount
  • PayPal\Api\DetailedRefund
  • PayPal\Api\Details
  • PayPal\Api\Error
  • PayPal\Api\ErrorDetails
  • PayPal\Api\ExtendedBankAccount
  • PayPal\Api\ExternalFunding
  • PayPal\Api\FileAttachment
  • PayPal\Api\FlowConfig
  • PayPal\Api\FmfDetails
  • PayPal\Api\FundingDetail
  • PayPal\Api\FundingInstrument
  • PayPal\Api\FundingOption
  • PayPal\Api\FundingSource
  • PayPal\Api\FuturePayment
  • PayPal\Api\HyperSchema
  • PayPal\Api\Image
  • PayPal\Api\Incentive
  • PayPal\Api\InputFields
  • PayPal\Api\InstallmentInfo
  • PayPal\Api\InstallmentOption
  • PayPal\Api\Invoice
  • PayPal\Api\InvoiceAddress
  • PayPal\Api\InvoiceItem
  • PayPal\Api\InvoiceNumber
  • PayPal\Api\InvoiceSearchResponse
  • PayPal\Api\Item
  • PayPal\Api\ItemList
  • PayPal\Api\Links
  • PayPal\Api\Measurement
  • PayPal\Api\MerchantInfo
  • PayPal\Api\MerchantPreferences
  • PayPal\Api\Metadata
  • PayPal\Api\NameValuePair
  • PayPal\Api\Notification
  • PayPal\Api\OpenIdAddress
  • PayPal\Api\OpenIdError
  • PayPal\Api\OpenIdSession
  • PayPal\Api\OpenIdTokeninfo
  • PayPal\Api\OpenIdUserinfo
  • PayPal\Api\Order
  • PayPal\Api\OverrideChargeModel
  • PayPal\Api\Participant
  • PayPal\Api\Patch
  • PayPal\Api\PatchRequest
  • PayPal\Api\Payee
  • PayPal\Api\Payer
  • PayPal\Api\PayerInfo
  • PayPal\Api\Payment
  • PayPal\Api\PaymentCard
  • PayPal\Api\PaymentCardToken
  • PayPal\Api\PaymentDefinition
  • PayPal\Api\PaymentDetail
  • PayPal\Api\PaymentExecution
  • PayPal\Api\PaymentHistory
  • PayPal\Api\PaymentInstruction
  • PayPal\Api\PaymentOptions
  • PayPal\Api\PaymentSummary
  • PayPal\Api\PaymentTerm
  • PayPal\Api\Payout
  • PayPal\Api\PayoutBatch
  • PayPal\Api\PayoutBatchHeader
  • PayPal\Api\PayoutItem
  • PayPal\Api\PayoutItemDetails
  • PayPal\Api\PayoutSenderBatchHeader
  • PayPal\Api\Phone
  • PayPal\Api\Plan
  • PayPal\Api\PlanList
  • PayPal\Api\PotentialPayerInfo
  • PayPal\Api\Presentation
  • PayPal\Api\PrivateLabelCard
  • PayPal\Api\ProcessorResponse
  • PayPal\Api\RecipientBankingInstruction
  • PayPal\Api\RedirectUrls
  • PayPal\Api\Refund
  • PayPal\Api\RefundDetail
  • PayPal\Api\RefundRequest
  • PayPal\Api\RelatedResources
  • PayPal\Api\Sale
  • PayPal\Api\Search
  • PayPal\Api\ShippingAddress
  • PayPal\Api\ShippingCost
  • PayPal\Api\ShippingInfo
  • PayPal\Api\Tax
  • PayPal\Api\Template
  • PayPal\Api\TemplateData
  • PayPal\Api\Templates
  • PayPal\Api\TemplateSettings
  • PayPal\Api\TemplateSettingsMetadata
  • PayPal\Api\Terms
  • PayPal\Api\Transaction
  • PayPal\Api\TransactionBase
  • PayPal\Api\Transactions
  • PayPal\Api\VerifyWebhookSignature
  • PayPal\Api\VerifyWebhookSignatureResponse
  • PayPal\Api\Webhook
  • PayPal\Api\WebhookEvent
  • PayPal\Api\WebhookEventList
  • PayPal\Api\WebhookEventType
  • PayPal\Api\WebhookEventTypeList
  • PayPal\Api\WebhookList
  • PayPal\Api\WebProfile
  • PayPal\Auth\OAuthTokenCredential
  • PayPal\Cache\AuthorizationCache
  • PayPal\Common\ArrayUtil
  • PayPal\Common\PayPalModel
  • PayPal\Common\PayPalResourceModel
  • PayPal\Common\PayPalUserAgent
  • PayPal\Common\ReflectionUtil
  • PayPal\Converter\FormatConverter
  • PayPal\Core\PayPalConfigManager
  • PayPal\Core\PayPalConstants
  • PayPal\Core\PayPalCredentialManager
  • PayPal\Core\PayPalHttpConfig
  • PayPal\Core\PayPalHttpConnection
  • PayPal\Core\PayPalLoggingManager
  • PayPal\Handler\OauthHandler
  • PayPal\Handler\RestHandler
  • PayPal\Log\PayPalDefaultLogFactory
  • PayPal\Log\PayPalLogger
  • PayPal\Rest\ApiContext
  • PayPal\Security\Cipher
  • PayPal\Transport\PayPalRestCall
  • PayPal\Validation\ArgumentValidator
  • PayPal\Validation\JsonValidator
  • PayPal\Validation\NumericValidator
  • PayPal\Validation\UrlValidator

Interfaces

  • PayPal\Handler\IPayPalHandler
  • PayPal\Log\PayPalLogFactory
  • PayPal\Rest\IResource

Exceptions

  • PayPal\Exception\PayPalConfigurationException
  • PayPal\Exception\PayPalConnectionException
  • PayPal\Exception\PayPalInvalidCredentialException
  • PayPal\Exception\PayPalMissingCredentialException
  1 <?php
  2 
  3 namespace PayPal\Api;
  4 
  5 use PayPal\Common\PayPalModel;
  6 
  7 /**
  8  * Class PayoutItemDetails
  9  *
 10  * The payout item status and other details.
 11  *
 12  * @package PayPal\Api
 13  *
 14  * @property string payout_item_id
 15  * @property string transaction_id
 16  * @property string transaction_status
 17  * @property \PayPal\Api\Currency payout_item_fee
 18  * @property string payout_batch_id
 19  * @property string sender_batch_id
 20  * @property \PayPal\Api\PayoutItem payout_item
 21  * @property string time_processed
 22  * @property \PayPal\Api\Error errors
 23  * @property \PayPal\Api\Links[] links
 24  */
 25 class PayoutItemDetails extends PayPalModel
 26 {
 27     /**
 28      * The ID for the payout item. Viewable when you show details for a batch payout.
 29      *
 30      * @param string $payout_item_id
 31      * 
 32      * @return $this
 33      */
 34     public function setPayoutItemId($payout_item_id)
 35     {
 36         $this->payout_item_id = $payout_item_id;
 37         return $this;
 38     }
 39 
 40     /**
 41      * The ID for the payout item. Viewable when you show details for a batch payout.
 42      *
 43      * @return string
 44      */
 45     public function getPayoutItemId()
 46     {
 47         return $this->payout_item_id;
 48     }
 49 
 50     /**
 51      * The PayPal-generated ID for the transaction.
 52      *
 53      * @param string $transaction_id
 54      * 
 55      * @return $this
 56      */
 57     public function setTransactionId($transaction_id)
 58     {
 59         $this->transaction_id = $transaction_id;
 60         return $this;
 61     }
 62 
 63     /**
 64      * The PayPal-generated ID for the transaction.
 65      *
 66      * @return string
 67      */
 68     public function getTransactionId()
 69     {
 70         return $this->transaction_id;
 71     }
 72 
 73     /**
 74      * The transaction status.
 75      *
 76      * @param string $transaction_status
 77      * 
 78      * @return $this
 79      */
 80     public function setTransactionStatus($transaction_status)
 81     {
 82         $this->transaction_status = $transaction_status;
 83         return $this;
 84     }
 85 
 86     /**
 87      * The transaction status.
 88      *
 89      * @return string
 90      */
 91     public function getTransactionStatus()
 92     {
 93         return $this->transaction_status;
 94     }
 95 
 96     /**
 97      * The amount of money, in U.S. dollars, for fees.
 98      *
 99      * @param \PayPal\Api\Currency $payout_item_fee
100      * 
101      * @return $this
102      */
103     public function setPayoutItemFee($payout_item_fee)
104     {
105         $this->payout_item_fee = $payout_item_fee;
106         return $this;
107     }
108 
109     /**
110      * The amount of money, in U.S. dollars, for fees.
111      *
112      * @return \PayPal\Api\Currency
113      */
114     public function getPayoutItemFee()
115     {
116         return $this->payout_item_fee;
117     }
118 
119     /**
120      * The PayPal-generated ID for the batch payout.
121      *
122      * @param string $payout_batch_id
123      * 
124      * @return $this
125      */
126     public function setPayoutBatchId($payout_batch_id)
127     {
128         $this->payout_batch_id = $payout_batch_id;
129         return $this;
130     }
131 
132     /**
133      * The PayPal-generated ID for the batch payout.
134      *
135      * @return string
136      */
137     public function getPayoutBatchId()
138     {
139         return $this->payout_batch_id;
140     }
141 
142     /**
143      * A sender-specified ID number. Tracks the batch payout in an accounting system.
144      *
145      * @param string $sender_batch_id
146      * 
147      * @return $this
148      */
149     public function setSenderBatchId($sender_batch_id)
150     {
151         $this->sender_batch_id = $sender_batch_id;
152         return $this;
153     }
154 
155     /**
156      * A sender-specified ID number. Tracks the batch payout in an accounting system.
157      *
158      * @return string
159      */
160     public function getSenderBatchId()
161     {
162         return $this->sender_batch_id;
163     }
164 
165     /**
166      * The sender-provided information for the payout item.
167      *
168      * @param \PayPal\Api\PayoutItem $payout_item
169      * 
170      * @return $this
171      */
172     public function setPayoutItem($payout_item)
173     {
174         $this->payout_item = $payout_item;
175         return $this;
176     }
177 
178     /**
179      * The sender-provided information for the payout item.
180      *
181      * @return \PayPal\Api\PayoutItem
182      */
183     public function getPayoutItem()
184     {
185         return $this->payout_item;
186     }
187 
188     /**
189      * The date and time when this item was last processed.
190      *
191      * @param string $time_processed
192      * 
193      * @return $this
194      */
195     public function setTimeProcessed($time_processed)
196     {
197         $this->time_processed = $time_processed;
198         return $this;
199     }
200 
201     /**
202      * The date and time when this item was last processed.
203      *
204      * @return string
205      */
206     public function getTimeProcessed()
207     {
208         return $this->time_processed;
209     }
210 
211     /**
212      * Sets Errors
213      *
214      * @param \PayPal\Api\Error $errors
215      * 
216      * @return $this
217      */
218     public function setErrors($errors)
219     {
220         $this->errors = $errors;
221         return $this;
222     }
223 
224     /**
225      * Gets Errors
226      *
227      * @return \PayPal\Api\Error
228      */
229     public function getErrors()
230     {
231         return $this->errors;
232     }
233 
234     /**
235      * Sets Links
236      *
237      * @param \PayPal\Api\Links[] $links
238      * 
239      * @return $this
240      */
241     public function setLinks($links)
242     {
243         $this->links = $links;
244         return $this;
245     }
246 
247     /**
248      * Gets Links
249      *
250      * @return \PayPal\Api\Links[]
251      */
252     public function getLinks()
253     {
254         return $this->links;
255     }
256 
257     /**
258      * Append Links to the list.
259      *
260      * @param \PayPal\Api\Links $links
261      * @return $this
262      */
263     public function addLink($links)
264     {
265         if (!$this->getLinks()) {
266             return $this->setLinks(array($links));
267         } else {
268             return $this->setLinks(
269                 array_merge($this->getLinks(), array($links))
270             );
271         }
272     }
273 
274     /**
275      * Remove Links from the list.
276      *
277      * @param \PayPal\Api\Links $links
278      * @return $this
279      */
280     public function removeLink($links)
281     {
282         return $this->setLinks(
283             array_diff($this->getLinks(), array($links))
284         );
285     }
286 
287 }
288 
API documentation generated by ApiGen