CRM-15387 - Add legacy support for honor_contact_id in contribution create api, fix...
authorDave Greenberg <dave@civicrm.org>
Mon, 29 Sep 2014 23:40:41 +0000 (16:40 -0700)
committerDave Greenberg <dave@civicrm.org>
Mon, 29 Sep 2014 23:40:41 +0000 (16:40 -0700)
commit6a516bd6fdd42283872d1b1881d7cfae6da7575b
tree85774bb2b4bada5a2933dba93b3c1ef429de88e0
parentf544330862cd7a08925607cd6a8c9ddf185af0b9
CRM-15387 - Add legacy support for honor_contact_id in contribution create api, fix legacy support for soft_credit_to so that soft_credit_type is set to default. Add tests for both.

----------------------------------------
* CRM-15387:
  https://issues.civicrm.org/jira/browse/CRM-15387
api/v3/Contribution.php
api/v3/examples/Contribution/ContributionCreateWithHonoreeContact.php [new file with mode: 0644]
api/v3/examples/Contribution/ContributionCreateWithSoftCreditDefaults.php [new file with mode: 0644]
tests/phpunit/api/v3/ContributionTest.php