Files
kalsport.pl/modules/pocztapolskaen/classes/enadawca/README
2024-11-05 12:22:50 +01:00

69 lines
3.8 KiB
Plaintext

###########################################################################################################################################################
$shipment = ENadawca::Shipment();
$adres = Adres::get(
array(
'nazwa' => 'test',
'nazwa2' => 'test',
'ulica' => 'test',
'numerDomu' => 'test',
'numerLokalu' => 'test',
'miejscowosc' => 'test',
'kodPocztowy' => '21030',
'kraj' => 'test',
'telefon' => 'test',
'email' => 'test',
'mobile' => 'test',
'osobaKontaktowa' => 'test',
'email' => 'test@test.pl',
'nip' => 'test',
)
);
$shipment->addPaczkaPocztowa($adres, ShipmentCategory::EKONOMICZNA, Gabaryt::A, 1230, 1, 1);
$shipment->add();
###########################################################################################################################################################
ENadawca::EnvelopeBuffor()->get();
ENadawca::EnvelopeBuffor()->getList();
###########################################################################################################################################################
ENadawca::Profil()->create(
'Test sp. z o.o.',
'ul. Test',
14,
18,
'LUBLIN',
20023,
'Polska',
'test'
);
###########################################################################################################################################################
ENadawca::Profil()->get();
###########################################################################################################################################################
ENadawca::EnvelopeBuffor()->getList();
###########################################################################################################################################################
ENadawca::EnvelopeBuffor()->create(
'2018-07-09',
260628,
true,
'test'
);
###########################################################################################################################################################
ENadawca::Envelope()->get('2018-01-01','2019-01-01')
###########################################################################################################################################################
ENadawca::Envelope()->clearByGuids(array('1','12'))
###########################################################################################################################################################
ENadawca::Envelope()->send('743378');
ENadawca::Envelope()->send();
###########################################################################################################################################################
$envelope = ENadawca::Envelope();
$envelope->get('2018-01-01','2019-01-01'));
$envelope->getStatus('334243'));
$envelope->getContentShort('334243'));
$envelope->getContentFull('334243'));
###########################################################################################################################################################
$shipment = ENadawca::Shipment();
$shipment->move();
###########################################################################################################################################################
ENadawca::PdfContent()->getBlankietPobraniaByGuids(12222)
###########################################################################################################################################################
ENadawca::Password()->change('qwerty123');
###########################################################################################################################################################