@@ 17-83 (lines=67) @@ | ||
14 | ||
15 | use Etrias\PaazlConnector\Result\PaazlResultInterface; |
|
16 | ||
17 | class CancelPickupRequestResponse implements PaazlResultInterface |
|
18 | { |
|
19 | /** |
|
20 | * @var errorType |
|
21 | */ |
|
22 | protected $error = null; |
|
23 | ||
24 | /** |
|
25 | * @var string |
|
26 | */ |
|
27 | protected $success = null; |
|
28 | ||
29 | /** |
|
30 | * Constructor. |
|
31 | * |
|
32 | * @var errorType |
|
33 | * @var string $success |
|
34 | * |
|
35 | * @param mixed $error |
|
36 | * @param mixed $success |
|
37 | */ |
|
38 | public function __construct($error, $success) |
|
39 | { |
|
40 | $this->error = $error; |
|
41 | $this->success = $success; |
|
42 | } |
|
43 | ||
44 | /** |
|
45 | * @return errorType |
|
46 | */ |
|
47 | public function getError() |
|
48 | { |
|
49 | return $this->error; |
|
50 | } |
|
51 | ||
52 | /** |
|
53 | * @param errorType $error |
|
54 | * |
|
55 | * @return $this |
|
56 | */ |
|
57 | public function setError($error) |
|
58 | { |
|
59 | $this->error = $error; |
|
60 | ||
61 | return $this; |
|
62 | } |
|
63 | ||
64 | /** |
|
65 | * @return string |
|
66 | */ |
|
67 | public function getSuccess() |
|
68 | { |
|
69 | return $this->success; |
|
70 | } |
|
71 | ||
72 | /** |
|
73 | * @param string $success |
|
74 | * |
|
75 | * @return $this |
|
76 | */ |
|
77 | public function setSuccess($success) |
|
78 | { |
|
79 | $this->success = $success; |
|
80 | ||
81 | return $this; |
|
82 | } |
|
83 | } |
|
84 |
@@ 17-83 (lines=67) @@ | ||
14 | ||
15 | use Etrias\PaazlConnector\Result\PaazlResultInterface; |
|
16 | ||
17 | class CancelShipmentsResponse implements PaazlResultInterface |
|
18 | { |
|
19 | /** |
|
20 | * @var errorType |
|
21 | */ |
|
22 | protected $error = null; |
|
23 | ||
24 | /** |
|
25 | * @var labelResponseType |
|
26 | */ |
|
27 | protected $label = null; |
|
28 | ||
29 | /** |
|
30 | * Constructor. |
|
31 | * |
|
32 | * @var errorType |
|
33 | * @var labelResponseType $label |
|
34 | * |
|
35 | * @param mixed $error |
|
36 | * @param mixed $label |
|
37 | */ |
|
38 | public function __construct($error, $label) |
|
39 | { |
|
40 | $this->error = $error; |
|
41 | $this->label = $label; |
|
42 | } |
|
43 | ||
44 | /** |
|
45 | * @return errorType |
|
46 | */ |
|
47 | public function getError() |
|
48 | { |
|
49 | return $this->error; |
|
50 | } |
|
51 | ||
52 | /** |
|
53 | * @param errorType $error |
|
54 | * |
|
55 | * @return $this |
|
56 | */ |
|
57 | public function setError($error) |
|
58 | { |
|
59 | $this->error = $error; |
|
60 | ||
61 | return $this; |
|
62 | } |
|
63 | ||
64 | /** |
|
65 | * @return labelResponseType |
|
66 | */ |
|
67 | public function getLabel() |
|
68 | { |
|
69 | return $this->label; |
|
70 | } |
|
71 | ||
72 | /** |
|
73 | * @param labelResponseType $label |
|
74 | * |
|
75 | * @return $this |
|
76 | */ |
|
77 | public function setLabel($label) |
|
78 | { |
|
79 | $this->label = $label; |
|
80 | ||
81 | return $this; |
|
82 | } |
|
83 | } |
|
84 |
@@ 17-83 (lines=67) @@ | ||
14 | ||
15 | use Etrias\PaazlConnector\Result\PaazlResultInterface; |
|
16 | ||
17 | class ChangeStoresResponseType implements PaazlResultInterface |
|
18 | { |
|
19 | /** |
|
20 | * @var errorType |
|
21 | */ |
|
22 | protected $error = null; |
|
23 | ||
24 | /** |
|
25 | * @var string |
|
26 | */ |
|
27 | protected $code = null; |
|
28 | ||
29 | /** |
|
30 | * Constructor. |
|
31 | * |
|
32 | * @var errorType |
|
33 | * @var string $code |
|
34 | * |
|
35 | * @param mixed $error |
|
36 | * @param mixed $code |
|
37 | */ |
|
38 | public function __construct($error, $code) |
|
39 | { |
|
40 | $this->error = $error; |
|
41 | $this->code = $code; |
|
42 | } |
|
43 | ||
44 | /** |
|
45 | * @return errorType |
|
46 | */ |
|
47 | public function getError() |
|
48 | { |
|
49 | return $this->error; |
|
50 | } |
|
51 | ||
52 | /** |
|
53 | * @param errorType $error |
|
54 | * |
|
55 | * @return $this |
|
56 | */ |
|
57 | public function setError($error) |
|
58 | { |
|
59 | $this->error = $error; |
|
60 | ||
61 | return $this; |
|
62 | } |
|
63 | ||
64 | /** |
|
65 | * @return string |
|
66 | */ |
|
67 | public function getCode() |
|
68 | { |
|
69 | return $this->code; |
|
70 | } |
|
71 | ||
72 | /** |
|
73 | * @param string $code |
|
74 | * |
|
75 | * @return $this |
|
76 | */ |
|
77 | public function setCode($code) |
|
78 | { |
|
79 | $this->code = $code; |
|
80 | ||
81 | return $this; |
|
82 | } |
|
83 | } |
|
84 |
@@ 17-83 (lines=67) @@ | ||
14 | ||
15 | use Etrias\PaazlConnector\Result\PaazlResultInterface; |
|
16 | ||
17 | class CheckoutResponse implements PaazlResultInterface |
|
18 | { |
|
19 | /** |
|
20 | * @var errorType |
|
21 | */ |
|
22 | protected $error = null; |
|
23 | ||
24 | /** |
|
25 | * @var anyURI |
|
26 | */ |
|
27 | protected $url = null; |
|
28 | ||
29 | /** |
|
30 | * Constructor. |
|
31 | * |
|
32 | * @var errorType |
|
33 | * @var anyURI $url |
|
34 | * |
|
35 | * @param mixed $error |
|
36 | * @param mixed $url |
|
37 | */ |
|
38 | public function __construct($error, $url) |
|
39 | { |
|
40 | $this->error = $error; |
|
41 | $this->url = $url; |
|
42 | } |
|
43 | ||
44 | /** |
|
45 | * @return errorType |
|
46 | */ |
|
47 | public function getError() |
|
48 | { |
|
49 | return $this->error; |
|
50 | } |
|
51 | ||
52 | /** |
|
53 | * @param errorType $error |
|
54 | * |
|
55 | * @return $this |
|
56 | */ |
|
57 | public function setError($error) |
|
58 | { |
|
59 | $this->error = $error; |
|
60 | ||
61 | return $this; |
|
62 | } |
|
63 | ||
64 | /** |
|
65 | * @return anyURI |
|
66 | */ |
|
67 | public function getUrl() |
|
68 | { |
|
69 | return $this->url; |
|
70 | } |
|
71 | ||
72 | /** |
|
73 | * @param anyURI $url |
|
74 | * |
|
75 | * @return $this |
|
76 | */ |
|
77 | public function setUrl($url) |
|
78 | { |
|
79 | $this->url = $url; |
|
80 | ||
81 | return $this; |
|
82 | } |
|
83 | } |
|
84 |
@@ 17-83 (lines=67) @@ | ||
14 | ||
15 | use Etrias\PaazlConnector\Result\PaazlResultInterface; |
|
16 | ||
17 | class CreatePickupRequestResponse implements PaazlResultInterface |
|
18 | { |
|
19 | /** |
|
20 | * @var errorType |
|
21 | */ |
|
22 | protected $error = null; |
|
23 | ||
24 | /** |
|
25 | * @var string |
|
26 | */ |
|
27 | protected $success = null; |
|
28 | ||
29 | /** |
|
30 | * Constructor. |
|
31 | * |
|
32 | * @var errorType |
|
33 | * @var string $success |
|
34 | * |
|
35 | * @param mixed $error |
|
36 | * @param mixed $success |
|
37 | */ |
|
38 | public function __construct($error, $success) |
|
39 | { |
|
40 | $this->error = $error; |
|
41 | $this->success = $success; |
|
42 | } |
|
43 | ||
44 | /** |
|
45 | * @return errorType |
|
46 | */ |
|
47 | public function getError() |
|
48 | { |
|
49 | return $this->error; |
|
50 | } |
|
51 | ||
52 | /** |
|
53 | * @param errorType $error |
|
54 | * |
|
55 | * @return $this |
|
56 | */ |
|
57 | public function setError($error) |
|
58 | { |
|
59 | $this->error = $error; |
|
60 | ||
61 | return $this; |
|
62 | } |
|
63 | ||
64 | /** |
|
65 | * @return string |
|
66 | */ |
|
67 | public function getSuccess() |
|
68 | { |
|
69 | return $this->success; |
|
70 | } |
|
71 | ||
72 | /** |
|
73 | * @param string $success |
|
74 | * |
|
75 | * @return $this |
|
76 | */ |
|
77 | public function setSuccess($success) |
|
78 | { |
|
79 | $this->success = $success; |
|
80 | ||
81 | return $this; |
|
82 | } |
|
83 | } |
|
84 |
@@ 17-83 (lines=67) @@ | ||
14 | ||
15 | use Etrias\PaazlConnector\Result\PaazlResultInterface; |
|
16 | ||
17 | class DeleteOrderResponse implements PaazlResultInterface |
|
18 | { |
|
19 | /** |
|
20 | * @var errorType |
|
21 | */ |
|
22 | protected $error = null; |
|
23 | ||
24 | /** |
|
25 | * @var string |
|
26 | */ |
|
27 | protected $success = null; |
|
28 | ||
29 | /** |
|
30 | * Constructor. |
|
31 | * |
|
32 | * @var errorType |
|
33 | * @var string $success |
|
34 | * |
|
35 | * @param mixed $error |
|
36 | * @param mixed $success |
|
37 | */ |
|
38 | public function __construct($error, $success) |
|
39 | { |
|
40 | $this->error = $error; |
|
41 | $this->success = $success; |
|
42 | } |
|
43 | ||
44 | /** |
|
45 | * @return errorType |
|
46 | */ |
|
47 | public function getError() |
|
48 | { |
|
49 | return $this->error; |
|
50 | } |
|
51 | ||
52 | /** |
|
53 | * @param errorType $error |
|
54 | * |
|
55 | * @return $this |
|
56 | */ |
|
57 | public function setError($error) |
|
58 | { |
|
59 | $this->error = $error; |
|
60 | ||
61 | return $this; |
|
62 | } |
|
63 | ||
64 | /** |
|
65 | * @return string |
|
66 | */ |
|
67 | public function getSuccess() |
|
68 | { |
|
69 | return $this->success; |
|
70 | } |
|
71 | ||
72 | /** |
|
73 | * @param string $success |
|
74 | * |
|
75 | * @return $this |
|
76 | */ |
|
77 | public function setSuccess($success) |
|
78 | { |
|
79 | $this->success = $success; |
|
80 | ||
81 | return $this; |
|
82 | } |
|
83 | } |
|
84 |
@@ 17-83 (lines=67) @@ | ||
14 | ||
15 | use Etrias\PaazlConnector\Result\PaazlResultInterface; |
|
16 | ||
17 | class DeleteStoresResponse implements PaazlResultInterface |
|
18 | { |
|
19 | /** |
|
20 | * @var errorType |
|
21 | */ |
|
22 | protected $error = null; |
|
23 | ||
24 | /** |
|
25 | * @var string |
|
26 | */ |
|
27 | protected $code = null; |
|
28 | ||
29 | /** |
|
30 | * Constructor. |
|
31 | * |
|
32 | * @var errorType |
|
33 | * @var string $code |
|
34 | * |
|
35 | * @param mixed $error |
|
36 | * @param mixed $code |
|
37 | */ |
|
38 | public function __construct($error, $code) |
|
39 | { |
|
40 | $this->error = $error; |
|
41 | $this->code = $code; |
|
42 | } |
|
43 | ||
44 | /** |
|
45 | * @return errorType |
|
46 | */ |
|
47 | public function getError() |
|
48 | { |
|
49 | return $this->error; |
|
50 | } |
|
51 | ||
52 | /** |
|
53 | * @param errorType $error |
|
54 | * |
|
55 | * @return $this |
|
56 | */ |
|
57 | public function setError($error) |
|
58 | { |
|
59 | $this->error = $error; |
|
60 | ||
61 | return $this; |
|
62 | } |
|
63 | ||
64 | /** |
|
65 | * @return string |
|
66 | */ |
|
67 | public function getCode() |
|
68 | { |
|
69 | return $this->code; |
|
70 | } |
|
71 | ||
72 | /** |
|
73 | * @param string $code |
|
74 | * |
|
75 | * @return $this |
|
76 | */ |
|
77 | public function setCode($code) |
|
78 | { |
|
79 | $this->code = $code; |
|
80 | ||
81 | return $this; |
|
82 | } |
|
83 | } |
|
84 |
@@ 17-83 (lines=67) @@ | ||
14 | ||
15 | use Etrias\PaazlConnector\Result\PaazlResultInterface; |
|
16 | ||
17 | class GenerateAdditionalImageDocumentResponse implements PaazlResultInterface |
|
18 | { |
|
19 | /** |
|
20 | * @var errorType |
|
21 | */ |
|
22 | protected $error = null; |
|
23 | ||
24 | /** |
|
25 | * @var additionalDocumentContainerType |
|
26 | */ |
|
27 | protected $document = null; |
|
28 | ||
29 | /** |
|
30 | * Constructor. |
|
31 | * |
|
32 | * @var errorType |
|
33 | * @var additionalDocumentContainerType $document |
|
34 | * |
|
35 | * @param mixed $error |
|
36 | * @param mixed $document |
|
37 | */ |
|
38 | public function __construct($error, $document) |
|
39 | { |
|
40 | $this->error = $error; |
|
41 | $this->document = $document; |
|
42 | } |
|
43 | ||
44 | /** |
|
45 | * @return errorType |
|
46 | */ |
|
47 | public function getError() |
|
48 | { |
|
49 | return $this->error; |
|
50 | } |
|
51 | ||
52 | /** |
|
53 | * @param errorType $error |
|
54 | * |
|
55 | * @return $this |
|
56 | */ |
|
57 | public function setError($error) |
|
58 | { |
|
59 | $this->error = $error; |
|
60 | ||
61 | return $this; |
|
62 | } |
|
63 | ||
64 | /** |
|
65 | * @return additionalDocumentContainerType |
|
66 | */ |
|
67 | public function getDocument() |
|
68 | { |
|
69 | return $this->document; |
|
70 | } |
|
71 | ||
72 | /** |
|
73 | * @param additionalDocumentContainerType $document |
|
74 | * |
|
75 | * @return $this |
|
76 | */ |
|
77 | public function setDocument($document) |
|
78 | { |
|
79 | $this->document = $document; |
|
80 | ||
81 | return $this; |
|
82 | } |
|
83 | } |
|
84 |
@@ 17-83 (lines=67) @@ | ||
14 | ||
15 | use Etrias\PaazlConnector\Result\PaazlResultInterface; |
|
16 | ||
17 | class GenerateAdditionalPdfDocumentResponse implements PaazlResultInterface |
|
18 | { |
|
19 | /** |
|
20 | * @var errorType |
|
21 | */ |
|
22 | protected $error = null; |
|
23 | ||
24 | /** |
|
25 | * @var additionalDocumentContainerType |
|
26 | */ |
|
27 | protected $document = null; |
|
28 | ||
29 | /** |
|
30 | * Constructor. |
|
31 | * |
|
32 | * @var errorType |
|
33 | * @var additionalDocumentContainerType $document |
|
34 | * |
|
35 | * @param mixed $error |
|
36 | * @param mixed $document |
|
37 | */ |
|
38 | public function __construct($error, $document) |
|
39 | { |
|
40 | $this->error = $error; |
|
41 | $this->document = $document; |
|
42 | } |
|
43 | ||
44 | /** |
|
45 | * @return errorType |
|
46 | */ |
|
47 | public function getError() |
|
48 | { |
|
49 | return $this->error; |
|
50 | } |
|
51 | ||
52 | /** |
|
53 | * @param errorType $error |
|
54 | * |
|
55 | * @return $this |
|
56 | */ |
|
57 | public function setError($error) |
|
58 | { |
|
59 | $this->error = $error; |
|
60 | ||
61 | return $this; |
|
62 | } |
|
63 | ||
64 | /** |
|
65 | * @return additionalDocumentContainerType |
|
66 | */ |
|
67 | public function getDocument() |
|
68 | { |
|
69 | return $this->document; |
|
70 | } |
|
71 | ||
72 | /** |
|
73 | * @param additionalDocumentContainerType $document |
|
74 | * |
|
75 | * @return $this |
|
76 | */ |
|
77 | public function setDocument($document) |
|
78 | { |
|
79 | $this->document = $document; |
|
80 | ||
81 | return $this; |
|
82 | } |
|
83 | } |
|
84 |
@@ 17-83 (lines=67) @@ | ||
14 | ||
15 | use Etrias\PaazlConnector\Result\PaazlResultInterface; |
|
16 | ||
17 | class GenerateExtraImageReturnLabelResponse implements PaazlResultInterface |
|
18 | { |
|
19 | /** |
|
20 | * @var errorType |
|
21 | */ |
|
22 | protected $error = null; |
|
23 | ||
24 | /** |
|
25 | * @var returnLabelType |
|
26 | */ |
|
27 | protected $label = null; |
|
28 | ||
29 | /** |
|
30 | * Constructor. |
|
31 | * |
|
32 | * @var errorType |
|
33 | * @var returnLabelType $label |
|
34 | * |
|
35 | * @param mixed $error |
|
36 | * @param mixed $label |
|
37 | */ |
|
38 | public function __construct($error, $label) |
|
39 | { |
|
40 | $this->error = $error; |
|
41 | $this->label = $label; |
|
42 | } |
|
43 | ||
44 | /** |
|
45 | * @return errorType |
|
46 | */ |
|
47 | public function getError() |
|
48 | { |
|
49 | return $this->error; |
|
50 | } |
|
51 | ||
52 | /** |
|
53 | * @param errorType $error |
|
54 | * |
|
55 | * @return $this |
|
56 | */ |
|
57 | public function setError($error) |
|
58 | { |
|
59 | $this->error = $error; |
|
60 | ||
61 | return $this; |
|
62 | } |
|
63 | ||
64 | /** |
|
65 | * @return returnLabelType |
|
66 | */ |
|
67 | public function getLabel() |
|
68 | { |
|
69 | return $this->label; |
|
70 | } |
|
71 | ||
72 | /** |
|
73 | * @param returnLabelType $label |
|
74 | * |
|
75 | * @return $this |
|
76 | */ |
|
77 | public function setLabel($label) |
|
78 | { |
|
79 | $this->label = $label; |
|
80 | ||
81 | return $this; |
|
82 | } |
|
83 | } |
|
84 |
@@ 17-83 (lines=67) @@ | ||
14 | ||
15 | use Etrias\PaazlConnector\Result\PaazlResultInterface; |
|
16 | ||
17 | class GenerateExtraPdfReturnLabelResponse implements PaazlResultInterface |
|
18 | { |
|
19 | /** |
|
20 | * @var errorType |
|
21 | */ |
|
22 | protected $error = null; |
|
23 | ||
24 | /** |
|
25 | * @var base64Binary |
|
26 | */ |
|
27 | protected $label = null; |
|
28 | ||
29 | /** |
|
30 | * Constructor. |
|
31 | * |
|
32 | * @var errorType |
|
33 | * @var base64Binary $label |
|
34 | * |
|
35 | * @param mixed $error |
|
36 | * @param mixed $label |
|
37 | */ |
|
38 | public function __construct($error, $label) |
|
39 | { |
|
40 | $this->error = $error; |
|
41 | $this->label = $label; |
|
42 | } |
|
43 | ||
44 | /** |
|
45 | * @return errorType |
|
46 | */ |
|
47 | public function getError() |
|
48 | { |
|
49 | return $this->error; |
|
50 | } |
|
51 | ||
52 | /** |
|
53 | * @param errorType $error |
|
54 | * |
|
55 | * @return $this |
|
56 | */ |
|
57 | public function setError($error) |
|
58 | { |
|
59 | $this->error = $error; |
|
60 | ||
61 | return $this; |
|
62 | } |
|
63 | ||
64 | /** |
|
65 | * @return base64Binary |
|
66 | */ |
|
67 | public function getLabel() |
|
68 | { |
|
69 | return $this->label; |
|
70 | } |
|
71 | ||
72 | /** |
|
73 | * @param base64Binary $label |
|
74 | * |
|
75 | * @return $this |
|
76 | */ |
|
77 | public function setLabel($label) |
|
78 | { |
|
79 | $this->label = $label; |
|
80 | ||
81 | return $this; |
|
82 | } |
|
83 | } |
|
84 |
@@ 17-83 (lines=67) @@ | ||
14 | ||
15 | use Etrias\PaazlConnector\Result\PaazlResultInterface; |
|
16 | ||
17 | class GenerateImageReturnLabelsResponse implements PaazlResultInterface |
|
18 | { |
|
19 | /** |
|
20 | * @var errorType |
|
21 | */ |
|
22 | protected $error = null; |
|
23 | ||
24 | /** |
|
25 | * @var returnLabelType |
|
26 | */ |
|
27 | protected $label = null; |
|
28 | ||
29 | /** |
|
30 | * Constructor. |
|
31 | * |
|
32 | * @var errorType |
|
33 | * @var returnLabelType $label |
|
34 | * |
|
35 | * @param mixed $error |
|
36 | * @param mixed $label |
|
37 | */ |
|
38 | public function __construct($error, $label) |
|
39 | { |
|
40 | $this->error = $error; |
|
41 | $this->label = $label; |
|
42 | } |
|
43 | ||
44 | /** |
|
45 | * @return errorType |
|
46 | */ |
|
47 | public function getError() |
|
48 | { |
|
49 | return $this->error; |
|
50 | } |
|
51 | ||
52 | /** |
|
53 | * @param errorType $error |
|
54 | * |
|
55 | * @return $this |
|
56 | */ |
|
57 | public function setError($error) |
|
58 | { |
|
59 | $this->error = $error; |
|
60 | ||
61 | return $this; |
|
62 | } |
|
63 | ||
64 | /** |
|
65 | * @return returnLabelType |
|
66 | */ |
|
67 | public function getLabel() |
|
68 | { |
|
69 | return $this->label; |
|
70 | } |
|
71 | ||
72 | /** |
|
73 | * @param returnLabelType $label |
|
74 | * |
|
75 | * @return $this |
|
76 | */ |
|
77 | public function setLabel($label) |
|
78 | { |
|
79 | $this->label = $label; |
|
80 | ||
81 | return $this; |
|
82 | } |
|
83 | } |
|
84 |
@@ 17-83 (lines=67) @@ | ||
14 | ||
15 | use Etrias\PaazlConnector\Result\PaazlResultInterface; |
|
16 | ||
17 | class GeneratePdfReturnLabelsResponse implements PaazlResultInterface |
|
18 | { |
|
19 | /** |
|
20 | * @var errorType |
|
21 | */ |
|
22 | protected $error = null; |
|
23 | ||
24 | /** |
|
25 | * @var base64Binary |
|
26 | */ |
|
27 | protected $label = null; |
|
28 | ||
29 | /** |
|
30 | * Constructor. |
|
31 | * |
|
32 | * @var errorType |
|
33 | * @var base64Binary $label |
|
34 | * |
|
35 | * @param mixed $error |
|
36 | * @param mixed $label |
|
37 | */ |
|
38 | public function __construct($error, $label) |
|
39 | { |
|
40 | $this->error = $error; |
|
41 | $this->label = $label; |
|
42 | } |
|
43 | ||
44 | /** |
|
45 | * @return errorType |
|
46 | */ |
|
47 | public function getError() |
|
48 | { |
|
49 | return $this->error; |
|
50 | } |
|
51 | ||
52 | /** |
|
53 | * @param errorType $error |
|
54 | * |
|
55 | * @return $this |
|
56 | */ |
|
57 | public function setError($error) |
|
58 | { |
|
59 | $this->error = $error; |
|
60 | ||
61 | return $this; |
|
62 | } |
|
63 | ||
64 | /** |
|
65 | * @return base64Binary |
|
66 | */ |
|
67 | public function getLabel() |
|
68 | { |
|
69 | return $this->label; |
|
70 | } |
|
71 | ||
72 | /** |
|
73 | * @param base64Binary $label |
|
74 | * |
|
75 | * @return $this |
|
76 | */ |
|
77 | public function setLabel($label) |
|
78 | { |
|
79 | $this->label = $label; |
|
80 | ||
81 | return $this; |
|
82 | } |
|
83 | } |
|
84 |
@@ 17-83 (lines=67) @@ | ||
14 | ||
15 | use Etrias\PaazlConnector\Result\PaazlResultInterface; |
|
16 | ||
17 | class OrdersToShipResponse implements PaazlResultInterface |
|
18 | { |
|
19 | /** |
|
20 | * @var errorType |
|
21 | */ |
|
22 | protected $error = null; |
|
23 | ||
24 | /** |
|
25 | * @var orderToShipType |
|
26 | */ |
|
27 | protected $order = null; |
|
28 | ||
29 | /** |
|
30 | * Constructor. |
|
31 | * |
|
32 | * @var errorType |
|
33 | * @var orderToShipType $order |
|
34 | * |
|
35 | * @param mixed $error |
|
36 | * @param mixed $order |
|
37 | */ |
|
38 | public function __construct($error, $order) |
|
39 | { |
|
40 | $this->error = $error; |
|
41 | $this->order = $order; |
|
42 | } |
|
43 | ||
44 | /** |
|
45 | * @return errorType |
|
46 | */ |
|
47 | public function getError() |
|
48 | { |
|
49 | return $this->error; |
|
50 | } |
|
51 | ||
52 | /** |
|
53 | * @param errorType $error |
|
54 | * |
|
55 | * @return $this |
|
56 | */ |
|
57 | public function setError($error) |
|
58 | { |
|
59 | $this->error = $error; |
|
60 | ||
61 | return $this; |
|
62 | } |
|
63 | ||
64 | /** |
|
65 | * @return orderToShipType |
|
66 | */ |
|
67 | public function getOrder() |
|
68 | { |
|
69 | return $this->order; |
|
70 | } |
|
71 | ||
72 | /** |
|
73 | * @param orderToShipType $order |
|
74 | * |
|
75 | * @return $this |
|
76 | */ |
|
77 | public function setOrder($order) |
|
78 | { |
|
79 | $this->order = $order; |
|
80 | ||
81 | return $this; |
|
82 | } |
|
83 | } |
|
84 |
@@ 17-83 (lines=67) @@ | ||
14 | ||
15 | use Etrias\PaazlConnector\Result\PaazlResultInterface; |
|
16 | ||
17 | class RateResponse implements PaazlResultInterface |
|
18 | { |
|
19 | /** |
|
20 | * @var errorType |
|
21 | */ |
|
22 | protected $error = null; |
|
23 | ||
24 | /** |
|
25 | * @var rate |
|
26 | */ |
|
27 | protected $rate = null; |
|
28 | ||
29 | /** |
|
30 | * Constructor. |
|
31 | * |
|
32 | * @var errorType |
|
33 | * @var rate $rate |
|
34 | * |
|
35 | * @param mixed $error |
|
36 | * @param mixed $rate |
|
37 | */ |
|
38 | public function __construct($error, $rate) |
|
39 | { |
|
40 | $this->error = $error; |
|
41 | $this->rate = $rate; |
|
42 | } |
|
43 | ||
44 | /** |
|
45 | * @return errorType |
|
46 | */ |
|
47 | public function getError() |
|
48 | { |
|
49 | return $this->error; |
|
50 | } |
|
51 | ||
52 | /** |
|
53 | * @param errorType $error |
|
54 | * |
|
55 | * @return $this |
|
56 | */ |
|
57 | public function setError($error) |
|
58 | { |
|
59 | $this->error = $error; |
|
60 | ||
61 | return $this; |
|
62 | } |
|
63 | ||
64 | /** |
|
65 | * @return rate |
|
66 | */ |
|
67 | public function getRate() |
|
68 | { |
|
69 | return $this->rate; |
|
70 | } |
|
71 | ||
72 | /** |
|
73 | * @param rate $rate |
|
74 | * |
|
75 | * @return $this |
|
76 | */ |
|
77 | public function setRate($rate) |
|
78 | { |
|
79 | $this->rate = $rate; |
|
80 | ||
81 | return $this; |
|
82 | } |
|
83 | } |
|
84 |