1 <?php
2
3 namespace PayPal\Api;
4
5 use PayPal\Common\PayPalModel;
6
7 /**
8 * Class Links
9 *
10 *
11 *
12 * @package PayPal\Api
13 *
14 * @property string href
15 * @property string rel
16 * @property \PayPal\Api\HyperSchema targetSchema
17 * @property string method
18 * @property string enctype
19 * @property \PayPal\Api\HyperSchema schema
20 */
21 class Links extends PayPalModel
22 {
23 /**
24 * Sets Href
25 *
26 * @param string $href
27 *
28 * @return $this
29 */
30 public function setHref($href)
31 {
32 $this->href = $href;
33 return $this;
34 }
35
36 /**
37 * Gets Href
38 *
39 * @return string
40 */
41 public function getHref()
42 {
43 return $this->href;
44 }
45
46 /**
47 * Sets Rel
48 *
49 * @param string $rel
50 *
51 * @return $this
52 */
53 public function setRel($rel)
54 {
55 $this->rel = $rel;
56 return $this;
57 }
58
59 /**
60 * Gets Rel
61 *
62 * @return string
63 */
64 public function getRel()
65 {
66 return $this->rel;
67 }
68
69 /**
70 * Sets TargetSchema
71 *
72 * @param \PayPal\Api\HyperSchema $targetSchema
73 *
74 * @return $this
75 */
76 public function setTargetSchema($targetSchema)
77 {
78 $this->targetSchema = $targetSchema;
79 return $this;
80 }
81
82 /**
83 * Gets TargetSchema
84 *
85 * @return \PayPal\Api\HyperSchema
86 */
87 public function getTargetSchema()
88 {
89 return $this->targetSchema;
90 }
91
92 /**
93 * Sets Method
94 *
95 * @param string $method
96 *
97 * @return $this
98 */
99 public function setMethod($method)
100 {
101 $this->method = $method;
102 return $this;
103 }
104
105 /**
106 * Gets Method
107 *
108 * @return string
109 */
110 public function getMethod()
111 {
112 return $this->method;
113 }
114
115 /**
116 * Sets Enctype
117 *
118 * @param string $enctype
119 *
120 * @return $this
121 */
122 public function setEnctype($enctype)
123 {
124 $this->enctype = $enctype;
125 return $this;
126 }
127
128 /**
129 * Gets Enctype
130 *
131 * @return string
132 */
133 public function getEnctype()
134 {
135 return $this->enctype;
136 }
137
138 /**
139 * Sets Schema
140 *
141 * @param \PayPal\Api\HyperSchema $schema
142 *
143 * @return $this
144 */
145 public function setSchema($schema)
146 {
147 $this->schema = $schema;
148 return $this;
149 }
150
151 /**
152 * Gets Schema
153 *
154 * @return \PayPal\Api\HyperSchema
155 */
156 public function getSchema()
157 {
158 return $this->schema;
159 }
160
161 }
162