141 lines
6.2 KiB
XML
141 lines
6.2 KiB
XML
<?xml version="1.0" encoding="ISO-8859-1" ?>
|
|
<construct>
|
|
<!-- define the module name -->
|
|
<module>checkout</module>
|
|
<!-- define the module table name -->
|
|
<table>checkout</table>
|
|
<!-- define the module dependancy(s) -->
|
|
<dependancy/>
|
|
<!-- define the DB cache in seconds -->
|
|
<cache>0</cache>
|
|
<!-- define the default order_by field for SQL queries -->
|
|
<order_by>name</order_by>
|
|
<!-- define the methods -->
|
|
<limit>25</limit>
|
|
<!-- define the fields -->
|
|
<field>
|
|
<id>
|
|
<type>I4</type>
|
|
<unique>1</unique>
|
|
<index>1</index>
|
|
</id>
|
|
<site_id>
|
|
<type>I4</type>
|
|
<index>1</index>
|
|
</site_id>
|
|
<name>
|
|
<type>C(32)</type>
|
|
<min_len>1</min_len>
|
|
<max_len>32</max_len>
|
|
<validate>any</validate>
|
|
</name>
|
|
<description>
|
|
<type>C(255)</type>
|
|
</description>
|
|
<active>
|
|
<type>L</type>
|
|
</active>
|
|
<checkout_plugin>
|
|
<type>C(32)</type>
|
|
<validate>any</validate>
|
|
</checkout_plugin>
|
|
<plugin_data>
|
|
<type>X2</type>
|
|
<convert>array</convert>
|
|
<arr_force>1</arr_force>
|
|
</plugin_data>
|
|
<allow_recurring>
|
|
<type>L</type>
|
|
</allow_recurring>
|
|
<allow_new>
|
|
<type>L</type>
|
|
</allow_new>
|
|
<allow_trial>
|
|
<type>L</type>
|
|
</allow_trial>
|
|
<total_minimum>
|
|
<type>F</type>
|
|
</total_minimum>
|
|
<total_maximum>
|
|
<type>F</type>
|
|
</total_maximum>
|
|
<max_decline_attempts>
|
|
<type>I4</type>
|
|
</max_decline_attempts>
|
|
<manual_approval_all>
|
|
<type>L</type>
|
|
</manual_approval_all>
|
|
<manual_approval_recur>
|
|
<type>L</type>
|
|
</manual_approval_recur>
|
|
<manual_approval_country>
|
|
<type>X2</type>
|
|
<convert>array</convert>
|
|
<arr_force>1</arr_force>
|
|
</manual_approval_country>
|
|
<manual_approval_group>
|
|
<type>X2</type>
|
|
<convert>array</convert>
|
|
<arr_force>1</arr_force>
|
|
</manual_approval_group>
|
|
<manual_approval_amount>
|
|
<type>F</type>
|
|
</manual_approval_amount>
|
|
<manual_approval_currency>
|
|
<type>X2</type>
|
|
<convert>array</convert>
|
|
<arr_force>1</arr_force>
|
|
</manual_approval_currency>
|
|
<default_when_currency>
|
|
<type>X2</type>
|
|
<convert>array</convert>
|
|
<arr_force>1</arr_force>
|
|
</default_when_currency>
|
|
<default_when_country>
|
|
<type>X2</type>
|
|
<convert>array</convert>
|
|
<arr_force>1</arr_force>
|
|
</default_when_country>
|
|
<default_when_group>
|
|
<type>X2</type>
|
|
<convert>array</convert>
|
|
<arr_force>1</arr_force>
|
|
</default_when_group>
|
|
<default_when_amount>
|
|
<type>F</type>
|
|
</default_when_amount>
|
|
<allowed_currencies>
|
|
<type>X2</type>
|
|
<convert>array</convert>
|
|
<arr_force>1</arr_force>
|
|
<validate>any</validate>
|
|
</allowed_currencies>
|
|
<email_template>
|
|
<type>X2</type>
|
|
</email_template>
|
|
<required_groups>
|
|
<type>X2</type>
|
|
<convert>array</convert>
|
|
<arr_force>1</arr_force>
|
|
</required_groups>
|
|
<excluded_products>
|
|
<type>X2</type>
|
|
<convert>array</convert>
|
|
<arr_force>1</arr_force>
|
|
</excluded_products>
|
|
<graphic_url>
|
|
<type>C(128)</type>
|
|
</graphic_url>
|
|
</field>
|
|
<!-- define all the methods for this class, and the fields they have access to, if applicable. -->
|
|
<method>
|
|
<add>id,site_id,name,description,active,checkout_plugin,plugin_data,allow_recurring,allow_new,allow_trial,total_minimum,total_maximum,max_decline_attempts,manual_approval_all,manual_approval_recur,manual_approval_country,manual_approval_group,manual_approval_amount,manual_approval_currency,default_when_currency,default_when_country,default_when_group,default_when_amount,allowed_currencies,email_template,excluded_products,required_groups,graphic_url</add>
|
|
<update>id,site_id,name,description,active,checkout_plugin,plugin_data,allow_recurring,allow_new,allow_trial,total_minimum,total_maximum,max_decline_attempts,manual_approval_all,manual_approval_recur,manual_approval_country,manual_approval_group,manual_approval_amount,manual_approval_currency,default_when_currency,default_when_country,default_when_group,default_when_amount,allowed_currencies,email_template,excluded_products,required_groups,graphic_url</update>
|
|
<delete>id,site_id,name,description,active,checkout_plugin,plugin_data,allow_recurring,allow_new,allow_trial,total_minimum,total_maximum,max_decline_attempts,manual_approval_all,manual_approval_recur,manual_approval_country,manual_approval_group,manual_approval_amount,manual_approval_currency,default_when_currency,default_when_country,default_when_group,default_when_amount,allowed_currencies,excluded_products,required_groups</delete>
|
|
<view>id,site_id,name,description,active,checkout_plugin,plugin_data,allow_recurring,allow_new,allow_trial,total_minimum,total_maximum,max_decline_attempts,manual_approval_all,manual_approval_recur,manual_approval_country,manual_approval_group,manual_approval_amount,manual_approval_currency,default_when_currency,default_when_country,default_when_group,default_when_amount,allowed_currencies,email_template,excluded_products,required_groups,graphic_url</view>
|
|
<search>id,site_id,name,description,active,checkout_plugin,plugin_data,allow_recurring,allow_new,allow_trial,total_minimum,total_maximum,max_decline_attempts,manual_approval_all,manual_approval_recur,manual_approval_country,manual_approval_group,manual_approval_amount,manual_approval_currency,default_when_currency,default_when_country,default_when_group,default_when_amount,allowed_currencies,email_template,excluded_products,required_groups</search>
|
|
</method>
|
|
<!-- define the method triggers -->
|
|
<trigger>0</trigger>
|
|
</construct>
|