PaymentMethodFixture.php 6.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169
  1. <?php
  2. /* PaymentMethod Fixture generated on: 2011-11-20 21:59:23 : 1321822763 */
  3. /**
  4. * PaymentMethodFixture
  5. *
  6. */
  7. class PaymentMethodFixture 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. 'active' => ['type' => 'boolean', 'null' => true, 'default' => '0', 'collate' => null, 'comment' => ''],
  16. 'set_rate' => ['type' => 'float', 'null' => false, 'default' => '0.00', 'length' => '6,2', 'collate' => null, 'comment' => 'fixed charge'],
  17. 'rel_rate' => ['type' => 'float', 'null' => false, 'default' => '0.0000', 'length' => '5,4', 'collate' => null, 'comment' => 'relative to amount'],
  18. 'sort' => ['type' => 'integer', 'null' => false, 'default' => '0', 'length' => 10, 'collate' => null, 'comment' => ''],
  19. 'description' => ['type' => 'string', 'null' => false, 'default' => null, 'collate' => 'utf8_unicode_ci', 'comment' => '', 'charset' => 'utf8'],
  20. 'hint' => ['type' => 'text', 'null' => false, 'default' => null, 'collate' => 'utf8_unicode_ci', 'comment' => '', 'charset' => 'utf8'],
  21. 'details' => ['type' => 'string', 'null' => false, 'default' => null, 'collate' => 'utf8_unicode_ci', 'comment' => '', 'charset' => 'utf8'],
  22. 'duration' => ['type' => 'string', 'null' => false, 'default' => null, 'length' => 50, 'collate' => 'utf8_unicode_ci', 'comment' => '', 'charset' => 'utf8'],
  23. 'name' => ['type' => 'string', 'null' => false, 'length' => 250, 'collate' => 'utf8_unicode_ci', 'comment' => '', 'charset' => 'utf8'],
  24. 'alias' => ['type' => 'string', 'null' => false, 'default' => null, 'length' => 30, 'collate' => 'utf8_unicode_ci', 'comment' => '', 'charset' => 'utf8'],
  25. 'hook' => ['type' => 'string', 'null' => false, 'default' => null, 'length' => 30, 'collate' => 'utf8_unicode_ci', 'comment' => 'what function is supposed to be triggered', 'charset' => 'utf8'],
  26. 'url' => ['type' => 'string', 'null' => false, 'default' => null, 'collate' => 'utf8_unicode_ci', 'comment' => 'homepage', 'charset' => 'utf8'],
  27. 'votes' => ['type' => 'integer', 'null' => false, 'default' => '0', 'length' => 10, 'collate' => null, 'comment' => ''],
  28. 'created' => ['type' => 'datetime', 'null' => true, 'default' => null, 'collate' => null, 'comment' => ''],
  29. 'modified' => ['type' => 'datetime', 'null' => true, 'default' => null, 'collate' => null, 'comment' => ''],
  30. 'indexes' => ['PRIMARY' => ['column' => 'id', 'unique' => 1]],
  31. 'tableParameters' => []
  32. ];
  33. /**
  34. * Records
  35. *
  36. * @var array
  37. */
  38. public $records = [
  39. [
  40. 'id' => '1',
  41. 'active' => 0,
  42. 'set_rate' => '0.35',
  43. 'rel_rate' => '0.0000',
  44. 'sort' => '0',
  45. 'description' => 'Manuelle Bank-Überweisung via Online-Banking, Tele-Banking oder Scheck.',
  46. 'hint' => 'Im Anschluss an die Bestellung bekommst du die Kontodaten, auf die dann das Geld überwiesen werden muss. Erst nach Bestätigung des Geldeingangs (1-2 Tage) werden die Downloads dann freigeschalten.',
  47. 'details' => '',
  48. 'duration' => '',
  49. 'name' => 'Überweisung',
  50. 'alias' => 'ueberweisung',
  51. 'hook' => '',
  52. 'url' => '',
  53. 'votes' => '0',
  54. 'created' => '2010-06-15 13:15:09',
  55. 'modified' => '2011-09-29 23:37:29'
  56. ],
  57. [
  58. 'id' => '2',
  59. 'active' => 1,
  60. 'set_rate' => '0.35',
  61. 'rel_rate' => '0.0190',
  62. 'sort' => '0',
  63. 'description' => 'Sofort-Download',
  64. 'hint' => 'Du wirst beim Absenden der Bestellung automatisch über eine verschlüsselte Verbindung zu {name} weitergeleitet, wo die Bezahlung abgewickelt wird. Danach landest du wieder hier im Shop und kannst deine Downloads direkt herunterladen.',
  65. 'details' => '',
  66. 'duration' => '',
  67. 'name' => 'PayPal',
  68. 'alias' => 'paypal',
  69. 'hook' => '',
  70. 'url' => '',
  71. 'votes' => '0',
  72. 'created' => '2010-06-15 13:17:01',
  73. 'modified' => '2011-10-03 16:34:34'
  74. ],
  75. [
  76. 'id' => '3',
  77. 'active' => 0,
  78. 'set_rate' => '0.35',
  79. 'rel_rate' => '0.0190',
  80. 'sort' => '0',
  81. 'description' => 'Sofort-Download',
  82. 'hint' => 'Du wirst beim Absenden der Bestellung automatisch über eine verschlüsselte Verbindung zu {name} weitergeleitet, wo die Bezahlung abgewickelt wird. Danach landest du wieder hier im Shop und kannst deine Downloads direkt herunterladen.',
  83. 'details' => '',
  84. 'duration' => '',
  85. 'name' => 'ClickAndBuy',
  86. 'alias' => '',
  87. 'hook' => '',
  88. 'url' => '',
  89. 'votes' => '0',
  90. 'created' => '2010-09-19 19:27:54',
  91. 'modified' => '2010-09-19 20:28:08'
  92. ],
  93. [
  94. 'id' => '4',
  95. 'active' => 0,
  96. 'set_rate' => '0.35',
  97. 'rel_rate' => '0.0350',
  98. 'sort' => '0',
  99. 'description' => 'Mastercard, Visa, ...',
  100. 'hint' => 'Die Abrechnung wird über Paypal abgewickelt. Du wirst nach der bestätigung über eine verschlüsselte Verbindung auf die Paypal-Seite geleitet und kannst dort deine Kartendaten sicher eingeben. nach erfolgter Bezahlung wirst du zum Shop zurückgeleitet und kannst direkt die Downloads herunterladen.',
  101. 'details' => '',
  102. 'duration' => '',
  103. 'name' => 'Kreditkarte',
  104. 'alias' => '',
  105. 'hook' => '',
  106. 'url' => '',
  107. 'votes' => '1',
  108. 'created' => '2010-09-19 20:00:22',
  109. 'modified' => '2011-07-16 13:50:58'
  110. ],
  111. [
  112. 'id' => '5',
  113. 'active' => 0,
  114. 'set_rate' => '0.00',
  115. 'rel_rate' => '0.0000',
  116. 'sort' => '0',
  117. 'description' => '',
  118. 'hint' => '',
  119. 'details' => 'Kostenpflichtig für Verkäufer (13 Euro im Monat?)',
  120. 'duration' => '',
  121. 'name' => 'ipayment',
  122. 'alias' => '',
  123. 'hook' => '',
  124. 'url' => '',
  125. 'votes' => '2',
  126. 'created' => '2010-09-19 20:06:20',
  127. 'modified' => '2010-09-19 21:06:31'
  128. ],
  129. [
  130. 'id' => '6',
  131. 'active' => 0,
  132. 'set_rate' => '0.00',
  133. 'rel_rate' => '0.0000',
  134. 'sort' => '0',
  135. 'description' => '',
  136. 'hint' => '',
  137. 'details' => 'Kostenpflichtig für Verkäufer',
  138. 'duration' => '',
  139. 'name' => 'Authorize',
  140. 'alias' => 'authorize',
  141. 'hook' => '',
  142. 'url' => '',
  143. 'votes' => '0',
  144. 'created' => '2010-09-19 20:15:12',
  145. 'modified' => '2011-09-29 17:52:29'
  146. ],
  147. [
  148. 'id' => '12',
  149. 'active' => 0,
  150. 'set_rate' => '0.00',
  151. 'rel_rate' => '0.0000',
  152. 'sort' => '0',
  153. 'description' => 'Elektronisches Geld Bitcoin',
  154. 'hint' => '',
  155. 'details' => '',
  156. 'duration' => '',
  157. 'name' => 'Bitcoin',
  158. 'alias' => 'bitcoin',
  159. 'hook' => '',
  160. 'url' => '',
  161. 'votes' => '0',
  162. 'created' => '2011-07-16 12:19:32',
  163. 'modified' => '2011-09-29 23:37:23'
  164. ],
  165. ];
  166. }