Merge pull request #19082 from compucorp/dev-core-1790-contact-card-delay
[civicrm-core.git] / xml / schema / Financial / PaymentProcessor.xml
1 <?xml version="1.0" encoding="iso-8859-1" ?>
2
3 <table>
4 <base>CRM/Financial</base>
5 <class>PaymentProcessor</class>
6 <name>civicrm_payment_processor</name>
7 <add>1.8</add>
8 <component>CiviContribute</component>
9 <field>
10 <name>id</name>
11 <title>Payment Processor ID</title>
12 <type>int unsigned</type>
13 <required>true</required>
14 <comment>Payment Processor ID</comment>
15 <add>1.8</add>
16 </field>
17 <primaryKey>
18 <name>id</name>
19 <autoincrement>true</autoincrement>
20 </primaryKey>
21 <field>
22 <name>domain_id</name>
23 <title>Payment Processor Domain</title>
24 <type>int unsigned</type>
25 <required>true</required>
26 <pseudoconstant>
27 <table>civicrm_domain</table>
28 <keyColumn>id</keyColumn>
29 <labelColumn>name</labelColumn>
30 </pseudoconstant>
31 <comment>Which Domain is this match entry for</comment>
32 <add>3.0</add>
33 </field>
34 <foreignKey>
35 <name>domain_id</name>
36 <table>civicrm_domain</table>
37 <key>id</key>
38 <add>3.0</add>
39 </foreignKey>
40 <field>
41 <name>name</name>
42 <title>Payment Processor</title>
43 <type>varchar</type>
44 <length>64</length>
45 <comment>Payment Processor Name.</comment>
46 <add>1.8</add>
47 <html>
48 <type>Text</type>
49 </html>
50 </field>
51 <field>
52 <name>title</name>
53 <title>Payment Processor Title</title>
54 <type>varchar</type>
55 <length>127</length>
56 <localizable>true</localizable>
57 <html>
58 <type>Text</type>
59 </html>
60 <comment>Payment Processor Descriptive Name.</comment>
61 <add>5.13</add>
62 </field>
63 <field>
64 <name>description</name>
65 <title>Processor Description</title>
66 <type>varchar</type>
67 <length>255</length>
68 <html>
69 <type>Text</type>
70 </html>
71 <comment>Payment Processor Description.</comment>
72 <add>1.8</add>
73 </field>
74 <field>
75 <name>payment_processor_type_id</name>
76 <title>Payment Processor Type ID</title>
77 <type>int unsigned</type>
78 <pseudoconstant>
79 <table>civicrm_payment_processor_type</table>
80 <keyColumn>id</keyColumn>
81 <labelColumn>title</labelColumn>
82 </pseudoconstant>
83 <required>true</required>
84 <length>10</length>
85 <add>4.3</add>
86 </field>
87 <foreignKey>
88 <name>payment_processor_type_id</name>
89 <table>civicrm_payment_processor_type</table>
90 <key>id</key>
91 <add>4.3</add>
92 </foreignKey>
93 <field>
94 <name>is_active</name>
95 <title>Processor is Active?</title>
96 <type>boolean</type>
97 <comment>Is this processor active?</comment>
98 <add>1.8</add>
99 <default>1</default>
100 </field>
101 <field>
102 <name>is_default</name>
103 <title>Processor Is Default?</title>
104 <type>boolean</type>
105 <comment>Is this processor the default?</comment>
106 <add>1.8</add>
107 <default>0</default>
108 </field>
109 <field>
110 <name>is_test</name>
111 <title>Is Test Processor?</title>
112 <type>boolean</type>
113 <comment>Is this processor for a test site?</comment>
114 <add>1.8</add>
115 <default>0</default>
116 </field>
117 <index>
118 <name>UI_name_test_domain_id</name>
119 <fieldName>name</fieldName>
120 <fieldName>is_test</fieldName>
121 <fieldName>domain_id</fieldName>
122 <unique>true</unique>
123 <add>1.8</add>
124 </index>
125 <field>
126 <name>user_name</name>
127 <title>User Name</title>
128 <type>varchar</type>
129 <length>255</length>
130 <add>1.8</add>
131 <html>
132 <type>Text</type>
133 </html>
134 </field>
135 <field>
136 <name>password</name>
137 <title>Password</title>
138 <type>varchar</type>
139 <length>255</length>
140 <add>1.8</add>
141 <html>
142 <type>Password</type>
143 </html>
144 </field>
145 <field>
146 <name>signature</name>
147 <title>Signature</title>
148 <type>text</type>
149 <add>1.8</add>
150 <html>
151 <type>TextArea</type>
152 <rows>4</rows>
153 <cols>40</cols>
154 </html>
155 </field>
156 <field>
157 <name>url_site</name>
158 <title>Site URL</title>
159 <type>varchar</type>
160 <length>255</length>
161 <add>1.8</add>
162 <html>
163 <type>Text</type>
164 </html>
165 </field>
166 <field>
167 <name>url_api</name>
168 <title>API URL</title>
169 <type>varchar</type>
170 <length>255</length>
171 <add>1.8</add>
172 <html>
173 <type>Text</type>
174 </html>
175 </field>
176 <field>
177 <name>url_recur</name>
178 <title>Recurring Payments URL</title>
179 <type>varchar</type>
180 <length>255</length>
181 <add>1.8</add>
182 <html>
183 <type>Text</type>
184 </html>
185 </field>
186 <field>
187 <name>url_button</name>
188 <title>Button URL</title>
189 <type>varchar</type>
190 <length>255</length>
191 <add>1.8</add>
192 <html>
193 <type>Text</type>
194 </html>
195 </field>
196 <field>
197 <name>subject</name>
198 <title>Subject</title>
199 <type>varchar</type>
200 <length>255</length>
201 <add>1.8</add>
202 <html>
203 <type>Text</type>
204 </html>
205 </field>
206 <field>
207 <name>class_name</name>
208 <title>Suffix for PHP class name implementation</title>
209 <type>varchar</type>
210 <length>255</length>
211 <add>1.8</add>
212 </field>
213 <field>
214 <name>billing_mode</name>
215 <title>Processor Billing Mode</title>
216 <type>int unsigned</type>
217 <required>true</required>
218 <comment>Billing Mode (deprecated)</comment>
219 <add>1.8</add>
220 </field>
221 <field>
222 <name>is_recur</name>
223 <title>Processor Supports Recurring?</title>
224 <type>boolean</type>
225 <comment>Can process recurring contributions</comment>
226 <add>1.8</add>
227 </field>
228 <field>
229 <name>payment_type</name>
230 <title>Payment Type</title>
231 <type>int unsigned</type>
232 <default>1</default>
233 <comment>Payment Type: Credit or Debit (deprecated)</comment>
234 <add>3.0</add>
235 </field>
236 <field>
237 <name>payment_instrument_id</name>
238 <title>Payment Method</title>
239 <type>int unsigned</type>
240 <default>1</default>
241 <comment>Payment Instrument ID</comment>
242 <pseudoconstant>
243 <optionGroupName>payment_instrument</optionGroupName>
244 </pseudoconstant>
245 <add>4.7</add>
246 </field>
247 <field>
248 <name>accepted_credit_cards</name>
249 <title>Accepted Credit Cards</title>
250 <type>text</type>
251 <default>NULL</default>
252 <comment>array of accepted credit card types</comment>
253 <serialize>JSON</serialize>
254 <add>4.7</add>
255 </field>
256 </table>