Settings.php 5.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246
  1. <?php
  2. namespace Core\App\Entity;
  3. class Settings
  4. {
  5. public $auth_api_key;
  6. public $auth_username;
  7. public $auth_password;
  8. public $auth_fiscal_code;
  9. public $option_auto_stock_sync;
  10. public $option_auto_order_sync;
  11. public $option_stock_filter;
  12. public $option_order_or_proforma;
  13. public $option_proforma_serie;
  14. public $option_ordered_days_ago;
  15. public $option_locations;
  16. public $custom_field_bank;
  17. public $custom_field_account;
  18. public $custom_field_company;
  19. public $custom_field_fiscal_code;
  20. public $custom_field_reg_number;
  21. public $auto_sync_options;
  22. public $sync_data_types;
  23. public $order_or_proforma_options;
  24. public $sync_stock_filter_options;
  25. public $option_with_discount;
  26. public function getAuthApiKey()
  27. {
  28. return $this->auth_api_key;
  29. }
  30. public function getAuthUsername()
  31. {
  32. return $this->auth_username;
  33. }
  34. public function getAuthPassword()
  35. {
  36. return hex2bin($this->auth_password);
  37. }
  38. public function getAuthFiscalCode()
  39. {
  40. return $this->auth_fiscal_code;
  41. }
  42. public function getOptionAutoStockSync()
  43. {
  44. return $this->option_auto_stock_sync;
  45. }
  46. public function getOptionAutoOrderSync()
  47. {
  48. return $this->option_auto_order_sync;
  49. }
  50. public function getOptionStockFilter()
  51. {
  52. return $this->option_stock_filter;
  53. }
  54. public function getOptionOrderOrProforma()
  55. {
  56. return $this->option_order_or_proforma;
  57. }
  58. public function getOptionProformaSerie()
  59. {
  60. return $this->option_proforma_serie;
  61. }
  62. public function getOptionOrderedDaysAgo()
  63. {
  64. return $this->option_ordered_days_ago;
  65. }
  66. public function getOptionLocations()
  67. {
  68. return $this->option_locations;
  69. }
  70. public function getCustomFieldBank()
  71. {
  72. return $this->custom_field_bank;
  73. }
  74. public function getCustomFieldAccount()
  75. {
  76. return $this->custom_field_account;
  77. }
  78. public function getCustomFieldCompany()
  79. {
  80. return $this->custom_field_company;
  81. }
  82. public function getCustomFieldFiscalCode()
  83. {
  84. return $this->custom_field_fiscal_code;
  85. }
  86. public function getCustomFieldRegNumber()
  87. {
  88. return $this->custom_field_reg_number;
  89. }
  90. public function setAuthApiKey($auth_api_key)
  91. {
  92. $this->auth_api_key = $auth_api_key;
  93. }
  94. public function setAuthUsername($auth_username)
  95. {
  96. $this->auth_username = $auth_username;
  97. }
  98. public function setAuthPassword($auth_password)
  99. {
  100. $this->auth_password = $auth_password;
  101. }
  102. public function setAuthFiscalCode($auth_fiscal_code)
  103. {
  104. $this->auth_fiscal_code = $auth_fiscal_code;
  105. }
  106. public function setOptionAutoStockSync($option_auto_stock_sync)
  107. {
  108. $this->option_auto_stock_sync = $option_auto_stock_sync;
  109. }
  110. public function setOptionAutoOrderSync($option_auto_order_sync)
  111. {
  112. $this->option_auto_order_sync = $option_auto_order_sync;
  113. }
  114. public function setOptionStockFilter($option_stock_filter)
  115. {
  116. $this->option_stock_filter = $option_stock_filter;
  117. }
  118. public function setOptionOrderOrProforma($option_order_or_proforma)
  119. {
  120. $this->option_order_or_proforma = $option_order_or_proforma;
  121. }
  122. public function setOptionProformaSerie($option_proforma_serie)
  123. {
  124. $this->option_proforma_serie = $option_proforma_serie;
  125. }
  126. public function setOptionOrderedDaysAgo($option_ordered_days_ago)
  127. {
  128. $this->option_ordered_days_ago = $option_ordered_days_ago;
  129. }
  130. public function setOptionLocations($option_locations)
  131. {
  132. $this->option_locations = $option_locations;
  133. }
  134. public function setCustomFieldBank($custom_field_bank)
  135. {
  136. $this->custom_field_bank = $custom_field_bank;
  137. }
  138. public function setCustomFieldAccount($custom_field_account)
  139. {
  140. $this->custom_field_account = $custom_field_account;
  141. }
  142. public function setCustomFieldCompany($custom_field_company)
  143. {
  144. $this->custom_field_company = $custom_field_company;
  145. }
  146. public function setCustomFieldFiscalCode($custom_field_fiscal_code)
  147. {
  148. $this->custom_field_fiscal_code = $custom_field_fiscal_code;
  149. }
  150. public function setCustomFieldRegNumber($custom_field_reg_number)
  151. {
  152. $this->custom_field_reg_number = $custom_field_reg_number;
  153. }
  154. public function getAutoSyncOptions()
  155. {
  156. return $this->auto_sync_options;
  157. }
  158. public function setAutoSyncOptions($auto_sync_options)
  159. {
  160. $this->auto_sync_options = $auto_sync_options;
  161. }
  162. public function getOrderOrProformaOptions()
  163. {
  164. return $this->order_or_proforma_options;
  165. }
  166. public function setOrderOrProformaOptions($order_or_proforma_options)
  167. {
  168. $this->order_or_proforma_options = $order_or_proforma_options;
  169. }
  170. public function getSyncDataTypes()
  171. {
  172. return $this->sync_data_types;
  173. }
  174. public function setSyncDataTypes($sync_data_types)
  175. {
  176. $this->sync_data_types = $sync_data_types;
  177. }
  178. public function getSyncStockFilterOptions()
  179. {
  180. return $this->sync_stock_filter_options;
  181. }
  182. public function setSyncStockFilterOptions($sync_stock_filter_options)
  183. {
  184. $this->sync_stock_filter_options = $sync_stock_filter_options;
  185. }
  186. public function getOptionWithDiscount()
  187. {
  188. return $this->option_with_discount;
  189. }
  190. public function setOptionWithDiscount($option_with_discount)
  191. {
  192. $this->option_with_discount = $option_with_discount;
  193. }
  194. }