1 <?xml version=
"1.0" encoding=
"iso-8859-1" ?>
4 <base>CRM/Contribute
</base>
5 <class>ContributionProduct
</class>
6 <name>civicrm_contribution_product
</name>
9 <component>CiviContribute
</component>
12 <title>Contribution Product ID
</title>
13 <type>int unsigned
</type>
14 <required>true
</required>
22 <autoincrement>true
</autoincrement>
25 <name>product_id
</name>
26 <title>Product ID
</title>
27 <type>int unsigned
</type>
28 <required>true
</required>
32 <name>product_id
</name>
33 <table>civicrm_product
</table>
36 <onDelete>CASCADE
</onDelete>
39 <name>contribution_id
</name>
40 <title>Contribution ID
</title>
41 <type>int unsigned
</type>
42 <required>true
</required>
44 <label>Contribution
</label>
49 <name>contribution_id
</name>
50 <table>civicrm_contribution
</table>
53 <onDelete>CASCADE
</onDelete>
56 <name>product_option
</name>
57 <title>Product Option
</title>
61 <comment>Option value selected if applicable - e.g. color, size etc.
</comment>
66 <title>Quantity
</title>
73 <name>fulfilled_date
</name>
75 <title>Fulfilled Date
</title>
77 <comment>Optional. Can be used to record the date this product was fulfilled or shipped.
</comment>
80 <type>Select Date
</type>
81 <formatType>activityDate
</formatType>
85 <name>start_date
</name>
86 <uniqueName>contribution_start_date
</uniqueName>
87 <title>Start date for premium
</title>
90 <comment>Actual start date for a time-delimited premium (subscription, service or membership)
</comment>
95 <uniqueName>contribution_end_date
</uniqueName>
97 <title>End date for premium
</title>
99 <comment>Actual end date for a time-delimited premium (subscription, service or membership)
</comment>
104 <title>Premium comment
</title>
109 <name>financial_type_id
</name>
110 <title>Financial Type ID
</title>
111 <type>int unsigned
</type>
112 <default>NULL
</default>
114 <table>civicrm_financial_type
</table>
115 <keyColumn>id
</keyColumn>
116 <labelColumn>name
</labelColumn>
118 <comment>FK to Financial Type(for membership price sets only).
</comment>
120 <label>Financial Type
</label>
125 <name>financial_type_id
</name>
126 <table>civicrm_financial_type
</table>
128 <onDelete>SET NULL
</onDelete>