Update payments API to v1.9

This commit is contained in:
mrak and sdcoffey
2016-10-25 17:29:48 -05:00
committed by jaypatel512 and sdcoffey
parent 7c5ea8b997
commit c2947ff409
92 changed files with 1583 additions and 973 deletions

View File

@@ -22,7 +22,6 @@ use PayPal\Validation\UrlValidator;
* @property string currency
* @property string tax
* @property string url
* @property string category
*/
class Item extends PayPalModel
{
@@ -30,7 +29,7 @@ class Item extends PayPalModel
* Stock keeping unit corresponding (SKU) to item.
*
* @param string $sku
*
*
* @return $this
*/
public function setSku($sku)
@@ -53,7 +52,7 @@ class Item extends PayPalModel
* Item name. 127 characters max.
*
* @param string $name
*
*
* @return $this
*/
public function setName($name)
@@ -76,7 +75,7 @@ class Item extends PayPalModel
* Description of the item. Only supported when the `payment_method` is set to `paypal`.
*
* @param string $description
*
*
* @return $this
*/
public function setDescription($description)
@@ -99,7 +98,7 @@ class Item extends PayPalModel
* Number of a particular item. 10 characters max.
*
* @param string $quantity
*
*
* @return $this
*/
public function setQuantity($quantity)
@@ -122,7 +121,7 @@ class Item extends PayPalModel
* Item cost. 10 characters max.
*
* @param string|double $price
*
*
* @return $this
*/
public function setPrice($price)
@@ -147,7 +146,7 @@ class Item extends PayPalModel
* 3-letter [currency code](https://developer.paypal.com/docs/integration/direct/rest_api_payment_country_currency_support/).
*
* @param string $currency
*
*
* @return $this
*/
public function setCurrency($currency)
@@ -170,7 +169,7 @@ class Item extends PayPalModel
* Tax of the item. Only supported when the `payment_method` is set to `paypal`.
*
* @param string|double $tax
*
*
* @return $this
*/
public function setTax($tax)
@@ -218,9 +217,9 @@ class Item extends PayPalModel
/**
* Category type of the item.
* Valid Values: ["DIGITAL", "PHYSICAL"]
*
* @deprecated Not publicly available
* @param string $category
*
*
* @return $this
*/
public function setCategory($category)
@@ -231,7 +230,7 @@ class Item extends PayPalModel
/**
* Category type of the item.
*
* @deprecated Not publicly available
* @return string
*/
public function getCategory()
@@ -241,10 +240,9 @@ class Item extends PayPalModel
/**
* Weight of the item.
*
* @deprecated Not publicly available
* @param \PayPal\Api\Measurement $weight
*
*
* @return $this
*/
public function setWeight($weight)
@@ -255,7 +253,6 @@ class Item extends PayPalModel
/**
* Weight of the item.
*
* @deprecated Not publicly available
* @return \PayPal\Api\Measurement
*/
@@ -266,10 +263,9 @@ class Item extends PayPalModel
/**
* Length of the item.
*
* @deprecated Not publicly available
* @param \PayPal\Api\Measurement $length
*
*
* @return $this
*/
public function setLength($length)
@@ -280,7 +276,6 @@ class Item extends PayPalModel
/**
* Length of the item.
*
* @deprecated Not publicly available
* @return \PayPal\Api\Measurement
*/
@@ -291,10 +286,9 @@ class Item extends PayPalModel
/**
* Height of the item.
*
* @deprecated Not publicly available
* @param \PayPal\Api\Measurement $height
*
*
* @return $this
*/
public function setHeight($height)
@@ -305,7 +299,6 @@ class Item extends PayPalModel
/**
* Height of the item.
*
* @deprecated Not publicly available
* @return \PayPal\Api\Measurement
*/
@@ -316,10 +309,9 @@ class Item extends PayPalModel
/**
* Width of the item.
*
* @deprecated Not publicly available
* @param \PayPal\Api\Measurement $width
*
*
* @return $this
*/
public function setWidth($width)
@@ -330,7 +322,6 @@ class Item extends PayPalModel
/**
* Width of the item.
*
* @deprecated Not publicly available
* @return \PayPal\Api\Measurement
*/
@@ -341,10 +332,9 @@ class Item extends PayPalModel
/**
* Set of optional data used for PayPal risk determination.
*
* @deprecated Not publicly available
* @param \PayPal\Api\NameValuePair[] $supplementary_data
*
*
* @return $this
*/
public function setSupplementaryData($supplementary_data)
@@ -355,7 +345,6 @@ class Item extends PayPalModel
/**
* Set of optional data used for PayPal risk determination.
*
* @deprecated Not publicly available
* @return \PayPal\Api\NameValuePair[]
*/
@@ -366,7 +355,6 @@ class Item extends PayPalModel
/**
* Append SupplementaryData to the list.
*
* @deprecated Not publicly available
* @param \PayPal\Api\NameValuePair $nameValuePair
* @return $this
@@ -384,7 +372,6 @@ class Item extends PayPalModel
/**
* Remove SupplementaryData from the list.
*
* @deprecated Not publicly available
* @param \PayPal\Api\NameValuePair $nameValuePair
* @return $this
@@ -398,10 +385,9 @@ class Item extends PayPalModel
/**
* Set of optional data used for PayPal post-transaction notifications.
*
* @deprecated Not publicly available
* @param \PayPal\Api\NameValuePair[] $postback_data
*
*
* @return $this
*/
public function setPostbackData($postback_data)
@@ -412,7 +398,6 @@ class Item extends PayPalModel
/**
* Set of optional data used for PayPal post-transaction notifications.
*
* @deprecated Not publicly available
* @return \PayPal\Api\NameValuePair[]
*/
@@ -423,7 +408,6 @@ class Item extends PayPalModel
/**
* Append PostbackData to the list.
*
* @deprecated Not publicly available
* @param \PayPal\Api\NameValuePair $nameValuePair
* @return $this
@@ -441,7 +425,6 @@ class Item extends PayPalModel
/**
* Remove PostbackData from the list.
*
* @deprecated Not publicly available
* @param \PayPal\Api\NameValuePair $nameValuePair
* @return $this