nemiah / phpFinTS

PHP library to communicate with FinTS/HBCI servers
MIT License
130 stars 42 forks source link

Depotaufstellung (HKWPD) and Depotumsätze (HKWDU) #268

Closed Andreas-Sommer closed 3 months ago

Andreas-Sommer commented 4 years ago

Are there any plans for an implementation of Geschäftsvorfall HKWPD and HKWDU?

Philipp91 commented 4 years ago

I'm not aware of any such plans. I guess the main work lies in parsing the MT535 format? Or is there already a parser in PHP?

ZwenAusZwota commented 3 years ago

I try to implement HKWPD now, but unfortunately I stuck at the determination of the class. I've implemented HIPWD, HIWPDS, HKWPD, but they are not loaded if I check with fetchBDP: HIWPDS] => Array ( [5] => Fhp\Segment\AnonymousSegment. NameMapping.php was extended. Are the files (located in /Segment/WDP/) found automatically?

Philipp91 commented 3 years ago

NameMapping.php was extended

What's that file? I can't find it on master and I don't know it.

Are the files (located in /Segment/WDP/) found automatically?

Yes, this code should take care of finding the right segment class, and then your PHP class loader should take care of loading the PHP file as usual.

ZwenAusZwota commented 3 years ago

What's that file? I can't find it on master and I don't know it.

https://github.com/nemiah/phpFinTS/blob/master/lib/Fhp/Segment/NameMapping.php

Thanks for the code. I'll try it

Philipp91 commented 3 years ago

https://github.com/nemiah/phpFinTS/blob/master/lib/Fhp/Segment/NameMapping.php

Huh. I think we can remove that, it has no call sites. @nemiah @ampaze Any concerns with that?

nemiah commented 3 years ago

nope

ampaze commented 3 years ago

Can be deleted. That file is from before the rewrite.