omatech / seur-dispatches-service
1.0.1
2019-08-06 16:12 UTC
Requires
- php: ^7.1
- servo/fluidxml: ^1.21
Requires (Dev)
- orchestra/testbench: 3.8.*
- phpunit/phpunit: ^7.0
This package is auto-updated.
Last update: 2024-10-29 06:05:32 UTC
README
Use of SEUR dispatches services. Available:
- ConsultaListadoExpedicionesStr
- ConsultaDetalleExpedicionesStr
Installation
You can install the package via composer:
composer require omatech/seur-dispatches-service
Environment configuration:
SEUR_MODE= SEUR_USER= SEUR_PASSWORD=
Usage
ConsultaListadoExpedicionesStr:
$search = [ 'in0' => 'S', 'in1' => '', 'in2' => null, 'in3' => '', 'in4' => '1234-56', 'in5' => '01-05-2019', 'in6' => '08-05-2019', 'in7' => '', 'in8' => '', 'in9' => '', 'in10' => '', 'in11' => null, 'in12' => 'MYUSERNAME', //Not mandatory if environment variables have been configured 'in13' => 'MYPASSWORD', //Not mandatory if environment variables have been configured 'in14' => 'N' ]; $seur = new Seur(); $dispatches = $seur->dispatches($search);
ConsultaDetalleExpedicionesStr:
$search = [ 'in0' => 'S', 'in1' => 'REF', 'in2' => 'MYUSERNAME', //Not mandatory if environment variables have been configured 'in3' => 'MYPASSWORD', //Not mandatory if environment variables have been configured ]; $seur = new Seur(); $dispatch = $seur->dispatch($search);
$seur = new Seur(); $dispatch = $seur->getTypeLDispatchById('ID');
$seur = new Seur(); $dispatch = $seur->getTypeSDispatchById('ID');
Testing
composer test
Changelog
Please see CHANGELOG for more information what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security
If you discover any security related issues, please email aroca@omatech.com instead of using the issue tracker.
Credits
License
The MIT License (MIT). Please see License File for more information.