1 <?xml version=
"1.0" encoding=
"iso-8859-1" ?>
4 <base>CRM/Pledge
</base>
5 <class>PledgePayment
</class>
6 <name>civicrm_pledge_payment
</name>
7 <comment>Pledge Payment
</comment>
12 <uniqueName>pledge_payment_id
</uniqueName>
13 <title>Payment ID
</title>
14 <type>int unsigned
</type>
15 <required>true
</required>
21 <autoincrement>true
</autoincrement>
24 <name>pledge_id
</name>
25 <type>int unsigned
</type>
26 <required>true
</required>
27 <comment>FK to Pledge table
</comment>
31 <name>pledge_id
</name>
32 <table>civicrm_pledge
</table>
35 <onDelete>CASCADE
</onDelete>
38 <name>contribution_id
</name>
39 <type>int unsigned
</type>
40 <comment>FK to contribution table.
</comment>
44 <name>contribution_id
</name>
45 <table>civicrm_contribution
</table>
48 <onDelete>CASCADE
</onDelete>
51 <name>index_contribution_pledge
</name>
52 <fieldName>contribution_id
</fieldName>
53 <fieldName>pledge_id
</fieldName>
57 <name>scheduled_amount
</name>
58 <uniqueName>pledge_payment_scheduled_amount
</uniqueName>
59 <title>Scheduled Amount
</title>
62 <required>true
</required>
63 <comment>Pledged amount for this payment (the actual contribution amount might be different).
</comment>
67 <name>actual_amount
</name>
68 <uniqueName>pledge_payment_actual_amount
</uniqueName>
69 <title>Actual Amount
</title>
72 <comment>Actual amount that is paid as the Pledged installment amount.
</comment>
79 <default>NULL
</default>
80 <comment>3 character string, value from config setting or input via user.
</comment>
83 <table>civicrm_currency
</table>
84 <keyColumn>name
</keyColumn>
85 <labelColumn>symbol
</labelColumn>
89 <name>scheduled_date
</name>
90 <uniqueName>pledge_payment_scheduled_date
</uniqueName>
91 <title>Scheduled Date
</title>
94 <required>true
</required>
95 <comment>The date the pledge payment is supposed to happen.
</comment>
99 <name>reminder_date
</name>
100 <uniqueName>pledge_payment_reminder_date
</uniqueName>
101 <title>Last Reminder
</title>
102 <import>true
</import>
103 <type>datetime
</type>
104 <comment>The date that the most recent payment reminder was sent.
</comment>
108 <name>reminder_count
</name>
109 <uniqueName>pledge_payment_reminder_count
</uniqueName>
110 <title>Reminders Sent
</title>
111 <import>true
</import>
112 <type>int unsigned
</type>
114 <comment>The number of payment reminders sent.
</comment>
118 <name>status_id
</name>
119 <title>Payment Status
</title>
120 <uniqueName>pledge_payment_status_id
</uniqueName>
121 <import>true
</import>
122 <export>false
</export>
123 <type>int unsigned
</type>
127 <name>index_status
</name>
128 <fieldName>status_id
</fieldName>