1 <?xml version=
"1.0" encoding=
"iso-8859-1" ?>
5 <class>PriceFieldValue
</class>
6 <name>civicrm_price_field_value
</name>
8 <component>CiviContribute
</component>
11 <title>Price Field Value ID
</title>
12 <type>int unsigned
</type>
13 <required>true
</required>
14 <comment>Price Field Value
</comment>
19 <autoincrement>true
</autoincrement>
22 <name>price_field_id
</name>
23 <title>Price Field
</title>
24 <type>int unsigned
</type>
25 <required>true
</required>
26 <comment>FK to civicrm_price_field
</comment>
30 <name>price_field_id
</name>
31 <table>civicrm_price_field
</table>
40 <comment>Price field option name
</comment>
45 <default>NULL
</default>
52 <localizable>true
</localizable>
53 <comment>Price field option label
</comment>
58 <default>NULL
</default>
61 <name>description
</name>
68 <default>NULL
</default>
69 <localizable>true
</localizable>
70 <comment>Price field option description.
</comment>
81 <default>NULL
</default>
82 <localizable>true
</localizable>
83 <comment>Price field option pre help text.
</comment>
87 <name>help_post
</name>
94 <default>NULL
</default>
95 <localizable>true
</localizable>
96 <comment>Price field option post field help.
</comment>
102 <title>Amount
</title>
103 <length>18,
9</length>
108 <required>true
</required>
109 <comment>Price field option amount
</comment>
114 <type>int unsigned
</type>
115 <default>NULL
</default>
116 <comment>Number of participants per field option
</comment>
123 <name>max_value
</name>
124 <type>int unsigned
</type>
125 <default>NULL
</default>
126 <comment>Max number of participants per field options
</comment>
137 <comment>Order in which the field options should appear
</comment>
144 <name>membership_type_id
</name>
145 <title>Membership Type
</title>
146 <type>int unsigned
</type>
147 <default>NULL
</default>
148 <comment>FK to Membership Type
</comment>
155 <name>membership_type_id
</name>
156 <table>civicrm_membership_type
</table>
159 <onDelete>SET NULL
</onDelete>
162 <name>membership_num_terms
</name>
163 <type>int unsigned
</type>
164 <default>NULL
</default>
165 <comment>Number of terms for this membership
</comment>
172 <name>is_default
</name>
173 <title>Is Default Price Field Option?
</title>
175 <comment>Is this default price field option
</comment>
179 <type>CheckBox
</type>
183 <name>is_active
</name>
184 <title>Price Field Value is Active
</title>
186 <comment>Is this price field value active
</comment>
191 <name>financial_type_id
</name>
192 <title>Financial Type
</title>
193 <type>int unsigned
</type>
194 <default>NULL
</default>
196 <table>civicrm_financial_type
</table>
197 <keyColumn>id
</keyColumn>
198 <labelColumn>name
</labelColumn>
200 <comment>FK to Financial Type.
</comment>
207 <name>financial_type_id
</name>
208 <table>civicrm_financial_type
</table>
210 <onDelete>SET NULL
</onDelete>
214 <name>non_deductible_amount
</name>
215 <title>Non-deductible Amount
</title>
217 <default>0.0</default>
218 <headerPattern>/non?.?deduct/i
</headerPattern>
219 <dataPattern>/^\d+(\.\d{
2})?$/
</dataPattern>
220 <required>true
</required>
221 <comment>Portion of total amount which is NOT tax deductible.
</comment>
228 <name>visibility_id
</name>
229 <title>Price Field Option Visibility
</title>
230 <type>int unsigned
</type>
232 <comment>Implicit FK to civicrm_option_group with name = 'visibility'
</comment>
235 <optionGroupName>visibility
</optionGroupName>