* @copyright PayPal * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) */ /** * Class PaypalIpn. */ class PaypalIpn extends ObjectModel { /* @var string transaction_id*/ public $id_transaction; /* @var string */ public $status; /* @var string */ public $response; /* @var string creation date*/ public $date_add; /** * @see ObjectModel::$definition */ public static $definition = array( 'table' => 'paypal_ipn', 'primary' => 'id_paypal_ipn', 'multilang' => false, 'fields' => array( 'id_transaction' => array('type' => self::TYPE_STRING, 'validate' => 'isGenericName'), 'status' => array('type' => self::TYPE_STRING, 'validate' => 'isString'), 'response' => array('type' => self::TYPE_HTML, 'validate' => 'isString'), 'date_add' => array('type' => self::TYPE_DATE, 'validate' => 'isDateFormat'), ), 'collation' => 'utf8_general_ci' ); }