Make Order api easier to use for default price set
authorEileen McNaughton <emcnaughton@wikimedia.org>
Mon, 21 Jun 2021 00:36:24 +0000 (12:36 +1200)
committerEileen McNaughton <emcnaughton@wikimedia.org>
Tue, 22 Jun 2021 06:33:15 +0000 (18:33 +1200)
commitca44bb7efbabd1012e2566bd32964e70fda136cb
tree7fbe9ea7e36872f3cb73156a49594f58698b2f26
parent1acdec48b890adf7036177cac5b56c824eb898b2
Make Order api easier to use for default price set

This changes the order api so that it is not necessary to figure out the details
of the default price set when using it to create memberships.
CRM/Contribute/BAO/Contribution.php
CRM/Financial/BAO/Order.php
api/v3/Order.php
tests/phpunit/CRM/Contribute/BAO/ContributionTest.php
tests/phpunit/api/v3/ContributionTest.php