forked from LiveCarta/PayPal-PHP-SDK
Removing Dependency from SDK Core Project
- Copied files required for Rest API SDK - Removed PPApiContext and directly connected APIContext with PPConfigManager - Removed duplicate data storage of configuration and credentials. - Code Style Fixes - Remove build.xml file as it is not required anymore - Updated the samples - Updated the documentations
This commit is contained in:
@@ -156,7 +156,8 @@ class Item extends PPModel
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setDescription($description) {
|
||||
public function setDescription($description)
|
||||
{
|
||||
$this->description = $description;
|
||||
|
||||
return $this;
|
||||
@@ -168,7 +169,8 @@ class Item extends PPModel
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function getDescription() {
|
||||
public function getDescription()
|
||||
{
|
||||
return $this->description;
|
||||
}
|
||||
|
||||
@@ -180,7 +182,8 @@ class Item extends PPModel
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setTax($tax) {
|
||||
public function setTax($tax)
|
||||
{
|
||||
$this->tax = $tax;
|
||||
|
||||
return $this;
|
||||
@@ -192,7 +195,8 @@ class Item extends PPModel
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function getTax() {
|
||||
public function getTax()
|
||||
{
|
||||
return $this->tax;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user