*
* Generated from xml/schema/CRM/Financial/PaymentProcessor.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:0bd325aff061b6eea4854ef63757772a)
+ * (GenCodeChecksum:55a55af34cd25ec8d69f4145d3fa2870)
*/
/**
'name' => 'payment_processor_type_id',
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Payment Processor Type ID'),
+ 'required' => TRUE,
'where' => 'civicrm_payment_processor.payment_processor_type_id',
'table_name' => 'civicrm_payment_processor',
'entity' => 'PaymentProcessor',
'title' => ts('Processor is Active?'),
'description' => ts('Is this processor active?'),
'where' => 'civicrm_payment_processor.is_active',
+ 'default' => '1',
'table_name' => 'civicrm_payment_processor',
'entity' => 'PaymentProcessor',
'bao' => 'CRM_Financial_BAO_PaymentProcessor',
'title' => ts('Processor Is Default?'),
'description' => ts('Is this processor the default?'),
'where' => 'civicrm_payment_processor.is_default',
+ 'default' => '0',
'table_name' => 'civicrm_payment_processor',
'entity' => 'PaymentProcessor',
'bao' => 'CRM_Financial_BAO_PaymentProcessor',
'title' => ts('Is Test Processor?'),
'description' => ts('Is this processor for a test site?'),
'where' => 'civicrm_payment_processor.is_test',
+ 'default' => '0',
'table_name' => 'civicrm_payment_processor',
'entity' => 'PaymentProcessor',
'bao' => 'CRM_Financial_BAO_PaymentProcessor',
*
* Generated from xml/schema/CRM/Financial/PaymentProcessorType.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:65231e0b77bcce22bd505b89ace63506)
+ * (GenCodeChecksum:ea2020b03d32e0c0f1a2d4915f2a14b1)
*/
/**
public $name;
/**
- * Payment Processor Name.
+ * Payment Processor Type Title.
*
* @var string
*/
'type' => CRM_Utils_Type::T_STRING,
'title' => ts('Payment Processor variable name to be used in code'),
'description' => ts('Payment Processor Name.'),
+ 'required' => TRUE,
'maxlength' => 64,
'size' => CRM_Utils_Type::BIG,
'where' => 'civicrm_payment_processor_type.name',
'title' => [
'name' => 'title',
'type' => CRM_Utils_Type::T_STRING,
- 'title' => ts('Payment Processor Title'),
- 'description' => ts('Payment Processor Name.'),
+ 'title' => ts('Payment Processor Type Title'),
+ 'description' => ts('Payment Processor Type Title.'),
+ 'required' => TRUE,
'maxlength' => 127,
'size' => CRM_Utils_Type::HUGE,
'where' => 'civicrm_payment_processor_type.title',
'title' => ts('Processor Type Is Active?'),
'description' => ts('Is this processor active?'),
'where' => 'civicrm_payment_processor_type.is_active',
+ 'default' => '1',
'table_name' => 'civicrm_payment_processor_type',
'entity' => 'PaymentProcessorType',
'bao' => 'CRM_Financial_BAO_PaymentProcessorType',
'title' => ts('Processor Type is Default?'),
'description' => ts('Is this processor the default?'),
'where' => 'civicrm_payment_processor_type.is_default',
+ 'default' => '0',
'table_name' => 'civicrm_payment_processor_type',
'entity' => 'PaymentProcessorType',
'bao' => 'CRM_Financial_BAO_PaymentProcessorType',
'name' => 'class_name',
'type' => CRM_Utils_Type::T_STRING,
'title' => ts('Suffix for PHP class name implementation'),
+ 'required' => TRUE,
'maxlength' => 255,
'size' => CRM_Utils_Type::HUGE,
'where' => 'civicrm_payment_processor_type.class_name',
'name' => 'Test_Payment_Processor',
'title' => 'Test Payment Processor',
'billing_mode' => 1,
+ 'class_name' => 'Payment_Dummy',
];
$paymentProcessor = CRM_Financial_BAO_PaymentProcessorType::create($params);
$result = $this->assertDBNotNull(
'name' => 'Test_Retrieve_Payment_Processor',
'title' => 'Test Retrieve Payment Processor',
'billing_mode' => 1,
+ 'class_name' => 'Payment_Dummy',
];
$defaults = [];
CRM_Financial_BAO_PaymentProcessorType::create($params);
'title' => 'Test Set Payment Processor',
'billing_mode' => 1,
'is_active' => 1,
+ 'class_name' => 'Payment_Dummy',
];
$paymentProcessor = CRM_Financial_BAO_PaymentProcessorType::create($params);
'title' => 'Test Del Payment Processor',
'billing_mode' => 1,
'is_active' => 1,
+ 'class_name' => 'Payment_Dummy',
];
$defaults = [];
<keyColumn>id</keyColumn>
<labelColumn>title</labelColumn>
</pseudoconstant>
+ <required>true</required>
<length>10</length>
<add>4.3</add>
</field>
<type>boolean</type>
<comment>Is this processor active?</comment>
<add>1.8</add>
+ <default>1</default>
</field>
<field>
<name>is_default</name>
<type>boolean</type>
<comment>Is this processor the default?</comment>
<add>1.8</add>
+ <default>0</default>
</field>
<field>
<name>is_test</name>
<type>boolean</type>
<comment>Is this processor for a test site?</comment>
<add>1.8</add>
+ <default>0</default>
</field>
<index>
<name>UI_name_test_domain_id</name>
<length>64</length>
<comment>Payment Processor Name.</comment>
<add>1.8</add>
+ <required>true</required>
</field>
<field>
<name>title</name>
- <title>Payment Processor Title</title>
+ <title>Payment Processor Type Title</title>
<type>varchar</type>
<length>127</length>
- <comment>Payment Processor Name.</comment>
+ <comment>Payment Processor Type Title.</comment>
<add>1.8</add>
+ <required>true</required>
</field>
<field>
<name>description</name>
<type>boolean</type>
<comment>Is this processor active?</comment>
<add>1.8</add>
+ <default>1</default>
</field>
<field>
<name>is_default</name>
<type>boolean</type>
<comment>Is this processor the default?</comment>
<add>1.8</add>
+ <default>0</default>
</field>
<index>
<name>UI_name</name>
<type>varchar</type>
<length>255</length>
<add>1.8</add>
+ <required>true</required>
</field>
<field>
<name>url_site_default</name>