Move determination of priceSetID to the internal order class
authorEileen McNaughton <emcnaughton@wikimedia.org>
Sat, 19 Jun 2021 02:36:55 +0000 (14:36 +1200)
committerEileen McNaughton <emcnaughton@wikimedia.org>
Sat, 19 Jun 2021 07:50:51 +0000 (19:50 +1200)
commit812b2c0cddd5aa7de4f704c609d21b0f98c54481
tree71b0adbb96ed76b8b2ea833e9031ac2c6750a1bc
parent24d816e385f8af683315a4fd837b03355a3d77d3
Move determination of priceSetID to the internal order class

This moves some functionality from the form to where we can start to use if from the order api.

I also added more 'internal' commenting. This is implicitly the case but
I think it would be tempting to use this class and the comments at the top
of the class saying not to could be missed
CRM/Financial/BAO/Order.php
CRM/Member/Form.php
tests/phpunit/CRM/Contribute/Form/ContributionTest.php