forked from LiveCarta/PayPal-PHP-SDK
Initial commit
This commit is contained in:
57
lib/PayPal/Api/Link.php
Normal file
57
lib/PayPal/Api/Link.php
Normal file
@@ -0,0 +1,57 @@
|
||||
<?php
|
||||
|
||||
namespace PayPal\Api;
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
class Link extends Resource {
|
||||
|
||||
|
||||
/**
|
||||
* Setter for href
|
||||
* @param string $href
|
||||
*/
|
||||
public function setHref($href) {
|
||||
$this->href = $href;
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for href
|
||||
*/
|
||||
public function getHref() {
|
||||
return $this->href;
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for rel
|
||||
* @param string $rel
|
||||
*/
|
||||
public function setRel($rel) {
|
||||
$this->rel = $rel;
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for rel
|
||||
*/
|
||||
public function getRel() {
|
||||
return $this->rel;
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for method
|
||||
* @param string $method
|
||||
*/
|
||||
public function setMethod($method) {
|
||||
$this->method = $method;
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for method
|
||||
*/
|
||||
public function getMethod() {
|
||||
return $this->method;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user