Update Payouts to v1.2

This commit is contained in:
sdcoffey
2016-10-13 11:04:49 -07:00
parent 3f98d9f182
commit 0f3a5e6548
12 changed files with 177 additions and 153 deletions

View File

@@ -7,7 +7,7 @@ use PayPal\Common\PayPalModel;
/**
* Class PayoutBatchHeader
*
* This object enables you to get payout header information for an entire batch request. This object represents payout header data, and can be the response to a batch header request.
* Batch header resource.
*
* @package PayPal\Api
*
@@ -24,7 +24,7 @@ use PayPal\Common\PayPalModel;
class PayoutBatchHeader extends PayPalModel
{
/**
* An ID for the batch payout. Generated by PayPal. 30 characters max.
* The PayPal-generated ID for a batch payout.
*
* @param string $payout_batch_id
*
@@ -37,7 +37,7 @@ class PayoutBatchHeader extends PayPalModel
}
/**
* An ID for the batch payout. Generated by PayPal. 30 characters max.
* The PayPal-generated ID for a batch payout.
*
* @return string
*/
@@ -47,7 +47,7 @@ class PayoutBatchHeader extends PayPalModel
}
/**
* Generated batch status.
* The PayPal-generated batch payout status. If the batch payout passes the preliminary checks, the status is `PENDING`.
*
* @param string $batch_status
*
@@ -60,7 +60,7 @@ class PayoutBatchHeader extends PayPalModel
}
/**
* Generated batch status.
* The PayPal-generated batch payout status. If the batch payout passes the preliminary checks, the status is `PENDING`.
*
* @return string
*/
@@ -73,7 +73,7 @@ class PayoutBatchHeader extends PayPalModel
* The time the batch entered processing.
*
* @param string $time_created
*
*
* @return $this
*/
public function setTimeCreated($time_created)
@@ -96,7 +96,7 @@ class PayoutBatchHeader extends PayPalModel
* The time that processing for the batch was completed.
*
* @param string $time_completed
*
*
* @return $this
*/
public function setTimeCompleted($time_completed)
@@ -129,7 +129,7 @@ class PayoutBatchHeader extends PayPalModel
}
/**
* The original batch header as provided by the payment sender.
* The sender-provided batch payout header.
*
* @return \PayPal\Api\PayoutSenderBatchHeader
*/
@@ -142,7 +142,7 @@ class PayoutBatchHeader extends PayPalModel
* Total amount, in U.S. dollars, requested for the applicable payouts.
*
* @param \PayPal\Api\Currency $amount
*
*
* @return $this
*/
public function setAmount($amount)
@@ -165,7 +165,7 @@ class PayoutBatchHeader extends PayPalModel
* Total estimate in U.S. dollars for the applicable payouts fees.
*
* @param \PayPal\Api\Currency $fees
*
*
* @return $this
*/
public function setFees($fees)
@@ -188,7 +188,7 @@ class PayoutBatchHeader extends PayPalModel
* Sets Errors
*
* @param \PayPal\Api\Error $errors
*
*
* @return $this
*/
public function setErrors($errors)