* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) * @copyright PayPal */ /** * 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 = [ 'table' => 'paypal_ipn', 'primary' => 'id_paypal_ipn', 'multilang' => false, 'fields' => [ 'id_transaction' => ['type' => self::TYPE_STRING, 'validate' => 'isGenericName'], 'status' => ['type' => self::TYPE_STRING, 'validate' => 'isString'], 'response' => ['type' => self::TYPE_HTML, 'validate' => 'isString'], 'date_add' => ['type' => self::TYPE_DATE, 'validate' => 'isDateFormat'], ], 'collation' => 'utf8_general_ci', ]; }