1 <?php
2 namespace PayPal\Api;
3
4 use PayPal\Common\PayPalModel;
5
6 /**
7 * Class OpenIdError
8 *
9 * Error resource
10 *
11 * @property string error
12 * @property string error_description
13 * @property string error_uri
14 */
15 class OpenIdError extends PayPalModel
16 {
17
18 /**
19 * A single ASCII error code from the following enum.
20 *
21 * @param string $error
22 * @return self
23 */
24 public function setError($error)
25 {
26 $this->error = $error;
27 return $this;
28 }
29
30 /**
31 * A single ASCII error code from the following enum.
32 *
33 * @return string
34 */
35 public function getError()
36 {
37 return $this->error;
38 }
39
40 /**
41 * A resource ID that indicates the starting resource in the returned results.
42 *
43 * @param string $error_description
44 * @return self
45 */
46 public function setErrorDescription($error_description)
47 {
48 $this->error_description = $error_description;
49 return $this;
50 }
51
52 /**
53 * A resource ID that indicates the starting resource in the returned results.
54 *
55 * @return string
56 */
57 public function getErrorDescription()
58 {
59 return $this->error_description;
60 }
61
62 /**
63 * A URI identifying a human-readable web page with information about the error, used to provide the client developer with additional information about the error.
64 *
65 * @param string $error_uri
66 * @return self
67 */
68 public function setErrorUri($error_uri)
69 {
70 $this->error_uri = $error_uri;
71 return $this;
72 }
73
74 /**
75 * A URI identifying a human-readable web page with information about the error, used to provide the client developer with additional information about the error.
76 *
77 * @return string
78 */
79 public function getErrorUri()
80 {
81 return $this->error_uri;
82 }
83
84
85 }
86