Add amount as standard property
authorMatthew Wire <mjw@mjwconsult.co.uk>
Mon, 1 Feb 2021 20:51:16 +0000 (20:51 +0000)
committerMatthew Wire <mjw@mjwconsult.co.uk>
Sun, 11 Apr 2021 21:59:06 +0000 (22:59 +0100)
Civi/Payment/PropertyBag.php

index daf716c7c05f034cb3b90733a12bc377ce1514ad..acd2096d25124e3b11dbd26ddc1272195b351bc9 100644 (file)
@@ -25,6 +25,7 @@ class PropertyBag implements \ArrayAccess {
   protected $props = ['default' => []];
 
   protected static $propMap = [
+    'amount'                      => TRUE,
     'billingStreetAddress'        => TRUE,
     'billingSupplementalAddress1' => TRUE,
     'billingSupplementalAddress2' => TRUE,