@@ 17-195 (lines=179) @@ | ||
14 | ||
15 | use Phpro\SoapClient\Type\RequestInterface; |
|
16 | ||
17 | class GenerateAdditionalDocumentType implements RequestInterface |
|
18 | { |
|
19 | /** |
|
20 | * @var string |
|
21 | */ |
|
22 | protected $hash = null; |
|
23 | ||
24 | /** |
|
25 | * @var int |
|
26 | */ |
|
27 | protected $webshop = null; |
|
28 | ||
29 | /** |
|
30 | * @var int |
|
31 | */ |
|
32 | protected $targetWebshop = null; |
|
33 | ||
34 | /** |
|
35 | * @var string |
|
36 | */ |
|
37 | protected $orderReference = null; |
|
38 | ||
39 | /** |
|
40 | * @var string |
|
41 | */ |
|
42 | protected $barcode = null; |
|
43 | ||
44 | /** |
|
45 | * @var additionalDocumentType |
|
46 | */ |
|
47 | protected $documentType = null; |
|
48 | ||
49 | /** |
|
50 | * Constructor. |
|
51 | * |
|
52 | * @var string |
|
53 | * @var int $webshop |
|
54 | * @var int $targetWebshop |
|
55 | * @var string $orderReference |
|
56 | * @var string $barcode |
|
57 | * @var additionalDocumentType $documentType |
|
58 | * |
|
59 | * @param mixed $hash |
|
60 | * @param mixed $webshop |
|
61 | * @param mixed $targetWebshop |
|
62 | * @param mixed $orderReference |
|
63 | * @param mixed $barcode |
|
64 | * @param mixed $documentType |
|
65 | */ |
|
66 | public function __construct($hash, $webshop, $targetWebshop, $orderReference, $barcode, $documentType) |
|
67 | { |
|
68 | $this->hash = $hash; |
|
69 | $this->webshop = $webshop; |
|
70 | $this->targetWebshop = $targetWebshop; |
|
71 | $this->orderReference = $orderReference; |
|
72 | $this->barcode = $barcode; |
|
73 | $this->documentType = $documentType; |
|
74 | } |
|
75 | ||
76 | /** |
|
77 | * @return string |
|
78 | */ |
|
79 | public function getHash() |
|
80 | { |
|
81 | return $this->hash; |
|
82 | } |
|
83 | ||
84 | /** |
|
85 | * @param string $hash |
|
86 | * |
|
87 | * @return $this |
|
88 | */ |
|
89 | public function setHash($hash) |
|
90 | { |
|
91 | $this->hash = $hash; |
|
92 | ||
93 | return $this; |
|
94 | } |
|
95 | ||
96 | /** |
|
97 | * @return int |
|
98 | */ |
|
99 | public function getWebshop() |
|
100 | { |
|
101 | return $this->webshop; |
|
102 | } |
|
103 | ||
104 | /** |
|
105 | * @param int $webshop |
|
106 | * |
|
107 | * @return $this |
|
108 | */ |
|
109 | public function setWebshop($webshop) |
|
110 | { |
|
111 | $this->webshop = $webshop; |
|
112 | ||
113 | return $this; |
|
114 | } |
|
115 | ||
116 | /** |
|
117 | * @return int |
|
118 | */ |
|
119 | public function getTargetWebshop() |
|
120 | { |
|
121 | return $this->targetWebshop; |
|
122 | } |
|
123 | ||
124 | /** |
|
125 | * @param int $targetWebshop |
|
126 | * |
|
127 | * @return $this |
|
128 | */ |
|
129 | public function setTargetWebshop($targetWebshop) |
|
130 | { |
|
131 | $this->targetWebshop = $targetWebshop; |
|
132 | ||
133 | return $this; |
|
134 | } |
|
135 | ||
136 | /** |
|
137 | * @return string |
|
138 | */ |
|
139 | public function getOrderReference() |
|
140 | { |
|
141 | return $this->orderReference; |
|
142 | } |
|
143 | ||
144 | /** |
|
145 | * @param string $orderReference |
|
146 | * |
|
147 | * @return $this |
|
148 | */ |
|
149 | public function setOrderReference($orderReference) |
|
150 | { |
|
151 | $this->orderReference = $orderReference; |
|
152 | ||
153 | return $this; |
|
154 | } |
|
155 | ||
156 | /** |
|
157 | * @return string |
|
158 | */ |
|
159 | public function getBarcode() |
|
160 | { |
|
161 | return $this->barcode; |
|
162 | } |
|
163 | ||
164 | /** |
|
165 | * @param string $barcode |
|
166 | * |
|
167 | * @return $this |
|
168 | */ |
|
169 | public function setBarcode($barcode) |
|
170 | { |
|
171 | $this->barcode = $barcode; |
|
172 | ||
173 | return $this; |
|
174 | } |
|
175 | ||
176 | /** |
|
177 | * @return additionalDocumentType |
|
178 | */ |
|
179 | public function getDocumentType() |
|
180 | { |
|
181 | return $this->documentType; |
|
182 | } |
|
183 | ||
184 | /** |
|
185 | * @param additionalDocumentType $documentType |
|
186 | * |
|
187 | * @return $this |
|
188 | */ |
|
189 | public function setDocumentType($documentType) |
|
190 | { |
|
191 | $this->documentType = $documentType; |
|
192 | ||
193 | return $this; |
|
194 | } |
|
195 | } |
|
196 |
@@ 17-195 (lines=179) @@ | ||
14 | ||
15 | use Phpro\SoapClient\Type\RequestInterface; |
|
16 | ||
17 | class ListOrdersRequest implements RequestInterface |
|
18 | { |
|
19 | /** |
|
20 | * @var string |
|
21 | */ |
|
22 | protected $hash = null; |
|
23 | ||
24 | /** |
|
25 | * @var int |
|
26 | */ |
|
27 | protected $webshop = null; |
|
28 | ||
29 | /** |
|
30 | * @var int |
|
31 | */ |
|
32 | protected $targetWebshop = null; |
|
33 | ||
34 | /** |
|
35 | * @var \DateTime |
|
36 | */ |
|
37 | protected $changedSince = null; |
|
38 | ||
39 | /** |
|
40 | * @var nonNegativeInteger |
|
41 | */ |
|
42 | protected $page = null; |
|
43 | ||
44 | /** |
|
45 | * @var bool |
|
46 | */ |
|
47 | protected $carrierStatus = null; |
|
48 | ||
49 | /** |
|
50 | * Constructor. |
|
51 | * |
|
52 | * @var string |
|
53 | * @var int $webshop |
|
54 | * @var int $targetWebshop |
|
55 | * @var \DateTime $changedSince |
|
56 | * @var nonNegativeInteger $page |
|
57 | * @var bool $carrierStatus |
|
58 | * |
|
59 | * @param mixed $hash |
|
60 | * @param mixed $webshop |
|
61 | * @param mixed $targetWebshop |
|
62 | * @param mixed $changedSince |
|
63 | * @param mixed $page |
|
64 | * @param mixed $carrierStatus |
|
65 | */ |
|
66 | public function __construct($hash, $webshop, $targetWebshop, $changedSince, $page, $carrierStatus) |
|
67 | { |
|
68 | $this->hash = $hash; |
|
69 | $this->webshop = $webshop; |
|
70 | $this->targetWebshop = $targetWebshop; |
|
71 | $this->changedSince = $changedSince; |
|
72 | $this->page = $page; |
|
73 | $this->carrierStatus = $carrierStatus; |
|
74 | } |
|
75 | ||
76 | /** |
|
77 | * @return string |
|
78 | */ |
|
79 | public function getHash() |
|
80 | { |
|
81 | return $this->hash; |
|
82 | } |
|
83 | ||
84 | /** |
|
85 | * @param string $hash |
|
86 | * |
|
87 | * @return $this |
|
88 | */ |
|
89 | public function setHash($hash) |
|
90 | { |
|
91 | $this->hash = $hash; |
|
92 | ||
93 | return $this; |
|
94 | } |
|
95 | ||
96 | /** |
|
97 | * @return int |
|
98 | */ |
|
99 | public function getWebshop() |
|
100 | { |
|
101 | return $this->webshop; |
|
102 | } |
|
103 | ||
104 | /** |
|
105 | * @param int $webshop |
|
106 | * |
|
107 | * @return $this |
|
108 | */ |
|
109 | public function setWebshop($webshop) |
|
110 | { |
|
111 | $this->webshop = $webshop; |
|
112 | ||
113 | return $this; |
|
114 | } |
|
115 | ||
116 | /** |
|
117 | * @return int |
|
118 | */ |
|
119 | public function getTargetWebshop() |
|
120 | { |
|
121 | return $this->targetWebshop; |
|
122 | } |
|
123 | ||
124 | /** |
|
125 | * @param int $targetWebshop |
|
126 | * |
|
127 | * @return $this |
|
128 | */ |
|
129 | public function setTargetWebshop($targetWebshop) |
|
130 | { |
|
131 | $this->targetWebshop = $targetWebshop; |
|
132 | ||
133 | return $this; |
|
134 | } |
|
135 | ||
136 | /** |
|
137 | * @return \DateTime |
|
138 | */ |
|
139 | public function getChangedSince() |
|
140 | { |
|
141 | return $this->changedSince; |
|
142 | } |
|
143 | ||
144 | /** |
|
145 | * @param \DateTime $changedSince |
|
146 | * |
|
147 | * @return $this |
|
148 | */ |
|
149 | public function setChangedSince($changedSince) |
|
150 | { |
|
151 | $this->changedSince = $changedSince; |
|
152 | ||
153 | return $this; |
|
154 | } |
|
155 | ||
156 | /** |
|
157 | * @return nonNegativeInteger |
|
158 | */ |
|
159 | public function getPage() |
|
160 | { |
|
161 | return $this->page; |
|
162 | } |
|
163 | ||
164 | /** |
|
165 | * @param nonNegativeInteger $page |
|
166 | * |
|
167 | * @return $this |
|
168 | */ |
|
169 | public function setPage($page) |
|
170 | { |
|
171 | $this->page = $page; |
|
172 | ||
173 | return $this; |
|
174 | } |
|
175 | ||
176 | /** |
|
177 | * @return bool |
|
178 | */ |
|
179 | public function getCarrierStatus() |
|
180 | { |
|
181 | return $this->carrierStatus; |
|
182 | } |
|
183 | ||
184 | /** |
|
185 | * @param bool $carrierStatus |
|
186 | * |
|
187 | * @return $this |
|
188 | */ |
|
189 | public function setCarrierStatus($carrierStatus) |
|
190 | { |
|
191 | $this->carrierStatus = $carrierStatus; |
|
192 | ||
193 | return $this; |
|
194 | } |
|
195 | } |
|
196 |
@@ 17-195 (lines=179) @@ | ||
14 | ||
15 | use Phpro\SoapClient\Type\RequestInterface; |
|
16 | ||
17 | class OpenBatchRequest implements RequestInterface |
|
18 | { |
|
19 | /** |
|
20 | * @var string |
|
21 | */ |
|
22 | protected $hash = null; |
|
23 | ||
24 | /** |
|
25 | * @var int |
|
26 | */ |
|
27 | protected $webshop = null; |
|
28 | ||
29 | /** |
|
30 | * @var int |
|
31 | */ |
|
32 | protected $targetWebshop = null; |
|
33 | ||
34 | /** |
|
35 | * @var string |
|
36 | */ |
|
37 | protected $distributor = null; |
|
38 | ||
39 | /** |
|
40 | * @var string |
|
41 | */ |
|
42 | protected $shippingOption = null; |
|
43 | ||
44 | /** |
|
45 | * @var string |
|
46 | */ |
|
47 | protected $country = null; |
|
48 | ||
49 | /** |
|
50 | * Constructor. |
|
51 | * |
|
52 | * @var string |
|
53 | * @var int $webshop |
|
54 | * @var int $targetWebshop |
|
55 | * @var string $distributor |
|
56 | * @var string $shippingOption |
|
57 | * @var string $country |
|
58 | * |
|
59 | * @param mixed $hash |
|
60 | * @param mixed $webshop |
|
61 | * @param mixed $targetWebshop |
|
62 | * @param mixed $distributor |
|
63 | * @param mixed $shippingOption |
|
64 | * @param mixed $country |
|
65 | */ |
|
66 | public function __construct($hash, $webshop, $targetWebshop, $distributor, $shippingOption, $country) |
|
67 | { |
|
68 | $this->hash = $hash; |
|
69 | $this->webshop = $webshop; |
|
70 | $this->targetWebshop = $targetWebshop; |
|
71 | $this->distributor = $distributor; |
|
72 | $this->shippingOption = $shippingOption; |
|
73 | $this->country = $country; |
|
74 | } |
|
75 | ||
76 | /** |
|
77 | * @return string |
|
78 | */ |
|
79 | public function getHash() |
|
80 | { |
|
81 | return $this->hash; |
|
82 | } |
|
83 | ||
84 | /** |
|
85 | * @param string $hash |
|
86 | * |
|
87 | * @return $this |
|
88 | */ |
|
89 | public function setHash($hash) |
|
90 | { |
|
91 | $this->hash = $hash; |
|
92 | ||
93 | return $this; |
|
94 | } |
|
95 | ||
96 | /** |
|
97 | * @return int |
|
98 | */ |
|
99 | public function getWebshop() |
|
100 | { |
|
101 | return $this->webshop; |
|
102 | } |
|
103 | ||
104 | /** |
|
105 | * @param int $webshop |
|
106 | * |
|
107 | * @return $this |
|
108 | */ |
|
109 | public function setWebshop($webshop) |
|
110 | { |
|
111 | $this->webshop = $webshop; |
|
112 | ||
113 | return $this; |
|
114 | } |
|
115 | ||
116 | /** |
|
117 | * @return int |
|
118 | */ |
|
119 | public function getTargetWebshop() |
|
120 | { |
|
121 | return $this->targetWebshop; |
|
122 | } |
|
123 | ||
124 | /** |
|
125 | * @param int $targetWebshop |
|
126 | * |
|
127 | * @return $this |
|
128 | */ |
|
129 | public function setTargetWebshop($targetWebshop) |
|
130 | { |
|
131 | $this->targetWebshop = $targetWebshop; |
|
132 | ||
133 | return $this; |
|
134 | } |
|
135 | ||
136 | /** |
|
137 | * @return string |
|
138 | */ |
|
139 | public function getDistributor() |
|
140 | { |
|
141 | return $this->distributor; |
|
142 | } |
|
143 | ||
144 | /** |
|
145 | * @param string $distributor |
|
146 | * |
|
147 | * @return $this |
|
148 | */ |
|
149 | public function setDistributor($distributor) |
|
150 | { |
|
151 | $this->distributor = $distributor; |
|
152 | ||
153 | return $this; |
|
154 | } |
|
155 | ||
156 | /** |
|
157 | * @return string |
|
158 | */ |
|
159 | public function getShippingOption() |
|
160 | { |
|
161 | return $this->shippingOption; |
|
162 | } |
|
163 | ||
164 | /** |
|
165 | * @param string $shippingOption |
|
166 | * |
|
167 | * @return $this |
|
168 | */ |
|
169 | public function setShippingOption($shippingOption) |
|
170 | { |
|
171 | $this->shippingOption = $shippingOption; |
|
172 | ||
173 | return $this; |
|
174 | } |
|
175 | ||
176 | /** |
|
177 | * @return string |
|
178 | */ |
|
179 | public function getCountry() |
|
180 | { |
|
181 | return $this->country; |
|
182 | } |
|
183 | ||
184 | /** |
|
185 | * @param string $country |
|
186 | * |
|
187 | * @return $this |
|
188 | */ |
|
189 | public function setCountry($country) |
|
190 | { |
|
191 | $this->country = $country; |
|
192 | ||
193 | return $this; |
|
194 | } |
|
195 | } |
|
196 |
@@ 17-195 (lines=179) @@ | ||
14 | ||
15 | use Phpro\SoapClient\Type\RequestInterface; |
|
16 | ||
17 | class OrderStatusRequest implements RequestInterface |
|
18 | { |
|
19 | /** |
|
20 | * @var string |
|
21 | */ |
|
22 | protected $hash = null; |
|
23 | ||
24 | /** |
|
25 | * @var int |
|
26 | */ |
|
27 | protected $webshop = null; |
|
28 | ||
29 | /** |
|
30 | * @var int |
|
31 | */ |
|
32 | protected $targetWebshop = null; |
|
33 | ||
34 | /** |
|
35 | * @var string |
|
36 | */ |
|
37 | protected $orderReference = null; |
|
38 | ||
39 | /** |
|
40 | * @var bool |
|
41 | */ |
|
42 | protected $includeLabels = null; |
|
43 | ||
44 | /** |
|
45 | * @var bool |
|
46 | */ |
|
47 | protected $carrierStatus = null; |
|
48 | ||
49 | /** |
|
50 | * Constructor. |
|
51 | * |
|
52 | * @var string |
|
53 | * @var int $webshop |
|
54 | * @var int $targetWebshop |
|
55 | * @var string $orderReference |
|
56 | * @var bool $includeLabels |
|
57 | * @var bool $carrierStatus |
|
58 | * |
|
59 | * @param mixed $hash |
|
60 | * @param mixed $webshop |
|
61 | * @param mixed $targetWebshop |
|
62 | * @param mixed $orderReference |
|
63 | * @param mixed $includeLabels |
|
64 | * @param mixed $carrierStatus |
|
65 | */ |
|
66 | public function __construct($hash, $webshop, $targetWebshop, $orderReference, $includeLabels, $carrierStatus) |
|
67 | { |
|
68 | $this->hash = $hash; |
|
69 | $this->webshop = $webshop; |
|
70 | $this->targetWebshop = $targetWebshop; |
|
71 | $this->orderReference = $orderReference; |
|
72 | $this->includeLabels = $includeLabels; |
|
73 | $this->carrierStatus = $carrierStatus; |
|
74 | } |
|
75 | ||
76 | /** |
|
77 | * @return string |
|
78 | */ |
|
79 | public function getHash() |
|
80 | { |
|
81 | return $this->hash; |
|
82 | } |
|
83 | ||
84 | /** |
|
85 | * @param string $hash |
|
86 | * |
|
87 | * @return $this |
|
88 | */ |
|
89 | public function setHash($hash) |
|
90 | { |
|
91 | $this->hash = $hash; |
|
92 | ||
93 | return $this; |
|
94 | } |
|
95 | ||
96 | /** |
|
97 | * @return int |
|
98 | */ |
|
99 | public function getWebshop() |
|
100 | { |
|
101 | return $this->webshop; |
|
102 | } |
|
103 | ||
104 | /** |
|
105 | * @param int $webshop |
|
106 | * |
|
107 | * @return $this |
|
108 | */ |
|
109 | public function setWebshop($webshop) |
|
110 | { |
|
111 | $this->webshop = $webshop; |
|
112 | ||
113 | return $this; |
|
114 | } |
|
115 | ||
116 | /** |
|
117 | * @return int |
|
118 | */ |
|
119 | public function getTargetWebshop() |
|
120 | { |
|
121 | return $this->targetWebshop; |
|
122 | } |
|
123 | ||
124 | /** |
|
125 | * @param int $targetWebshop |
|
126 | * |
|
127 | * @return $this |
|
128 | */ |
|
129 | public function setTargetWebshop($targetWebshop) |
|
130 | { |
|
131 | $this->targetWebshop = $targetWebshop; |
|
132 | ||
133 | return $this; |
|
134 | } |
|
135 | ||
136 | /** |
|
137 | * @return string |
|
138 | */ |
|
139 | public function getOrderReference() |
|
140 | { |
|
141 | return $this->orderReference; |
|
142 | } |
|
143 | ||
144 | /** |
|
145 | * @param string $orderReference |
|
146 | * |
|
147 | * @return $this |
|
148 | */ |
|
149 | public function setOrderReference($orderReference) |
|
150 | { |
|
151 | $this->orderReference = $orderReference; |
|
152 | ||
153 | return $this; |
|
154 | } |
|
155 | ||
156 | /** |
|
157 | * @return bool |
|
158 | */ |
|
159 | public function getIncludeLabels() |
|
160 | { |
|
161 | return $this->includeLabels; |
|
162 | } |
|
163 | ||
164 | /** |
|
165 | * @param bool $includeLabels |
|
166 | * |
|
167 | * @return $this |
|
168 | */ |
|
169 | public function setIncludeLabels($includeLabels) |
|
170 | { |
|
171 | $this->includeLabels = $includeLabels; |
|
172 | ||
173 | return $this; |
|
174 | } |
|
175 | ||
176 | /** |
|
177 | * @return bool |
|
178 | */ |
|
179 | public function getCarrierStatus() |
|
180 | { |
|
181 | return $this->carrierStatus; |
|
182 | } |
|
183 | ||
184 | /** |
|
185 | * @param bool $carrierStatus |
|
186 | * |
|
187 | * @return $this |
|
188 | */ |
|
189 | public function setCarrierStatus($carrierStatus) |
|
190 | { |
|
191 | $this->carrierStatus = $carrierStatus; |
|
192 | ||
193 | return $this; |
|
194 | } |
|
195 | } |
|
196 |
@@ 17-195 (lines=179) @@ | ||
14 | ||
15 | use Phpro\SoapClient\Type\RequestInterface; |
|
16 | ||
17 | class PickupRequestOptionsRequest implements RequestInterface |
|
18 | { |
|
19 | /** |
|
20 | * @var string |
|
21 | */ |
|
22 | protected $hash = null; |
|
23 | ||
24 | /** |
|
25 | * @var int |
|
26 | */ |
|
27 | protected $webshop = null; |
|
28 | ||
29 | /** |
|
30 | * @var int |
|
31 | */ |
|
32 | protected $targetWebshop = null; |
|
33 | ||
34 | /** |
|
35 | * @var string |
|
36 | */ |
|
37 | protected $internalReference = null; |
|
38 | ||
39 | /** |
|
40 | * @var string |
|
41 | */ |
|
42 | protected $pickupCountry = null; |
|
43 | ||
44 | /** |
|
45 | * @var string |
|
46 | */ |
|
47 | protected $deliveryCountry = null; |
|
48 | ||
49 | /** |
|
50 | * Constructor. |
|
51 | * |
|
52 | * @var string |
|
53 | * @var int $webshop |
|
54 | * @var int $targetWebshop |
|
55 | * @var string $internalReference |
|
56 | * @var string $pickupCountry |
|
57 | * @var string $deliveryCountry |
|
58 | * |
|
59 | * @param mixed $hash |
|
60 | * @param mixed $webshop |
|
61 | * @param mixed $targetWebshop |
|
62 | * @param mixed $internalReference |
|
63 | * @param mixed $pickupCountry |
|
64 | * @param mixed $deliveryCountry |
|
65 | */ |
|
66 | public function __construct($hash, $webshop, $targetWebshop, $internalReference, $pickupCountry, $deliveryCountry) |
|
67 | { |
|
68 | $this->hash = $hash; |
|
69 | $this->webshop = $webshop; |
|
70 | $this->targetWebshop = $targetWebshop; |
|
71 | $this->internalReference = $internalReference; |
|
72 | $this->pickupCountry = $pickupCountry; |
|
73 | $this->deliveryCountry = $deliveryCountry; |
|
74 | } |
|
75 | ||
76 | /** |
|
77 | * @return string |
|
78 | */ |
|
79 | public function getHash() |
|
80 | { |
|
81 | return $this->hash; |
|
82 | } |
|
83 | ||
84 | /** |
|
85 | * @param string $hash |
|
86 | * |
|
87 | * @return $this |
|
88 | */ |
|
89 | public function setHash($hash) |
|
90 | { |
|
91 | $this->hash = $hash; |
|
92 | ||
93 | return $this; |
|
94 | } |
|
95 | ||
96 | /** |
|
97 | * @return int |
|
98 | */ |
|
99 | public function getWebshop() |
|
100 | { |
|
101 | return $this->webshop; |
|
102 | } |
|
103 | ||
104 | /** |
|
105 | * @param int $webshop |
|
106 | * |
|
107 | * @return $this |
|
108 | */ |
|
109 | public function setWebshop($webshop) |
|
110 | { |
|
111 | $this->webshop = $webshop; |
|
112 | ||
113 | return $this; |
|
114 | } |
|
115 | ||
116 | /** |
|
117 | * @return int |
|
118 | */ |
|
119 | public function getTargetWebshop() |
|
120 | { |
|
121 | return $this->targetWebshop; |
|
122 | } |
|
123 | ||
124 | /** |
|
125 | * @param int $targetWebshop |
|
126 | * |
|
127 | * @return $this |
|
128 | */ |
|
129 | public function setTargetWebshop($targetWebshop) |
|
130 | { |
|
131 | $this->targetWebshop = $targetWebshop; |
|
132 | ||
133 | return $this; |
|
134 | } |
|
135 | ||
136 | /** |
|
137 | * @return string |
|
138 | */ |
|
139 | public function getInternalReference() |
|
140 | { |
|
141 | return $this->internalReference; |
|
142 | } |
|
143 | ||
144 | /** |
|
145 | * @param string $internalReference |
|
146 | * |
|
147 | * @return $this |
|
148 | */ |
|
149 | public function setInternalReference($internalReference) |
|
150 | { |
|
151 | $this->internalReference = $internalReference; |
|
152 | ||
153 | return $this; |
|
154 | } |
|
155 | ||
156 | /** |
|
157 | * @return string |
|
158 | */ |
|
159 | public function getPickupCountry() |
|
160 | { |
|
161 | return $this->pickupCountry; |
|
162 | } |
|
163 | ||
164 | /** |
|
165 | * @param string $pickupCountry |
|
166 | * |
|
167 | * @return $this |
|
168 | */ |
|
169 | public function setPickupCountry($pickupCountry) |
|
170 | { |
|
171 | $this->pickupCountry = $pickupCountry; |
|
172 | ||
173 | return $this; |
|
174 | } |
|
175 | ||
176 | /** |
|
177 | * @return string |
|
178 | */ |
|
179 | public function getDeliveryCountry() |
|
180 | { |
|
181 | return $this->deliveryCountry; |
|
182 | } |
|
183 | ||
184 | /** |
|
185 | * @param string $deliveryCountry |
|
186 | * |
|
187 | * @return $this |
|
188 | */ |
|
189 | public function setDeliveryCountry($deliveryCountry) |
|
190 | { |
|
191 | $this->deliveryCountry = $deliveryCountry; |
|
192 | ||
193 | return $this; |
|
194 | } |
|
195 | } |
|
196 |
@@ 17-195 (lines=179) @@ | ||
14 | ||
15 | use Phpro\SoapClient\Type\RequestInterface; |
|
16 | ||
17 | class PickupRequestQueryType implements RequestInterface |
|
18 | { |
|
19 | /** |
|
20 | * @var string |
|
21 | */ |
|
22 | protected $hash = null; |
|
23 | ||
24 | /** |
|
25 | * @var int |
|
26 | */ |
|
27 | protected $webshop = null; |
|
28 | ||
29 | /** |
|
30 | * @var int |
|
31 | */ |
|
32 | protected $targetWebshop = null; |
|
33 | ||
34 | /** |
|
35 | * @var string |
|
36 | */ |
|
37 | protected $internalReference = null; |
|
38 | ||
39 | /** |
|
40 | * @var string |
|
41 | */ |
|
42 | protected $distributor = null; |
|
43 | ||
44 | /** |
|
45 | * @var string |
|
46 | */ |
|
47 | protected $externalReference = null; |
|
48 | ||
49 | /** |
|
50 | * Constructor. |
|
51 | * |
|
52 | * @var string |
|
53 | * @var int $webshop |
|
54 | * @var int $targetWebshop |
|
55 | * @var string $internalReference |
|
56 | * @var string $distributor |
|
57 | * @var string $externalReference |
|
58 | * |
|
59 | * @param mixed $hash |
|
60 | * @param mixed $webshop |
|
61 | * @param mixed $targetWebshop |
|
62 | * @param mixed $internalReference |
|
63 | * @param mixed $distributor |
|
64 | * @param mixed $externalReference |
|
65 | */ |
|
66 | public function __construct($hash, $webshop, $targetWebshop, $internalReference, $distributor, $externalReference) |
|
67 | { |
|
68 | $this->hash = $hash; |
|
69 | $this->webshop = $webshop; |
|
70 | $this->targetWebshop = $targetWebshop; |
|
71 | $this->internalReference = $internalReference; |
|
72 | $this->distributor = $distributor; |
|
73 | $this->externalReference = $externalReference; |
|
74 | } |
|
75 | ||
76 | /** |
|
77 | * @return string |
|
78 | */ |
|
79 | public function getHash() |
|
80 | { |
|
81 | return $this->hash; |
|
82 | } |
|
83 | ||
84 | /** |
|
85 | * @param string $hash |
|
86 | * |
|
87 | * @return $this |
|
88 | */ |
|
89 | public function setHash($hash) |
|
90 | { |
|
91 | $this->hash = $hash; |
|
92 | ||
93 | return $this; |
|
94 | } |
|
95 | ||
96 | /** |
|
97 | * @return int |
|
98 | */ |
|
99 | public function getWebshop() |
|
100 | { |
|
101 | return $this->webshop; |
|
102 | } |
|
103 | ||
104 | /** |
|
105 | * @param int $webshop |
|
106 | * |
|
107 | * @return $this |
|
108 | */ |
|
109 | public function setWebshop($webshop) |
|
110 | { |
|
111 | $this->webshop = $webshop; |
|
112 | ||
113 | return $this; |
|
114 | } |
|
115 | ||
116 | /** |
|
117 | * @return int |
|
118 | */ |
|
119 | public function getTargetWebshop() |
|
120 | { |
|
121 | return $this->targetWebshop; |
|
122 | } |
|
123 | ||
124 | /** |
|
125 | * @param int $targetWebshop |
|
126 | * |
|
127 | * @return $this |
|
128 | */ |
|
129 | public function setTargetWebshop($targetWebshop) |
|
130 | { |
|
131 | $this->targetWebshop = $targetWebshop; |
|
132 | ||
133 | return $this; |
|
134 | } |
|
135 | ||
136 | /** |
|
137 | * @return string |
|
138 | */ |
|
139 | public function getInternalReference() |
|
140 | { |
|
141 | return $this->internalReference; |
|
142 | } |
|
143 | ||
144 | /** |
|
145 | * @param string $internalReference |
|
146 | * |
|
147 | * @return $this |
|
148 | */ |
|
149 | public function setInternalReference($internalReference) |
|
150 | { |
|
151 | $this->internalReference = $internalReference; |
|
152 | ||
153 | return $this; |
|
154 | } |
|
155 | ||
156 | /** |
|
157 | * @return string |
|
158 | */ |
|
159 | public function getDistributor() |
|
160 | { |
|
161 | return $this->distributor; |
|
162 | } |
|
163 | ||
164 | /** |
|
165 | * @param string $distributor |
|
166 | * |
|
167 | * @return $this |
|
168 | */ |
|
169 | public function setDistributor($distributor) |
|
170 | { |
|
171 | $this->distributor = $distributor; |
|
172 | ||
173 | return $this; |
|
174 | } |
|
175 | ||
176 | /** |
|
177 | * @return string |
|
178 | */ |
|
179 | public function getExternalReference() |
|
180 | { |
|
181 | return $this->externalReference; |
|
182 | } |
|
183 | ||
184 | /** |
|
185 | * @param string $externalReference |
|
186 | * |
|
187 | * @return $this |
|
188 | */ |
|
189 | public function setExternalReference($externalReference) |
|
190 | { |
|
191 | $this->externalReference = $externalReference; |
|
192 | ||
193 | return $this; |
|
194 | } |
|
195 | } |
|
196 |