fortis-apimatic-sdk 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (738) hide show
  1. checksums.yaml +7 -0
  2. data/LICENSE +28 -0
  3. data/README.md +197 -0
  4. data/bin/console +15 -0
  5. data/lib/fortis_api/api_helper.rb +10 -0
  6. data/lib/fortis_api/client.rb +274 -0
  7. data/lib/fortis_api/configuration.rb +192 -0
  8. data/lib/fortis_api/controllers/apple_pay_validate_merchant_controller.rb +35 -0
  9. data/lib/fortis_api/controllers/async_processing_controller.rb +32 -0
  10. data/lib/fortis_api/controllers/base_controller.rb +60 -0
  11. data/lib/fortis_api/controllers/batches_controller.rb +103 -0
  12. data/lib/fortis_api/controllers/contacts_controller.rb +242 -0
  13. data/lib/fortis_api/controllers/declined_recurring_transactions_controller.rb +186 -0
  14. data/lib/fortis_api/controllers/device_terms_controller.rb +141 -0
  15. data/lib/fortis_api/controllers/elements_controller.rb +66 -0
  16. data/lib/fortis_api/controllers/full_boarding_controller.rb +38 -0
  17. data/lib/fortis_api/controllers/level3_data_controller.rb +119 -0
  18. data/lib/fortis_api/controllers/locations_controller.rb +301 -0
  19. data/lib/fortis_api/controllers/m3_ds_authentication_controller.rb +42 -0
  20. data/lib/fortis_api/controllers/m3_ds_transactions_controller.rb +36 -0
  21. data/lib/fortis_api/controllers/merchant_deposits_controller.rb +175 -0
  22. data/lib/fortis_api/controllers/merchant_details_controller.rb +35 -0
  23. data/lib/fortis_api/controllers/on_boarding_controller.rb +53 -0
  24. data/lib/fortis_api/controllers/paylinks_controller.rb +248 -0
  25. data/lib/fortis_api/controllers/payment_card_reader_token_controller.rb +30 -0
  26. data/lib/fortis_api/controllers/quick_invoices_controller.rb +325 -0
  27. data/lib/fortis_api/controllers/recurring_controller.rb +342 -0
  28. data/lib/fortis_api/controllers/signatures_controller.rb +149 -0
  29. data/lib/fortis_api/controllers/tags_controller.rb +200 -0
  30. data/lib/fortis_api/controllers/terminals_controller.rb +187 -0
  31. data/lib/fortis_api/controllers/tickets_controller.rb +150 -0
  32. data/lib/fortis_api/controllers/tokens_controller.rb +446 -0
  33. data/lib/fortis_api/controllers/transaction_ach_retries_controller.rb +150 -0
  34. data/lib/fortis_api/controllers/transactions_ach_controller.rb +253 -0
  35. data/lib/fortis_api/controllers/transactions_cash_controller.rb +61 -0
  36. data/lib/fortis_api/controllers/transactions_credit_card_controller.rb +1473 -0
  37. data/lib/fortis_api/controllers/transactions_ebt_card_controller.rb +77 -0
  38. data/lib/fortis_api/controllers/transactions_read_controller.rb +136 -0
  39. data/lib/fortis_api/controllers/transactions_updates_controller.rb +266 -0
  40. data/lib/fortis_api/controllers/user_verifications_controller.rb +103 -0
  41. data/lib/fortis_api/controllers/users_controller.rb +309 -0
  42. data/lib/fortis_api/controllers/webhooks_controller.rb +246 -0
  43. data/lib/fortis_api/exceptions/api_exception.rb +21 -0
  44. data/lib/fortis_api/exceptions/response401token_exception.rb +57 -0
  45. data/lib/fortis_api/exceptions/response412_exception.rb +74 -0
  46. data/lib/fortis_api/exceptions/response_error_exception.rb +74 -0
  47. data/lib/fortis_api/http/auth/access_token.rb +52 -0
  48. data/lib/fortis_api/http/auth/developer_id.rb +52 -0
  49. data/lib/fortis_api/http/auth/user_api_key.rb +52 -0
  50. data/lib/fortis_api/http/auth/user_id.rb +52 -0
  51. data/lib/fortis_api/http/http_call_back.rb +10 -0
  52. data/lib/fortis_api/http/http_method_enum.rb +10 -0
  53. data/lib/fortis_api/http/http_request.rb +10 -0
  54. data/lib/fortis_api/http/http_response.rb +10 -0
  55. data/lib/fortis_api/http/proxy_settings.rb +22 -0
  56. data/lib/fortis_api/models/account_info.rb +338 -0
  57. data/lib/fortis_api/models/account_type12_enum.rb +36 -0
  58. data/lib/fortis_api/models/account_type13_enum.rb +39 -0
  59. data/lib/fortis_api/models/account_type16_enum.rb +40 -0
  60. data/lib/fortis_api/models/account_type_enum.rb +64 -0
  61. data/lib/fortis_api/models/account_vault.rb +734 -0
  62. data/lib/fortis_api/models/account_vault_cau_log.rb +122 -0
  63. data/lib/fortis_api/models/account_vault_cau_product_transaction.rb +387 -0
  64. data/lib/fortis_api/models/ach_product_transaction.rb +1571 -0
  65. data/lib/fortis_api/models/ach_sec_code1_enum.rb +52 -0
  66. data/lib/fortis_api/models/ach_sec_code31_enum.rb +53 -0
  67. data/lib/fortis_api/models/ach_sec_code3_enum.rb +52 -0
  68. data/lib/fortis_api/models/ach_sec_code_enum.rb +44 -0
  69. data/lib/fortis_api/models/acs_challenge_mandated_enum.rb +38 -0
  70. data/lib/fortis_api/models/action_enum.rb +49 -0
  71. data/lib/fortis_api/models/active_notification_alert.rb +239 -0
  72. data/lib/fortis_api/models/active_recurring.rb +476 -0
  73. data/lib/fortis_api/models/additional_access.rb +74 -0
  74. data/lib/fortis_api/models/additional_amount.rb +119 -0
  75. data/lib/fortis_api/models/addon.rb +130 -0
  76. data/lib/fortis_api/models/address.rb +118 -0
  77. data/lib/fortis_api/models/address1.rb +129 -0
  78. data/lib/fortis_api/models/address2.rb +117 -0
  79. data/lib/fortis_api/models/address81.rb +133 -0
  80. data/lib/fortis_api/models/address_match_enum.rb +40 -0
  81. data/lib/fortis_api/models/address_type_enum.rb +40 -0
  82. data/lib/fortis_api/models/alert_type_enum.rb +58 -0
  83. data/lib/fortis_api/models/alert_type_id_enum.rb +58 -0
  84. data/lib/fortis_api/models/all_tag.rb +113 -0
  85. data/lib/fortis_api/models/alt_bank_account.rb +113 -0
  86. data/lib/fortis_api/models/amount_ind_enum.rb +122 -0
  87. data/lib/fortis_api/models/app_delivery_enum.rb +40 -0
  88. data/lib/fortis_api/models/async.rb +83 -0
  89. data/lib/fortis_api/models/auth_role.rb +140 -0
  90. data/lib/fortis_api/models/avs_enum.rb +48 -0
  91. data/lib/fortis_api/models/balance.rb +97 -0
  92. data/lib/fortis_api/models/bank_account.rb +101 -0
  93. data/lib/fortis_api/models/bank_account1.rb +129 -0
  94. data/lib/fortis_api/models/base_model.rb +122 -0
  95. data/lib/fortis_api/models/batch_risk_config.rb +90 -0
  96. data/lib/fortis_api/models/billing_address.rb +133 -0
  97. data/lib/fortis_api/models/billing_address1.rb +149 -0
  98. data/lib/fortis_api/models/billing_address24.rb +158 -0
  99. data/lib/fortis_api/models/billing_address5.rb +97 -0
  100. data/lib/fortis_api/models/body.rb +91 -0
  101. data/lib/fortis_api/models/branding_domain.rb +474 -0
  102. data/lib/fortis_api/models/branding_domain1.rb +474 -0
  103. data/lib/fortis_api/models/broad_info.rb +171 -0
  104. data/lib/fortis_api/models/browser_information.rb +288 -0
  105. data/lib/fortis_api/models/business_category_enum.rb +74 -0
  106. data/lib/fortis_api/models/business_type_enum.rb +462 -0
  107. data/lib/fortis_api/models/cardholder.rb +185 -0
  108. data/lib/fortis_api/models/cardholder_account.rb +131 -0
  109. data/lib/fortis_api/models/category_enum.rb +135 -0
  110. data/lib/fortis_api/models/cau_subscribe_type_code_enum.rb +46 -0
  111. data/lib/fortis_api/models/cau_subscribe_type_id_enum.rb +46 -0
  112. data/lib/fortis_api/models/cau_summary_status_id_enum.rb +50 -0
  113. data/lib/fortis_api/models/cc_product_transaction.rb +1571 -0
  114. data/lib/fortis_api/models/ch_acc_age_ind_enum.rb +50 -0
  115. data/lib/fortis_api/models/ch_acc_change_ind_enum.rb +47 -0
  116. data/lib/fortis_api/models/ch_acc_pw_change_ind_enum.rb +51 -0
  117. data/lib/fortis_api/models/challenge_message_extension.rb +109 -0
  118. data/lib/fortis_api/models/challenge_window_size_enum.rb +56 -0
  119. data/lib/fortis_api/models/changelog.rb +157 -0
  120. data/lib/fortis_api/models/changelog_detail.rb +107 -0
  121. data/lib/fortis_api/models/children.rb +421 -0
  122. data/lib/fortis_api/models/communication_type_enum.rb +40 -0
  123. data/lib/fortis_api/models/conditions.rb +82 -0
  124. data/lib/fortis_api/models/conditions18.rb +92 -0
  125. data/lib/fortis_api/models/conditions181.rb +92 -0
  126. data/lib/fortis_api/models/conditions191.rb +92 -0
  127. data/lib/fortis_api/models/conditions27.rb +82 -0
  128. data/lib/fortis_api/models/conditions4.rb +92 -0
  129. data/lib/fortis_api/models/conditions41.rb +92 -0
  130. data/lib/fortis_api/models/conditions42.rb +92 -0
  131. data/lib/fortis_api/models/conditions43.rb +92 -0
  132. data/lib/fortis_api/models/contact.rb +106 -0
  133. data/lib/fortis_api/models/contact1.rb +421 -0
  134. data/lib/fortis_api/models/contact11.rb +105 -0
  135. data/lib/fortis_api/models/contact_user_default_entry_page_enum.rb +52 -0
  136. data/lib/fortis_api/models/context.rb +82 -0
  137. data/lib/fortis_api/models/country_enum.rb +36 -0
  138. data/lib/fortis_api/models/created_user.rb +591 -0
  139. data/lib/fortis_api/models/currency_type.rb +84 -0
  140. data/lib/fortis_api/models/data.rb +125 -0
  141. data/lib/fortis_api/models/data1.rb +72 -0
  142. data/lib/fortis_api/models/data10.rb +694 -0
  143. data/lib/fortis_api/models/data11.rb +491 -0
  144. data/lib/fortis_api/models/data12.rb +237 -0
  145. data/lib/fortis_api/models/data13.rb +172 -0
  146. data/lib/fortis_api/models/data14.rb +280 -0
  147. data/lib/fortis_api/models/data15.rb +433 -0
  148. data/lib/fortis_api/models/data16.rb +468 -0
  149. data/lib/fortis_api/models/data17.rb +72 -0
  150. data/lib/fortis_api/models/data18.rb +861 -0
  151. data/lib/fortis_api/models/data19.rb +127 -0
  152. data/lib/fortis_api/models/data2.rb +580 -0
  153. data/lib/fortis_api/models/data20.rb +668 -0
  154. data/lib/fortis_api/models/data21.rb +136 -0
  155. data/lib/fortis_api/models/data22.rb +122 -0
  156. data/lib/fortis_api/models/data23.rb +700 -0
  157. data/lib/fortis_api/models/data24.rb +214 -0
  158. data/lib/fortis_api/models/data25.rb +889 -0
  159. data/lib/fortis_api/models/data26.rb +211 -0
  160. data/lib/fortis_api/models/data27.rb +2577 -0
  161. data/lib/fortis_api/models/data28.rb +256 -0
  162. data/lib/fortis_api/models/data29.rb +94 -0
  163. data/lib/fortis_api/models/data3.rb +168 -0
  164. data/lib/fortis_api/models/data32.rb +101 -0
  165. data/lib/fortis_api/models/data33.rb +73 -0
  166. data/lib/fortis_api/models/data34.rb +815 -0
  167. data/lib/fortis_api/models/data37.rb +75 -0
  168. data/lib/fortis_api/models/data38.rb +150 -0
  169. data/lib/fortis_api/models/data39.rb +285 -0
  170. data/lib/fortis_api/models/data4.rb +254 -0
  171. data/lib/fortis_api/models/data5.rb +102 -0
  172. data/lib/fortis_api/models/data6.rb +244 -0
  173. data/lib/fortis_api/models/data7.rb +135 -0
  174. data/lib/fortis_api/models/data8.rb +345 -0
  175. data/lib/fortis_api/models/data9.rb +82 -0
  176. data/lib/fortis_api/models/debit_credit_enum.rb +37 -0
  177. data/lib/fortis_api/models/declined_recurring_notification.rb +146 -0
  178. data/lib/fortis_api/models/default_transaction_type_enum.rb +40 -0
  179. data/lib/fortis_api/models/delivery_method_enum.rb +54 -0
  180. data/lib/fortis_api/models/delivery_timeframe_enum.rb +46 -0
  181. data/lib/fortis_api/models/deposit_type_enum.rb +40 -0
  182. data/lib/fortis_api/models/detail.rb +102 -0
  183. data/lib/fortis_api/models/detail1.rb +263 -0
  184. data/lib/fortis_api/models/detail2.rb +154 -0
  185. data/lib/fortis_api/models/developer_company.rb +149 -0
  186. data/lib/fortis_api/models/device.rb +111 -0
  187. data/lib/fortis_api/models/device_binding_status_enum.rb +441 -0
  188. data/lib/fortis_api/models/device_channel_enum.rb +37 -0
  189. data/lib/fortis_api/models/document.rb +91 -0
  190. data/lib/fortis_api/models/domain.rb +474 -0
  191. data/lib/fortis_api/models/e_format_enum.rb +56 -0
  192. data/lib/fortis_api/models/ebt_type_enum.rb +36 -0
  193. data/lib/fortis_api/models/email_blacklist.rb +105 -0
  194. data/lib/fortis_api/models/email_enum.rb +42 -0
  195. data/lib/fortis_api/models/emv_receipt_data.rb +141 -0
  196. data/lib/fortis_api/models/entry_mode_id_enum.rb +52 -0
  197. data/lib/fortis_api/models/expand10_enum.rb +26 -0
  198. data/lib/fortis_api/models/expand117_enum.rb +96 -0
  199. data/lib/fortis_api/models/expand11_enum.rb +108 -0
  200. data/lib/fortis_api/models/expand123_enum.rb +40 -0
  201. data/lib/fortis_api/models/expand15_enum.rb +26 -0
  202. data/lib/fortis_api/models/expand17_enum.rb +100 -0
  203. data/lib/fortis_api/models/expand18_enum.rb +88 -0
  204. data/lib/fortis_api/models/expand1_enum.rb +76 -0
  205. data/lib/fortis_api/models/expand26_enum.rb +92 -0
  206. data/lib/fortis_api/models/expand34_enum.rb +26 -0
  207. data/lib/fortis_api/models/expand37_enum.rb +26 -0
  208. data/lib/fortis_api/models/expand40_enum.rb +60 -0
  209. data/lib/fortis_api/models/expand44_enum.rb +40 -0
  210. data/lib/fortis_api/models/expand47_enum.rb +69 -0
  211. data/lib/fortis_api/models/expand57_enum.rb +48 -0
  212. data/lib/fortis_api/models/expand5_enum.rb +40 -0
  213. data/lib/fortis_api/models/expand60_enum.rb +200 -0
  214. data/lib/fortis_api/models/expand8_enum.rb +52 -0
  215. data/lib/fortis_api/models/expand_enum.rb +40 -0
  216. data/lib/fortis_api/models/field.rb +82 -0
  217. data/lib/fortis_api/models/field18.rb +143 -0
  218. data/lib/fortis_api/models/field27_enum.rb +108 -0
  219. data/lib/fortis_api/models/field28_enum.rb +200 -0
  220. data/lib/fortis_api/models/field30_enum.rb +76 -0
  221. data/lib/fortis_api/models/field31_enum.rb +92 -0
  222. data/lib/fortis_api/models/field33_enum.rb +220 -0
  223. data/lib/fortis_api/models/field34_enum.rb +236 -0
  224. data/lib/fortis_api/models/field35_enum.rb +216 -0
  225. data/lib/fortis_api/models/field36_enum.rb +232 -0
  226. data/lib/fortis_api/models/field37_enum.rb +26 -0
  227. data/lib/fortis_api/models/field38_enum.rb +108 -0
  228. data/lib/fortis_api/models/field39_enum.rb +209 -0
  229. data/lib/fortis_api/models/field41_enum.rb +280 -0
  230. data/lib/fortis_api/models/field43_enum.rb +236 -0
  231. data/lib/fortis_api/models/field45_enum.rb +56 -0
  232. data/lib/fortis_api/models/field47_enum.rb +52 -0
  233. data/lib/fortis_api/models/field49_enum.rb +240 -0
  234. data/lib/fortis_api/models/field51_enum.rb +88 -0
  235. data/lib/fortis_api/models/field53_enum.rb +286 -0
  236. data/lib/fortis_api/models/field55_enum.rb +76 -0
  237. data/lib/fortis_api/models/field57_enum.rb +652 -0
  238. data/lib/fortis_api/models/field59_enum.rb +40 -0
  239. data/lib/fortis_api/models/field60_enum.rb +280 -0
  240. data/lib/fortis_api/models/field_configuration.rb +111 -0
  241. data/lib/fortis_api/models/file.rb +223 -0
  242. data/lib/fortis_api/models/file2.rb +82 -0
  243. data/lib/fortis_api/models/file5.rb +85 -0
  244. data/lib/fortis_api/models/filter_by.rb +120 -0
  245. data/lib/fortis_api/models/footer.rb +91 -0
  246. data/lib/fortis_api/models/forecast.rb +139 -0
  247. data/lib/fortis_api/models/format1_enum.rb +36 -0
  248. data/lib/fortis_api/models/format_enum.rb +36 -0
  249. data/lib/fortis_api/models/header.rb +91 -0
  250. data/lib/fortis_api/models/helppage.rb +151 -0
  251. data/lib/fortis_api/models/helppage2.rb +151 -0
  252. data/lib/fortis_api/models/home_phone.rb +84 -0
  253. data/lib/fortis_api/models/hosted_payment_page.rb +298 -0
  254. data/lib/fortis_api/models/identity_verification.rb +112 -0
  255. data/lib/fortis_api/models/identity_verification2.rb +110 -0
  256. data/lib/fortis_api/models/identity_verification27.rb +110 -0
  257. data/lib/fortis_api/models/idtype_enum.rb +36 -0
  258. data/lib/fortis_api/models/iias_ind_enum.rb +46 -0
  259. data/lib/fortis_api/models/industry_type_enum.rb +52 -0
  260. data/lib/fortis_api/models/initiation_type_enum.rb +76 -0
  261. data/lib/fortis_api/models/interval_type_enum.rb +40 -0
  262. data/lib/fortis_api/models/item_list.rb +82 -0
  263. data/lib/fortis_api/models/item_list4.rb +79 -0
  264. data/lib/fortis_api/models/item_list5.rb +85 -0
  265. data/lib/fortis_api/models/joi.rb +73 -0
  266. data/lib/fortis_api/models/joi18.rb +85 -0
  267. data/lib/fortis_api/models/joi19.rb +85 -0
  268. data/lib/fortis_api/models/joi27.rb +73 -0
  269. data/lib/fortis_api/models/joi4.rb +85 -0
  270. data/lib/fortis_api/models/kyc_response_object.rb +79 -0
  271. data/lib/fortis_api/models/level3_data.rb +274 -0
  272. data/lib/fortis_api/models/level3_data5.rb +192 -0
  273. data/lib/fortis_api/models/level3_data6.rb +273 -0
  274. data/lib/fortis_api/models/level3_default.rb +274 -0
  275. data/lib/fortis_api/models/line_item.rb +246 -0
  276. data/lib/fortis_api/models/line_item13.rb +245 -0
  277. data/lib/fortis_api/models/line_item19.rb +215 -0
  278. data/lib/fortis_api/models/line_item20.rb +173 -0
  279. data/lib/fortis_api/models/links.rb +111 -0
  280. data/lib/fortis_api/models/list.rb +326 -0
  281. data/lib/fortis_api/models/list1.rb +580 -0
  282. data/lib/fortis_api/models/list10.rb +861 -0
  283. data/lib/fortis_api/models/list11.rb +668 -0
  284. data/lib/fortis_api/models/list12.rb +136 -0
  285. data/lib/fortis_api/models/list13.rb +122 -0
  286. data/lib/fortis_api/models/list14.rb +700 -0
  287. data/lib/fortis_api/models/list15.rb +214 -0
  288. data/lib/fortis_api/models/list16.rb +889 -0
  289. data/lib/fortis_api/models/list17.rb +211 -0
  290. data/lib/fortis_api/models/list18.rb +2577 -0
  291. data/lib/fortis_api/models/list19.rb +101 -0
  292. data/lib/fortis_api/models/list20.rb +815 -0
  293. data/lib/fortis_api/models/list3.rb +168 -0
  294. data/lib/fortis_api/models/list4.rb +244 -0
  295. data/lib/fortis_api/models/list5.rb +491 -0
  296. data/lib/fortis_api/models/list6.rb +694 -0
  297. data/lib/fortis_api/models/list8.rb +280 -0
  298. data/lib/fortis_api/models/list9.rb +468 -0
  299. data/lib/fortis_api/models/location.rb +387 -0
  300. data/lib/fortis_api/models/location18.rb +387 -0
  301. data/lib/fortis_api/models/location20.rb +131 -0
  302. data/lib/fortis_api/models/location5.rb +132 -0
  303. data/lib/fortis_api/models/location_billing_account.rb +268 -0
  304. data/lib/fortis_api/models/location_type_enum.rb +40 -0
  305. data/lib/fortis_api/models/location_user.rb +149 -0
  306. data/lib/fortis_api/models/locationmarketplace.rb +143 -0
  307. data/lib/fortis_api/models/log_email.rb +192 -0
  308. data/lib/fortis_api/models/log_sms.rb +166 -0
  309. data/lib/fortis_api/models/marketplace.rb +143 -0
  310. data/lib/fortis_api/models/merchant_list.rb +134 -0
  311. data/lib/fortis_api/models/merchant_risk_indicator.rb +237 -0
  312. data/lib/fortis_api/models/message_category_enum.rb +120 -0
  313. data/lib/fortis_api/models/message_extension.rb +109 -0
  314. data/lib/fortis_api/models/meta.rb +81 -0
  315. data/lib/fortis_api/models/method3.rb +97 -0
  316. data/lib/fortis_api/models/method50.rb +106 -0
  317. data/lib/fortis_api/models/method53_enum.rb +26 -0
  318. data/lib/fortis_api/models/method5_enum.rb +26 -0
  319. data/lib/fortis_api/models/method_enum.rb +26 -0
  320. data/lib/fortis_api/models/mobile_phone.rb +85 -0
  321. data/lib/fortis_api/models/modified_user.rb +591 -0
  322. data/lib/fortis_api/models/multi_transaction.rb +103 -0
  323. data/lib/fortis_api/models/operator1_enum.rb +36 -0
  324. data/lib/fortis_api/models/operator_enum.rb +36 -0
  325. data/lib/fortis_api/models/order21.rb +79 -0
  326. data/lib/fortis_api/models/order_enum.rb +36 -0
  327. data/lib/fortis_api/models/owner.rb +233 -0
  328. data/lib/fortis_api/models/ownership_type_enum.rb +68 -0
  329. data/lib/fortis_api/models/page.rb +84 -0
  330. data/lib/fortis_api/models/pagination.rb +113 -0
  331. data/lib/fortis_api/models/parent.rb +421 -0
  332. data/lib/fortis_api/models/parent3.rb +387 -0
  333. data/lib/fortis_api/models/partner_enum.rb +68 -0
  334. data/lib/fortis_api/models/paylink_action_enum.rb +37 -0
  335. data/lib/fortis_api/models/payment_acc_ind_enum.rb +51 -0
  336. data/lib/fortis_api/models/payment_method16_enum.rb +36 -0
  337. data/lib/fortis_api/models/payment_method1_enum.rb +36 -0
  338. data/lib/fortis_api/models/payment_method9_enum.rb +36 -0
  339. data/lib/fortis_api/models/payment_method_enum.rb +40 -0
  340. data/lib/fortis_api/models/payment_recurring_notification.rb +146 -0
  341. data/lib/fortis_api/models/postback_log.rb +162 -0
  342. data/lib/fortis_api/models/postback_status_id_enum.rb +50 -0
  343. data/lib/fortis_api/models/pre_order_purchase_ind_enum.rb +38 -0
  344. data/lib/fortis_api/models/preferred_language_enum.rb +38 -0
  345. data/lib/fortis_api/models/preferred_protocol_version_enum.rb +51 -0
  346. data/lib/fortis_api/models/pricing_element.rb +103 -0
  347. data/lib/fortis_api/models/primary_location.rb +387 -0
  348. data/lib/fortis_api/models/primary_principal.rb +211 -0
  349. data/lib/fortis_api/models/primary_principal1.rb +209 -0
  350. data/lib/fortis_api/models/process_method_enum.rb +36 -0
  351. data/lib/fortis_api/models/processor_enum.rb +52 -0
  352. data/lib/fortis_api/models/product_accountvault.rb +173 -0
  353. data/lib/fortis_api/models/product_file.rb +227 -0
  354. data/lib/fortis_api/models/product_file1.rb +227 -0
  355. data/lib/fortis_api/models/product_invoice.rb +341 -0
  356. data/lib/fortis_api/models/product_recurring.rb +230 -0
  357. data/lib/fortis_api/models/product_token.rb +173 -0
  358. data/lib/fortis_api/models/product_transaction.rb +1571 -0
  359. data/lib/fortis_api/models/product_transaction1.rb +1571 -0
  360. data/lib/fortis_api/models/purchase.rb +327 -0
  361. data/lib/fortis_api/models/quick_invoice.rb +657 -0
  362. data/lib/fortis_api/models/quick_invoice_setting.rb +189 -0
  363. data/lib/fortis_api/models/quick_invoice_view.rb +107 -0
  364. data/lib/fortis_api/models/reason_code.rb +84 -0
  365. data/lib/fortis_api/models/reason_code_id1_enum.rb +912 -0
  366. data/lib/fortis_api/models/reason_code_id_enum.rb +750 -0
  367. data/lib/fortis_api/models/reason_model_enum.rb +72 -0
  368. data/lib/fortis_api/models/received_email.rb +192 -0
  369. data/lib/fortis_api/models/recipients_enum.rb +45 -0
  370. data/lib/fortis_api/models/recurring.rb +476 -0
  371. data/lib/fortis_api/models/recurring3.rb +476 -0
  372. data/lib/fortis_api/models/recurring_flag_enum.rb +40 -0
  373. data/lib/fortis_api/models/recurring_split.rb +118 -0
  374. data/lib/fortis_api/models/recurring_type_id_enum.rb +36 -0
  375. data/lib/fortis_api/models/registration_field_enum.rb +92 -0
  376. data/lib/fortis_api/models/rejected_transaction.rb +2034 -0
  377. data/lib/fortis_api/models/rejected_transaction_ach_retry.rb +146 -0
  378. data/lib/fortis_api/models/relationship_enum.rb +40 -0
  379. data/lib/fortis_api/models/reorder_items_ind_enum.rb +37 -0
  380. data/lib/fortis_api/models/report_export_type_enum.rb +44 -0
  381. data/lib/fortis_api/models/resource12_enum.rb +41 -0
  382. data/lib/fortis_api/models/resource2_enum.rb +40 -0
  383. data/lib/fortis_api/models/resource_enum.rb +44 -0
  384. data/lib/fortis_api/models/resources.rb +138 -0
  385. data/lib/fortis_api/models/response416date_range.rb +92 -0
  386. data/lib/fortis_api/models/response417filter_channels.rb +92 -0
  387. data/lib/fortis_api/models/response_apple_pay_validate_merchant.rb +83 -0
  388. data/lib/fortis_api/models/response_async_status.rb +83 -0
  389. data/lib/fortis_api/models/response_batchs_collection.rb +121 -0
  390. data/lib/fortis_api/models/response_contact.rb +83 -0
  391. data/lib/fortis_api/models/response_contact_searchs_collection.rb +121 -0
  392. data/lib/fortis_api/models/response_contacts_collection.rb +121 -0
  393. data/lib/fortis_api/models/response_declined_recurring_transaction.rb +83 -0
  394. data/lib/fortis_api/models/response_declined_recurring_transaction_payment.rb +83 -0
  395. data/lib/fortis_api/models/response_declined_recurring_transaction_resend.rb +83 -0
  396. data/lib/fortis_api/models/response_declined_recurring_transactions_collection.rb +122 -0
  397. data/lib/fortis_api/models/response_device_term.rb +83 -0
  398. data/lib/fortis_api/models/response_device_terms_collection.rb +121 -0
  399. data/lib/fortis_api/models/response_fullboarding.rb +83 -0
  400. data/lib/fortis_api/models/response_location.rb +83 -0
  401. data/lib/fortis_api/models/response_location_info.rb +83 -0
  402. data/lib/fortis_api/models/response_location_infos_collection.rb +121 -0
  403. data/lib/fortis_api/models/response_location_searchs_collection.rb +121 -0
  404. data/lib/fortis_api/models/response_locations_collection.rb +121 -0
  405. data/lib/fortis_api/models/response_merchant_deposit.rb +83 -0
  406. data/lib/fortis_api/models/response_merchant_deposits_collection.rb +121 -0
  407. data/lib/fortis_api/models/response_merchant_details.rb +83 -0
  408. data/lib/fortis_api/models/response_onboarding.rb +83 -0
  409. data/lib/fortis_api/models/response_paylink.rb +83 -0
  410. data/lib/fortis_api/models/response_paylinks_collection.rb +121 -0
  411. data/lib/fortis_api/models/response_payment_card_reader_token.rb +83 -0
  412. data/lib/fortis_api/models/response_quick_invoice.rb +83 -0
  413. data/lib/fortis_api/models/response_quick_invoice_resend.rb +83 -0
  414. data/lib/fortis_api/models/response_quick_invoices_collection.rb +121 -0
  415. data/lib/fortis_api/models/response_recurring.rb +83 -0
  416. data/lib/fortis_api/models/response_recurrings_collection.rb +121 -0
  417. data/lib/fortis_api/models/response_remove_verification.rb +83 -0
  418. data/lib/fortis_api/models/response_send_verification.rb +83 -0
  419. data/lib/fortis_api/models/response_signature.rb +83 -0
  420. data/lib/fortis_api/models/response_signatures_collection.rb +121 -0
  421. data/lib/fortis_api/models/response_tag.rb +83 -0
  422. data/lib/fortis_api/models/response_tags_collection.rb +120 -0
  423. data/lib/fortis_api/models/response_terminal.rb +83 -0
  424. data/lib/fortis_api/models/response_terminals_collection.rb +121 -0
  425. data/lib/fortis_api/models/response_three_ds_authentication.rb +83 -0
  426. data/lib/fortis_api/models/response_three_ds_transaction.rb +83 -0
  427. data/lib/fortis_api/models/response_ticket.rb +83 -0
  428. data/lib/fortis_api/models/response_ticket_intention.rb +83 -0
  429. data/lib/fortis_api/models/response_tickets_collection.rb +121 -0
  430. data/lib/fortis_api/models/response_token.rb +83 -0
  431. data/lib/fortis_api/models/response_tokens_collection.rb +121 -0
  432. data/lib/fortis_api/models/response_transaction.rb +83 -0
  433. data/lib/fortis_api/models/response_transaction_ach_retry.rb +83 -0
  434. data/lib/fortis_api/models/response_transaction_ach_retrys_collection.rb +121 -0
  435. data/lib/fortis_api/models/response_transaction_bin_info.rb +83 -0
  436. data/lib/fortis_api/models/response_transaction_intention.rb +83 -0
  437. data/lib/fortis_api/models/response_transaction_level3.rb +83 -0
  438. data/lib/fortis_api/models/response_transaction_level3_master.rb +83 -0
  439. data/lib/fortis_api/models/response_transaction_level3_visa.rb +83 -0
  440. data/lib/fortis_api/models/response_transaction_processing.rb +83 -0
  441. data/lib/fortis_api/models/response_transactions_collection.rb +121 -0
  442. data/lib/fortis_api/models/response_user.rb +83 -0
  443. data/lib/fortis_api/models/response_user_api_key.rb +83 -0
  444. data/lib/fortis_api/models/response_user_verification.rb +83 -0
  445. data/lib/fortis_api/models/response_user_verifications_collection.rb +121 -0
  446. data/lib/fortis_api/models/response_users_collection.rb +121 -0
  447. data/lib/fortis_api/models/response_webhook.rb +83 -0
  448. data/lib/fortis_api/models/result.rb +95 -0
  449. data/lib/fortis_api/models/retry_transaction.rb +2034 -0
  450. data/lib/fortis_api/models/retry_transaction_ach_retry.rb +146 -0
  451. data/lib/fortis_api/models/return_fee_transaction.rb +2034 -0
  452. data/lib/fortis_api/models/return_fee_transaction_ach_retry.rb +146 -0
  453. data/lib/fortis_api/models/saved_account.rb +734 -0
  454. data/lib/fortis_api/models/scheme_id_enum.rb +45 -0
  455. data/lib/fortis_api/models/sec_code_enum.rb +44 -0
  456. data/lib/fortis_api/models/settings.rb +92 -0
  457. data/lib/fortis_api/models/severity_enum.rb +48 -0
  458. data/lib/fortis_api/models/ship_address_usage_ind_enum.rb +46 -0
  459. data/lib/fortis_api/models/ship_indicator_enum.rb +83 -0
  460. data/lib/fortis_api/models/ship_name_indicator_enum.rb +38 -0
  461. data/lib/fortis_api/models/shipping_address.rb +161 -0
  462. data/lib/fortis_api/models/signature.rb +125 -0
  463. data/lib/fortis_api/models/sms_blacklist.rb +105 -0
  464. data/lib/fortis_api/models/sms_enum.rb +42 -0
  465. data/lib/fortis_api/models/sort.rb +91 -0
  466. data/lib/fortis_api/models/source_enum.rb +41 -0
  467. data/lib/fortis_api/models/stack_enum.rb +36 -0
  468. data/lib/fortis_api/models/status11.rb +84 -0
  469. data/lib/fortis_api/models/status3_enum.rb +36 -0
  470. data/lib/fortis_api/models/status5.rb +73 -0
  471. data/lib/fortis_api/models/status_code12_enum.rb +42 -0
  472. data/lib/fortis_api/models/status_code14_enum.rb +42 -0
  473. data/lib/fortis_api/models/status_code17_enum.rb +89 -0
  474. data/lib/fortis_api/models/status_code_enum.rb +46 -0
  475. data/lib/fortis_api/models/status_enum.rb +40 -0
  476. data/lib/fortis_api/models/status_id_enum.rb +42 -0
  477. data/lib/fortis_api/models/surcharge.rb +318 -0
  478. data/lib/fortis_api/models/surcharge_transaction.rb +208 -0
  479. data/lib/fortis_api/models/suspicious_acc_activity_enum.rb +38 -0
  480. data/lib/fortis_api/models/tag.rb +113 -0
  481. data/lib/fortis_api/models/tag_transaction.rb +177 -0
  482. data/lib/fortis_api/models/tax_exempt_enum.rb +36 -0
  483. data/lib/fortis_api/models/tax_surcharge_config_enum.rb +42 -0
  484. data/lib/fortis_api/models/terminal.rb +595 -0
  485. data/lib/fortis_api/models/terminal2.rb +595 -0
  486. data/lib/fortis_api/models/terminal_application.rb +212 -0
  487. data/lib/fortis_api/models/terminal_cvm.rb +166 -0
  488. data/lib/fortis_api/models/terminal_manufacturer.rb +140 -0
  489. data/lib/fortis_api/models/terminal_manufacturer_code_enum.rb +44 -0
  490. data/lib/fortis_api/models/terminal_router.rb +139 -0
  491. data/lib/fortis_api/models/terminal_timeouts.rb +204 -0
  492. data/lib/fortis_api/models/terminal_timeouts12.rb +213 -0
  493. data/lib/fortis_api/models/three_ds_req_auth_method_enum.rb +155 -0
  494. data/lib/fortis_api/models/three_ds_req_prior_auth_method_enum.rb +128 -0
  495. data/lib/fortis_api/models/three_ds_requestor.rb +306 -0
  496. data/lib/fortis_api/models/three_ds_requestor_authentication_ind_enum.rb +143 -0
  497. data/lib/fortis_api/models/three_ds_requestor_authentication_info.rb +148 -0
  498. data/lib/fortis_api/models/three_ds_requestor_challenge_ind_enum.rb +144 -0
  499. data/lib/fortis_api/models/three_ds_requestor_dec_req_ind_enum.rb +56 -0
  500. data/lib/fortis_api/models/three_ds_requestor_prior_authentication_info.rb +146 -0
  501. data/lib/fortis_api/models/three_ds_requestor_spc_support_enum.rb +29 -0
  502. data/lib/fortis_api/models/three_ri_ind_enum.rb +180 -0
  503. data/lib/fortis_api/models/tip_percents.rb +100 -0
  504. data/lib/fortis_api/models/trans_char_enum.rb +36 -0
  505. data/lib/fortis_api/models/transaction.rb +2034 -0
  506. data/lib/fortis_api/models/transaction_batch.rb +275 -0
  507. data/lib/fortis_api/models/transaction_history.rb +138 -0
  508. data/lib/fortis_api/models/transaction_level3.rb +94 -0
  509. data/lib/fortis_api/models/transaction_reference.rb +182 -0
  510. data/lib/fortis_api/models/transaction_split.rb +127 -0
  511. data/lib/fortis_api/models/transaction_status_enum.rb +73 -0
  512. data/lib/fortis_api/models/transaction_type_enum.rb +52 -0
  513. data/lib/fortis_api/models/trx_source_code_enum.rb +143 -0
  514. data/lib/fortis_api/models/trx_source_id_enum.rb +143 -0
  515. data/lib/fortis_api/models/type103_enum.rb +26 -0
  516. data/lib/fortis_api/models/type10_enum.rb +26 -0
  517. data/lib/fortis_api/models/type110_enum.rb +26 -0
  518. data/lib/fortis_api/models/type112.rb +84 -0
  519. data/lib/fortis_api/models/type113_enum.rb +26 -0
  520. data/lib/fortis_api/models/type114_enum.rb +26 -0
  521. data/lib/fortis_api/models/type115_enum.rb +26 -0
  522. data/lib/fortis_api/models/type116_enum.rb +26 -0
  523. data/lib/fortis_api/models/type117_enum.rb +26 -0
  524. data/lib/fortis_api/models/type11_enum.rb +26 -0
  525. data/lib/fortis_api/models/type123_enum.rb +26 -0
  526. data/lib/fortis_api/models/type124_enum.rb +26 -0
  527. data/lib/fortis_api/models/type128_enum.rb +26 -0
  528. data/lib/fortis_api/models/type129_enum.rb +26 -0
  529. data/lib/fortis_api/models/type130_enum.rb +26 -0
  530. data/lib/fortis_api/models/type134_enum.rb +26 -0
  531. data/lib/fortis_api/models/type135_enum.rb +26 -0
  532. data/lib/fortis_api/models/type136_enum.rb +26 -0
  533. data/lib/fortis_api/models/type137_enum.rb +26 -0
  534. data/lib/fortis_api/models/type138_enum.rb +26 -0
  535. data/lib/fortis_api/models/type15_enum.rb +26 -0
  536. data/lib/fortis_api/models/type16_enum.rb +27 -0
  537. data/lib/fortis_api/models/type1_enum.rb +26 -0
  538. data/lib/fortis_api/models/type20_enum.rb +26 -0
  539. data/lib/fortis_api/models/type21_enum.rb +26 -0
  540. data/lib/fortis_api/models/type22_enum.rb +26 -0
  541. data/lib/fortis_api/models/type23_enum.rb +26 -0
  542. data/lib/fortis_api/models/type27_enum.rb +26 -0
  543. data/lib/fortis_api/models/type28_enum.rb +26 -0
  544. data/lib/fortis_api/models/type29_enum.rb +36 -0
  545. data/lib/fortis_api/models/type2_enum.rb +26 -0
  546. data/lib/fortis_api/models/type30_enum.rb +26 -0
  547. data/lib/fortis_api/models/type31_enum.rb +26 -0
  548. data/lib/fortis_api/models/type35_enum.rb +26 -0
  549. data/lib/fortis_api/models/type39_enum.rb +26 -0
  550. data/lib/fortis_api/models/type3_enum.rb +26 -0
  551. data/lib/fortis_api/models/type43_enum.rb +26 -0
  552. data/lib/fortis_api/models/type44_enum.rb +26 -0
  553. data/lib/fortis_api/models/type45_enum.rb +26 -0
  554. data/lib/fortis_api/models/type46_enum.rb +26 -0
  555. data/lib/fortis_api/models/type47_enum.rb +26 -0
  556. data/lib/fortis_api/models/type48_enum.rb +26 -0
  557. data/lib/fortis_api/models/type4_enum.rb +26 -0
  558. data/lib/fortis_api/models/type52_enum.rb +26 -0
  559. data/lib/fortis_api/models/type53_enum.rb +26 -0
  560. data/lib/fortis_api/models/type54_enum.rb +26 -0
  561. data/lib/fortis_api/models/type58_enum.rb +26 -0
  562. data/lib/fortis_api/models/type59_enum.rb +26 -0
  563. data/lib/fortis_api/models/type5_enum.rb +26 -0
  564. data/lib/fortis_api/models/type60_enum.rb +74 -0
  565. data/lib/fortis_api/models/type61_enum.rb +26 -0
  566. data/lib/fortis_api/models/type62_enum.rb +26 -0
  567. data/lib/fortis_api/models/type67_enum.rb +26 -0
  568. data/lib/fortis_api/models/type68_enum.rb +26 -0
  569. data/lib/fortis_api/models/type6_enum.rb +26 -0
  570. data/lib/fortis_api/models/type72_enum.rb +26 -0
  571. data/lib/fortis_api/models/type73_enum.rb +26 -0
  572. data/lib/fortis_api/models/type77_enum.rb +26 -0
  573. data/lib/fortis_api/models/type78_enum.rb +26 -0
  574. data/lib/fortis_api/models/type82_enum.rb +26 -0
  575. data/lib/fortis_api/models/type83_enum.rb +26 -0
  576. data/lib/fortis_api/models/type87_enum.rb +26 -0
  577. data/lib/fortis_api/models/type88_enum.rb +26 -0
  578. data/lib/fortis_api/models/type92_enum.rb +26 -0
  579. data/lib/fortis_api/models/type94_enum.rb +26 -0
  580. data/lib/fortis_api/models/type99_enum.rb +26 -0
  581. data/lib/fortis_api/models/type_enum.rb +26 -0
  582. data/lib/fortis_api/models/type_id_enum.rb +58 -0
  583. data/lib/fortis_api/models/ui_prefs.rb +123 -0
  584. data/lib/fortis_api/models/update_if_exists_enum.rb +26 -0
  585. data/lib/fortis_api/models/user.rb +107 -0
  586. data/lib/fortis_api/models/user1.rb +591 -0
  587. data/lib/fortis_api/models/user9.rb +591 -0
  588. data/lib/fortis_api/models/user_type_code_enum.rb +78 -0
  589. data/lib/fortis_api/models/v1_contacts_request.rb +368 -0
  590. data/lib/fortis_api/models/v1_contacts_request1.rb +372 -0
  591. data/lib/fortis_api/models/v1_declined_recurring_transaction_payments_request.rb +214 -0
  592. data/lib/fortis_api/models/v1_device_terms_request.rb +118 -0
  593. data/lib/fortis_api/models/v1_elements_ticket_intention_request.rb +122 -0
  594. data/lib/fortis_api/models/v1_elements_transaction_intention_request.rb +334 -0
  595. data/lib/fortis_api/models/v1_fullboarding_request.rb +489 -0
  596. data/lib/fortis_api/models/v1_merchant_threedsecure_authentication_request.rb +473 -0
  597. data/lib/fortis_api/models/v1_onboarding_request.rb +413 -0
  598. data/lib/fortis_api/models/v1_paylinks_request.rb +380 -0
  599. data/lib/fortis_api/models/v1_paylinks_request1.rb +383 -0
  600. data/lib/fortis_api/models/v1_quick_invoices_request.rb +564 -0
  601. data/lib/fortis_api/models/v1_quick_invoices_request1.rb +570 -0
  602. data/lib/fortis_api/models/v1_quick_invoices_transaction_request.rb +72 -0
  603. data/lib/fortis_api/models/v1_recurrings_defer_payment_request.rb +71 -0
  604. data/lib/fortis_api/models/v1_recurrings_request.rb +387 -0
  605. data/lib/fortis_api/models/v1_recurrings_request1.rb +377 -0
  606. data/lib/fortis_api/models/v1_recurrings_skip_payment_request.rb +71 -0
  607. data/lib/fortis_api/models/v1_signatures_request.rb +91 -0
  608. data/lib/fortis_api/models/v1_tags_request.rb +79 -0
  609. data/lib/fortis_api/models/v1_tags_request1.rb +85 -0
  610. data/lib/fortis_api/models/v1_terminals_request.rb +519 -0
  611. data/lib/fortis_api/models/v1_terminals_request1.rb +536 -0
  612. data/lib/fortis_api/models/v1_tickets_request.rb +193 -0
  613. data/lib/fortis_api/models/v1_tokens_ach_request.rb +525 -0
  614. data/lib/fortis_api/models/v1_tokens_ach_request1.rb +501 -0
  615. data/lib/fortis_api/models/v1_tokens_cc_request.rb +586 -0
  616. data/lib/fortis_api/models/v1_tokens_cc_request1.rb +497 -0
  617. data/lib/fortis_api/models/v1_tokens_previous_transaction_request.rb +483 -0
  618. data/lib/fortis_api/models/v1_tokens_terminal_async_request.rb +501 -0
  619. data/lib/fortis_api/models/v1_tokens_terminal_request.rb +501 -0
  620. data/lib/fortis_api/models/v1_tokens_ticket_request.rb +493 -0
  621. data/lib/fortis_api/models/v1_tokens_wallet_request.rb +515 -0
  622. data/lib/fortis_api/models/v1_transaction_ach_retries_request.rb +85 -0
  623. data/lib/fortis_api/models/v1_transactions_ach_credit_keyed_request.rb +869 -0
  624. data/lib/fortis_api/models/v1_transactions_ach_credit_prev_trxn_request.rb +863 -0
  625. data/lib/fortis_api/models/v1_transactions_ach_credit_token_request.rb +876 -0
  626. data/lib/fortis_api/models/v1_transactions_ach_debit_keyed_request.rb +869 -0
  627. data/lib/fortis_api/models/v1_transactions_ach_debit_prev_trxn_request.rb +863 -0
  628. data/lib/fortis_api/models/v1_transactions_ach_debit_token_request.rb +876 -0
  629. data/lib/fortis_api/models/v1_transactions_ach_refund_prev_trxn_request.rb +863 -0
  630. data/lib/fortis_api/models/v1_transactions_auth_complete_request.rb +785 -0
  631. data/lib/fortis_api/models/v1_transactions_auth_increment_request.rb +783 -0
  632. data/lib/fortis_api/models/v1_transactions_cash_refund_request.rb +807 -0
  633. data/lib/fortis_api/models/v1_transactions_cash_sale_request.rb +794 -0
  634. data/lib/fortis_api/models/v1_transactions_cc_auth_only_keyed_request.rb +1148 -0
  635. data/lib/fortis_api/models/v1_transactions_cc_auth_only_prev_trxn_request.rb +1125 -0
  636. data/lib/fortis_api/models/v1_transactions_cc_auth_only_swiped_request.rb +1102 -0
  637. data/lib/fortis_api/models/v1_transactions_cc_auth_only_taptopay_request.rb +974 -0
  638. data/lib/fortis_api/models/v1_transactions_cc_auth_only_terminal_request.rb +1105 -0
  639. data/lib/fortis_api/models/v1_transactions_cc_auth_only_ticket_request.rb +1089 -0
  640. data/lib/fortis_api/models/v1_transactions_cc_auth_only_token_request.rb +1119 -0
  641. data/lib/fortis_api/models/v1_transactions_cc_auth_only_wallet_request.rb +1099 -0
  642. data/lib/fortis_api/models/v1_transactions_cc_avs_only_keyed_request.rb +1150 -0
  643. data/lib/fortis_api/models/v1_transactions_cc_avs_only_prev_trxn_request.rb +1125 -0
  644. data/lib/fortis_api/models/v1_transactions_cc_avs_only_swiped_request.rb +1103 -0
  645. data/lib/fortis_api/models/v1_transactions_cc_avs_only_terminal_request.rb +1106 -0
  646. data/lib/fortis_api/models/v1_transactions_cc_avs_only_ticket_request.rb +1090 -0
  647. data/lib/fortis_api/models/v1_transactions_cc_avs_only_token_request.rb +1121 -0
  648. data/lib/fortis_api/models/v1_transactions_cc_avs_only_wallet_request.rb +1101 -0
  649. data/lib/fortis_api/models/v1_transactions_cc_balance_inquiry_keyed_request.rb +1150 -0
  650. data/lib/fortis_api/models/v1_transactions_cc_balance_inquiry_prev_trxn_request.rb +1125 -0
  651. data/lib/fortis_api/models/v1_transactions_cc_balance_inquiry_swiped_request.rb +1103 -0
  652. data/lib/fortis_api/models/v1_transactions_cc_balance_inquiry_terminal_request.rb +1106 -0
  653. data/lib/fortis_api/models/v1_transactions_cc_balance_inquiry_ticket_request.rb +1090 -0
  654. data/lib/fortis_api/models/v1_transactions_cc_balance_inquiry_token_request.rb +1121 -0
  655. data/lib/fortis_api/models/v1_transactions_cc_balance_inquiry_wallet_request.rb +1101 -0
  656. data/lib/fortis_api/models/v1_transactions_cc_force_keyed_request.rb +1171 -0
  657. data/lib/fortis_api/models/v1_transactions_cc_force_prev_trxn_request.rb +1146 -0
  658. data/lib/fortis_api/models/v1_transactions_cc_force_swiped_request.rb +1112 -0
  659. data/lib/fortis_api/models/v1_transactions_cc_force_ticket_request.rb +1112 -0
  660. data/lib/fortis_api/models/v1_transactions_cc_force_token_request.rb +1141 -0
  661. data/lib/fortis_api/models/v1_transactions_cc_force_wallet_request.rb +1123 -0
  662. data/lib/fortis_api/models/v1_transactions_cc_refund_keyed_request.rb +1180 -0
  663. data/lib/fortis_api/models/v1_transactions_cc_refund_prev_trxn_request.rb +1125 -0
  664. data/lib/fortis_api/models/v1_transactions_cc_refund_swiped_request.rb +1102 -0
  665. data/lib/fortis_api/models/v1_transactions_cc_refund_taptopay_request.rb +987 -0
  666. data/lib/fortis_api/models/v1_transactions_cc_refund_terminal_request.rb +1105 -0
  667. data/lib/fortis_api/models/v1_transactions_cc_refund_ticket_request.rb +1089 -0
  668. data/lib/fortis_api/models/v1_transactions_cc_refund_token_request.rb +1119 -0
  669. data/lib/fortis_api/models/v1_transactions_cc_refund_wallet_request.rb +1099 -0
  670. data/lib/fortis_api/models/v1_transactions_cc_sale_keyed_request.rb +1148 -0
  671. data/lib/fortis_api/models/v1_transactions_cc_sale_prev_trxn_request.rb +1125 -0
  672. data/lib/fortis_api/models/v1_transactions_cc_sale_swiped_request.rb +1102 -0
  673. data/lib/fortis_api/models/v1_transactions_cc_sale_taptopay_request.rb +974 -0
  674. data/lib/fortis_api/models/v1_transactions_cc_sale_terminal_request.rb +1105 -0
  675. data/lib/fortis_api/models/v1_transactions_cc_sale_ticket_request.rb +1089 -0
  676. data/lib/fortis_api/models/v1_transactions_cc_sale_token_request.rb +1119 -0
  677. data/lib/fortis_api/models/v1_transactions_cc_sale_wallet_request.rb +1099 -0
  678. data/lib/fortis_api/models/v1_transactions_ebt_voucher_clear_refund_keyed_request.rb +1159 -0
  679. data/lib/fortis_api/models/v1_transactions_ebt_voucher_clear_sale_keyed_request.rb +1159 -0
  680. data/lib/fortis_api/models/v1_transactions_level3_master_card_request.rb +71 -0
  681. data/lib/fortis_api/models/v1_transactions_level3_visa_request.rb +71 -0
  682. data/lib/fortis_api/models/v1_transactions_partial_reversal_request.rb +763 -0
  683. data/lib/fortis_api/models/v1_transactions_refund_request.rb +765 -0
  684. data/lib/fortis_api/models/v1_transactions_tip_adjust_request.rb +1049 -0
  685. data/lib/fortis_api/models/v1_transactions_void_request.rb +85 -0
  686. data/lib/fortis_api/models/v1_users_request.rb +430 -0
  687. data/lib/fortis_api/models/v1_users_request1.rb +440 -0
  688. data/lib/fortis_api/models/v1_wallet_provider_apple_pay_validate_merchant_request.rb +98 -0
  689. data/lib/fortis_api/models/v1_wallet_provider_merchant_details_request.rb +73 -0
  690. data/lib/fortis_api/models/v1_webhooks_batch_request.rb +255 -0
  691. data/lib/fortis_api/models/v1_webhooks_batch_request1.rb +267 -0
  692. data/lib/fortis_api/models/v1_webhooks_contact_request.rb +257 -0
  693. data/lib/fortis_api/models/v1_webhooks_contact_request1.rb +267 -0
  694. data/lib/fortis_api/models/v1_webhooks_transaction_request.rb +255 -0
  695. data/lib/fortis_api/models/v1_webhooks_transaction_request1.rb +267 -0
  696. data/lib/fortis_api/models/values4_enum.rb +36 -0
  697. data/lib/fortis_api/models/values50_enum.rb +36 -0
  698. data/lib/fortis_api/models/values51_enum.rb +40 -0
  699. data/lib/fortis_api/models/values58_enum.rb +36 -0
  700. data/lib/fortis_api/models/values5_enum.rb +36 -0
  701. data/lib/fortis_api/models/values6_enum.rb +36 -0
  702. data/lib/fortis_api/models/values7_enum.rb +36 -0
  703. data/lib/fortis_api/models/values99_enum.rb +36 -0
  704. data/lib/fortis_api/models/values_enum.rb +44 -0
  705. data/lib/fortis_api/models/wallet_provider_enum.rb +36 -0
  706. data/lib/fortis_api/models/wallet_type_enum.rb +55 -0
  707. data/lib/fortis_api/models/work_phone.rb +84 -0
  708. data/lib/fortis_api/utilities/date_time_helper.rb +11 -0
  709. data/lib/fortis_api/utilities/file_wrapper.rb +28 -0
  710. data/lib/fortis_api/utilities/union_type_lookup.rb +384 -0
  711. data/lib/fortis_api.rb +755 -0
  712. data/test/controllers/controller_test_base.rb +23 -0
  713. data/test/controllers/test_async_processing_controller.rb +43 -0
  714. data/test/controllers/test_batches_controller.rb +146 -0
  715. data/test/controllers/test_contacts_controller.rb +668 -0
  716. data/test/controllers/test_declined_recurring_transactions_controller.rb +150 -0
  717. data/test/controllers/test_device_terms_controller.rb +261 -0
  718. data/test/controllers/test_level3_data_controller.rb +91 -0
  719. data/test/controllers/test_locations_controller.rb +959 -0
  720. data/test/controllers/test_m3_ds_transactions_controller.rb +47 -0
  721. data/test/controllers/test_merchant_deposits_controller.rb +66 -0
  722. data/test/controllers/test_paylinks_controller.rb +185 -0
  723. data/test/controllers/test_payment_card_reader_token_controller.rb +43 -0
  724. data/test/controllers/test_quick_invoices_controller.rb +1218 -0
  725. data/test/controllers/test_recurring_controller.rb +1046 -0
  726. data/test/controllers/test_signatures_controller.rb +121 -0
  727. data/test/controllers/test_tags_controller.rb +155 -0
  728. data/test/controllers/test_terminals_controller.rb +242 -0
  729. data/test/controllers/test_tickets_controller.rb +94 -0
  730. data/test/controllers/test_tokens_controller.rb +641 -0
  731. data/test/controllers/test_transaction_ach_retries_controller.rb +427 -0
  732. data/test/controllers/test_transactions_read_controller.rb +867 -0
  733. data/test/controllers/test_transactions_updates_controller.rb +419 -0
  734. data/test/controllers/test_user_verifications_controller.rb +86 -0
  735. data/test/controllers/test_users_controller.rb +747 -0
  736. data/test/controllers/test_webhooks_controller.rb +51 -0
  737. data/test/http_response_catcher.rb +19 -0
  738. metadata +849 -0
