Merge pull request #13374 from cividesk/dev-627
[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 <field>
9 <name>id</name>
10 <title>Payment Processor ID</title>
11 <type>int unsigned</type>
12 <required>true</required>
13 <comment>Payment Processor ID</comment>
14 <add>1.8</add>
15 </field>
16 <primaryKey>
17 <name>id</name>
18 <autoincrement>true</autoincrement>
19 </primaryKey>
20 <field>
21 <name>domain_id</name>
22 <title>Payment Processor Domain</title>
23 <type>int unsigned</type>
24 <required>true</required>
25 <pseudoconstant>
26 <table>civicrm_domain</table>
27 <keyColumn>id</keyColumn>
28 <labelColumn>name</labelColumn>
29 </pseudoconstant>
30 <comment>Which Domain is this match entry for</comment>
31 <add>3.0</add>
32 </field>
33 <foreignKey>
34 <name>domain_id</name>
35 <table>civicrm_domain</table>
36 <key>id</key>
37 <add>3.0</add>
38 </foreignKey>
39 <field>
40 <name>name</name>
41 <title>Payment Processor</title>
42 <type>varchar</type>
43 <length>64</length>
44 <comment>Payment Processor Name.</comment>
45 <add>1.8</add>
46 <html>
47 <type>Text</type>
48 </html>
49 </field>
50 <field>
51 <name>title</name>
52 <title>Payment Processor Title</title>
53 <type>varchar</type>
54 <length>127</length>
55 <localizable>true</localizable>
56 <html>
57 <type>Text</type>
58 </html>
59 <comment>Payment Processor Descriptive Name.</comment>
60 <add>5.13</add>
61 </field>
62 <field>
63 <name>description</name>
64 <title>Processor Description</title>
65 <type>varchar</type>
66 <length>255</length>
67 <comment>Payment Processor Description.</comment>
68 <add>1.8</add>
69 </field>
70 <field>
71 <name>payment_processor_type</name>
72 <type>varchar</type>
73 <length>255</length>
74 <comment>Payment Processor Type.</comment>
75 <add>1.8</add>
76 <drop>4.3</drop>
77 </field>
78 <field>
79 <name>payment_processor_type_id</name>
80 <title>Payment Processor Type ID</title>
81 <type>int unsigned</type>
82 <pseudoconstant>
83 <table>civicrm_payment_processor_type</table>
84 <keyColumn>id</keyColumn>
85 <labelColumn>title</labelColumn>
86 </pseudoconstant>
87 <length>10</length>
88 <add>4.3</add>
89 </field>
90 <foreignKey>
91 <name>payment_processor_type_id</name>
92 <table>civicrm_payment_processor_type</table>
93 <key>id</key>
94 <add>4.3</add>
95 </foreignKey>
96 <field>
97 <name>is_active</name>
98 <title>Processor is Active?</title>
99 <type>boolean</type>
100 <comment>Is this processor active?</comment>
101 <add>1.8</add>
102 </field>
103 <field>
104 <name>is_default</name>
105 <title>Processor Is Default?</title>
106 <type>boolean</type>
107 <comment>Is this processor the default?</comment>
108 <add>1.8</add>
109 </field>
110 <field>
111 <name>is_test</name>
112 <title>Is Test Processor?</title>
113 <type>boolean</type>
114 <comment>Is this processor for a test site?</comment>
115 <add>1.8</add>
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>