forked from LiveCarta/PayPal-PHP-SDK
Enabled EC Parameters support
- Updated Api to enabled EC Parameters - Updated Tests - Updated Logging Manager - Added a feature to do validation on accessors.
This commit is contained in:
@@ -8,31 +8,35 @@ use PayPal\Rest\ApiContext;
|
||||
/**
|
||||
* Class Links
|
||||
*
|
||||
* @property string href
|
||||
* @property string rel
|
||||
*
|
||||
*
|
||||
* @package PayPal\Api
|
||||
*
|
||||
* @property string href
|
||||
* @property string rel
|
||||
* @property \PayPal\Api\HyperSchema targetSchema
|
||||
* @property string method
|
||||
* @property string enctype
|
||||
* @property string method
|
||||
* @property string enctype
|
||||
* @property \PayPal\Api\HyperSchema schema
|
||||
*/
|
||||
class Links extends PPModel
|
||||
{
|
||||
/**
|
||||
* Set Href
|
||||
* Sets Href
|
||||
*
|
||||
*
|
||||
* @param string $href
|
||||
*
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setHref($href)
|
||||
{
|
||||
$this->href = $href;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get Href
|
||||
* Gets Href
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
@@ -42,21 +46,21 @@ class Links extends PPModel
|
||||
}
|
||||
|
||||
/**
|
||||
* Set Rel
|
||||
* Sets Rel
|
||||
*
|
||||
*
|
||||
* @param string $rel
|
||||
*
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setRel($rel)
|
||||
{
|
||||
$this->rel = $rel;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get Rel
|
||||
* Gets Rel
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
@@ -66,21 +70,21 @@ class Links extends PPModel
|
||||
}
|
||||
|
||||
/**
|
||||
* Set Target Schema
|
||||
* Sets TargetSchema
|
||||
*
|
||||
*
|
||||
* @param \PayPal\Api\HyperSchema $targetSchema
|
||||
*
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setTargetSchema($targetSchema)
|
||||
{
|
||||
$this->targetSchema = $targetSchema;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get Target Schema
|
||||
* Gets TargetSchema
|
||||
*
|
||||
* @return \PayPal\Api\HyperSchema
|
||||
*/
|
||||
@@ -90,21 +94,21 @@ class Links extends PPModel
|
||||
}
|
||||
|
||||
/**
|
||||
* Set Method
|
||||
* Sets Method
|
||||
*
|
||||
*
|
||||
* @param string $method
|
||||
*
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setMethod($method)
|
||||
{
|
||||
$this->method = $method;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get Method
|
||||
* Gets Method
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
@@ -114,21 +118,21 @@ class Links extends PPModel
|
||||
}
|
||||
|
||||
/**
|
||||
* Set Enctype
|
||||
* Sets Enctype
|
||||
*
|
||||
*
|
||||
* @param string $enctype
|
||||
*
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setEnctype($enctype)
|
||||
{
|
||||
$this->enctype = $enctype;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get Enctype
|
||||
* Gets Enctype
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
@@ -138,21 +142,21 @@ class Links extends PPModel
|
||||
}
|
||||
|
||||
/**
|
||||
* Set Schema
|
||||
* Sets Schema
|
||||
*
|
||||
*
|
||||
* @param \PayPal\Api\HyperSchema $schema
|
||||
*
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setSchema($schema)
|
||||
{
|
||||
$this->schema = $schema;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get Schema
|
||||
* Gets Schema
|
||||
*
|
||||
* @return \PayPal\Api\HyperSchema
|
||||
*/
|
||||
@@ -160,4 +164,5 @@ class Links extends PPModel
|
||||
{
|
||||
return $this->schema;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user