@@ -0,0 +1,1571 @@
1
+ # fortis_api
2
+ #
3
+ # This file was automatically generated by APIMATIC v3.0 (
4
+ # https://www.apimatic.io ).
5
+
6
+ module FortisApi
7
+ # Cc Product Transaction Information on `expand`
8
+ class CcProductTransaction < BaseModel
9
+ SKIP = Object.new
10
+ private_constant :SKIP
11
+
12
+ # Processor Version
13
+ # @return [String]
14
+ attr_accessor :processor_version
15
+
16
+ # Industry Type
17
+ # @return [IndustryTypeEnum]
18
+ attr_accessor :industry_type
19
+
20
+ # Title
21
+ # @return [String]
22
+ attr_accessor :title
23
+
24
+ # Payment method
25
+ # @return [PaymentMethodEnum]
26
+ attr_accessor :payment_method
27
+
28
+ # Processor
29
+ # @return [ProcessorEnum]
30
+ attr_accessor :processor
31
+
32
+ # MCC
33
+ # @return [String]
34
+ attr_accessor :mcc
35
+
36
+ # Tax Surcharge Config
37
+ # @return [TaxSurchargeConfigEnum]
38
+ attr_accessor :tax_surcharge_config
39
+
40
+ # Terminal ID
41
+ # @return [String]
42
+ attr_accessor :terminal_id
43
+
44
+ # Partner
45
+ # @return [PartnerEnum]
46
+ attr_accessor :partner
47
+
48
+ # Product Ach Pv Store ID
49
+ # @return [String]
50
+ attr_accessor :product_ach_pv_store_id
51
+
52
+ # Invoice Adjustment Title
53
+ # @return [String]
54
+ attr_accessor :invoice_adjustment_title
55
+
56
+ # Location ID
57
+ # @return [String]
58
+ attr_accessor :location_id
59
+
60
+ # Location Api ID
61
+ # @return [String]
62
+ attr_accessor :location_api_id
63
+
64
+ # Billing Location API ID
65
+ # @return [String]
66
+ attr_accessor :billing_location_api_id
67
+
68
+ # Portfolio ID
69
+ # @return [String]
70
+ attr_accessor :portfolio_id
71
+
72
+ # Product Validation Rule
73
+ # @return [String]
74
+ attr_accessor :portfolio_validation_rule
75
+
76
+ # Sub Processor
77
+ # @return [String]
78
+ attr_accessor :sub_processor
79
+
80
+ # Surcharge
81
+ # @return [Object]
82
+ attr_accessor :surcharge
83
+
84
+ # Surcharge
85
+ # @return [Object]
86
+ attr_accessor :processor_data
87
+
88
+ # Vt Clerk Number
89
+ # @return [TrueClass | FalseClass]
90
+ attr_accessor :vt_clerk_number
91
+
92
+ # Card Type JCB
93
+ # @return [TrueClass | FalseClass]
94
+ attr_accessor :vt_billing_phone
95
+
96
+ # VT Enable Tip
97
+ # @return [TrueClass | FalseClass]
98
+ attr_accessor :vt_enable_tip
99
+
100
+ # Ach Allow Debit
101
+ # @return [TrueClass | FalseClass]
102
+ attr_accessor :ach_allow_debit
103
+
104
+ # Ach Allow Credit
105
+ # @return [TrueClass | FalseClass]
106
+ attr_accessor :ach_allow_credit
107
+
108
+ # Ach Allow Refund
109
+ # @return [TrueClass | FalseClass]
110
+ attr_accessor :ach_allow_refund
111
+
112
+ # VT CVV
113
+ # @return [TrueClass | FalseClass]
114
+ attr_accessor :vt_cvv
115
+
116
+ # VT Street
117
+ # @return [TrueClass | FalseClass]
118
+ attr_accessor :vt_street
119
+
120
+ # VT Zip
121
+ # @return [TrueClass | FalseClass]
122
+ attr_accessor :vt_zip
123
+
124
+ # VT Order Num
125
+ # @return [TrueClass | FalseClass]
126
+ attr_accessor :vt_order_num
127
+
128
+ # VT Enable
129
+ # @return [TrueClass | FalseClass]
130
+ attr_accessor :vt_enable
131
+
132
+ # Receipt Show Contact Name
133
+ # @return [TrueClass | FalseClass]
134
+ attr_accessor :receipt_show_contact_name
135
+
136
+ # Display Avs
137
+ # @return [TrueClass | FalseClass]
138
+ attr_accessor :display_avs
139
+
140
+ # Card Type Visa
141
+ # @return [TrueClass | FalseClass]
142
+ attr_accessor :card_type_visa
143
+
144
+ # Card Type Mc
145
+ # @return [TrueClass | FalseClass]
146
+ attr_accessor :card_type_mc
147
+
148
+ # Card Type Disc
149
+ # @return [TrueClass | FalseClass]
150
+ attr_accessor :card_type_disc
151
+
152
+ # Card Type Amex
153
+ # @return [TrueClass | FalseClass]
154
+ attr_accessor :card_type_amex
155
+
156
+ # Card Type Dinners
157
+ # @return [TrueClass | FalseClass]
158
+ attr_accessor :card_type_diners
159
+
160
+ # Card Type Dinners
161
+ # @return [TrueClass | FalseClass]
162
+ attr_accessor :card_type_jcb
163
+
164
+ # Card Type EBT
165
+ # @return [TrueClass | FalseClass]
166
+ attr_accessor :card_type_ebt
167
+
168
+ # Allow EBT Cash Benefit
169
+ # @return [TrueClass | FalseClass]
170
+ attr_accessor :allow_ebt_cash_benefit
171
+
172
+ # Allow EBT Food Stamp
173
+ # @return [TrueClass | FalseClass]
174
+ attr_accessor :allow_ebt_food_stamp
175
+
176
+ # Invoice Location
177
+ # @return [TrueClass | FalseClass]
178
+ attr_accessor :invoice_location
179
+
180
+ # Allow Partial Authorization
181
+ # @return [TrueClass | FalseClass]
182
+ attr_accessor :allow_partial_authorization
183
+
184
+ # Allow Recurring Partial Authorization
185
+ # @return [TrueClass | FalseClass]
186
+ attr_accessor :allow_recurring_partial_authorization
187
+
188
+ # Auto Decline Cvv
189
+ # @return [TrueClass | FalseClass]
190
+ attr_accessor :auto_decline_cvv
191
+
192
+ # Auto Decline Street
193
+ # @return [TrueClass | FalseClass]
194
+ attr_accessor :auto_decline_street
195
+
196
+ # Auto Decline ZIP
197
+ # @return [TrueClass | FalseClass]
198
+ attr_accessor :auto_decline_zip
199
+
200
+ # Split Payments Allow
201
+ # @return [TrueClass | FalseClass]
202
+ attr_accessor :split_payments_allow
203
+
204
+ # Vt Show Custom Fields
205
+ # @return [TrueClass | FalseClass]
206
+ attr_accessor :vt_show_custom_fields
207
+
208
+ # Receipt Show Custom Fields
209
+ # @return [TrueClass | FalseClass]
210
+ attr_accessor :receipt_show_custom_fields
211
+
212
+ # Vt Override Sales Tax Allowed
213
+ # @return [TrueClass | FalseClass]
214
+ attr_accessor :vt_override_sales_tax_allowed
215
+
216
+ # Vt Enable Sales Tax
217
+ # @return [TrueClass | FalseClass]
218
+ attr_accessor :vt_enable_sales_tax
219
+
220
+ # Vt Require ZIP
221
+ # @return [TrueClass | FalseClass]
222
+ attr_accessor :vt_require_zip
223
+
224
+ # Vt Require Street
225
+ # @return [TrueClass | FalseClass]
226
+ attr_accessor :vt_require_street
227
+
228
+ # Auto Decline Cavv
229
+ # @return [TrueClass | FalseClass]
230
+ attr_accessor :auto_decline_cavv
231
+
232
+ # Merchant ID
233
+ # @return [String]
234
+ attr_accessor :merchant_id
235
+
236
+ # Receipt Header
237
+ # @return [String]
238
+ attr_accessor :receipt_header
239
+
240
+ # Receipt Footer
241
+ # @return [String]
242
+ attr_accessor :receipt_footer
243
+
244
+ # Receipt Add Account Above Signature
245
+ # @return [String]
246
+ attr_accessor :receipt_add_account_above_signature
247
+
248
+ # Receipt Add Recurring Above Signature
249
+ # @return [String]
250
+ attr_accessor :receipt_add_recurring_above_signature
251
+
252
+ # Receipt VT Above Signature
253
+ # @return [String]
254
+ attr_accessor :receipt_vt_above_signature
255
+
256
+ # Default Transaction Type
257
+ # @return [DefaultTransactionTypeEnum]
258
+ attr_accessor :default_transaction_type
259
+
260
+ # Username
261
+ # @return [String]
262
+ attr_accessor :username
263
+
264
+ # Passowrd
265
+ # @return [String]
266
+ attr_accessor :password
267
+
268
+ # Current Batch
269
+ # @return [Float]
270
+ attr_accessor :current_batch
271
+
272
+ # Dup Check Per Batch
273
+ # @return [String]
274
+ attr_accessor :dup_check_per_batch
275
+
276
+ # Agent Code
277
+ # @return [String]
278
+ attr_accessor :agent_code
279
+
280
+ # Paylink Allow
281
+ # @return [TrueClass | FalseClass]
282
+ attr_accessor :paylink_allow
283
+
284
+ # Quick Invoice Allow
285
+ # @return [TrueClass | FalseClass]
286
+ attr_accessor :quick_invoice_allow
287
+
288
+ # Level3 Allow
289
+ # @return [TrueClass | FalseClass]
290
+ attr_accessor :level3_allow
291
+
292
+ # Payfac Enable
293
+ # @return [TrueClass | FalseClass]
294
+ attr_accessor :payfac_enable
295
+
296
+ # Enable 3DS
297
+ # @return [TrueClass | FalseClass]
298
+ attr_accessor :enable_3ds
299
+
300
+ # Sales Office ID
301
+ # @return [String]
302
+ attr_accessor :sales_office_id
303
+
304
+ # Hosted Payment Page Max Allowed
305
+ # @return [Float]
306
+ attr_accessor :hosted_payment_page_max_allowed
307
+
308
+ # Hosted Payment Page Allow
309
+ # @return [TrueClass | FalseClass]
310
+ attr_accessor :hosted_payment_page_allow
311
+
312
+ # Surcharge ID
313
+ # @return [String]
314
+ attr_accessor :surcharge_id
315
+
316
+ # Allow Big Commerce
317
+ # @return [TrueClass | FalseClass]
318
+ attr_accessor :allow_big_commerce
319
+
320
+ # Level3 Default
321
+ # @return [Level3Default]
322
+ attr_accessor :level3_default
323
+
324
+ # Cau Subscribe Type ID
325
+ # @return [CauSubscribeTypeIdEnum]
326
+ attr_accessor :cau_subscribe_type_id
327
+
328
+ # Cau Account Number
329
+ # @return [String]
330
+ attr_accessor :cau_account_number
331
+
332
+ # Location Billing Account ID
333
+ # @return [String]
334
+ attr_accessor :location_billing_account_id
335
+
336
+ # Product Billing Group ID
337
+ # @return [String]
338
+ attr_accessor :product_billing_group_id
339
+
340
+ # Account number
341
+ # @return [String]
342
+ attr_accessor :account_number
343
+
344
+ # Run Avs On Accountvault Create
345
+ # @return [TrueClass | FalseClass]
346
+ attr_accessor :run_avs_on_accountvault_create
347
+
348
+ # Accountvault Expire Notification Email Enable
349
+ # @return [TrueClass | FalseClass]
350
+ attr_accessor :accountvault_expire_notification_email_enable
351
+
352
+ # Debit Allow Void
353
+ # @return [TrueClass | FalseClass]
354
+ attr_accessor :debit_allow_void
355
+
356
+ # Quick Invoice Text To Pay
357
+ # @return [TrueClass | FalseClass]
358
+ attr_accessor :quick_invoice_text_to_pay
359
+
360
+ # Authentication Code
361
+ # @return [String]
362
+ attr_accessor :authentication_code
363
+
364
+ # SMS Enable
365
+ # @return [TrueClass | FalseClass]
366
+ attr_accessor :sms_enable
367
+
368
+ # Vt Show Currency
369
+ # @return [TrueClass | FalseClass]
370
+ attr_accessor :vt_show_currency
371
+
372
+ # Receipt Show Currency
373
+ # @return [TrueClass | FalseClass]
374
+ attr_accessor :receipt_show_currency
375
+
376
+ # Allow Blind Refund
377
+ # @return [TrueClass | FalseClass]
378
+ attr_accessor :allow_blind_refund
379
+
380
+ # Vt Show Company Name
381
+ # @return [TrueClass | FalseClass]
382
+ attr_accessor :vt_show_company_name
383
+
384
+ # Receipt Show Company Name
385
+ # @return [TrueClass | FalseClass]
386
+ attr_accessor :receipt_show_company_name
387
+
388
+ # Bank Funded Only
389
+ # @return [TrueClass | FalseClass]
390
+ attr_accessor :bank_funded_only
391
+
392
+ # Require CVV on keyed CNP
393
+ # @return [TrueClass | FalseClass]
394
+ attr_accessor :require_cvv_on_keyed_cnp
395
+
396
+ # Require CVV on tokenized CNP
397
+ # @return [TrueClass | FalseClass]
398
+ attr_accessor :require_cvv_on_tokenized_cnp
399
+
400
+ # Show Retained Amount
401
+ # @return [TrueClass | FalseClass]
402
+ attr_accessor :show_secondary_amount
403
+
404
+ # Allow Retained Amount
405
+ # @return [TrueClass | FalseClass]
406
+ attr_accessor :allow_secondary_amount
407
+
408
+ # Vt Require Street
409
+ # @return [TrueClass | FalseClass]
410
+ attr_accessor :show_google_pay
411
+
412
+ # Vt Require Street
413
+ # @return [TrueClass | FalseClass]
414
+ attr_accessor :show_apple_pay
415
+
416
+ # Batch Risk Config
417
+ # @return [BatchRiskConfig]
418
+ attr_accessor :batch_risk_config
419
+
420
+ # Currency Code
421
+ # @return [Float]
422
+ attr_accessor :currency_code
423
+
424
+ # Enable ACH Validation
425
+ # @return [TrueClass | FalseClass]
426
+ attr_accessor :enable_ach_validation
427
+
428
+ # Enable ACH Retry
429
+ # @return [TrueClass | FalseClass]
430
+ attr_accessor :enable_ach_retry
431
+
432
+ # Allow Soft POS
433
+ # @return [TrueClass | FalseClass]
434
+ attr_accessor :allow_softpos
435
+
436
+ # User Reports ID
437
+ # @return [String]
438
+ attr_accessor :id
439
+
440
+ # Receipt Logo
441
+ # @return [String]
442
+ attr_accessor :receipt_logo
443
+
444
+ # Active
445
+ # @return [TrueClass | FalseClass]
446
+ attr_accessor :active
447
+
448
+ # TZ
449
+ # @return [String]
450
+ attr_accessor :tz
451
+
452
+ # Current Stan
453
+ # @return [Float]
454
+ attr_accessor :current_stan
455
+
456
+ # Created Time Stamp
457
+ # @return [Integer]
458
+ attr_accessor :created_ts
459
+
460
+ # Modified Time Stamp
461
+ # @return [Integer]
462
+ attr_accessor :modified_ts
463
+
464
+ # User ID Created the register
465
+ # @return [String]
466
+ attr_accessor :created_user_id
467
+
468
+ # Last User ID that updated the register
469
+ # @return [String]
470
+ attr_accessor :modified_user_id
471
+
472
+ # Product Transaction API ID
473
+ # @return [String]
474
+ attr_accessor :product_transaction_api_id
475
+
476
+ # Transaction Amount Notification Treshold
477
+ # @return [Integer]
478
+ attr_accessor :transaction_amount_notification_threshold
479
+
480
+ # Allow Retained Amount
481
+ # @return [TrueClass | FalseClass]
482
+ attr_accessor :is_secondary_amount_allowed
483
+
484
+ # Allow Retained Amount
485
+ # @return [String]
486
+ attr_accessor :fortis_id
487
+
488
+ # Product Billing Group Code
489
+ # @return [String]
490
+ attr_accessor :product_billing_group_code
491
+
492
+ # Cau Subscribe Type Code
493
+ # @return [CauSubscribeTypeCodeEnum]
494
+ attr_accessor :cau_subscribe_type_code
495
+
496
+ # Merchant Code
497
+ # @return [String]
498
+ attr_accessor :merchant_code
499
+
500
+ # A mapping from model property names to API property names.
501
+ def self.names
502
+ @_hash = {} if @_hash.nil?
503
+ @_hash['processor_version'] = 'processor_version'
504
+ @_hash['industry_type'] = 'industry_type'
505
+ @_hash['title'] = 'title'
506
+ @_hash['payment_method'] = 'payment_method'
507
+ @_hash['processor'] = 'processor'
508
+ @_hash['mcc'] = 'mcc'
509
+ @_hash['tax_surcharge_config'] = 'tax_surcharge_config'
510
+ @_hash['terminal_id'] = 'terminal_id'
511
+ @_hash['partner'] = 'partner'
512
+ @_hash['product_ach_pv_store_id'] = 'product_ach_pv_store_id'
513
+ @_hash['invoice_adjustment_title'] = 'invoice_adjustment_title'
514
+ @_hash['location_id'] = 'location_id'
515
+ @_hash['location_api_id'] = 'location_api_id'
516
+ @_hash['billing_location_api_id'] = 'billing_location_api_id'
517
+ @_hash['portfolio_id'] = 'portfolio_id'
518
+ @_hash['portfolio_validation_rule'] = 'portfolioValidationRule'
519
+ @_hash['sub_processor'] = 'sub_processor'
520
+ @_hash['surcharge'] = 'surcharge'
521
+ @_hash['processor_data'] = 'processor_data'
522
+ @_hash['vt_clerk_number'] = 'vt_clerk_number'
523
+ @_hash['vt_billing_phone'] = 'vt_billing_phone'
524
+ @_hash['vt_enable_tip'] = 'vt_enable_tip'
525
+ @_hash['ach_allow_debit'] = 'ach_allow_debit'
526
+ @_hash['ach_allow_credit'] = 'ach_allow_credit'
527
+ @_hash['ach_allow_refund'] = 'ach_allow_refund'
528
+ @_hash['vt_cvv'] = 'vt_cvv'
529
+ @_hash['vt_street'] = 'vt_street'
530
+ @_hash['vt_zip'] = 'vt_zip'
531
+ @_hash['vt_order_num'] = 'vt_order_num'
532
+ @_hash['vt_enable'] = 'vt_enable'
533
+ @_hash['receipt_show_contact_name'] = 'receipt_show_contact_name'
534
+ @_hash['display_avs'] = 'display_avs'
535
+ @_hash['card_type_visa'] = 'card_type_visa'
536
+ @_hash['card_type_mc'] = 'card_type_mc'
537
+ @_hash['card_type_disc'] = 'card_type_disc'
538
+ @_hash['card_type_amex'] = 'card_type_amex'
539
+ @_hash['card_type_diners'] = 'card_type_diners'
540
+ @_hash['card_type_jcb'] = 'card_type_jcb'
541
+ @_hash['card_type_ebt'] = 'card_type_ebt'
542
+ @_hash['allow_ebt_cash_benefit'] = 'allow_ebt_cash_benefit'
543
+ @_hash['allow_ebt_food_stamp'] = 'allow_ebt_food_stamp'
544
+ @_hash['invoice_location'] = 'invoice_location'
545
+ @_hash['allow_partial_authorization'] = 'allow_partial_authorization'
546
+ @_hash['allow_recurring_partial_authorization'] =
547
+ 'allow_recurring_partial_authorization'
548
+ @_hash['auto_decline_cvv'] = 'auto_decline_cvv'
549
+ @_hash['auto_decline_street'] = 'auto_decline_street'
550
+ @_hash['auto_decline_zip'] = 'auto_decline_zip'
551
+ @_hash['split_payments_allow'] = 'split_payments_allow'
552
+ @_hash['vt_show_custom_fields'] = 'vt_show_custom_fields'
553
+ @_hash['receipt_show_custom_fields'] = 'receipt_show_custom_fields'
554
+ @_hash['vt_override_sales_tax_allowed'] =
555
+ 'vt_override_sales_tax_allowed'
556
+ @_hash['vt_enable_sales_tax'] = 'vt_enable_sales_tax'
557
+ @_hash['vt_require_zip'] = 'vt_require_zip'
558
+ @_hash['vt_require_street'] = 'vt_require_street'
559
+ @_hash['auto_decline_cavv'] = 'auto_decline_cavv'
560
+ @_hash['merchant_id'] = 'merchant_id'
561
+ @_hash['receipt_header'] = 'receipt_header'
562
+ @_hash['receipt_footer'] = 'receipt_footer'
563
+ @_hash['receipt_add_account_above_signature'] =
564
+ 'receipt_add_account_above_signature'
565
+ @_hash['receipt_add_recurring_above_signature'] =
566
+ 'receipt_add_recurring_above_signature'
567
+ @_hash['receipt_vt_above_signature'] = 'receipt_vt_above_signature'
568
+ @_hash['default_transaction_type'] = 'default_transaction_type'
569
+ @_hash['username'] = 'username'
570
+ @_hash['password'] = 'password'
571
+ @_hash['current_batch'] = 'current_batch'
572
+ @_hash['dup_check_per_batch'] = 'dup_check_per_batch'
573
+ @_hash['agent_code'] = 'agent_code'
574
+ @_hash['paylink_allow'] = 'paylink_allow'
575
+ @_hash['quick_invoice_allow'] = 'quick_invoice_allow'
576
+ @_hash['level3_allow'] = 'level3_allow'
577
+ @_hash['payfac_enable'] = 'payfac_enable'
578
+ @_hash['enable_3ds'] = 'enable_3ds'
579
+ @_hash['sales_office_id'] = 'sales_office_id'
580
+ @_hash['hosted_payment_page_max_allowed'] =
581
+ 'hosted_payment_page_max_allowed'
582
+ @_hash['hosted_payment_page_allow'] = 'hosted_payment_page_allow'
583
+ @_hash['surcharge_id'] = 'surcharge_id'
584
+ @_hash['allow_big_commerce'] = 'allow_big_commerce'
585
+ @_hash['level3_default'] = 'level3_default'
586
+ @_hash['cau_subscribe_type_id'] = 'cau_subscribe_type_id'
587
+ @_hash['cau_account_number'] = 'cau_account_number'
588
+ @_hash['location_billing_account_id'] = 'location_billing_account_id'
589
+ @_hash['product_billing_group_id'] = 'product_billing_group_id'
590
+ @_hash['account_number'] = 'account_number'
591
+ @_hash['run_avs_on_accountvault_create'] =
592
+ 'run_avs_on_accountvault_create'
593
+ @_hash['accountvault_expire_notification_email_enable'] =
594
+ 'accountvault_expire_notification_email_enable'
595
+ @_hash['debit_allow_void'] = 'debit_allow_void'
596
+ @_hash['quick_invoice_text_to_pay'] = 'quick_invoice_text_to_pay'
597
+ @_hash['authentication_code'] = 'authentication_code'
598
+ @_hash['sms_enable'] = 'sms_enable'
599
+ @_hash['vt_show_currency'] = 'vt_show_currency'
600
+ @_hash['receipt_show_currency'] = 'receipt_show_currency'
601
+ @_hash['allow_blind_refund'] = 'allow_blind_refund'
602
+ @_hash['vt_show_company_name'] = 'vt_show_company_name'
603
+ @_hash['receipt_show_company_name'] = 'receipt_show_company_name'
604
+ @_hash['bank_funded_only'] = 'bank_funded_only'
605
+ @_hash['require_cvv_on_keyed_cnp'] = 'require_cvv_on_keyed_cnp'
606
+ @_hash['require_cvv_on_tokenized_cnp'] = 'require_cvv_on_tokenized_cnp'
607
+ @_hash['show_secondary_amount'] = 'show_secondary_amount'
608
+ @_hash['allow_secondary_amount'] = 'allow_secondary_amount'
609
+ @_hash['show_google_pay'] = 'show_google_pay'
610
+ @_hash['show_apple_pay'] = 'show_apple_pay'
611
+ @_hash['batch_risk_config'] = 'batch_risk_config'
612
+ @_hash['currency_code'] = 'currency_code'
613
+ @_hash['enable_ach_validation'] = 'enable_ach_validation'
614
+ @_hash['enable_ach_retry'] = 'enable_ach_retry'
615
+ @_hash['allow_softpos'] = 'allow_softpos'
616
+ @_hash['id'] = 'id'
617
+ @_hash['receipt_logo'] = 'receipt_logo'
618
+ @_hash['active'] = 'active'
619
+ @_hash['tz'] = 'tz'
620
+ @_hash['current_stan'] = 'current_stan'
621
+ @_hash['created_ts'] = 'created_ts'
622
+ @_hash['modified_ts'] = 'modified_ts'
623
+ @_hash['created_user_id'] = 'created_user_id'
624
+ @_hash['modified_user_id'] = 'modified_user_id'
625
+ @_hash['product_transaction_api_id'] = 'product_transaction_api_id'
626
+ @_hash['transaction_amount_notification_threshold'] =
627
+ 'transaction_amount_notification_threshold'
628
+ @_hash['is_secondary_amount_allowed'] = 'is_secondary_amount_allowed'
629
+ @_hash['fortis_id'] = 'fortis_id'
630
+ @_hash['product_billing_group_code'] = 'product_billing_group_code'
631
+ @_hash['cau_subscribe_type_code'] = 'cau_subscribe_type_code'
632
+ @_hash['merchant_code'] = 'merchant_code'
633
+ @_hash
634
+ end
635
+
636
+ # An array for optional fields
637
+ def self.optionals
638
+ %w[
639
+ processor_version
640
+ industry_type
641
+ title
642
+ payment_method
643
+ processor
644
+ mcc
645
+ tax_surcharge_config
646
+ terminal_id
647
+ partner
648
+ product_ach_pv_store_id
649
+ invoice_adjustment_title
650
+ location_id
651
+ location_api_id
652
+ billing_location_api_id
653
+ portfolio_id
654
+ portfolio_validation_rule
655
+ sub_processor
656
+ surcharge
657
+ processor_data
658
+ vt_clerk_number
659
+ vt_billing_phone
660
+ vt_enable_tip
661
+ ach_allow_debit
662
+ ach_allow_credit
663
+ ach_allow_refund
664
+ vt_cvv
665
+ vt_street
666
+ vt_zip
667
+ vt_order_num
668
+ vt_enable
669
+ receipt_show_contact_name
670
+ display_avs
671
+ card_type_visa
672
+ card_type_mc
673
+ card_type_disc
674
+ card_type_amex
675
+ card_type_diners
676
+ card_type_jcb
677
+ card_type_ebt
678
+ allow_ebt_cash_benefit
679
+ allow_ebt_food_stamp
680
+ invoice_location
681
+ allow_partial_authorization
682
+ allow_recurring_partial_authorization
683
+ auto_decline_cvv
684
+ auto_decline_street
685
+ auto_decline_zip
686
+ split_payments_allow
687
+ vt_show_custom_fields
688
+ receipt_show_custom_fields
689
+ vt_override_sales_tax_allowed
690
+ vt_enable_sales_tax
691
+ vt_require_zip
692
+ vt_require_street
693
+ auto_decline_cavv
694
+ merchant_id
695
+ receipt_header
696
+ receipt_footer
697
+ receipt_add_account_above_signature
698
+ receipt_add_recurring_above_signature
699
+ receipt_vt_above_signature
700
+ default_transaction_type
701
+ username
702
+ password
703
+ current_batch
704
+ dup_check_per_batch
705
+ agent_code
706
+ paylink_allow
707
+ quick_invoice_allow
708
+ level3_allow
709
+ payfac_enable
710
+ enable_3ds
711
+ sales_office_id
712
+ hosted_payment_page_max_allowed
713
+ hosted_payment_page_allow
714
+ surcharge_id
715
+ allow_big_commerce
716
+ level3_default
717
+ cau_subscribe_type_id
718
+ cau_account_number
719
+ location_billing_account_id
720
+ product_billing_group_id
721
+ account_number
722
+ run_avs_on_accountvault_create
723
+ accountvault_expire_notification_email_enable
724
+ debit_allow_void
725
+ quick_invoice_text_to_pay
726
+ authentication_code
727
+ sms_enable
728
+ vt_show_currency
729
+ receipt_show_currency
730
+ allow_blind_refund
731
+ vt_show_company_name
732
+ receipt_show_company_name
733
+ bank_funded_only
734
+ require_cvv_on_keyed_cnp
735
+ require_cvv_on_tokenized_cnp
736
+ show_secondary_amount
737
+ allow_secondary_amount
738
+ show_google_pay
739
+ show_apple_pay
740
+ batch_risk_config
741
+ currency_code
742
+ enable_ach_validation
743
+ enable_ach_retry
744
+ allow_softpos
745
+ id
746
+ receipt_logo
747
+ active
748
+ tz
749
+ current_stan
750
+ created_ts
751
+ modified_ts
752
+ created_user_id
753
+ modified_user_id
754
+ product_transaction_api_id
755
+ transaction_amount_notification_threshold
756
+ is_secondary_amount_allowed
757
+ fortis_id
758
+ product_billing_group_code
759
+ cau_subscribe_type_code
760
+ merchant_code
761
+ ]
762
+ end
763
+
764
+ # An array for nullable fields
765
+ def self.nullables
766
+ %w[
767
+ processor_version
768
+ industry_type
769
+ processor
770
+ mcc
771
+ tax_surcharge_config
772
+ terminal_id
773
+ partner
774
+ product_ach_pv_store_id
775
+ invoice_adjustment_title
776
+ location_api_id
777
+ billing_location_api_id
778
+ portfolio_id
779
+ portfolio_validation_rule
780
+ sub_processor
781
+ merchant_id
782
+ receipt_header
783
+ receipt_footer
784
+ receipt_add_account_above_signature
785
+ receipt_add_recurring_above_signature
786
+ receipt_vt_above_signature
787
+ default_transaction_type
788
+ username
789
+ password
790
+ current_batch
791
+ dup_check_per_batch
792
+ agent_code
793
+ sales_office_id
794
+ hosted_payment_page_max_allowed
795
+ surcharge_id
796
+ cau_subscribe_type_id
797
+ cau_account_number
798
+ location_billing_account_id
799
+ product_billing_group_id
800
+ account_number
801
+ authentication_code
802
+ currency_code
803
+ tz
804
+ current_stan
805
+ created_ts
806
+ modified_ts
807
+ created_user_id
808
+ modified_user_id
809
+ product_transaction_api_id
810
+ fortis_id
811
+ product_billing_group_code
812
+ cau_subscribe_type_code
813
+ merchant_code
814
+ ]
815
+ end
816
+
817
+ def initialize(processor_version = SKIP, industry_type = SKIP, title = SKIP,
818
+ payment_method = SKIP, processor = SKIP, mcc = SKIP,
819
+ tax_surcharge_config = TaxSurchargeConfigEnum::ENUM_2,
820
+ terminal_id = SKIP, partner = SKIP,
821
+ product_ach_pv_store_id = SKIP,
822
+ invoice_adjustment_title = SKIP, location_id = SKIP,
823
+ location_api_id = SKIP, billing_location_api_id = SKIP,
824
+ portfolio_id = SKIP, portfolio_validation_rule = SKIP,
825
+ sub_processor = SKIP, surcharge = SKIP,
826
+ processor_data = SKIP, vt_clerk_number = SKIP,
827
+ vt_billing_phone = SKIP, vt_enable_tip = SKIP,
828
+ ach_allow_debit = SKIP, ach_allow_credit = SKIP,
829
+ ach_allow_refund = SKIP, vt_cvv = SKIP, vt_street = SKIP,
830
+ vt_zip = SKIP, vt_order_num = SKIP, vt_enable = SKIP,
831
+ receipt_show_contact_name = SKIP, display_avs = SKIP,
832
+ card_type_visa = SKIP, card_type_mc = SKIP,
833
+ card_type_disc = SKIP, card_type_amex = SKIP,
834
+ card_type_diners = SKIP, card_type_jcb = SKIP,
835
+ card_type_ebt = SKIP, allow_ebt_cash_benefit = SKIP,
836
+ allow_ebt_food_stamp = SKIP, invoice_location = SKIP,
837
+ allow_partial_authorization = SKIP,
838
+ allow_recurring_partial_authorization = SKIP,
839
+ auto_decline_cvv = SKIP, auto_decline_street = SKIP,
840
+ auto_decline_zip = SKIP, split_payments_allow = SKIP,
841
+ vt_show_custom_fields = SKIP,
842
+ receipt_show_custom_fields = SKIP,
843
+ vt_override_sales_tax_allowed = SKIP,
844
+ vt_enable_sales_tax = SKIP, vt_require_zip = SKIP,
845
+ vt_require_street = SKIP, auto_decline_cavv = SKIP,
846
+ merchant_id = SKIP, receipt_header = SKIP,
847
+ receipt_footer = SKIP,
848
+ receipt_add_account_above_signature = SKIP,
849
+ receipt_add_recurring_above_signature = SKIP,
850
+ receipt_vt_above_signature = SKIP,
851
+ default_transaction_type = SKIP, username = SKIP,
852
+ password = SKIP, current_batch = 1,
853
+ dup_check_per_batch = SKIP, agent_code = SKIP,
854
+ paylink_allow = SKIP, quick_invoice_allow = SKIP,
855
+ level3_allow = SKIP, payfac_enable = SKIP, enable_3ds = SKIP,
856
+ sales_office_id = SKIP, hosted_payment_page_max_allowed = 5,
857
+ hosted_payment_page_allow = SKIP, surcharge_id = SKIP,
858
+ allow_big_commerce = SKIP, level3_default = SKIP,
859
+ cau_subscribe_type_id = SKIP, cau_account_number = SKIP,
860
+ location_billing_account_id = SKIP,
861
+ product_billing_group_id = SKIP, account_number = SKIP,
862
+ run_avs_on_accountvault_create = SKIP,
863
+ accountvault_expire_notification_email_enable = SKIP,
864
+ debit_allow_void = SKIP, quick_invoice_text_to_pay = SKIP,
865
+ authentication_code = SKIP, sms_enable = SKIP,
866
+ vt_show_currency = SKIP, receipt_show_currency = SKIP,
867
+ allow_blind_refund = SKIP, vt_show_company_name = SKIP,
868
+ receipt_show_company_name = SKIP, bank_funded_only = SKIP,
869
+ require_cvv_on_keyed_cnp = SKIP,
870
+ require_cvv_on_tokenized_cnp = SKIP,
871
+ show_secondary_amount = SKIP, allow_secondary_amount = SKIP,
872
+ show_google_pay = SKIP, show_apple_pay = SKIP,
873
+ batch_risk_config = SKIP, currency_code = SKIP,
874
+ enable_ach_validation = SKIP, enable_ach_retry = SKIP,
875
+ allow_softpos = SKIP, id = SKIP, receipt_logo = SKIP,
876
+ active = SKIP, tz = SKIP, current_stan = 1,
877
+ created_ts = SKIP, modified_ts = SKIP,
878
+ created_user_id = SKIP, modified_user_id = SKIP,
879
+ product_transaction_api_id = SKIP,
880
+ transaction_amount_notification_threshold = SKIP,
881
+ is_secondary_amount_allowed = SKIP, fortis_id = SKIP,
882
+ product_billing_group_code = SKIP,
883
+ cau_subscribe_type_code = SKIP, merchant_code = SKIP,
884
+ additional_properties = {})
885
+ # Add additional model properties to the instance.
886
+ additional_properties.each do |_name, _value|
887
+ instance_variable_set("@#{_name}", _value)
888
+ end
889
+
890
+ @processor_version = processor_version unless processor_version == SKIP
891
+ @industry_type = industry_type unless industry_type == SKIP
892
+ @title = title unless title == SKIP
893
+ @payment_method = payment_method unless payment_method == SKIP
894
+ @processor = processor unless processor == SKIP
895
+ @mcc = mcc unless mcc == SKIP
896
+ @tax_surcharge_config = tax_surcharge_config unless tax_surcharge_config == SKIP
897
+ @terminal_id = terminal_id unless terminal_id == SKIP
898
+ @partner = partner unless partner == SKIP
899
+ @product_ach_pv_store_id = product_ach_pv_store_id unless product_ach_pv_store_id == SKIP
900
+ @invoice_adjustment_title = invoice_adjustment_title unless invoice_adjustment_title == SKIP
901
+ @location_id = location_id unless location_id == SKIP
902
+ @location_api_id = location_api_id unless location_api_id == SKIP
903
+ @billing_location_api_id = billing_location_api_id unless billing_location_api_id == SKIP
904
+ @portfolio_id = portfolio_id unless portfolio_id == SKIP
905
+ unless portfolio_validation_rule == SKIP
906
+ @portfolio_validation_rule =
907
+ portfolio_validation_rule
908
+ end
909
+ @sub_processor = sub_processor unless sub_processor == SKIP
910
+ @surcharge = surcharge unless surcharge == SKIP
911
+ @processor_data = processor_data unless processor_data == SKIP
912
+ @vt_clerk_number = vt_clerk_number unless vt_clerk_number == SKIP
913
+ @vt_billing_phone = vt_billing_phone unless vt_billing_phone == SKIP
914
+ @vt_enable_tip = vt_enable_tip unless vt_enable_tip == SKIP
915
+ @ach_allow_debit = ach_allow_debit unless ach_allow_debit == SKIP
916
+ @ach_allow_credit = ach_allow_credit unless ach_allow_credit == SKIP
917
+ @ach_allow_refund = ach_allow_refund unless ach_allow_refund == SKIP
918
+ @vt_cvv = vt_cvv unless vt_cvv == SKIP
919
+ @vt_street = vt_street unless vt_street == SKIP
920
+ @vt_zip = vt_zip unless vt_zip == SKIP
921
+ @vt_order_num = vt_order_num unless vt_order_num == SKIP
922
+ @vt_enable = vt_enable unless vt_enable == SKIP
923
+ unless receipt_show_contact_name == SKIP
924
+ @receipt_show_contact_name =
925
+ receipt_show_contact_name
926
+ end
927
+ @display_avs = display_avs unless display_avs == SKIP
928
+ @card_type_visa = card_type_visa unless card_type_visa == SKIP
929
+ @card_type_mc = card_type_mc unless card_type_mc == SKIP
930
+ @card_type_disc = card_type_disc unless card_type_disc == SKIP
931
+ @card_type_amex = card_type_amex unless card_type_amex == SKIP
932
+ @card_type_diners = card_type_diners unless card_type_diners == SKIP
933
+ @card_type_jcb = card_type_jcb unless card_type_jcb == SKIP
934
+ @card_type_ebt = card_type_ebt unless card_type_ebt == SKIP
935
+ @allow_ebt_cash_benefit = allow_ebt_cash_benefit unless allow_ebt_cash_benefit == SKIP
936
+ @allow_ebt_food_stamp = allow_ebt_food_stamp unless allow_ebt_food_stamp == SKIP
937
+ @invoice_location = invoice_location unless invoice_location == SKIP
938
+ unless allow_partial_authorization == SKIP
939
+ @allow_partial_authorization =
940
+ allow_partial_authorization
941
+ end
942
+ unless allow_recurring_partial_authorization == SKIP
943
+ @allow_recurring_partial_authorization =
944
+ allow_recurring_partial_authorization
945
+ end
946
+ @auto_decline_cvv = auto_decline_cvv unless auto_decline_cvv == SKIP
947
+ @auto_decline_street = auto_decline_street unless auto_decline_street == SKIP
948
+ @auto_decline_zip = auto_decline_zip unless auto_decline_zip == SKIP
949
+ @split_payments_allow = split_payments_allow unless split_payments_allow == SKIP
950
+ @vt_show_custom_fields = vt_show_custom_fields unless vt_show_custom_fields == SKIP
951
+ unless receipt_show_custom_fields == SKIP
952
+ @receipt_show_custom_fields =
953
+ receipt_show_custom_fields
954
+ end
955
+ unless vt_override_sales_tax_allowed == SKIP
956
+ @vt_override_sales_tax_allowed =
957
+ vt_override_sales_tax_allowed
958
+ end
959
+ @vt_enable_sales_tax = vt_enable_sales_tax unless vt_enable_sales_tax == SKIP
960
+ @vt_require_zip = vt_require_zip unless vt_require_zip == SKIP
961
+ @vt_require_street = vt_require_street unless vt_require_street == SKIP
962
+ @auto_decline_cavv = auto_decline_cavv unless auto_decline_cavv == SKIP
963
+ @merchant_id = merchant_id unless merchant_id == SKIP
964
+ @receipt_header = receipt_header unless receipt_header == SKIP
965
+ @receipt_footer = receipt_footer unless receipt_footer == SKIP
966
+ unless receipt_add_account_above_signature == SKIP
967
+ @receipt_add_account_above_signature =
968
+ receipt_add_account_above_signature
969
+ end
970
+ unless receipt_add_recurring_above_signature == SKIP
971
+ @receipt_add_recurring_above_signature =
972
+ receipt_add_recurring_above_signature
973
+ end
974
+ unless receipt_vt_above_signature == SKIP
975
+ @receipt_vt_above_signature =
976
+ receipt_vt_above_signature
977
+ end
978
+ @default_transaction_type = default_transaction_type unless default_transaction_type == SKIP
979
+ @username = username unless username == SKIP
980
+ @password = password unless password == SKIP
981
+ @current_batch = current_batch unless current_batch == SKIP
982
+ @dup_check_per_batch = dup_check_per_batch unless dup_check_per_batch == SKIP
983
+ @agent_code = agent_code unless agent_code == SKIP
984
+ @paylink_allow = paylink_allow unless paylink_allow == SKIP
985
+ @quick_invoice_allow = quick_invoice_allow unless quick_invoice_allow == SKIP
986
+ @level3_allow = level3_allow unless level3_allow == SKIP
987
+ @payfac_enable = payfac_enable unless payfac_enable == SKIP
988
+ @enable_3ds = enable_3ds unless enable_3ds == SKIP
989
+ @sales_office_id = sales_office_id unless sales_office_id == SKIP
990
+ unless hosted_payment_page_max_allowed == SKIP
991
+ @hosted_payment_page_max_allowed =
992
+ hosted_payment_page_max_allowed
993
+ end
994
+ unless hosted_payment_page_allow == SKIP
995
+ @hosted_payment_page_allow =
996
+ hosted_payment_page_allow
997
+ end
998
+ @surcharge_id = surcharge_id unless surcharge_id == SKIP
999
+ @allow_big_commerce = allow_big_commerce unless allow_big_commerce == SKIP
1000
+ @level3_default = level3_default unless level3_default == SKIP
1001
+ @cau_subscribe_type_id = cau_subscribe_type_id unless cau_subscribe_type_id == SKIP
1002
+ @cau_account_number = cau_account_number unless cau_account_number == SKIP
1003
+ unless location_billing_account_id == SKIP
1004
+ @location_billing_account_id =
1005
+ location_billing_account_id
1006
+ end
1007
+ @product_billing_group_id = product_billing_group_id unless product_billing_group_id == SKIP
1008
+ @account_number = account_number unless account_number == SKIP
1009
+ unless run_avs_on_accountvault_create == SKIP
1010
+ @run_avs_on_accountvault_create =
1011
+ run_avs_on_accountvault_create
1012
+ end
1013
+ unless accountvault_expire_notification_email_enable == SKIP
1014
+ @accountvault_expire_notification_email_enable =
1015
+ accountvault_expire_notification_email_enable
1016
+ end
1017
+ @debit_allow_void = debit_allow_void unless debit_allow_void == SKIP
1018
+ unless quick_invoice_text_to_pay == SKIP
1019
+ @quick_invoice_text_to_pay =
1020
+ quick_invoice_text_to_pay
1021
+ end
1022
+ @authentication_code = authentication_code unless authentication_code == SKIP
1023
+ @sms_enable = sms_enable unless sms_enable == SKIP
1024
+ @vt_show_currency = vt_show_currency unless vt_show_currency == SKIP
1025
+ @receipt_show_currency = receipt_show_currency unless receipt_show_currency == SKIP
1026
+ @allow_blind_refund = allow_blind_refund unless allow_blind_refund == SKIP
1027
+ @vt_show_company_name = vt_show_company_name unless vt_show_company_name == SKIP
1028
+ unless receipt_show_company_name == SKIP
1029
+ @receipt_show_company_name =
1030
+ receipt_show_company_name
1031
+ end
1032
+ @bank_funded_only = bank_funded_only unless bank_funded_only == SKIP
1033
+ @require_cvv_on_keyed_cnp = require_cvv_on_keyed_cnp unless require_cvv_on_keyed_cnp == SKIP
1034
+ unless require_cvv_on_tokenized_cnp == SKIP
1035
+ @require_cvv_on_tokenized_cnp =
1036
+ require_cvv_on_tokenized_cnp
1037
+ end
1038
+ @show_secondary_amount = show_secondary_amount unless show_secondary_amount == SKIP
1039
+ @allow_secondary_amount = allow_secondary_amount unless allow_secondary_amount == SKIP
1040
+ @show_google_pay = show_google_pay unless show_google_pay == SKIP
1041
+ @show_apple_pay = show_apple_pay unless show_apple_pay == SKIP
1042
+ @batch_risk_config = batch_risk_config unless batch_risk_config == SKIP
1043
+ @currency_code = currency_code unless currency_code == SKIP
1044
+ @enable_ach_validation = enable_ach_validation unless enable_ach_validation == SKIP
1045
+ @enable_ach_retry = enable_ach_retry unless enable_ach_retry == SKIP
1046
+ @allow_softpos = allow_softpos unless allow_softpos == SKIP
1047
+ @id = id unless id == SKIP
1048
+ @receipt_logo = receipt_logo unless receipt_logo == SKIP
1049
+ @active = active unless active == SKIP
1050
+ @tz = tz unless tz == SKIP
1051
+ @current_stan = current_stan unless current_stan == SKIP
1052
+ @created_ts = created_ts unless created_ts == SKIP
1053
+ @modified_ts = modified_ts unless modified_ts == SKIP
1054
+ @created_user_id = created_user_id unless created_user_id == SKIP
1055
+ @modified_user_id = modified_user_id unless modified_user_id == SKIP
1056
+ unless product_transaction_api_id == SKIP
1057
+ @product_transaction_api_id =
1058
+ product_transaction_api_id
1059
+ end
1060
+ unless transaction_amount_notification_threshold == SKIP
1061
+ @transaction_amount_notification_threshold =
1062
+ transaction_amount_notification_threshold
1063
+ end
1064
+ unless is_secondary_amount_allowed == SKIP
1065
+ @is_secondary_amount_allowed =
1066
+ is_secondary_amount_allowed
1067
+ end
1068
+ @fortis_id = fortis_id unless fortis_id == SKIP
1069
+ unless product_billing_group_code == SKIP
1070
+ @product_billing_group_code =
1071
+ product_billing_group_code
1072
+ end
1073
+ @cau_subscribe_type_code = cau_subscribe_type_code unless cau_subscribe_type_code == SKIP
1074
+ @merchant_code = merchant_code unless merchant_code == SKIP
1075
+ end
1076
+
1077
+ # Creates an instance of the object from a hash.
1078
+ def self.from_hash(hash)
1079
+ return nil unless hash
1080
+
1081
+ # Extract variables from the hash.
1082
+ processor_version =
1083
+ hash.key?('processor_version') ? hash['processor_version'] : SKIP
1084
+ industry_type = hash.key?('industry_type') ? hash['industry_type'] : SKIP
1085
+ title = hash.key?('title') ? hash['title'] : SKIP
1086
+ payment_method =
1087
+ hash.key?('payment_method') ? hash['payment_method'] : SKIP
1088
+ processor = hash.key?('processor') ? hash['processor'] : SKIP
1089
+ mcc = hash.key?('mcc') ? hash['mcc'] : SKIP
1090
+ tax_surcharge_config =
1091
+ hash['tax_surcharge_config'] ||= TaxSurchargeConfigEnum::ENUM_2
1092
+ terminal_id = hash.key?('terminal_id') ? hash['terminal_id'] : SKIP
1093
+ partner = hash.key?('partner') ? hash['partner'] : SKIP
1094
+ product_ach_pv_store_id =
1095
+ hash.key?('product_ach_pv_store_id') ? hash['product_ach_pv_store_id'] : SKIP
1096
+ invoice_adjustment_title =
1097
+ hash.key?('invoice_adjustment_title') ? hash['invoice_adjustment_title'] : SKIP
1098
+ location_id = hash.key?('location_id') ? hash['location_id'] : SKIP
1099
+ location_api_id =
1100
+ hash.key?('location_api_id') ? hash['location_api_id'] : SKIP
1101
+ billing_location_api_id =
1102
+ hash.key?('billing_location_api_id') ? hash['billing_location_api_id'] : SKIP
1103
+ portfolio_id = hash.key?('portfolio_id') ? hash['portfolio_id'] : SKIP
1104
+ portfolio_validation_rule =
1105
+ hash.key?('portfolioValidationRule') ? hash['portfolioValidationRule'] : SKIP
1106
+ sub_processor = hash.key?('sub_processor') ? hash['sub_processor'] : SKIP
1107
+ surcharge = hash.key?('surcharge') ? hash['surcharge'] : SKIP
1108
+ processor_data =
1109
+ hash.key?('processor_data') ? hash['processor_data'] : SKIP
1110
+ vt_clerk_number =
1111
+ hash.key?('vt_clerk_number') ? hash['vt_clerk_number'] : SKIP
1112
+ vt_billing_phone =
1113
+ hash.key?('vt_billing_phone') ? hash['vt_billing_phone'] : SKIP
1114
+ vt_enable_tip = hash.key?('vt_enable_tip') ? hash['vt_enable_tip'] : SKIP
1115
+ ach_allow_debit =
1116
+ hash.key?('ach_allow_debit') ? hash['ach_allow_debit'] : SKIP
1117
+ ach_allow_credit =
1118
+ hash.key?('ach_allow_credit') ? hash['ach_allow_credit'] : SKIP
1119
+ ach_allow_refund =
1120
+ hash.key?('ach_allow_refund') ? hash['ach_allow_refund'] : SKIP
1121
+ vt_cvv = hash.key?('vt_cvv') ? hash['vt_cvv'] : SKIP
1122
+ vt_street = hash.key?('vt_street') ? hash['vt_street'] : SKIP
1123
+ vt_zip = hash.key?('vt_zip') ? hash['vt_zip'] : SKIP
1124
+ vt_order_num = hash.key?('vt_order_num') ? hash['vt_order_num'] : SKIP
1125
+ vt_enable = hash.key?('vt_enable') ? hash['vt_enable'] : SKIP
1126
+ receipt_show_contact_name =
1127
+ hash.key?('receipt_show_contact_name') ? hash['receipt_show_contact_name'] : SKIP
1128
+ display_avs = hash.key?('display_avs') ? hash['display_avs'] : SKIP
1129
+ card_type_visa =
1130
+ hash.key?('card_type_visa') ? hash['card_type_visa'] : SKIP
1131
+ card_type_mc = hash.key?('card_type_mc') ? hash['card_type_mc'] : SKIP
1132
+ card_type_disc =
1133
+ hash.key?('card_type_disc') ? hash['card_type_disc'] : SKIP
1134
+ card_type_amex =
1135
+ hash.key?('card_type_amex') ? hash['card_type_amex'] : SKIP
1136
+ card_type_diners =
1137
+ hash.key?('card_type_diners') ? hash['card_type_diners'] : SKIP
1138
+ card_type_jcb = hash.key?('card_type_jcb') ? hash['card_type_jcb'] : SKIP
1139
+ card_type_ebt = hash.key?('card_type_ebt') ? hash['card_type_ebt'] : SKIP
1140
+ allow_ebt_cash_benefit =
1141
+ hash.key?('allow_ebt_cash_benefit') ? hash['allow_ebt_cash_benefit'] : SKIP
1142
+ allow_ebt_food_stamp =
1143
+ hash.key?('allow_ebt_food_stamp') ? hash['allow_ebt_food_stamp'] : SKIP
1144
+ invoice_location =
1145
+ hash.key?('invoice_location') ? hash['invoice_location'] : SKIP
1146
+ allow_partial_authorization =
1147
+ hash.key?('allow_partial_authorization') ? hash['allow_partial_authorization'] : SKIP
1148
+ allow_recurring_partial_authorization =
1149
+ hash.key?('allow_recurring_partial_authorization') ? hash['allow_recurring_partial_authorization'] : SKIP
1150
+ auto_decline_cvv =
1151
+ hash.key?('auto_decline_cvv') ? hash['auto_decline_cvv'] : SKIP
1152
+ auto_decline_street =
1153
+ hash.key?('auto_decline_street') ? hash['auto_decline_street'] : SKIP
1154
+ auto_decline_zip =
1155
+ hash.key?('auto_decline_zip') ? hash['auto_decline_zip'] : SKIP
1156
+ split_payments_allow =
1157
+ hash.key?('split_payments_allow') ? hash['split_payments_allow'] : SKIP
1158
+ vt_show_custom_fields =
1159
+ hash.key?('vt_show_custom_fields') ? hash['vt_show_custom_fields'] : SKIP
1160
+ receipt_show_custom_fields =
1161
+ hash.key?('receipt_show_custom_fields') ? hash['receipt_show_custom_fields'] : SKIP
1162
+ vt_override_sales_tax_allowed =
1163
+ hash.key?('vt_override_sales_tax_allowed') ? hash['vt_override_sales_tax_allowed'] : SKIP
1164
+ vt_enable_sales_tax =
1165
+ hash.key?('vt_enable_sales_tax') ? hash['vt_enable_sales_tax'] : SKIP
1166
+ vt_require_zip =
1167
+ hash.key?('vt_require_zip') ? hash['vt_require_zip'] : SKIP
1168
+ vt_require_street =
1169
+ hash.key?('vt_require_street') ? hash['vt_require_street'] : SKIP
1170
+ auto_decline_cavv =
1171
+ hash.key?('auto_decline_cavv') ? hash['auto_decline_cavv'] : SKIP
1172
+ merchant_id = hash.key?('merchant_id') ? hash['merchant_id'] : SKIP
1173
+ receipt_header =
1174
+ hash.key?('receipt_header') ? hash['receipt_header'] : SKIP
1175
+ receipt_footer =
1176
+ hash.key?('receipt_footer') ? hash['receipt_footer'] : SKIP
1177
+ receipt_add_account_above_signature =
1178
+ hash.key?('receipt_add_account_above_signature') ? hash['receipt_add_account_above_signature'] : SKIP
1179
+ receipt_add_recurring_above_signature =
1180
+ hash.key?('receipt_add_recurring_above_signature') ? hash['receipt_add_recurring_above_signature'] : SKIP
1181
+ receipt_vt_above_signature =
1182
+ hash.key?('receipt_vt_above_signature') ? hash['receipt_vt_above_signature'] : SKIP
1183
+ default_transaction_type =
1184
+ hash.key?('default_transaction_type') ? hash['default_transaction_type'] : SKIP
1185
+ username = hash.key?('username') ? hash['username'] : SKIP
1186
+ password = hash.key?('password') ? hash['password'] : SKIP
1187
+ current_batch = hash['current_batch'] ||= 1
1188
+ dup_check_per_batch =
1189
+ hash.key?('dup_check_per_batch') ? hash['dup_check_per_batch'] : SKIP
1190
+ agent_code = hash.key?('agent_code') ? hash['agent_code'] : SKIP
1191
+ paylink_allow = hash.key?('paylink_allow') ? hash['paylink_allow'] : SKIP
1192
+ quick_invoice_allow =
1193
+ hash.key?('quick_invoice_allow') ? hash['quick_invoice_allow'] : SKIP
1194
+ level3_allow = hash.key?('level3_allow') ? hash['level3_allow'] : SKIP
1195
+ payfac_enable = hash.key?('payfac_enable') ? hash['payfac_enable'] : SKIP
1196
+ enable_3ds = hash.key?('enable_3ds') ? hash['enable_3ds'] : SKIP
1197
+ sales_office_id =
1198
+ hash.key?('sales_office_id') ? hash['sales_office_id'] : SKIP
1199
+ hosted_payment_page_max_allowed =
1200
+ hash['hosted_payment_page_max_allowed'] ||= 5
1201
+ hosted_payment_page_allow =
1202
+ hash.key?('hosted_payment_page_allow') ? hash['hosted_payment_page_allow'] : SKIP
1203
+ surcharge_id = hash.key?('surcharge_id') ? hash['surcharge_id'] : SKIP
1204
+ allow_big_commerce =
1205
+ hash.key?('allow_big_commerce') ? hash['allow_big_commerce'] : SKIP
1206
+ level3_default = Level3Default.from_hash(hash['level3_default']) if hash['level3_default']
1207
+ cau_subscribe_type_id =
1208
+ hash.key?('cau_subscribe_type_id') ? hash['cau_subscribe_type_id'] : SKIP
1209
+ cau_account_number =
1210
+ hash.key?('cau_account_number') ? hash['cau_account_number'] : SKIP
1211
+ location_billing_account_id =
1212
+ hash.key?('location_billing_account_id') ? hash['location_billing_account_id'] : SKIP
1213
+ product_billing_group_id =
1214
+ hash.key?('product_billing_group_id') ? hash['product_billing_group_id'] : SKIP
1215
+ account_number =
1216
+ hash.key?('account_number') ? hash['account_number'] : SKIP
1217
+ run_avs_on_accountvault_create =
1218
+ hash.key?('run_avs_on_accountvault_create') ? hash['run_avs_on_accountvault_create'] : SKIP
1219
+ accountvault_expire_notification_email_enable =
1220
+ hash.key?('accountvault_expire_notification_email_enable') ? hash['accountvault_expire_notification_email_enable'] : SKIP
1221
+ debit_allow_void =
1222
+ hash.key?('debit_allow_void') ? hash['debit_allow_void'] : SKIP
1223
+ quick_invoice_text_to_pay =
1224
+ hash.key?('quick_invoice_text_to_pay') ? hash['quick_invoice_text_to_pay'] : SKIP
1225
+ authentication_code =
1226
+ hash.key?('authentication_code') ? hash['authentication_code'] : SKIP
1227
+ sms_enable = hash.key?('sms_enable') ? hash['sms_enable'] : SKIP
1228
+ vt_show_currency =
1229
+ hash.key?('vt_show_currency') ? hash['vt_show_currency'] : SKIP
1230
+ receipt_show_currency =
1231
+ hash.key?('receipt_show_currency') ? hash['receipt_show_currency'] : SKIP
1232
+ allow_blind_refund =
1233
+ hash.key?('allow_blind_refund') ? hash['allow_blind_refund'] : SKIP
1234
+ vt_show_company_name =
1235
+ hash.key?('vt_show_company_name') ? hash['vt_show_company_name'] : SKIP
1236
+ receipt_show_company_name =
1237
+ hash.key?('receipt_show_company_name') ? hash['receipt_show_company_name'] : SKIP
1238
+ bank_funded_only =
1239
+ hash.key?('bank_funded_only') ? hash['bank_funded_only'] : SKIP
1240
+ require_cvv_on_keyed_cnp =
1241
+ hash.key?('require_cvv_on_keyed_cnp') ? hash['require_cvv_on_keyed_cnp'] : SKIP
1242
+ require_cvv_on_tokenized_cnp =
1243
+ hash.key?('require_cvv_on_tokenized_cnp') ? hash['require_cvv_on_tokenized_cnp'] : SKIP
1244
+ show_secondary_amount =
1245
+ hash.key?('show_secondary_amount') ? hash['show_secondary_amount'] : SKIP
1246
+ allow_secondary_amount =
1247
+ hash.key?('allow_secondary_amount') ? hash['allow_secondary_amount'] : SKIP
1248
+ show_google_pay =
1249
+ hash.key?('show_google_pay') ? hash['show_google_pay'] : SKIP
1250
+ show_apple_pay =
1251
+ hash.key?('show_apple_pay') ? hash['show_apple_pay'] : SKIP
1252
+ batch_risk_config = BatchRiskConfig.from_hash(hash['batch_risk_config']) if
1253
+ hash['batch_risk_config']
1254
+ currency_code = hash.key?('currency_code') ? hash['currency_code'] : SKIP
1255
+ enable_ach_validation =
1256
+ hash.key?('enable_ach_validation') ? hash['enable_ach_validation'] : SKIP
1257
+ enable_ach_retry =
1258
+ hash.key?('enable_ach_retry') ? hash['enable_ach_retry'] : SKIP
1259
+ allow_softpos = hash.key?('allow_softpos') ? hash['allow_softpos'] : SKIP
1260
+ id = hash.key?('id') ? hash['id'] : SKIP
1261
+ receipt_logo = hash.key?('receipt_logo') ? hash['receipt_logo'] : SKIP
1262
+ active = hash.key?('active') ? hash['active'] : SKIP
1263
+ tz = hash.key?('tz') ? hash['tz'] : SKIP
1264
+ current_stan = hash['current_stan'] ||= 1
1265
+ created_ts = hash.key?('created_ts') ? hash['created_ts'] : SKIP
1266
+ modified_ts = hash.key?('modified_ts') ? hash['modified_ts'] : SKIP
1267
+ created_user_id =
1268
+ hash.key?('created_user_id') ? hash['created_user_id'] : SKIP
1269
+ modified_user_id =
1270
+ hash.key?('modified_user_id') ? hash['modified_user_id'] : SKIP
1271
+ product_transaction_api_id =
1272
+ hash.key?('product_transaction_api_id') ? hash['product_transaction_api_id'] : SKIP
1273
+ transaction_amount_notification_threshold =
1274
+ hash.key?('transaction_amount_notification_threshold') ? hash['transaction_amount_notification_threshold'] : SKIP
1275
+ is_secondary_amount_allowed =
1276
+ hash.key?('is_secondary_amount_allowed') ? hash['is_secondary_amount_allowed'] : SKIP
1277
+ fortis_id = hash.key?('fortis_id') ? hash['fortis_id'] : SKIP
1278
+ product_billing_group_code =
1279
+ hash.key?('product_billing_group_code') ? hash['product_billing_group_code'] : SKIP
1280
+ cau_subscribe_type_code =
1281
+ hash.key?('cau_subscribe_type_code') ? hash['cau_subscribe_type_code'] : SKIP
1282
+ merchant_code = hash.key?('merchant_code') ? hash['merchant_code'] : SKIP
1283
+
1284
+ # Clean out expected properties from Hash.
1285
+ additional_properties = hash.reject { |k, _| names.value?(k) }
1286
+
1287
+ # Create object from extracted values.
1288
+ CcProductTransaction.new(processor_version,
1289
+ industry_type,
1290
+ title,
1291
+ payment_method,
1292
+ processor,
1293
+ mcc,
1294
+ tax_surcharge_config,
1295
+ terminal_id,
1296
+ partner,
1297
+ product_ach_pv_store_id,
1298
+ invoice_adjustment_title,
1299
+ location_id,
1300
+ location_api_id,
1301
+ billing_location_api_id,
1302
+ portfolio_id,
1303
+ portfolio_validation_rule,
1304
+ sub_processor,
1305
+ surcharge,
1306
+ processor_data,
1307
+ vt_clerk_number,
1308
+ vt_billing_phone,
1309
+ vt_enable_tip,
1310
+ ach_allow_debit,
1311
+ ach_allow_credit,
1312
+ ach_allow_refund,
1313
+ vt_cvv,
1314
+ vt_street,
1315
+ vt_zip,
1316
+ vt_order_num,
1317
+ vt_enable,
1318
+ receipt_show_contact_name,
1319
+ display_avs,
1320
+ card_type_visa,
1321
+ card_type_mc,
1322
+ card_type_disc,
1323
+ card_type_amex,
1324
+ card_type_diners,
1325
+ card_type_jcb,
1326
+ card_type_ebt,
1327
+ allow_ebt_cash_benefit,
1328
+ allow_ebt_food_stamp,
1329
+ invoice_location,
1330
+ allow_partial_authorization,
1331
+ allow_recurring_partial_authorization,
1332
+ auto_decline_cvv,
1333
+ auto_decline_street,
1334
+ auto_decline_zip,
1335
+ split_payments_allow,
1336
+ vt_show_custom_fields,
1337
+ receipt_show_custom_fields,
1338
+ vt_override_sales_tax_allowed,
1339
+ vt_enable_sales_tax,
1340
+ vt_require_zip,
1341
+ vt_require_street,
1342
+ auto_decline_cavv,
1343
+ merchant_id,
1344
+ receipt_header,
1345
+ receipt_footer,
1346
+ receipt_add_account_above_signature,
1347
+ receipt_add_recurring_above_signature,
1348
+ receipt_vt_above_signature,
1349
+ default_transaction_type,
1350
+ username,
1351
+ password,
1352
+ current_batch,
1353
+ dup_check_per_batch,
1354
+ agent_code,
1355
+ paylink_allow,
1356
+ quick_invoice_allow,
1357
+ level3_allow,
1358
+ payfac_enable,
1359
+ enable_3ds,
1360
+ sales_office_id,
1361
+ hosted_payment_page_max_allowed,
1362
+ hosted_payment_page_allow,
1363
+ surcharge_id,
1364
+ allow_big_commerce,
1365
+ level3_default,
1366
+ cau_subscribe_type_id,
1367
+ cau_account_number,
1368
+ location_billing_account_id,
1369
+ product_billing_group_id,
1370
+ account_number,
1371
+ run_avs_on_accountvault_create,
1372
+ accountvault_expire_notification_email_enable,
1373
+ debit_allow_void,
1374
+ quick_invoice_text_to_pay,
1375
+ authentication_code,
1376
+ sms_enable,
1377
+ vt_show_currency,
1378
+ receipt_show_currency,
1379
+ allow_blind_refund,
1380
+ vt_show_company_name,
1381
+ receipt_show_company_name,
1382
+ bank_funded_only,
1383
+ require_cvv_on_keyed_cnp,
1384
+ require_cvv_on_tokenized_cnp,
1385
+ show_secondary_amount,
1386
+ allow_secondary_amount,
1387
+ show_google_pay,
1388
+ show_apple_pay,
1389
+ batch_risk_config,
1390
+ currency_code,
1391
+ enable_ach_validation,
1392
+ enable_ach_retry,
1393
+ allow_softpos,
1394
+ id,
1395
+ receipt_logo,
1396
+ active,
1397
+ tz,
1398
+ current_stan,
1399
+ created_ts,
1400
+ modified_ts,
1401
+ created_user_id,
1402
+ modified_user_id,
1403
+ product_transaction_api_id,
1404
+ transaction_amount_notification_threshold,
1405
+ is_secondary_amount_allowed,
1406
+ fortis_id,
1407
+ product_billing_group_code,
1408
+ cau_subscribe_type_code,
1409
+ merchant_code,
1410
+ additional_properties)
1411
+ end
1412
+
1413
+ # Provides a human-readable string representation of the object.
1414
+ def to_s
1415
+ class_name = self.class.name.split('::').last
1416
+ "<#{class_name} processor_version: #{@processor_version}, industry_type: #{@industry_type},"\
1417
+ " title: #{@title}, payment_method: #{@payment_method}, processor: #{@processor}, mcc:"\
1418
+ " #{@mcc}, tax_surcharge_config: #{@tax_surcharge_config}, terminal_id: #{@terminal_id},"\
1419
+ " partner: #{@partner}, product_ach_pv_store_id: #{@product_ach_pv_store_id},"\
1420
+ " invoice_adjustment_title: #{@invoice_adjustment_title}, location_id: #{@location_id},"\
1421
+ " location_api_id: #{@location_api_id}, billing_location_api_id:"\
1422
+ " #{@billing_location_api_id}, portfolio_id: #{@portfolio_id}, portfolio_validation_rule:"\
1423
+ " #{@portfolio_validation_rule}, sub_processor: #{@sub_processor}, surcharge: #{@surcharge},"\
1424
+ " processor_data: #{@processor_data}, vt_clerk_number: #{@vt_clerk_number},"\
1425
+ " vt_billing_phone: #{@vt_billing_phone}, vt_enable_tip: #{@vt_enable_tip}, ach_allow_debit:"\
1426
+ " #{@ach_allow_debit}, ach_allow_credit: #{@ach_allow_credit}, ach_allow_refund:"\
1427
+ " #{@ach_allow_refund}, vt_cvv: #{@vt_cvv}, vt_street: #{@vt_street}, vt_zip: #{@vt_zip},"\
1428
+ " vt_order_num: #{@vt_order_num}, vt_enable: #{@vt_enable}, receipt_show_contact_name:"\
1429
+ " #{@receipt_show_contact_name}, display_avs: #{@display_avs}, card_type_visa:"\
1430
+ " #{@card_type_visa}, card_type_mc: #{@card_type_mc}, card_type_disc: #{@card_type_disc},"\
1431
+ " card_type_amex: #{@card_type_amex}, card_type_diners: #{@card_type_diners}, card_type_jcb:"\
1432
+ " #{@card_type_jcb}, card_type_ebt: #{@card_type_ebt}, allow_ebt_cash_benefit:"\
1433
+ " #{@allow_ebt_cash_benefit}, allow_ebt_food_stamp: #{@allow_ebt_food_stamp},"\
1434
+ " invoice_location: #{@invoice_location}, allow_partial_authorization:"\
1435
+ " #{@allow_partial_authorization}, allow_recurring_partial_authorization:"\
1436
+ " #{@allow_recurring_partial_authorization}, auto_decline_cvv: #{@auto_decline_cvv},"\
1437
+ " auto_decline_street: #{@auto_decline_street}, auto_decline_zip: #{@auto_decline_zip},"\
1438
+ " split_payments_allow: #{@split_payments_allow}, vt_show_custom_fields:"\
1439
+ " #{@vt_show_custom_fields}, receipt_show_custom_fields: #{@receipt_show_custom_fields},"\
1440
+ " vt_override_sales_tax_allowed: #{@vt_override_sales_tax_allowed}, vt_enable_sales_tax:"\
1441
+ " #{@vt_enable_sales_tax}, vt_require_zip: #{@vt_require_zip}, vt_require_street:"\
1442
+ " #{@vt_require_street}, auto_decline_cavv: #{@auto_decline_cavv}, merchant_id:"\
1443
+ " #{@merchant_id}, receipt_header: #{@receipt_header}, receipt_footer: #{@receipt_footer},"\
1444
+ " receipt_add_account_above_signature: #{@receipt_add_account_above_signature},"\
1445
+ " receipt_add_recurring_above_signature: #{@receipt_add_recurring_above_signature},"\
1446
+ " receipt_vt_above_signature: #{@receipt_vt_above_signature}, default_transaction_type:"\
1447
+ " #{@default_transaction_type}, username: #{@username}, password: #{@password},"\
1448
+ " current_batch: #{@current_batch}, dup_check_per_batch: #{@dup_check_per_batch},"\
1449
+ " agent_code: #{@agent_code}, paylink_allow: #{@paylink_allow}, quick_invoice_allow:"\
1450
+ " #{@quick_invoice_allow}, level3_allow: #{@level3_allow}, payfac_enable: #{@payfac_enable},"\
1451
+ " enable_3ds: #{@enable_3ds}, sales_office_id: #{@sales_office_id},"\
1452
+ " hosted_payment_page_max_allowed: #{@hosted_payment_page_max_allowed},"\
1453
+ " hosted_payment_page_allow: #{@hosted_payment_page_allow}, surcharge_id: #{@surcharge_id},"\
1454
+ " allow_big_commerce: #{@allow_big_commerce}, level3_default: #{@level3_default},"\
1455
+ " cau_subscribe_type_id: #{@cau_subscribe_type_id}, cau_account_number:"\
1456
+ " #{@cau_account_number}, location_billing_account_id: #{@location_billing_account_id},"\
1457
+ " product_billing_group_id: #{@product_billing_group_id}, account_number:"\
1458
+ " #{@account_number}, run_avs_on_accountvault_create: #{@run_avs_on_accountvault_create},"\
1459
+ ' accountvault_expire_notification_email_enable:'\
1460
+ " #{@accountvault_expire_notification_email_enable}, debit_allow_void: #{@debit_allow_void},"\
1461
+ " quick_invoice_text_to_pay: #{@quick_invoice_text_to_pay}, authentication_code:"\
1462
+ " #{@authentication_code}, sms_enable: #{@sms_enable}, vt_show_currency:"\
1463
+ " #{@vt_show_currency}, receipt_show_currency: #{@receipt_show_currency},"\
1464
+ " allow_blind_refund: #{@allow_blind_refund}, vt_show_company_name:"\
1465
+ " #{@vt_show_company_name}, receipt_show_company_name: #{@receipt_show_company_name},"\
1466
+ " bank_funded_only: #{@bank_funded_only}, require_cvv_on_keyed_cnp:"\
1467
+ " #{@require_cvv_on_keyed_cnp}, require_cvv_on_tokenized_cnp:"\
1468
+ " #{@require_cvv_on_tokenized_cnp}, show_secondary_amount: #{@show_secondary_amount},"\
1469
+ " allow_secondary_amount: #{@allow_secondary_amount}, show_google_pay: #{@show_google_pay},"\
1470
+ " show_apple_pay: #{@show_apple_pay}, batch_risk_config: #{@batch_risk_config},"\
1471
+ " currency_code: #{@currency_code}, enable_ach_validation: #{@enable_ach_validation},"\
1472
+ " enable_ach_retry: #{@enable_ach_retry}, allow_softpos: #{@allow_softpos}, id: #{@id},"\
1473
+ " receipt_logo: #{@receipt_logo}, active: #{@active}, tz: #{@tz}, current_stan:"\
1474
+ " #{@current_stan}, created_ts: #{@created_ts}, modified_ts: #{@modified_ts},"\
1475
+ " created_user_id: #{@created_user_id}, modified_user_id: #{@modified_user_id},"\
1476
+ " product_transaction_api_id: #{@product_transaction_api_id},"\
1477
+ " transaction_amount_notification_threshold: #{@transaction_amount_notification_threshold},"\
1478
+ " is_secondary_amount_allowed: #{@is_secondary_amount_allowed}, fortis_id: #{@fortis_id},"\
1479
+ " product_billing_group_code: #{@product_billing_group_code}, cau_subscribe_type_code:"\
1480
+ " #{@cau_subscribe_type_code}, merchant_code: #{@merchant_code}, additional_properties:"\
1481
+ " #{get_additional_properties}>"
1482
+ end
1483
+
1484
+ # Provides a debugging-friendly string with detailed object information.
1485
+ def inspect
1486
+ class_name = self.class.name.split('::').last
1487
+ "<#{class_name} processor_version: #{@processor_version.inspect}, industry_type:"\
1488
+ " #{@industry_type.inspect}, title: #{@title.inspect}, payment_method:"\
1489
+ " #{@payment_method.inspect}, processor: #{@processor.inspect}, mcc: #{@mcc.inspect},"\
1490
+ " tax_surcharge_config: #{@tax_surcharge_config.inspect}, terminal_id:"\
1491
+ " #{@terminal_id.inspect}, partner: #{@partner.inspect}, product_ach_pv_store_id:"\
1492
+ " #{@product_ach_pv_store_id.inspect}, invoice_adjustment_title:"\
1493
+ " #{@invoice_adjustment_title.inspect}, location_id: #{@location_id.inspect},"\
1494
+ " location_api_id: #{@location_api_id.inspect}, billing_location_api_id:"\
1495
+ " #{@billing_location_api_id.inspect}, portfolio_id: #{@portfolio_id.inspect},"\
1496
+ " portfolio_validation_rule: #{@portfolio_validation_rule.inspect}, sub_processor:"\
1497
+ " #{@sub_processor.inspect}, surcharge: #{@surcharge.inspect}, processor_data:"\
1498
+ " #{@processor_data.inspect}, vt_clerk_number: #{@vt_clerk_number.inspect},"\
1499
+ " vt_billing_phone: #{@vt_billing_phone.inspect}, vt_enable_tip: #{@vt_enable_tip.inspect},"\
1500
+ " ach_allow_debit: #{@ach_allow_debit.inspect}, ach_allow_credit:"\
1501
+ " #{@ach_allow_credit.inspect}, ach_allow_refund: #{@ach_allow_refund.inspect}, vt_cvv:"\
1502
+ " #{@vt_cvv.inspect}, vt_street: #{@vt_street.inspect}, vt_zip: #{@vt_zip.inspect},"\
1503
+ " vt_order_num: #{@vt_order_num.inspect}, vt_enable: #{@vt_enable.inspect},"\
1504
+ " receipt_show_contact_name: #{@receipt_show_contact_name.inspect}, display_avs:"\
1505
+ " #{@display_avs.inspect}, card_type_visa: #{@card_type_visa.inspect}, card_type_mc:"\
1506
+ " #{@card_type_mc.inspect}, card_type_disc: #{@card_type_disc.inspect}, card_type_amex:"\
1507
+ " #{@card_type_amex.inspect}, card_type_diners: #{@card_type_diners.inspect}, card_type_jcb:"\
1508
+ " #{@card_type_jcb.inspect}, card_type_ebt: #{@card_type_ebt.inspect},"\
1509
+ " allow_ebt_cash_benefit: #{@allow_ebt_cash_benefit.inspect}, allow_ebt_food_stamp:"\
1510
+ " #{@allow_ebt_food_stamp.inspect}, invoice_location: #{@invoice_location.inspect},"\
1511
+ " allow_partial_authorization: #{@allow_partial_authorization.inspect},"\
1512
+ " allow_recurring_partial_authorization: #{@allow_recurring_partial_authorization.inspect},"\
1513
+ " auto_decline_cvv: #{@auto_decline_cvv.inspect}, auto_decline_street:"\
1514
+ " #{@auto_decline_street.inspect}, auto_decline_zip: #{@auto_decline_zip.inspect},"\
1515
+ " split_payments_allow: #{@split_payments_allow.inspect}, vt_show_custom_fields:"\
1516
+ " #{@vt_show_custom_fields.inspect}, receipt_show_custom_fields:"\
1517
+ " #{@receipt_show_custom_fields.inspect}, vt_override_sales_tax_allowed:"\
1518
+ " #{@vt_override_sales_tax_allowed.inspect}, vt_enable_sales_tax:"\
1519
+ " #{@vt_enable_sales_tax.inspect}, vt_require_zip: #{@vt_require_zip.inspect},"\
1520
+ " vt_require_street: #{@vt_require_street.inspect}, auto_decline_cavv:"\
1521
+ " #{@auto_decline_cavv.inspect}, merchant_id: #{@merchant_id.inspect}, receipt_header:"\
1522
+ " #{@receipt_header.inspect}, receipt_footer: #{@receipt_footer.inspect},"\
1523
+ " receipt_add_account_above_signature: #{@receipt_add_account_above_signature.inspect},"\
1524
+ " receipt_add_recurring_above_signature: #{@receipt_add_recurring_above_signature.inspect},"\
1525
+ " receipt_vt_above_signature: #{@receipt_vt_above_signature.inspect},"\
1526
+ " default_transaction_type: #{@default_transaction_type.inspect}, username:"\
1527
+ " #{@username.inspect}, password: #{@password.inspect}, current_batch:"\
1528
+ " #{@current_batch.inspect}, dup_check_per_batch: #{@dup_check_per_batch.inspect},"\
1529
+ " agent_code: #{@agent_code.inspect}, paylink_allow: #{@paylink_allow.inspect},"\
1530
+ " quick_invoice_allow: #{@quick_invoice_allow.inspect}, level3_allow:"\
1531
+ " #{@level3_allow.inspect}, payfac_enable: #{@payfac_enable.inspect}, enable_3ds:"\
1532
+ " #{@enable_3ds.inspect}, sales_office_id: #{@sales_office_id.inspect},"\
1533
+ " hosted_payment_page_max_allowed: #{@hosted_payment_page_max_allowed.inspect},"\
1534
+ " hosted_payment_page_allow: #{@hosted_payment_page_allow.inspect}, surcharge_id:"\
1535
+ " #{@surcharge_id.inspect}, allow_big_commerce: #{@allow_big_commerce.inspect},"\
1536
+ " level3_default: #{@level3_default.inspect}, cau_subscribe_type_id:"\
1537
+ " #{@cau_subscribe_type_id.inspect}, cau_account_number: #{@cau_account_number.inspect},"\
1538
+ " location_billing_account_id: #{@location_billing_account_id.inspect},"\
1539
+ " product_billing_group_id: #{@product_billing_group_id.inspect}, account_number:"\
1540
+ " #{@account_number.inspect}, run_avs_on_accountvault_create:"\
1541
+ " #{@run_avs_on_accountvault_create.inspect}, accountvault_expire_notification_email_enable:"\
1542
+ " #{@accountvault_expire_notification_email_enable.inspect}, debit_allow_void:"\
1543
+ " #{@debit_allow_void.inspect}, quick_invoice_text_to_pay:"\
1544
+ " #{@quick_invoice_text_to_pay.inspect}, authentication_code:"\
1545
+ " #{@authentication_code.inspect}, sms_enable: #{@sms_enable.inspect}, vt_show_currency:"\
1546
+ " #{@vt_show_currency.inspect}, receipt_show_currency: #{@receipt_show_currency.inspect},"\
1547
+ " allow_blind_refund: #{@allow_blind_refund.inspect}, vt_show_company_name:"\
1548
+ " #{@vt_show_company_name.inspect}, receipt_show_company_name:"\
1549
+ " #{@receipt_show_company_name.inspect}, bank_funded_only: #{@bank_funded_only.inspect},"\
1550
+ " require_cvv_on_keyed_cnp: #{@require_cvv_on_keyed_cnp.inspect},"\
1551
+ " require_cvv_on_tokenized_cnp: #{@require_cvv_on_tokenized_cnp.inspect},"\
1552
+ " show_secondary_amount: #{@show_secondary_amount.inspect}, allow_secondary_amount:"\
1553
+ " #{@allow_secondary_amount.inspect}, show_google_pay: #{@show_google_pay.inspect},"\
1554
+ " show_apple_pay: #{@show_apple_pay.inspect}, batch_risk_config:"\
1555
+ " #{@batch_risk_config.inspect}, currency_code: #{@currency_code.inspect},"\
1556
+ " enable_ach_validation: #{@enable_ach_validation.inspect}, enable_ach_retry:"\
1557
+ " #{@enable_ach_retry.inspect}, allow_softpos: #{@allow_softpos.inspect}, id:"\
1558
+ " #{@id.inspect}, receipt_logo: #{@receipt_logo.inspect}, active: #{@active.inspect}, tz:"\
1559
+ " #{@tz.inspect}, current_stan: #{@current_stan.inspect}, created_ts:"\
1560
+ " #{@created_ts.inspect}, modified_ts: #{@modified_ts.inspect}, created_user_id:"\
1561
+ " #{@created_user_id.inspect}, modified_user_id: #{@modified_user_id.inspect},"\
1562
+ " product_transaction_api_id: #{@product_transaction_api_id.inspect},"\
1563
+ ' transaction_amount_notification_threshold:'\
1564
+ " #{@transaction_amount_notification_threshold.inspect}, is_secondary_amount_allowed:"\
1565
+ " #{@is_secondary_amount_allowed.inspect}, fortis_id: #{@fortis_id.inspect},"\
1566
+ " product_billing_group_code: #{@product_billing_group_code.inspect},"\
1567
+ " cau_subscribe_type_code: #{@cau_subscribe_type_code.inspect}, merchant_code:"\
1568
+ " #{@merchant_code.inspect}, additional_properties: #{get_additional_properties}>"
1569
+ end
1570
+ end
1571
+ end