mirror of
https://github.com/Karaka-Management/Resources.git
synced 2026-01-10 21:08:41 +00:00
162 lines
2.5 KiB
PHP
162 lines
2.5 KiB
PHP
<?php
|
|
|
|
namespace PayPal\Api;
|
|
|
|
use PayPal\Common\PayPalModel;
|
|
|
|
/**
|
|
* Class Links
|
|
*
|
|
*
|
|
*
|
|
* @package PayPal\Api
|
|
*
|
|
* @property string href
|
|
* @property string rel
|
|
* @property \PayPal\Api\HyperSchema targetSchema
|
|
* @property string method
|
|
* @property string enctype
|
|
* @property \PayPal\Api\HyperSchema schema
|
|
*/
|
|
class Links extends PayPalModel
|
|
{
|
|
/**
|
|
* Sets Href
|
|
*
|
|
* @param string $href
|
|
*
|
|
* @return $this
|
|
*/
|
|
public function setHref($href)
|
|
{
|
|
$this->href = $href;
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Gets Href
|
|
*
|
|
* @return string
|
|
*/
|
|
public function getHref()
|
|
{
|
|
return $this->href;
|
|
}
|
|
|
|
/**
|
|
* Sets Rel
|
|
*
|
|
* @param string $rel
|
|
*
|
|
* @return $this
|
|
*/
|
|
public function setRel($rel)
|
|
{
|
|
$this->rel = $rel;
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Gets Rel
|
|
*
|
|
* @return string
|
|
*/
|
|
public function getRel()
|
|
{
|
|
return $this->rel;
|
|
}
|
|
|
|
/**
|
|
* Sets TargetSchema
|
|
*
|
|
* @param \PayPal\Api\HyperSchema $targetSchema
|
|
*
|
|
* @return $this
|
|
*/
|
|
public function setTargetSchema($targetSchema)
|
|
{
|
|
$this->targetSchema = $targetSchema;
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Gets TargetSchema
|
|
*
|
|
* @return \PayPal\Api\HyperSchema
|
|
*/
|
|
public function getTargetSchema()
|
|
{
|
|
return $this->targetSchema;
|
|
}
|
|
|
|
/**
|
|
* Sets Method
|
|
*
|
|
* @param string $method
|
|
*
|
|
* @return $this
|
|
*/
|
|
public function setMethod($method)
|
|
{
|
|
$this->method = $method;
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Gets Method
|
|
*
|
|
* @return string
|
|
*/
|
|
public function getMethod()
|
|
{
|
|
return $this->method;
|
|
}
|
|
|
|
/**
|
|
* Sets Enctype
|
|
*
|
|
* @param string $enctype
|
|
*
|
|
* @return $this
|
|
*/
|
|
public function setEnctype($enctype)
|
|
{
|
|
$this->enctype = $enctype;
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Gets Enctype
|
|
*
|
|
* @return string
|
|
*/
|
|
public function getEnctype()
|
|
{
|
|
return $this->enctype;
|
|
}
|
|
|
|
/**
|
|
* Sets Schema
|
|
*
|
|
* @param \PayPal\Api\HyperSchema $schema
|
|
*
|
|
* @return $this
|
|
*/
|
|
public function setSchema($schema)
|
|
{
|
|
$this->schema = $schema;
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Gets Schema
|
|
*
|
|
* @return \PayPal\Api\HyperSchema
|
|
*/
|
|
public function getSchema()
|
|
{
|
|
return $this->schema;
|
|
}
|
|
|
|
}
|