Implement PaymentProcessor and PaymentProcessorType APIv4 Entities
authorSeamus Lee <seamuslee001@gmail.com>
Sun, 27 Oct 2019 02:07:57 +0000 (13:07 +1100)
committerSeamus Lee <seamuslee001@gmail.com>
Sat, 11 Jan 2020 23:52:32 +0000 (10:52 +1100)
commit74e272afcb70e8e8bb3a35ff90e6f653f34311f4
treee59d402c221b05cff139d6433567ac1a0cfa9eeb
parent0a5024aa692256e2e59feabc9d224b040867c195
Implement PaymentProcessor and PaymentProcessorType APIv4 Entities

Move default values to spec as per Coleman

Fix class name in tests and fix default values on tables

Mock financial_account_id field

Fix headers and remove some unnessary code

Update api v4 code following move of the handling to the BAO and update tests as per Coleman
CRM/Upgrade/Incremental/sql/5.23.alpha1.mysql.tpl
Civi/Api4/PaymentProcessor.php [new file with mode: 0644]
Civi/Api4/PaymentProcessorType.php [new file with mode: 0644]
Civi/Api4/Service/Spec/Provider/PaymentProcessorCreationSpecProvider.php [new file with mode: 0644]
Civi/Api4/Service/Spec/Provider/PaymentProcessorTypeCreationSpecProvider.php [new file with mode: 0644]
tests/phpunit/api/v3/PaymentProcessorTest.php
tests/phpunit/api/v3/PaymentProcessorTypeTest.php