Merge pull request #15306 from bhahumanists/bhahumanists-mailingID
[civicrm-core.git] / xml / schema / Financial / PaymentProcessorType.xml
index bb775170a18f404dd2e85d51c19a74f70c1e51d4..27273978a9a1a4fb2eb97aaba4322afec0d1b75c 100644 (file)
     <length>64</length>
     <comment>Payment Processor Name.</comment>
     <add>1.8</add>
+    <required>true</required>
   </field>
   <field>
     <name>title</name>
-    <title>Payment Processor Title</title>
+    <title>Payment Processor Type Title</title>
     <type>varchar</type>
     <length>127</length>
-    <comment>Payment Processor Name.</comment>
+    <comment>Payment Processor Type Title.</comment>
     <add>1.8</add>
+    <required>true</required>
   </field>
   <field>
     <name>description</name>
@@ -47,6 +49,7 @@
     <type>boolean</type>
     <comment>Is this processor active?</comment>
     <add>1.8</add>
+    <default>1</default>
   </field>
   <field>
     <name>is_default</name>
@@ -54,6 +57,7 @@
     <type>boolean</type>
     <comment>Is this processor the default?</comment>
     <add>1.8</add>
+    <default>0</default>
   </field>
   <index>
     <name>UI_name</name>
@@ -95,6 +99,7 @@
     <type>varchar</type>
     <length>255</length>
     <add>1.8</add>
+    <required>true</required>
   </field>
   <field>
     <name>url_site_default</name>
     <name>billing_mode</name>
     <type>int unsigned</type>
     <required>true</required>
-    <comment>Billing Mode</comment>
+    <comment>Billing Mode (deprecated)</comment>
     <pseudoconstant>
       <callback>CRM_Core_SelectValues::billingMode</callback>
     </pseudoconstant>
     <title>Processor Type Payment Type</title>
     <type>int unsigned</type>
     <default>1</default>
-    <comment>Payment Type: Credit or Debit</comment>
+    <comment>Payment Type: Credit or Debit (deprecated)</comment>
     <add>3.0</add>
   </field>
+  <field>
+    <name>payment_instrument_id</name>
+    <title>Payment Method</title>
+    <type>int unsigned</type>
+    <default>1</default>
+    <comment>Payment Instrument ID</comment>
+    <pseudoconstant>
+      <optionGroupName>payment_instrument</optionGroupName>
+    </pseudoconstant>
+    <add>4.7</add>
+  </field>
 </table>