TransactionFixture.php 8.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256
  1. <?php
  2. /* Transaction Fixture generated on: 2011-11-20 21:59:40 : 1321822780 */
  3. /**
  4. * TransactionFixture
  5. *
  6. */
  7. class TransactionFixture extends CakeTestFixture {
  8. /**
  9. * Fields
  10. *
  11. * @var array
  12. */
  13. public $fields = [
  14. 'id' => ['type' => 'integer', 'null' => false, 'default' => null, 'length' => 10, 'key' => 'primary', 'collate' => null, 'comment' => ''],
  15. 'title' => ['type' => 'string', 'null' => false, 'default' => null, 'length' => 100, 'collate' => 'utf8_unicode_ci', 'comment' => '', 'charset' => 'utf8'],
  16. 'token' => ['type' => 'string', 'null' => false, 'default' => null, 'length' => 100, 'collate' => 'utf8_unicode_ci', 'comment' => '', 'charset' => 'utf8'],
  17. 'foreign_id' => ['type' => 'string', 'null' => true, 'default' => null, 'length' => 36, 'collate' => 'utf8_unicode_ci', 'comment' => '', 'charset' => 'utf8'],
  18. 'model' => ['type' => 'string', 'null' => false, 'default' => null, 'length' => 30, 'collate' => 'utf8_unicode_ci', 'comment' => '', 'charset' => 'utf8'],
  19. 'type' => ['type' => 'string', 'null' => false, 'default' => null, 'length' => 30, 'collate' => 'utf8_unicode_ci', 'comment' => 'paypal, ...', 'charset' => 'utf8'],
  20. 'transaction_id' => ['type' => 'string', 'null' => true, 'default' => null, 'length' => 100, 'collate' => 'utf8_unicode_ci', 'comment' => '', 'charset' => 'utf8'],
  21. 'transaction_type' => ['type' => 'string', 'null' => false, 'default' => null, 'length' => 30, 'collate' => 'utf8_unicode_ci', 'comment' => '', 'charset' => 'utf8'],
  22. 'note' => ['type' => 'string', 'null' => false, 'default' => null, 'collate' => 'utf8_unicode_ci', 'comment' => '', 'charset' => 'utf8'],
  23. 'amount' => ['type' => 'float', 'null' => false, 'default' => '0.00', 'length' => '9,2', 'collate' => null, 'comment' => ''],
  24. 'fee_amount' => ['type' => 'float', 'null' => false, 'default' => '0.00', 'length' => '9,2', 'collate' => null, 'comment' => ''],
  25. 'tax_amount' => ['type' => 'float', 'null' => false, 'default' => '0.00', 'length' => '9,2', 'collate' => null, 'comment' => ''],
  26. 'currency_code' => ['type' => 'string', 'null' => false, 'default' => null, 'length' => 3, 'collate' => 'utf8_unicode_ci', 'comment' => '', 'charset' => 'utf8'],
  27. 'payment_type' => ['type' => 'string', 'null' => false, 'default' => null, 'length' => 30, 'collate' => 'utf8_unicode_ci', 'comment' => '', 'charset' => 'utf8'],
  28. 'payment_status' => ['type' => 'string', 'null' => false, 'default' => null, 'length' => 30, 'collate' => 'utf8_unicode_ci', 'comment' => '', 'charset' => 'utf8'],
  29. 'pending_reason' => ['type' => 'string', 'null' => false, 'default' => null, 'length' => 100, 'collate' => 'utf8_unicode_ci', 'comment' => '', 'charset' => 'utf8'],
  30. 'reason_code' => ['type' => 'string', 'null' => false, 'default' => null, 'length' => 30, 'collate' => 'utf8_unicode_ci', 'comment' => '', 'charset' => 'utf8'],
  31. 'order_time' => ['type' => 'datetime', 'null' => true, 'default' => null, 'collate' => null, 'comment' => ''],
  32. 'created' => ['type' => 'datetime', 'null' => true, 'default' => null, 'collate' => null, 'comment' => ''],
  33. 'indexes' => ['PRIMARY' => ['column' => 'id', 'unique' => 1]],
  34. 'tableParameters' => []
  35. ];
  36. /**
  37. * Records
  38. *
  39. * @var array
  40. */
  41. public $records = [
  42. [
  43. 'id' => '1',
  44. 'title' => 'Paypal-Bezahlung von admin@admin.de',
  45. 'token' => 'EC-0P828508TM680313G',
  46. 'foreign_id' => '4e7c7592-648c-47a2-bec7-00947cb063f2',
  47. 'model' => 'Order',
  48. 'type' => 'paypal',
  49. 'transaction_id' => '',
  50. 'transaction_type' => '',
  51. 'note' => '',
  52. 'amount' => '9.90',
  53. 'fee_amount' => '0.00',
  54. 'tax_amount' => '0.00',
  55. 'currency_code' => 'EUR',
  56. 'payment_type' => '',
  57. 'payment_status' => '',
  58. 'pending_reason' => '',
  59. 'reason_code' => '',
  60. 'order_time' => null,
  61. 'created' => '2011-09-23 14:58:38'
  62. ],
  63. [
  64. 'id' => '2',
  65. 'title' => 'Paypal-Bezahlung von admin@admin.de',
  66. 'token' => 'EC-48H402745D559663N',
  67. 'foreign_id' => '4e7c8767-0580-41c2-8f23-00947cb063f2',
  68. 'model' => 'Order',
  69. 'type' => 'paypal',
  70. 'transaction_id' => '',
  71. 'transaction_type' => '',
  72. 'note' => '',
  73. 'amount' => '9.90',
  74. 'fee_amount' => '0.00',
  75. 'tax_amount' => '0.00',
  76. 'currency_code' => 'EUR',
  77. 'payment_type' => '',
  78. 'payment_status' => '',
  79. 'pending_reason' => '',
  80. 'reason_code' => '',
  81. 'order_time' => null,
  82. 'created' => '2011-09-23 15:19:42'
  83. ],
  84. [
  85. 'id' => '5',
  86. 'title' => 'Test-Konto-Einzahlung von user@user.de',
  87. 'token' => 'EC-0MA508270G1912621',
  88. 'foreign_id' => '1',
  89. 'model' => 'PrepaidAccount',
  90. 'type' => 'paypal',
  91. 'transaction_id' => '',
  92. 'transaction_type' => '',
  93. 'note' => '',
  94. 'amount' => '15.00',
  95. 'fee_amount' => '0.00',
  96. 'tax_amount' => '0.00',
  97. 'currency_code' => 'EUR',
  98. 'payment_type' => '',
  99. 'payment_status' => '',
  100. 'pending_reason' => '',
  101. 'reason_code' => '',
  102. 'order_time' => null,
  103. 'created' => '2011-09-23 17:13:59'
  104. ],
  105. [
  106. 'id' => '4',
  107. 'title' => 'Test-Konto-Einzahlung von user@user.de',
  108. 'token' => 'EC-89F71804C0644512T',
  109. 'foreign_id' => '1',
  110. 'model' => 'PrepaidAccount',
  111. 'type' => 'paypal',
  112. 'transaction_id' => '',
  113. 'transaction_type' => '',
  114. 'note' => '',
  115. 'amount' => '2.00',
  116. 'fee_amount' => '0.00',
  117. 'tax_amount' => '0.00',
  118. 'currency_code' => 'EUR',
  119. 'payment_type' => '',
  120. 'payment_status' => '',
  121. 'pending_reason' => '',
  122. 'reason_code' => '',
  123. 'order_time' => null,
  124. 'created' => '2011-09-23 17:07:40'
  125. ],
  126. [
  127. 'id' => '6',
  128. 'title' => '',
  129. 'token' => '',
  130. 'foreign_id' => '',
  131. 'model' => '',
  132. 'type' => '',
  133. 'transaction_id' => '5BX58234B37950023',
  134. 'transaction_type' => 'expresscheckout',
  135. 'note' => 'super!!!!!!!',
  136. 'amount' => '15.00',
  137. 'fee_amount' => '0.64',
  138. 'tax_amount' => '0.00',
  139. 'currency_code' => 'EUR',
  140. 'payment_type' => 'instant',
  141. 'payment_status' => 'Completed',
  142. 'pending_reason' => 'None',
  143. 'reason_code' => 'None',
  144. 'order_time' => '2011-09-23 15:14:42',
  145. 'created' => '2011-09-23 17:14:57'
  146. ],
  147. [
  148. 'id' => '7',
  149. 'title' => 'Test-Konto-Einzahlung von user@user.de',
  150. 'token' => 'EC-5SH71547J6537800X',
  151. 'foreign_id' => '1',
  152. 'model' => 'PrepaidAccount',
  153. 'type' => 'paypal',
  154. 'transaction_id' => '2KA31398DU2919545',
  155. 'transaction_type' => 'expresscheckout',
  156. 'note' => '',
  157. 'amount' => '15.00',
  158. 'fee_amount' => '0.64',
  159. 'tax_amount' => '0.00',
  160. 'currency_code' => 'EUR',
  161. 'payment_type' => 'instant',
  162. 'payment_status' => 'Completed',
  163. 'pending_reason' => 'None',
  164. 'reason_code' => 'None',
  165. 'order_time' => '2011-09-23 15:17:45',
  166. 'created' => '2011-09-23 17:17:32'
  167. ],
  168. [
  169. 'id' => '8',
  170. 'title' => 'Paypal-Bezahlung von admin@admin.de',
  171. 'token' => 'EC-1YA81486XV646422E',
  172. 'foreign_id' => '4e7cb285-6c5c-4de6-883b-00947cb063f2',
  173. 'model' => 'Order',
  174. 'type' => 'paypal',
  175. 'transaction_id' => '0L406448G9145332Y',
  176. 'transaction_type' => 'expresscheckout',
  177. 'note' => '',
  178. 'amount' => '9.90',
  179. 'fee_amount' => '0.54',
  180. 'tax_amount' => '0.00',
  181. 'currency_code' => 'EUR',
  182. 'payment_type' => 'instant',
  183. 'payment_status' => 'Completed',
  184. 'pending_reason' => 'None',
  185. 'reason_code' => 'None',
  186. 'order_time' => '2011-09-23 19:45:34',
  187. 'created' => '2011-09-23 21:45:01'
  188. ],
  189. [
  190. 'id' => '9',
  191. 'title' => 'Test-Konto-Einzahlung von admin@admin.de',
  192. 'token' => 'EC-89362070VF0669840',
  193. 'foreign_id' => '5',
  194. 'model' => 'PrepaidAccount',
  195. 'type' => 'paypal',
  196. 'transaction_id' => '',
  197. 'transaction_type' => '',
  198. 'note' => '',
  199. 'amount' => '25.00',
  200. 'fee_amount' => '0.00',
  201. 'tax_amount' => '0.00',
  202. 'currency_code' => 'EUR',
  203. 'payment_type' => '',
  204. 'payment_status' => '',
  205. 'pending_reason' => '',
  206. 'reason_code' => '',
  207. 'order_time' => null,
  208. 'created' => '2011-09-29 23:40:48'
  209. ],
  210. [
  211. 'id' => '10',
  212. 'title' => 'Test-Konto-Einzahlung von admin@admin.de',
  213. 'token' => 'EC-3UH10864KV965382X',
  214. 'foreign_id' => '5',
  215. 'model' => 'PrepaidAccount',
  216. 'type' => 'paypal',
  217. 'transaction_id' => '',
  218. 'transaction_type' => '',
  219. 'note' => '',
  220. 'amount' => '25.00',
  221. 'fee_amount' => '0.00',
  222. 'tax_amount' => '0.00',
  223. 'currency_code' => 'EUR',
  224. 'payment_type' => '',
  225. 'payment_status' => '',
  226. 'pending_reason' => '',
  227. 'reason_code' => '',
  228. 'order_time' => null,
  229. 'created' => '2011-10-03 16:35:08'
  230. ],
  231. [
  232. 'id' => '11',
  233. 'title' => 'Paypal-Bezahlung von admin@admin.de',
  234. 'token' => 'EC-7TD59178A43867932',
  235. 'foreign_id' => '4ea8ab36-0f54-4e35-86ff-410c7cb063f2',
  236. 'model' => 'Order',
  237. 'type' => 'paypal',
  238. 'transaction_id' => '',
  239. 'transaction_type' => '',
  240. 'note' => '',
  241. 'amount' => '9.90',
  242. 'fee_amount' => '0.00',
  243. 'tax_amount' => '0.00',
  244. 'currency_code' => 'EUR',
  245. 'payment_type' => '',
  246. 'payment_status' => '',
  247. 'pending_reason' => '',
  248. 'reason_code' => '',
  249. 'order_time' => null,
  250. 'created' => '2011-10-27 02:58:50'
  251. ],
  252. ];
  253. }