Revision a72d8726
Von Werner Hahn vor mehr als 7 Jahren hinzugefügt
SL/ShopConnector/Base.pm | ||
---|---|---|
40 | 40 |
|
41 | 41 |
=item C<get_order> |
42 | 42 |
|
43 |
=item C<get_orders> |
|
43 |
=item C<get_new_orders>
|
|
44 | 44 |
|
45 | 45 |
=item C<update_part> |
46 | 46 |
|
... | ... | |
54 | 54 |
|
55 | 55 |
=head1 SEE ALSO |
56 | 56 |
|
57 |
L<SL::ShopConnector::ALL>
|
|
57 |
L<SL::ShopConnector::ALL> |
|
58 | 58 |
|
59 | 59 |
=head1 BUGS |
60 | 60 |
|
61 |
None yet. :)
|
|
61 |
None yet. :) |
|
62 | 62 |
|
63 | 63 |
=head1 AUTHOR |
64 | 64 |
|
65 |
G. Richardson <lt>information@kivitendo-premium.deE<gt>
|
|
66 |
W. Hahn E<lt>wh@futureworldsearch.netE<gt>
|
|
65 |
G. Richardson <lt>information@kivitendo-premium.deE<gt> |
|
66 |
W. Hahn E<lt>wh@futureworldsearch.netE<gt> |
|
67 | 67 |
|
68 | 68 |
=cut |
SL/ShopConnector/Shopware.pm | ||
---|---|---|
212 | 212 |
} |
213 | 213 |
} |
214 | 214 |
|
215 |
sub get_articles { |
|
216 |
my ($self, $json_data) = @_; |
|
217 |
|
|
218 |
} |
|
219 |
|
|
220 | 215 |
sub update_part { |
221 | 216 |
my ($self, $shop_part, $todo) = @_; |
222 | 217 |
|
... | ... | |
339 | 334 |
return SL::JSON::decode_json($data_json); |
340 | 335 |
} |
341 | 336 |
|
342 |
|
|
343 |
sub set_orderstatus { |
|
344 |
my ($self,$ordernumber); |
|
345 |
} |
|
346 |
|
|
347 | 337 |
sub init_url { |
348 | 338 |
my ($self) = @_; |
349 | 339 |
$self->url($self->config->protocol . "://" . $self->config->server . ":" . $self->config->port . $self->config->path); |
... | ... | |
377 | 367 |
|
378 | 368 |
=head1 DESCRIPTION |
379 | 369 |
|
370 |
This is the connector to shopware. |
|
371 |
In this file you can do the mapping to your needs. |
|
372 |
see https://developers.shopware.com/developers-guide/rest-api/ |
|
373 |
for more information. |
|
374 |
|
|
380 | 375 |
=head1 METHODS |
381 | 376 |
|
382 |
=back 4 |
|
377 |
=over 4 |
|
378 |
|
|
379 |
=item C<get_new_orders> |
|
383 | 380 |
|
384 | 381 |
=item C<import_data_to_shop_order> |
385 | 382 |
|
386 | 383 |
Creates on shoporder object from json |
384 |
Here is the mapping for the positions. |
|
385 |
see https://developers.shopware.com/developers-guide/rest-api/ |
|
386 |
for detailed information |
|
387 |
|
|
388 |
=item C<map_data_to_shoporder> |
|
389 |
|
|
390 |
Here is the mapping for the order data. |
|
391 |
see https://developers.shopware.com/developers-guide/rest-api/ |
|
392 |
for detailed information |
|
393 |
|
|
394 |
=item C<get_categories> |
|
395 |
|
|
396 |
=item C<get_version> |
|
397 |
|
|
398 |
Use this for test Connection |
|
399 |
see SL::Shop |
|
400 |
|
|
401 |
=item C<update_part> |
|
402 |
|
|
403 |
Here is the mapping for the article data. |
|
404 |
see https://developers.shopware.com/developers-guide/rest-api/ |
|
405 |
for detailed information |
|
406 |
|
|
407 |
=item C<get_article> |
|
408 |
|
|
409 |
=back |
|
410 |
|
|
411 |
=head1 INITS |
|
412 |
|
|
413 |
=over 4 |
|
414 |
|
|
415 |
=item init_url |
|
416 |
|
|
417 |
build an url for LWP |
|
418 |
|
|
419 |
=item init_connector |
|
420 |
|
|
421 |
=back |
|
387 | 422 |
|
388 | 423 |
=head1 TODO |
389 | 424 |
|
Auch abrufbar als: Unified diff
Shopmodul: POD