| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256 |
- <?php
- /* Transaction Fixture generated on: 2011-11-20 21:59:40 : 1321822780 */
- /**
- * TransactionFixture
- *
- */
- class TransactionFixture extends CakeTestFixture {
- /**
- * Fields
- *
- * @var array
- */
- public $fields = [
- 'id' => ['type' => 'integer', 'null' => false, 'default' => null, 'length' => 10, 'key' => 'primary', 'collate' => null, 'comment' => ''],
- 'title' => ['type' => 'string', 'null' => false, 'default' => null, 'length' => 100, 'collate' => 'utf8_unicode_ci', 'comment' => '', 'charset' => 'utf8'],
- 'token' => ['type' => 'string', 'null' => false, 'default' => null, 'length' => 100, 'collate' => 'utf8_unicode_ci', 'comment' => '', 'charset' => 'utf8'],
- 'foreign_id' => ['type' => 'string', 'null' => true, 'default' => null, 'length' => 36, 'collate' => 'utf8_unicode_ci', 'comment' => '', 'charset' => 'utf8'],
- 'model' => ['type' => 'string', 'null' => false, 'default' => null, 'length' => 30, 'collate' => 'utf8_unicode_ci', 'comment' => '', 'charset' => 'utf8'],
- 'type' => ['type' => 'string', 'null' => false, 'default' => null, 'length' => 30, 'collate' => 'utf8_unicode_ci', 'comment' => 'paypal, ...', 'charset' => 'utf8'],
- 'transaction_id' => ['type' => 'string', 'null' => true, 'default' => null, 'length' => 100, 'collate' => 'utf8_unicode_ci', 'comment' => '', 'charset' => 'utf8'],
- 'transaction_type' => ['type' => 'string', 'null' => false, 'default' => null, 'length' => 30, 'collate' => 'utf8_unicode_ci', 'comment' => '', 'charset' => 'utf8'],
- 'note' => ['type' => 'string', 'null' => false, 'default' => null, 'collate' => 'utf8_unicode_ci', 'comment' => '', 'charset' => 'utf8'],
- 'amount' => ['type' => 'float', 'null' => false, 'default' => '0.00', 'length' => '9,2', 'collate' => null, 'comment' => ''],
- 'fee_amount' => ['type' => 'float', 'null' => false, 'default' => '0.00', 'length' => '9,2', 'collate' => null, 'comment' => ''],
- 'tax_amount' => ['type' => 'float', 'null' => false, 'default' => '0.00', 'length' => '9,2', 'collate' => null, 'comment' => ''],
- 'currency_code' => ['type' => 'string', 'null' => false, 'default' => null, 'length' => 3, 'collate' => 'utf8_unicode_ci', 'comment' => '', 'charset' => 'utf8'],
- 'payment_type' => ['type' => 'string', 'null' => false, 'default' => null, 'length' => 30, 'collate' => 'utf8_unicode_ci', 'comment' => '', 'charset' => 'utf8'],
- 'payment_status' => ['type' => 'string', 'null' => false, 'default' => null, 'length' => 30, 'collate' => 'utf8_unicode_ci', 'comment' => '', 'charset' => 'utf8'],
- 'pending_reason' => ['type' => 'string', 'null' => false, 'default' => null, 'length' => 100, 'collate' => 'utf8_unicode_ci', 'comment' => '', 'charset' => 'utf8'],
- 'reason_code' => ['type' => 'string', 'null' => false, 'default' => null, 'length' => 30, 'collate' => 'utf8_unicode_ci', 'comment' => '', 'charset' => 'utf8'],
- 'order_time' => ['type' => 'datetime', 'null' => true, 'default' => null, 'collate' => null, 'comment' => ''],
- 'created' => ['type' => 'datetime', 'null' => true, 'default' => null, 'collate' => null, 'comment' => ''],
- 'indexes' => ['PRIMARY' => ['column' => 'id', 'unique' => 1]],
- 'tableParameters' => []
- ];
- /**
- * Records
- *
- * @var array
- */
- public $records = [
- [
- 'id' => '1',
- 'title' => 'Paypal-Bezahlung von admin@admin.de',
- 'token' => 'EC-0P828508TM680313G',
- 'foreign_id' => '4e7c7592-648c-47a2-bec7-00947cb063f2',
- 'model' => 'Order',
- 'type' => 'paypal',
- 'transaction_id' => '',
- 'transaction_type' => '',
- 'note' => '',
- 'amount' => '9.90',
- 'fee_amount' => '0.00',
- 'tax_amount' => '0.00',
- 'currency_code' => 'EUR',
- 'payment_type' => '',
- 'payment_status' => '',
- 'pending_reason' => '',
- 'reason_code' => '',
- 'order_time' => null,
- 'created' => '2011-09-23 14:58:38'
- ],
- [
- 'id' => '2',
- 'title' => 'Paypal-Bezahlung von admin@admin.de',
- 'token' => 'EC-48H402745D559663N',
- 'foreign_id' => '4e7c8767-0580-41c2-8f23-00947cb063f2',
- 'model' => 'Order',
- 'type' => 'paypal',
- 'transaction_id' => '',
- 'transaction_type' => '',
- 'note' => '',
- 'amount' => '9.90',
- 'fee_amount' => '0.00',
- 'tax_amount' => '0.00',
- 'currency_code' => 'EUR',
- 'payment_type' => '',
- 'payment_status' => '',
- 'pending_reason' => '',
- 'reason_code' => '',
- 'order_time' => null,
- 'created' => '2011-09-23 15:19:42'
- ],
- [
- 'id' => '5',
- 'title' => 'Test-Konto-Einzahlung von user@user.de',
- 'token' => 'EC-0MA508270G1912621',
- 'foreign_id' => '1',
- 'model' => 'PrepaidAccount',
- 'type' => 'paypal',
- 'transaction_id' => '',
- 'transaction_type' => '',
- 'note' => '',
- 'amount' => '15.00',
- 'fee_amount' => '0.00',
- 'tax_amount' => '0.00',
- 'currency_code' => 'EUR',
- 'payment_type' => '',
- 'payment_status' => '',
- 'pending_reason' => '',
- 'reason_code' => '',
- 'order_time' => null,
- 'created' => '2011-09-23 17:13:59'
- ],
- [
- 'id' => '4',
- 'title' => 'Test-Konto-Einzahlung von user@user.de',
- 'token' => 'EC-89F71804C0644512T',
- 'foreign_id' => '1',
- 'model' => 'PrepaidAccount',
- 'type' => 'paypal',
- 'transaction_id' => '',
- 'transaction_type' => '',
- 'note' => '',
- 'amount' => '2.00',
- 'fee_amount' => '0.00',
- 'tax_amount' => '0.00',
- 'currency_code' => 'EUR',
- 'payment_type' => '',
- 'payment_status' => '',
- 'pending_reason' => '',
- 'reason_code' => '',
- 'order_time' => null,
- 'created' => '2011-09-23 17:07:40'
- ],
- [
- 'id' => '6',
- 'title' => '',
- 'token' => '',
- 'foreign_id' => '',
- 'model' => '',
- 'type' => '',
- 'transaction_id' => '5BX58234B37950023',
- 'transaction_type' => 'expresscheckout',
- 'note' => 'super!!!!!!!',
- 'amount' => '15.00',
- 'fee_amount' => '0.64',
- 'tax_amount' => '0.00',
- 'currency_code' => 'EUR',
- 'payment_type' => 'instant',
- 'payment_status' => 'Completed',
- 'pending_reason' => 'None',
- 'reason_code' => 'None',
- 'order_time' => '2011-09-23 15:14:42',
- 'created' => '2011-09-23 17:14:57'
- ],
- [
- 'id' => '7',
- 'title' => 'Test-Konto-Einzahlung von user@user.de',
- 'token' => 'EC-5SH71547J6537800X',
- 'foreign_id' => '1',
- 'model' => 'PrepaidAccount',
- 'type' => 'paypal',
- 'transaction_id' => '2KA31398DU2919545',
- 'transaction_type' => 'expresscheckout',
- 'note' => '',
- 'amount' => '15.00',
- 'fee_amount' => '0.64',
- 'tax_amount' => '0.00',
- 'currency_code' => 'EUR',
- 'payment_type' => 'instant',
- 'payment_status' => 'Completed',
- 'pending_reason' => 'None',
- 'reason_code' => 'None',
- 'order_time' => '2011-09-23 15:17:45',
- 'created' => '2011-09-23 17:17:32'
- ],
- [
- 'id' => '8',
- 'title' => 'Paypal-Bezahlung von admin@admin.de',
- 'token' => 'EC-1YA81486XV646422E',
- 'foreign_id' => '4e7cb285-6c5c-4de6-883b-00947cb063f2',
- 'model' => 'Order',
- 'type' => 'paypal',
- 'transaction_id' => '0L406448G9145332Y',
- 'transaction_type' => 'expresscheckout',
- 'note' => '',
- 'amount' => '9.90',
- 'fee_amount' => '0.54',
- 'tax_amount' => '0.00',
- 'currency_code' => 'EUR',
- 'payment_type' => 'instant',
- 'payment_status' => 'Completed',
- 'pending_reason' => 'None',
- 'reason_code' => 'None',
- 'order_time' => '2011-09-23 19:45:34',
- 'created' => '2011-09-23 21:45:01'
- ],
- [
- 'id' => '9',
- 'title' => 'Test-Konto-Einzahlung von admin@admin.de',
- 'token' => 'EC-89362070VF0669840',
- 'foreign_id' => '5',
- 'model' => 'PrepaidAccount',
- 'type' => 'paypal',
- 'transaction_id' => '',
- 'transaction_type' => '',
- 'note' => '',
- 'amount' => '25.00',
- 'fee_amount' => '0.00',
- 'tax_amount' => '0.00',
- 'currency_code' => 'EUR',
- 'payment_type' => '',
- 'payment_status' => '',
- 'pending_reason' => '',
- 'reason_code' => '',
- 'order_time' => null,
- 'created' => '2011-09-29 23:40:48'
- ],
- [
- 'id' => '10',
- 'title' => 'Test-Konto-Einzahlung von admin@admin.de',
- 'token' => 'EC-3UH10864KV965382X',
- 'foreign_id' => '5',
- 'model' => 'PrepaidAccount',
- 'type' => 'paypal',
- 'transaction_id' => '',
- 'transaction_type' => '',
- 'note' => '',
- 'amount' => '25.00',
- 'fee_amount' => '0.00',
- 'tax_amount' => '0.00',
- 'currency_code' => 'EUR',
- 'payment_type' => '',
- 'payment_status' => '',
- 'pending_reason' => '',
- 'reason_code' => '',
- 'order_time' => null,
- 'created' => '2011-10-03 16:35:08'
- ],
- [
- 'id' => '11',
- 'title' => 'Paypal-Bezahlung von admin@admin.de',
- 'token' => 'EC-7TD59178A43867932',
- 'foreign_id' => '4ea8ab36-0f54-4e35-86ff-410c7cb063f2',
- 'model' => 'Order',
- 'type' => 'paypal',
- 'transaction_id' => '',
- 'transaction_type' => '',
- 'note' => '',
- 'amount' => '9.90',
- 'fee_amount' => '0.00',
- 'tax_amount' => '0.00',
- 'currency_code' => 'EUR',
- 'payment_type' => '',
- 'payment_status' => '',
- 'pending_reason' => '',
- 'reason_code' => '',
- 'order_time' => null,
- 'created' => '2011-10-27 02:58:50'
- ],
- ];
- }
|