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>
22 <autoincrement>true
</autoincrement>
25 <name>price_field_id
</name>
26 <title>Price Field
</title>
27 <type>int unsigned
</type>
28 <required>true
</required>
29 <comment>FK to civicrm_price_field
</comment>
33 <name>price_field_id
</name>
34 <table>civicrm_price_field
</table>
43 <comment>Price field option name
</comment>
48 <default>NULL
</default>
55 <localizable>true
</localizable>
56 <comment>Price field option label
</comment>
61 <default>NULL
</default>
64 <name>description
</name>
71 <default>NULL
</default>
72 <localizable>true
</localizable>
73 <comment>Price field option description.
</comment>
84 <default>NULL
</default>
85 <localizable>true
</localizable>
86 <comment>Price field option pre help text.
</comment>
90 <name>help_post
</name>
97 <default>NULL
</default>
98 <localizable>true
</localizable>
99 <comment>Price field option post field help.
</comment>
105 <title>Amount
</title>
106 <length>18,
9</length>
111 <required>true
</required>
112 <comment>Price field option amount
</comment>
117 <type>int unsigned
</type>
118 <default>NULL
</default>
119 <comment>Number of participants per field option
</comment>
126 <name>max_value
</name>
127 <type>int unsigned
</type>
128 <default>NULL
</default>
129 <comment>Max number of participants per field options
</comment>
140 <comment>Order in which the field options should appear
</comment>
147 <name>membership_type_id
</name>
148 <title>Membership Type
</title>
149 <type>int unsigned
</type>
150 <default>NULL
</default>
151 <comment>FK to Membership Type
</comment>
158 <name>membership_type_id
</name>
159 <table>civicrm_membership_type
</table>
162 <onDelete>SET NULL
</onDelete>
165 <name>membership_num_terms
</name>
166 <type>int unsigned
</type>
167 <default>NULL
</default>
168 <comment>Number of terms for this membership
</comment>
175 <name>is_default
</name>
176 <title>Is Default Price Field Option?
</title>
178 <comment>Is this default price field option
</comment>
182 <type>CheckBox
</type>
186 <name>is_active
</name>
187 <title>Price Field Value is Active
</title>
189 <comment>Is this price field value active
</comment>
194 <name>financial_type_id
</name>
195 <title>Financial Type
</title>
196 <type>int unsigned
</type>
197 <default>NULL
</default>
199 <table>civicrm_financial_type
</table>
200 <keyColumn>id
</keyColumn>
201 <labelColumn>name
</labelColumn>
203 <comment>FK to Financial Type.
</comment>
210 <name>financial_type_id
</name>
211 <table>civicrm_financial_type
</table>
213 <onDelete>SET NULL
</onDelete>
217 <name>non_deductible_amount
</name>
218 <title>Non-deductible Amount
</title>
220 <default>0.0</default>
221 <headerPattern>/non?.?deduct/i
</headerPattern>
222 <dataPattern>/^\d+(\.\d{
2})?$/
</dataPattern>
223 <required>true
</required>
224 <comment>Portion of total amount which is NOT tax deductible.
</comment>
231 <name>visibility_id
</name>
232 <title>Price Field Option Visibility
</title>
233 <type>int unsigned
</type>
235 <comment>Implicit FK to civicrm_option_group with name = 'visibility'
</comment>
238 <optionGroupName>visibility
</optionGroupName>