Вход Регистрация
Файл: sngine-v2.8/Script/includes/libs/PayPal/paypal/rest-api-sdk-php/lib/PayPal/Api/PayoutItemDetails.php
Строк: 230
<?php

namespace PayPalApi;

use 
PayPalCommonPayPalModel;

/**
 * Class PayoutItemDetails
 *
 * The payout item status and other details.
 *
 * @package PayPalApi
 *
 * @property string payout_item_id
 * @property string transaction_id
 * @property string transaction_status
 * @property PayPalApiCurrency payout_item_fee
 * @property string payout_batch_id
 * @property string sender_batch_id
 * @property PayPalApiPayoutItem payout_item
 * @property string time_processed
 * @property PayPalApiError errors
 * @property PayPalApiLinks[] links
 */
class PayoutItemDetails extends PayPalModel
{
    
/**
     * The ID for the payout item. Viewable when you show details for a batch payout.
     *
     * @param string $payout_item_id
     * 
     * @return $this
     */
    
public function setPayoutItemId($payout_item_id)
    {
        
$this->payout_item_id $payout_item_id;
        return 
$this;
    }

    
/**
     * The ID for the payout item. Viewable when you show details for a batch payout.
     *
     * @return string
     */
    
public function getPayoutItemId()
    {
        return 
$this->payout_item_id;
    }

    
/**
     * The PayPal-generated ID for the transaction.
     *
     * @param string $transaction_id
     * 
     * @return $this
     */
    
public function setTransactionId($transaction_id)
    {
        
$this->transaction_id $transaction_id;
        return 
$this;
    }

    
/**
     * The PayPal-generated ID for the transaction.
     *
     * @return string
     */
    
public function getTransactionId()
    {
        return 
$this->transaction_id;
    }

    
/**
     * The transaction status.
     *
     * @param string $transaction_status
     * 
     * @return $this
     */
    
public function setTransactionStatus($transaction_status)
    {
        
$this->transaction_status $transaction_status;
        return 
$this;
    }

    
/**
     * The transaction status.
     *
     * @return string
     */
    
public function getTransactionStatus()
    {
        return 
$this->transaction_status;
    }

    
/**
     * The amount of money, in U.S. dollars, for fees.
     *
     * @param PayPalApiCurrency $payout_item_fee
     * 
     * @return $this
     */
    
public function setPayoutItemFee($payout_item_fee)
    {
        
$this->payout_item_fee $payout_item_fee;
        return 
$this;
    }

    
/**
     * The amount of money, in U.S. dollars, for fees.
     *
     * @return PayPalApiCurrency
     */
    
public function getPayoutItemFee()
    {
        return 
$this->payout_item_fee;
    }

    
/**
     * The PayPal-generated ID for the batch payout.
     *
     * @param string $payout_batch_id
     * 
     * @return $this
     */
    
public function setPayoutBatchId($payout_batch_id)
    {
        
$this->payout_batch_id $payout_batch_id;
        return 
$this;
    }

    
/**
     * The PayPal-generated ID for the batch payout.
     *
     * @return string
     */
    
public function getPayoutBatchId()
    {
        return 
$this->payout_batch_id;
    }

    
/**
     * A sender-specified ID number. Tracks the batch payout in an accounting system.
     *
     * @param string $sender_batch_id
     * 
     * @return $this
     */
    
public function setSenderBatchId($sender_batch_id)
    {
        
$this->sender_batch_id $sender_batch_id;
        return 
$this;
    }

    
/**
     * A sender-specified ID number. Tracks the batch payout in an accounting system.
     *
     * @return string
     */
    
public function getSenderBatchId()
    {
        return 
$this->sender_batch_id;
    }

    
/**
     * The sender-provided information for the payout item.
     *
     * @param PayPalApiPayoutItem $payout_item
     * 
     * @return $this
     */
    
public function setPayoutItem($payout_item)
    {
        
$this->payout_item $payout_item;
        return 
$this;
    }

    
/**
     * The sender-provided information for the payout item.
     *
     * @return PayPalApiPayoutItem
     */
    
public function getPayoutItem()
    {
        return 
$this->payout_item;
    }

    
/**
     * The date and time when this item was last processed.
     *
     * @param string $time_processed
     * 
     * @return $this
     */
    
public function setTimeProcessed($time_processed)
    {
        
$this->time_processed $time_processed;
        return 
$this;
    }

    
/**
     * The date and time when this item was last processed.
     *
     * @return string
     */
    
public function getTimeProcessed()
    {
        return 
$this->time_processed;
    }

    
/**
     * Sets Errors
     *
     * @param PayPalApiError $errors
     * 
     * @return $this
     */
    
public function setErrors($errors)
    {
        
$this->errors $errors;
        return 
$this;
    }

    
/**
     * Gets Errors
     *
     * @return PayPalApiError
     */
    
public function getErrors()
    {
        return 
$this->errors;
    }

    
/**
     * Sets Links
     *
     * @param PayPalApiLinks[] $links
     * 
     * @return $this
     */
    
public function setLinks($links)
    {
        
$this->links $links;
        return 
$this;
    }

    
/**
     * Gets Links
     *
     * @return PayPalApiLinks[]
     */
    
public function getLinks()
    {
        return 
$this->links;
    }

    
/**
     * Append Links to the list.
     *
     * @param PayPalApiLinks $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 PayPalApiLinks $links
     * @return $this
     */
    
public function removeLink($links)
    {
        return 
$this->setLinks(
            
array_diff($this->getLinks(), array($links))
        );
    }

}
Онлайн: 1
Реклама