forked from LiveCarta/PayPal-PHP-SDK
Merge branch 'master' into update-version
This commit is contained in:
@@ -13,6 +13,8 @@ use PayPal\Rest\ApiContext;
|
||||
* @property string price
|
||||
* @property string currency
|
||||
* @property string sku
|
||||
* @property string description
|
||||
* @property string tax
|
||||
*/
|
||||
class Item extends PPModel
|
||||
{
|
||||
@@ -136,7 +138,7 @@ class Item extends PPModel
|
||||
}
|
||||
|
||||
/**
|
||||
* Get SKI
|
||||
* Get SKU
|
||||
* Number or code to identify the item in your catalog/records
|
||||
*
|
||||
* @return string
|
||||
@@ -145,4 +147,52 @@ class Item extends PPModel
|
||||
{
|
||||
return $this->sku;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set Description
|
||||
* Description of the item
|
||||
*
|
||||
* @param string $description
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setDescription($description) {
|
||||
$this->description = $description;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get Description
|
||||
* Description of the item
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function getDescription() {
|
||||
return $this->description;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set Tax
|
||||
* Tax of the item
|
||||
*
|
||||
* @param string $tax
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setTax($tax) {
|
||||
$this->tax = $tax;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get Tax
|
||||
* Tax of the item
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function getTax() {
|
||||
return $this->tax;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user