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