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,2034 @@
1
+ # fortis_api
2
+ #
3
+ # This file was automatically generated by APIMATIC v3.0 (
4
+ # https://www.apimatic.io ).
5
+
6
+ module FortisApi
7
+ # Transaction Information on `expand`
8
+ class ReturnFeeTransaction < BaseModel
9
+ SKIP = Object.new
10
+ private_constant :SKIP
11
+
12
+ # Additional amounts
13
+ # @return [Array[AdditionalAmount]]
14
+ attr_accessor :additional_amounts
15
+
16
+ # Billing Address Object
17
+ # @return [BillingAddress1]
18
+ attr_accessor :billing_address
19
+
20
+ # Checkin Date - The time difference between checkin_date and checkout_date
21
+ # must be less than or equal to 99 days. NOTE: if checkin_date is in the
22
+ # future, set the advance_deposit to 1
23
+ # >Required if merchant industry type is lodging.
24
+ # >
25
+ # @return [String]
26
+ attr_accessor :checkin_date
27
+
28
+ # Checkout Date - The time difference between checkin_date and checkout_date
29
+ # must be less than or equal to 99 days.
30
+ # >Required if merchant industry type is lodging.
31
+ # >
32
+ # @return [String]
33
+ attr_accessor :checkout_date
34
+
35
+ # Clerk or Employee Identifier
36
+ # @return [String]
37
+ attr_accessor :clerk_number
38
+
39
+ # This can be supplied in place of contact_id if you would like to use a
40
+ # contact for the transaction and are using your own custom api_id's to
41
+ # track contacts in the system.
42
+ # @return [String]
43
+ attr_accessor :contact_api_id
44
+
45
+ # If contact_id is provided, ensure it belongs to the same location as the
46
+ # transaction. You cannot move transaction across locations.
47
+ # @return [String]
48
+ attr_accessor :contact_id
49
+
50
+ # A field that allows custom JSON to be entered to store extra data.
51
+ # @return [Object]
52
+ attr_accessor :custom_data
53
+
54
+ # Can be used by Merchants to identify Contacts in our system by an ID from
55
+ # another system.
56
+ # @return [String]
57
+ attr_accessor :customer_id
58
+
59
+ # Description
60
+ # @return [String]
61
+ attr_accessor :description
62
+
63
+ # Identity Verification
64
+ # @return [IdentityVerification]
65
+ attr_accessor :identity_verification
66
+
67
+ # Possible values are '0', '1','2'
68
+ # @return [IiasIndEnum]
69
+ attr_accessor :iias_ind
70
+
71
+ # A base64 encoded string for the image. Used with Check21 ACH
72
+ # transactions.
73
+ # @return [String]
74
+ attr_accessor :image_front
75
+
76
+ # A base64 encoded string for the image. Used with Check21 ACH
77
+ # transactions.
78
+ # @return [String]
79
+ attr_accessor :image_back
80
+
81
+ # Flag that is allowed to be passed on card not present industries to
82
+ # signify the transaction is a fixed installment plan transaction.
83
+ # @return [TrueClass | FalseClass]
84
+ attr_accessor :installment
85
+
86
+ # If this is a fixed installment plan and installment field is being passed
87
+ # as 1, then this field must have a vlue of 1-999 specifying the current
88
+ # installment number that is running.
89
+ # @return [Integer]
90
+ attr_accessor :installment_number
91
+
92
+ # If this is a fixed installment plan and installment field is being passed
93
+ # as 1, then this field must have a vlue of 1-999 specifying the total
94
+ # number of installments on the plan. This number must be grater than or
95
+ # equal to installment_number.
96
+ # @return [Integer]
97
+ attr_accessor :installment_count
98
+
99
+ # Recurring Flag
100
+ # @return [RecurringFlagEnum]
101
+ attr_accessor :recurring_flag
102
+
103
+ # Installment Counter
104
+ # @return [Integer]
105
+ attr_accessor :installment_counter
106
+
107
+ # Installment Total
108
+ # @return [Integer]
109
+ attr_accessor :installment_total
110
+
111
+ # Subscription
112
+ # @return [TrueClass | FalseClass]
113
+ attr_accessor :subscription
114
+
115
+ # Standing Order
116
+ # @return [TrueClass | FalseClass]
117
+ attr_accessor :standing_order
118
+
119
+ # This can be supplied in place of location_id for the transaction if you
120
+ # are using your own custom api_id's for your locations.
121
+ # @return [String]
122
+ attr_accessor :location_api_id
123
+
124
+ # A valid Location Id to associate the transaction with.
125
+ # @return [String]
126
+ attr_accessor :location_id
127
+
128
+ # The Product's method (cc/ach) has to match the action. If not provided,
129
+ # the API will use the default configured for the Location.
130
+ # @return [String]
131
+ attr_accessor :product_transaction_id
132
+
133
+ # Advance Deposit
134
+ # @return [TrueClass | FalseClass]
135
+ attr_accessor :advance_deposit
136
+
137
+ # Used in Lodging
138
+ # @return [TrueClass | FalseClass]
139
+ attr_accessor :no_show
140
+
141
+ # If email is supplied then receipt will be emailed
142
+ # @return [String]
143
+ attr_accessor :notification_email_address
144
+
145
+ # Required for CC transactions , if merchant's deposit account's duplicate
146
+ # check per batch has 'order_number' field
147
+ # @return [String]
148
+ attr_accessor :order_number
149
+
150
+ # Purchase Order number
151
+ # @return [String]
152
+ attr_accessor :po_number
153
+
154
+ # Can be used to associate a transaction to a Quick Invoice. Quick Invoice
155
+ # transactions will have a value for this field automatically.
156
+ # @return [String]
157
+ attr_accessor :quick_invoice_id
158
+
159
+ # Flag that is allowed to be passed on card not present industries to
160
+ # signify the transaction is an ongoing recurring transaction. Possible
161
+ # values to send are 0 or 1. This field must be 0 or not present if
162
+ # installment is sent as 1.
163
+ # @return [TrueClass | FalseClass]
164
+ attr_accessor :recurring
165
+
166
+ # If this is an ongoing recurring and recurring field is being passed as 1,
167
+ # then this field must have a vlue of 1-999 specifying the current recurring
168
+ # number that is running.
169
+ # @return [Integer]
170
+ attr_accessor :recurring_number
171
+
172
+ # Used in Lodging
173
+ # @return [String]
174
+ attr_accessor :room_num
175
+
176
+ # Required if merchant industry type is lodging.
177
+ # @return [Integer]
178
+ attr_accessor :room_rate
179
+
180
+ # Specifies to save account to contacts profile if account_number/track_data
181
+ # is present with either contact_id or contact_api_id in params.
182
+ # @return [TrueClass | FalseClass]
183
+ attr_accessor :save_account
184
+
185
+ # If saving token while running a transaction, this will be the title of the
186
+ # token.
187
+ # @return [String]
188
+ attr_accessor :save_account_title
189
+
190
+ # This field is allowed and required for transactions that have a product
191
+ # where surcharge is configured. Use only integer numbers, so $10.99 will be
192
+ # 1099.
193
+ # @return [Integer]
194
+ attr_accessor :subtotal_amount
195
+
196
+ # This field is allowed and required for transactions that have a product
197
+ # where surcharge is configured. Use only integer numbers, so $10.99 will be
198
+ # 1099.
199
+ # @return [Integer]
200
+ attr_accessor :surcharge_amount
201
+
202
+ # Tags
203
+ # @return [Array[String]]
204
+ attr_accessor :tags
205
+
206
+ # Amount of Sales tax - If supplied, this amount should be included in the
207
+ # total transaction_amount field. Use only integer numbers, so $10.99 will
208
+ # be 1099.
209
+ # @return [Integer]
210
+ attr_accessor :tax
211
+
212
+ # Optional tip amount. Tip is not supported for lodging and ecommerce
213
+ # merchants. Use only integer numbers, so $10.99 will be 1099.
214
+ # @return [Integer]
215
+ attr_accessor :tip_amount
216
+
217
+ # Amount of the transaction. This should always be the desired settle amount
218
+ # of the transaction. Use only integer numbers, so $10.99 will be 1099.
219
+ # @return [Integer]
220
+ attr_accessor :transaction_amount
221
+
222
+ # Retained Amount of the transaction. This should always be less than
223
+ # transaction amount. Use only integer numbers, so $10.99 will be 1099
224
+ # @return [Integer]
225
+ attr_accessor :secondary_amount
226
+
227
+ # See api_id page for more details
228
+ # @return [String]
229
+ attr_accessor :transaction_api_id
230
+
231
+ # Custom field 1 for api users to store custom data
232
+ # @return [String]
233
+ attr_accessor :transaction_c1
234
+
235
+ # Custom field 2 for api users to store custom data
236
+ # @return [String]
237
+ attr_accessor :transaction_c2
238
+
239
+ # Custom field 3 for api users to store custom data
240
+ # @return [String]
241
+ attr_accessor :transaction_c3
242
+
243
+ # Bank Funded Only Override
244
+ # @return [TrueClass | FalseClass]
245
+ attr_accessor :bank_funded_only_override
246
+
247
+ # Allow Partial Authorization Override
248
+ # @return [TrueClass | FalseClass]
249
+ attr_accessor :allow_partial_authorization_override
250
+
251
+ # Auto Decline CVV Override
252
+ # @return [TrueClass | FalseClass]
253
+ attr_accessor :auto_decline_cvv_override
254
+
255
+ # Auto Decline Street Override
256
+ # @return [TrueClass | FalseClass]
257
+ attr_accessor :auto_decline_street_override
258
+
259
+ # Auto Decline Zip Override
260
+ # @return [TrueClass | FalseClass]
261
+ attr_accessor :auto_decline_zip_override
262
+
263
+ # EBT Type
264
+ # @return [EbtTypeEnum]
265
+ attr_accessor :ebt_type
266
+
267
+ # Transaction ID
268
+ # @return [String]
269
+ attr_accessor :id
270
+
271
+ # Created Time Stamp
272
+ # @return [Integer]
273
+ attr_accessor :created_ts
274
+
275
+ # Modified Time Stamp
276
+ # @return [Integer]
277
+ attr_accessor :modified_ts
278
+
279
+ # Terminal ID
280
+ # @return [String]
281
+ attr_accessor :terminal_id
282
+
283
+ # For CC, this is the 'Name (as it appears) on Card'. For ACH, this is the
284
+ # 'Name on Account'.
285
+ # >Required for ACH transactions if account_vault_id is not provided. For CC
286
+ # transactions that are run through a terminal, this field may be
287
+ # overwritten by data acquired from the credit card track data.
288
+ # >
289
+ # @return [String]
290
+ attr_accessor :account_holder_name
291
+
292
+ # Required for ACH transactions if account_vault_id is not provided.
293
+ # >For ACH, allowed values are 'checking' or 'savings'. For CC, this field
294
+ # is read only. The system will identify card type and generate a value for
295
+ # this field automatically. possible values are: visa, mc, disc, amex, jcb,
296
+ # diners, and debit.
297
+ # >
298
+ # @return [String]
299
+ attr_accessor :account_type
300
+
301
+ # This can be supplied in place of account_vault_id if you would like to use
302
+ # an token for the transaction and are using your own custom api_id's to
303
+ # track accountvaults in the system.
304
+ # @return [String]
305
+ attr_accessor :token_api_id
306
+
307
+ # Required if account_number, track_data, micr_data is not provided.
308
+ # @return [String]
309
+ attr_accessor :token_id
310
+
311
+ # Required for ACH transactions in certain scenarios.
312
+ # @return [String]
313
+ attr_accessor :ach_identifier
314
+
315
+ # Required for ACH transactions if account_vault_id is not provided.
316
+ # @return [AchSecCode1Enum]
317
+ attr_accessor :ach_sec_code
318
+
319
+ # Authorization Amount
320
+ # @return [Integer]
321
+ attr_accessor :auth_amount
322
+
323
+ # Required on force transactions and EBT voucher clear sale/refund. Ignored
324
+ # for all other actions.
325
+ # @return [String]
326
+ attr_accessor :auth_code
327
+
328
+ # AVS
329
+ # @return [AvsEnum]
330
+ attr_accessor :avs
331
+
332
+ # AVS Enhanced
333
+ # @return [String]
334
+ attr_accessor :avs_enhanced
335
+
336
+ # If the cardholder is present at the point of service
337
+ # @return [TrueClass | FalseClass]
338
+ attr_accessor :cardholder_present
339
+
340
+ # A POST only field to specify whether or not the card is present.
341
+ # >This field will be defaulted to '1' for all card present industries
342
+ # (retail, lodging, restaurant) and '0' for card not present industries
343
+ # (MOTO/e-commerce).
344
+ # For lodging, if the no_show flag is set to '1', this field will
345
+ # automatically be set to '0'.
346
+ # For transactions where account_vault_id is used, this filed will be set to
347
+ # '0'.
348
+ # >
349
+ # @return [TrueClass | FalseClass]
350
+ attr_accessor :card_present
351
+
352
+ # Required for transactions using TEL SEC code.
353
+ # @return [String]
354
+ attr_accessor :check_number
355
+
356
+ # Can be used to store customer IP Address
357
+ # @return [String]
358
+ attr_accessor :customer_ip
359
+
360
+ # Obfuscated CVV
361
+ # @return [String]
362
+ attr_accessor :cvv_response
363
+
364
+ # Entry Mode - See entry mode section for more detail
365
+ # @return [EntryModeIdEnum]
366
+ attr_accessor :entry_mode_id
367
+
368
+ # This field is a read only field. This field will only be populated for EMV
369
+ # transactions and will contain proper JSON formatted data with some or all
370
+ # of the following fields: TC,TVR,AID,TSI,ATC,APPLAB,APPN,CVM
371
+ # @return [EmvReceiptData]
372
+ attr_accessor :emv_receipt_data
373
+
374
+ # First six numbers of account_number. Automatically generated by system.
375
+ # @return [String]
376
+ attr_accessor :first_six
377
+
378
+ # Last four numbers of account_number. Automatically generated by the
379
+ # system.
380
+ # @return [String]
381
+ attr_accessor :last_four
382
+
383
+ # 'cc' or 'ach'
384
+ # @return [PaymentMethod9Enum]
385
+ attr_accessor :payment_method
386
+
387
+ # If transaction was processed using a terminal, this field would contain
388
+ # the terminal's serial number
389
+ # @return [String]
390
+ attr_accessor :terminal_serial_number
391
+
392
+ # (Deprecated field)
393
+ # @return [String]
394
+ attr_accessor :transaction_settlement_status
395
+
396
+ # Charge Back Date (ACH Trxs)
397
+ # @return [String]
398
+ attr_accessor :charge_back_date
399
+
400
+ # Flag that is allowed to be passed on card not present industries to
401
+ # signify the transaction is a fixed installment plan transaction.
402
+ # @return [TrueClass | FalseClass]
403
+ attr_accessor :is_recurring
404
+
405
+ # Indicates if email receipt has been sent
406
+ # @return [TrueClass | FalseClass]
407
+ attr_accessor :notification_email_sent
408
+
409
+ # A field usually returned form the processor to uniquely identifier a
410
+ # specific cardholder's credit card.
411
+ # @return [String]
412
+ attr_accessor :par
413
+
414
+ # Response reason code that provides more detail as to the result of the
415
+ # transaction. The reason code list can be found here: Response Reason Codes
416
+ # >0 - N/A
417
+ # >
418
+ # >1000 - CC - Approved / ACH - Accepted
419
+ # >
420
+ # >1000 - CC - Approved / ACH - Accepted
421
+ # >
422
+ # >1001 - AuthCompleted
423
+ # >
424
+ # >1002 - Forced
425
+ # >
426
+ # >1003 - AuthOnly Declined
427
+ # >
428
+ # >1004 - Validation Failure (System Run Trx)
429
+ # >
430
+ # >1005 - Processor Response Invalid
431
+ # >
432
+ # >1200 - Voided
433
+ # >
434
+ # >1201 - Partial Approval
435
+ # >
436
+ # >1240 - Approved, optional fields are missing (Paya ACH only)
437
+ # >
438
+ # >1301 - Account Deactivated for Fraud
439
+ # >
440
+ # >1302-1399 - Reserved for Future Fraud Reason Codes
441
+ # >
442
+ # >1500 - Generic Decline
443
+ # >
444
+ # >1510 - Call
445
+ # >
446
+ # >1518 - Transaction Not Permitted - Terminal
447
+ # >
448
+ # >1520 - Pickup Card
449
+ # >
450
+ # >1530 - Retry Trx
451
+ # >
452
+ # >1531 - Communication Error
453
+ # >
454
+ # >1540 - Setup Issue, contact Support
455
+ # >
456
+ # >1541 - Device is not signature capable
457
+ # >
458
+ # >1588 - Data could not be de-tokenized
459
+ # >
460
+ # >1599 - Other Reason
461
+ # >
462
+ # >1601 - Generic Decline
463
+ # >
464
+ # >1602 - Call
465
+ # >
466
+ # >1603 - No Reply
467
+ # >
468
+ # >1604 - Pickup Card - No Fraud
469
+ # >
470
+ # >1605 - Pickup Card - Fraud
471
+ # >
472
+ # >1606 - Pickup Card - Lost
473
+ # >
474
+ # >1607 - Pickup Card - Stolen
475
+ # >
476
+ # >1608 - Account Error
477
+ # >
478
+ # >1609 - Already Reversed
479
+ # >
480
+ # >1610 - Bad PIN
481
+ # >
482
+ # >1611 - Cashback Exceeded
483
+ # >
484
+ # >1612 - Cashback Not Available
485
+ # >
486
+ # >1613 - CID Error
487
+ # >
488
+ # >1614 - Date Error
489
+ # >
490
+ # >1615 - Do Not Honor
491
+ # >
492
+ # >1616 - NSF
493
+ # >
494
+ # >1618 - Invalid Service Code
495
+ # >
496
+ # >1619 - Exceeded activity limit
497
+ # >
498
+ # >1620 - Violation
499
+ # >
500
+ # >1621 - Encryption Error
501
+ # >
502
+ # >1622 - Card Expired
503
+ # >
504
+ # >1623 - Renter
505
+ # >
506
+ # >1624 - Security Violation
507
+ # >
508
+ # >1625 - Card Not Permitted
509
+ # >
510
+ # >1626 - Trans Not Permitted
511
+ # >
512
+ # >1627 - System Error
513
+ # >
514
+ # >1628 - Bad Merchant ID
515
+ # >
516
+ # >1629 - Duplicate Batch (Already Closed)
517
+ # >
518
+ # >1630 - Batch Rejected
519
+ # >
520
+ # >1631 - Account Closed
521
+ # >
522
+ # >1632 - PIN tries exceeded
523
+ # >
524
+ # >
525
+ # >
526
+ # >
527
+ # >
528
+ # >
529
+ # >
530
+ # >
531
+ # >
532
+ # >
533
+ # >
534
+ # >
535
+ # >
536
+ # >
537
+ # >
538
+ # >1640 - Required fields are missing (ACH only)
539
+ # >
540
+ # >1641 - Previously declined transaction (1640)
541
+ # >
542
+ # >
543
+ # >
544
+ # >
545
+ # >
546
+ # >
547
+ # >
548
+ # >
549
+ # >
550
+ # >
551
+ # >
552
+ # >
553
+ # >
554
+ # >
555
+ # >
556
+ # >
557
+ # >
558
+ # >1650 - Contact Support
559
+ # >
560
+ # >1651 - Max Sending - Throttle Limit Hit (ACH only)
561
+ # >
562
+ # >1652 - Max Attempts Exceeded
563
+ # >
564
+ # >1653 - Contact Support
565
+ # >
566
+ # >1654 - Voided - Online Reversal Failed
567
+ # >
568
+ # >1655 - Decline (AVS Auto Reversal)
569
+ # >
570
+ # >1656 - Decline (CVV Auto Reversal)
571
+ # >
572
+ # >1657 - Decline (Partial Auth Auto Reversal)
573
+ # >
574
+ # >1658 - Expired Authorization
575
+ # >
576
+ # >1659 - Declined - Partial Approval not Supported
577
+ # >
578
+ # >1660 - Bank Account Error, please delete and re-add Token
579
+ # >
580
+ # >1661 - Declined AuthIncrement
581
+ # >
582
+ # >1662 - Auto Reversal - Processor can't settle
583
+ # >
584
+ # >1663 - Manager Needed (Needs override transaction)
585
+ # >
586
+ # >1664 - Token Not Found: Sharing Group Unavailable
587
+ # >
588
+ # >1665 - Contact Not Found: Sharing Group Unavailable
589
+ # >
590
+ # >1666 - Amount Error
591
+ # >
592
+ # >1667 - Action Not Allowed in Current State
593
+ # >
594
+ # >1668 - Original Authorization Not Valid
595
+ # >
596
+ # >1701 - Chip Reject
597
+ # >
598
+ # >1800 - Incorrect CVV
599
+ # >
600
+ # >1801 - Duplicate Transaction
601
+ # >
602
+ # >1802 - MID/TID Not Registered
603
+ # >
604
+ # >1803 - Stop Recurring
605
+ # >
606
+ # >1804 - No Transactions in Batch
607
+ # >
608
+ # >1805 - Batch Does Not Exist
609
+ # >
610
+ # >
611
+ # >
612
+ # **ACH Reject Reason Codes**
613
+ # | Code | E-Code | Verbiage | Short Description | Long Description |
614
+ # | ----------- | ----------- | ----------- | ----------- | ----------- |
615
+ # | 2101 | Rejected-R01 | | Insufficient funds | Available balance is not
616
+ # sufficient to cover the amount of the debit entry |
617
+ # | 2102 | Rejected-R02 | E02 | Bank account closed | Previously active
618
+ # amount has been closed by the customer of RDFI |
619
+ # | 2103 | Rejected-R03 | E03 | No bank account/unable to locate account |
620
+ # Account number does not correspond to the individual identified in the
621
+ # entry, or the account number designated is not an open account |
622
+ # | 2104 | Rejected-R04 | E04 | Invalid bank account number | Account
623
+ # number structure is not valid |
624
+ # | 2105 | Rejected-R05 | E05 | Reserved | Currently not in use |
625
+ # | 2106 | Rejected-R06 | | Returned per ODFI request | ODFI requested the
626
+ # RDFI to return the entry |
627
+ # | 2107 | Rejected-R07 | E07 | Authorization revoked by customer | Receiver
628
+ # has revoked authorization |
629
+ # | 2108 | Rejected-R08 | E08 | Payment stopped | Receiver of a recurring
630
+ # debit has stopped payment of an entry |
631
+ # | 2109 | Rejected-R09 | | Uncollected funds | Collected funds are not
632
+ # sufficient for payment of the debit entry |
633
+ # | 2110 | Rejected-R10 | E10 | Customer Advises Originator is Not Known to
634
+ # Receiver and/or Is Not Authorized by Receiver to Debit Receiver’s Account
635
+ # | Receiver has advised RDFI that originator is not authorized to debit his
636
+ # bank account |
637
+ # | 2111 | Rejected-R11 | | Customer Advises Entry Not In Accordance with
638
+ # the Terms of the Authorization | To be used when there is an error in the
639
+ # authorization |
640
+ # | 2112 | Rejected-R12 | | Branch sold to another RDFI | RDFI unable to
641
+ # post entry destined for a bank account maintained at a branch sold to
642
+ # another financial institution |
643
+ # | 2113 | Rejected-R13 | | RDFI not qualified to participate | Financial
644
+ # institution does not receive commercial ACH entries |
645
+ # | 2114 | Rejected-R14 | E14 | Representative payee deceased or unable to
646
+ # continue in that capacity | The representative payee authorized to accept
647
+ # entries on behalf of a beneficiary is either deceased or unable to
648
+ # continue in that capacity |
649
+ # | 2115 | Rejected-R15 | E15 | Beneficiary or bank account holder deceased
650
+ # | (Other than representative payee) deceased* - (1) the beneficiary
651
+ # entitled to payments is deceased or (2) the bank account holder other than
652
+ # a representative payee is deceased |
653
+ # | 2116 | Rejected-R16 | E16 | Bank account frozen | Funds in bank account
654
+ # are unavailable due to action by RDFI or legal order |
655
+ # | 2117 | Rejected-R17 | | File record edit criteria | Entry with Invalid
656
+ # Account Number Initiated Under Questionable Circumstances |
657
+ # | 2118 | Rejected-R18 | | Improper effective entry date | Entries have
658
+ # been presented prior to the first available processing window for the
659
+ # effective date. |
660
+ # | 2119 | Rejected-R19 | | Amount field error | Improper formatting of the
661
+ # amount field |
662
+ # | 2120 | Rejected-R20 | | Non-payment bank account | Entry destined for
663
+ # non-payment bank account defined by reg. |
664
+ # | 2121 | Rejected-R21 | | Invalid company Identification | The company ID
665
+ # information not valid (normally CIE entries) |
666
+ # | 2122 | Rejected-R22 | | Invalid individual ID number | Individual id
667
+ # used by receiver is incorrect (CIE entries) |
668
+ # | 2123 | Rejected-R23 | | Credit entry refused by receiver | Receiver
669
+ # returned entry because minimum or exact amount not remitted, bank account
670
+ # is subject to litigation, or payment represents an overpayment, originator
671
+ # is not known to receiver or receiver has not authorized this credit entry
672
+ # to this bank account |
673
+ # | 2124 | Rejected-R24 | | Duplicate entry | RDFI has received a duplicate
674
+ # entry |
675
+ # | 2125 | Rejected-R25 | | Addenda error | Improper formatting of the
676
+ # addenda record information |
677
+ # | 2126 | Rejected-R26 | | Mandatory field error | Improper information in
678
+ # one of the mandatory fields |
679
+ # | 2127 | Rejected-R27 | | Trace number error | Original entry trace
680
+ # number is not valid for return entry; or addenda trace numbers do not
681
+ # correspond with entry detail record |
682
+ # | 2128 | Rejected-R28 | | Transit routing number check digit error |
683
+ # Check digit for the transit routing number is incorrect |
684
+ # | 2129 | Rejected-R29 | E29 | Corporate customer advises not authorized |
685
+ # RDFI has been notified by corporate receiver that debit entry of
686
+ # originator is not authorized |
687
+ # | 2130 | Rejected-R30 | | RDFI not participant in check truncation
688
+ # program | Financial institution not participating in automated check
689
+ # safekeeping application |
690
+ # | 2131 | Rejected-R31 | | Permissible return entry (CCD and CTX only) |
691
+ # RDFI has been notified by the ODFI that it agrees to accept a CCD or CTX
692
+ # return entry |
693
+ # | 2132 | Rejected-R32 | | RDFI non-settlement | RDFI is not able to
694
+ # settle the entry |
695
+ # | 2133 | Rejected-R33 | | Return of XCK entry | RDFI determines at its
696
+ # sole discretion to return an XCK entry; an XCK return entry may be
697
+ # initiated by midnight of the sixtieth day following the settlement date if
698
+ # the XCK entry |
699
+ # | 2134 | Rejected-R34 | | Limited participation RDFI | RDFI participation
700
+ # has been limited by a federal or state supervisor |
701
+ # | 2135 | Rejected-R35 | | Return of improper debit entry | ACH debit not
702
+ # permitted for use with the CIE standard entry class code (except for
703
+ # reversals) |
704
+ # | 2136 | Rejected-R36 | | Return of Improper Credit Entry | |
705
+ # | 2137 | Rejected-R37 | | Source Document Presented for Payment | |
706
+ # | 2138 | Rejected-R38 | | Stop Payment on Source Document | |
707
+ # | 2139 | Rejected-R39 | | Improper Source Document | |
708
+ # | 2140 | Rejected-R40 | | Return of ENR Entry by Federal Government
709
+ # Agency | |
710
+ # | 2141 | Rejected-R41 | | Invalid Transaction Code | |
711
+ # | 2142 | Rejected-R42 | | Routing Number/Check Digit Error | |
712
+ # | 2143 | Rejected-R43 | | Invalid DFI Account Number | |
713
+ # | 2144 | Rejected-R44 | | Invalid Individual ID Number/Identification |
714
+ # |
715
+ # | 2145 | Rejected-R45 | | Invalid Individual Name/Company Name | |
716
+ # | 2146 | Rejected-R46 | | Invalid Representative Payee Indicator | |
717
+ # | 2147 | Rejected-R47 | | Duplicate Enrollment | |
718
+ # | 2150 | Rejected-R50 | | State Law Affecting RCK Acceptance | |
719
+ # | 2151 | Rejected-R51 | | Item is Ineligible, Notice Not Provided, etc. |
720
+ # |
721
+ # | 2152 | Rejected-R52 | | Stop Payment on Item (adjustment entries) | |
722
+ # | 2153 | Rejected-R53 | | Item and ACH Entry Presented for Payment | |
723
+ # | 2161 | Rejected-R61 | | Misrouted Return | |
724
+ # | 2162 | Rejected-R62 | | Incorrect Trace Number | |
725
+ # | 2163 | Rejected-R63 | | Incorrect Dollar Amount | |
726
+ # | 2164 | Rejected-R64 | | Incorrect Individual Identification | |
727
+ # | 2165 | Rejected-R65 | | Incorrect Transaction Code | |
728
+ # | 2166 | Rejected-R66 | | Incorrect Company Identification | |
729
+ # | 2167 | Rejected-R67 | | Duplicate Return | |
730
+ # | 2168 | Rejected-R68 | | Untimely Return | |
731
+ # | 2169 | Rejected-R69 | | Multiple Errors | |
732
+ # | 2170 | Rejected-R70 | | Permissible Return Entry Not Accepted | |
733
+ # | 2171 | Rejected-R71 | | Misrouted Dishonored Return | |
734
+ # | 2172 | Rejected-R72 | | Untimely Dishonored Return | |
735
+ # | 2173 | Rejected-R73 | | Timely Original Return | |
736
+ # | 2174 | Rejected-R74 | | Corrected Return | |
737
+ # | 2180 | Rejected-R80 | | Cross-Border Payment Coding Error | |
738
+ # | 2181 | Rejected-R81 | | Non-Participant in Cross-Border Program | |
739
+ # | 2182 | Rejected-R82 | | Invalid Foreign Receiving DFI Identification |
740
+ # |
741
+ # | 2183 | Rejected-R83 | | Foreign Receiving DFI Unable to Settle | |
742
+ # | 2200 | Voided | | Processor Void | The transaction was voided by the
743
+ # processor before being sent to the bank |
744
+ # | 2201 | Rejected-C01 | | | |
745
+ # | 2202 | Rejected-C02 | | | |
746
+ # | 2203 | Rejected-C03 | | | |
747
+ # | 2204 | Rejected-C04 | | | |
748
+ # | 2205 | Rejected-C05 | | | |
749
+ # | 2206 | Rejected-C06 | | | |
750
+ # | 2207 | Rejected-C07 | | | |
751
+ # | 2208 | Rejected-C08 | | | |
752
+ # | 2209 | Rejected-C09 | | | |
753
+ # | 2210 | Rejected-C10 | | | |
754
+ # | 2211 | Rejected-C11 | | | |
755
+ # | 2212 | Rejected-C12 | | | |
756
+ # | 2213 | Rejected-C13 | | | |
757
+ # | 2261 | Rejected-C61 | | | |
758
+ # | 2262 | Rejected-C62 | | | |
759
+ # | 2263 | Rejected-C63 | | | |
760
+ # | 2264 | Rejected-C64 | | | |
761
+ # | 2265 | Rejected-C65 | | | |
762
+ # | 2266 | Rejected-C66 | | | |
763
+ # | 2267 | Rejected-C67 | | | |
764
+ # | 2268 | Rejected-C68 | | | |
765
+ # | 2269 | Rejected-C69 | | | |
766
+ # | 2301 | Rejected-X01 | | Misc Check 21 Return | |
767
+ # | 2304 | Rejected-X04 | | Invalid Image | |
768
+ # | 2305 | Rejected-X05 | E95 | Breach of Warranty | |
769
+ # | 2306 | Rejected-X06 | E96 | Counterfeit / Forgery | |
770
+ # | 2307 | Rejected-X07 | E97 | Refer to Maker | |
771
+ # | 2308 | Rejected-X08 | | Maximum Payment Attempts | |
772
+ # | 2309 | Rejected-X09 | | Item Cannot be Re-presented | |
773
+ # | 2310 | Rejected-X10 | | Not Our Item | |
774
+ # | 2321 | Rejected-X21 | | Pay None | |
775
+ # | 2322 | Rejected-X22 | | Pay All | |
776
+ # | 2323 | Rejected-X23 | E93 | Non-Negotiable | |
777
+ # | 2329 | Rejected-X29 | | Stale Dated | |
778
+ # | 2345 | Rejected-X45 | | Misc Return | |
779
+ # | 2371 | Rejected-X71 | | RCK - 2nd Time | |
780
+ # | 2372 | Rejected-X72 | | RCK Reject - ACH | |
781
+ # | 2373 | Rejected-X73 | | RCK Reject - Payer | |
782
+ # @return [ReasonCodeId1Enum]
783
+ attr_accessor :reason_code_id
784
+
785
+ # A unique identifer used to associate a transaction with a Recurring.
786
+ # @return [String]
787
+ attr_accessor :recurring_id
788
+
789
+ # Settle date
790
+ # @return [String]
791
+ attr_accessor :settle_date
792
+
793
+ # Status ID - See status id section for more detail
794
+ # >101 - Sale cc Approved
795
+ # >
796
+ # >102 - Sale cc AuthOnly
797
+ # >
798
+ # >111 - Refund cc Refunded
799
+ # >
800
+ # >121 - Credit/Debit/Refund cc AvsOnly
801
+ # >
802
+ # >131 - Credit/Debit/Refund ach Pending Origination
803
+ # >
804
+ # >132 - Credit/Debit/Refund ach Originating
805
+ # >
806
+ # >133 - Credit/Debit/Refund ach Originated
807
+ # >
808
+ # >134 - Credit/Debit/Refund ach Settled
809
+ # >
810
+ # >191 - Settled (depracated - batches are now settled on the
811
+ # /v2/transactionbatches endpoint)
812
+ # >
813
+ # >201 - All cc/ach Voided
814
+ # >
815
+ # >301 - All cc/ach Declined
816
+ # >
817
+ # >331 - Credit/Debit/Refund ach Charged Back
818
+ # >
819
+ # @return [StatusCode17Enum]
820
+ attr_accessor :status_code
821
+
822
+ # For cc transactions, this is the id of the batch the transaction belongs
823
+ # to (not to be confused with batch number). This will be null for
824
+ # transactions that do not settle (void and authonly).
825
+ # @return [String]
826
+ attr_accessor :transaction_batch_id
827
+
828
+ # Type ID - See type id section for more detail
829
+ # @return [TypeIdEnum]
830
+ attr_accessor :type_id
831
+
832
+ # Verbiage -Do not use verbiage to see if the transaction was approved, use
833
+ # status_id
834
+ # @return [String]
835
+ attr_accessor :verbiage
836
+
837
+ # Voucher Number
838
+ # @return [String]
839
+ attr_accessor :voucher_number
840
+
841
+ # void date
842
+ # @return [String]
843
+ attr_accessor :void_date
844
+
845
+ # Batch
846
+ # @return [String]
847
+ attr_accessor :batch
848
+
849
+ # Terms Agreement
850
+ # @return [TrueClass | FalseClass]
851
+ attr_accessor :terms_agree
852
+
853
+ # Response Message
854
+ # @return [String]
855
+ attr_accessor :response_message
856
+
857
+ # Return Date
858
+ # @return [String]
859
+ attr_accessor :return_date
860
+
861
+ # How the transaction was obtained by the API.
862
+ # >1 - Unknown - The origination of this transaction could not be
863
+ # determined.
864
+ # >
865
+ # >2 - Mobile - The origination of this transaction is through the mobile
866
+ # application. This is always a merchant submitted payment.
867
+ # >
868
+ # >3 - Web - The origination of this transaction is through a web browser.
869
+ # This is always a merchant submitted payment. Examples include Virtual
870
+ # Terminal, Contact Charge, and Transaction Details - Run Again pages.
871
+ # >
872
+ # >4 - IVR Transaction - The origination of this transaction is over the
873
+ # phone. This payment is submitted by an automated system initiated by the
874
+ # cardholder.
875
+ # >
876
+ # >5 - Contact Statement - The orignation of this transaction is through a
877
+ # Vericle statement.
878
+ # >
879
+ # >6 - Contact Payment Mobile - The origination of this transaction is
880
+ # through the mobile application. This is always submitted by a contact
881
+ # user.
882
+ # >
883
+ # >7 - Contact Payment - The origination of this transaction is through a
884
+ # web browser. This is always submitted by a contact user.
885
+ # >
886
+ # >8 - Quick Invoice - The orignation of this transaction is through a Quick
887
+ # Invoice. This is typically submitted by a contact user, however the
888
+ # transaction can also be submitted by a merchant.
889
+ # >
890
+ # >9 - Payform - The origination of this transaction is through a Payform.
891
+ # This is typically a merchant submitted transaction, and is always from an
892
+ # internal developer.
893
+ # >
894
+ # >10 - Hosted Payment Page - The orignation of this transaction is through
895
+ # a Hosted Payment Page. This is typically a cardholder submitted
896
+ # transaction.
897
+ # >
898
+ # >11 - Emulator - The origination of this transaction is through Auth.Net
899
+ # emulator. This is typically submitted through an integration to a website
900
+ # or a shopping cart.
901
+ # >
902
+ # >12 - Integration - The orignation of this transaction is through an
903
+ # integrated solution. This will always be from an external developer.
904
+ # >
905
+ # >13 - Recurring Billing - The orignation of this transaction is through a
906
+ # scheduled recurring payment. This payment is system-initiated based on a
907
+ # payment schedule that has been configured.
908
+ # >
909
+ # >14 - Recurring Secondary - This feature has not been implented yet.
910
+ # >
911
+ # >15 - Declined Recurring Email - The orignation of this transaction is
912
+ # through the email notification sent when a recurring payment has been
913
+ # declined. This is typically submitted by a cardholder.
914
+ # >
915
+ # >16 - Paylink - The orignation of this transaction is through a Paylink.
916
+ # This is typically submitted by a contact user, however the transaction can
917
+ # also be submitted by a merchant.
918
+ # >
919
+ # >17 - Elements - The origination of this transaction is through the
920
+ # Elements payments page. This can be a cardholder submitted or a merchant
921
+ # submitted transaction.
922
+ # >
923
+ # >18 - ACH Import - The origination of this transaction is through an ACH
924
+ # file import. This is a merchant initiated process.
925
+ # >
926
+ # @return [TrxSourceIdEnum]
927
+ attr_accessor :trx_source_id
928
+
929
+ # This field is read only for ach on transactions. Must be supplied if
930
+ # account_vault_id is not provided.
931
+ # @return [String]
932
+ attr_accessor :routing_number
933
+
934
+ # How the transaction was obtained by the API.
935
+ # >1 - Unknown - The origination of this transaction could not be
936
+ # determined.
937
+ # >
938
+ # >2 - Mobile - The origination of this transaction is through the mobile
939
+ # application. This is always a merchant submitted payment.
940
+ # >
941
+ # >3 - Web - The origination of this transaction is through a web browser.
942
+ # This is always a merchant submitted payment. Examples include Virtual
943
+ # Terminal, Contact Charge, and Transaction Details - Run Again pages.
944
+ # >
945
+ # >4 - IVR Transaction - The origination of this transaction is over the
946
+ # phone. This payment is submitted by an automated system initiated by the
947
+ # cardholder.
948
+ # >
949
+ # >5 - Contact Statement - The orignation of this transaction is through a
950
+ # Vericle statement.
951
+ # >
952
+ # >6 - Contact Payment Mobile - The origination of this transaction is
953
+ # through the mobile application. This is always submitted by a contact
954
+ # user.
955
+ # >
956
+ # >7 - Contact Payment - The origination of this transaction is through a
957
+ # web browser. This is always submitted by a contact user.
958
+ # >
959
+ # >8 - Quick Invoice - The orignation of this transaction is through a Quick
960
+ # Invoice. This is typically submitted by a contact user, however the
961
+ # transaction can also be submitted by a merchant.
962
+ # >
963
+ # >9 - Payform - The origination of this transaction is through a Payform.
964
+ # This is typically a merchant submitted transaction, and is always from an
965
+ # internal developer.
966
+ # >
967
+ # >10 - Hosted Payment Page - The orignation of this transaction is through
968
+ # a Hosted Payment Page. This is typically a cardholder submitted
969
+ # transaction.
970
+ # >
971
+ # >11 - Emulator - The origination of this transaction is through Auth.Net
972
+ # emulator. This is typically submitted through an integration to a website
973
+ # or a shopping cart.
974
+ # >
975
+ # >12 - Integration - The orignation of this transaction is through an
976
+ # integrated solution. This will always be from an external developer.
977
+ # >
978
+ # >13 - Recurring Billing - The orignation of this transaction is through a
979
+ # scheduled recurring payment. This payment is system-initiated based on a
980
+ # payment schedule that has been configured.
981
+ # >
982
+ # >14 - Recurring Secondary - This feature has not been implented yet.
983
+ # >
984
+ # >15 - Declined Recurring Email - The orignation of this transaction is
985
+ # through the email notification sent when a recurring payment has been
986
+ # declined. This is typically submitted by a cardholder.
987
+ # >
988
+ # >16 - Paylink - The orignation of this transaction is through a Paylink.
989
+ # This is typically submitted by a contact user, however the transaction can
990
+ # also be submitted by a merchant.
991
+ # >
992
+ # >17 - Elements - The origination of this transaction is through the
993
+ # Elements payments page. This can be a cardholder submitted or a merchant
994
+ # submitted transaction.
995
+ # >
996
+ # >18 - ACH Import - The origination of this transaction is through an ACH
997
+ # file import. This is a merchant initiated process.
998
+ # >
999
+ # @return [TrxSourceCodeEnum]
1000
+ attr_accessor :trx_source_code
1001
+
1002
+ # Paylink Id
1003
+ # @return [String]
1004
+ attr_accessor :paylink_id
1005
+
1006
+ # Currency Code
1007
+ # @return [Float]
1008
+ attr_accessor :currency_code
1009
+
1010
+ # Is Token Transaction
1011
+ # @return [TrueClass | FalseClass]
1012
+ attr_accessor :is_accountvault
1013
+
1014
+ # User ID Created the register
1015
+ # @return [String]
1016
+ attr_accessor :created_user_id
1017
+
1018
+ # Last User ID that updated the register
1019
+ # @return [String]
1020
+ attr_accessor :modified_user_id
1021
+
1022
+ # Transaction Code
1023
+ # @return [String]
1024
+ attr_accessor :transaction_code
1025
+
1026
+ # For ACH only, this is optional and defaults to current day.
1027
+ # @return [String]
1028
+ attr_accessor :effective_date
1029
+
1030
+ # Notification Phone. Country code not included
1031
+ # @return [String]
1032
+ attr_accessor :notification_phone
1033
+
1034
+ # Cavv Result
1035
+ # @return [String]
1036
+ attr_accessor :cavv_result
1037
+
1038
+ # Is Token Transaction
1039
+ # @return [TrueClass | FalseClass]
1040
+ attr_accessor :is_token
1041
+
1042
+ # Token ID
1043
+ # @return [String]
1044
+ attr_accessor :account_vault_id
1045
+
1046
+ # Hosted Payment Page Id
1047
+ # @return [String]
1048
+ attr_accessor :hosted_payment_page_id
1049
+
1050
+ # Hosted Payment Page Id
1051
+ # @return [String]
1052
+ attr_accessor :stan
1053
+
1054
+ # Currency
1055
+ # @return [String]
1056
+ attr_accessor :currency
1057
+
1058
+ # Card Bin
1059
+ # @return [String]
1060
+ attr_accessor :card_bin
1061
+
1062
+ # This value provides information from where the transaction was initialized
1063
+ # (Such as In-App provider)
1064
+ # @return [String]
1065
+ attr_accessor :wallet_type
1066
+
1067
+ # A mapping from model property names to API property names.
1068
+ def self.names
1069
+ @_hash = {} if @_hash.nil?
1070
+ @_hash['additional_amounts'] = 'additional_amounts'
1071
+ @_hash['billing_address'] = 'billing_address'
1072
+ @_hash['checkin_date'] = 'checkin_date'
1073
+ @_hash['checkout_date'] = 'checkout_date'
1074
+ @_hash['clerk_number'] = 'clerk_number'
1075
+ @_hash['contact_api_id'] = 'contact_api_id'
1076
+ @_hash['contact_id'] = 'contact_id'
1077
+ @_hash['custom_data'] = 'custom_data'
1078
+ @_hash['customer_id'] = 'customer_id'
1079
+ @_hash['description'] = 'description'
1080
+ @_hash['identity_verification'] = 'identity_verification'
1081
+ @_hash['iias_ind'] = 'iias_ind'
1082
+ @_hash['image_front'] = 'image_front'
1083
+ @_hash['image_back'] = 'image_back'
1084
+ @_hash['installment'] = 'installment'
1085
+ @_hash['installment_number'] = 'installment_number'
1086
+ @_hash['installment_count'] = 'installment_count'
1087
+ @_hash['recurring_flag'] = 'recurring_flag'
1088
+ @_hash['installment_counter'] = 'installment_counter'
1089
+ @_hash['installment_total'] = 'installment_total'
1090
+ @_hash['subscription'] = 'subscription'
1091
+ @_hash['standing_order'] = 'standing_order'
1092
+ @_hash['location_api_id'] = 'location_api_id'
1093
+ @_hash['location_id'] = 'location_id'
1094
+ @_hash['product_transaction_id'] = 'product_transaction_id'
1095
+ @_hash['advance_deposit'] = 'advance_deposit'
1096
+ @_hash['no_show'] = 'no_show'
1097
+ @_hash['notification_email_address'] = 'notification_email_address'
1098
+ @_hash['order_number'] = 'order_number'
1099
+ @_hash['po_number'] = 'po_number'
1100
+ @_hash['quick_invoice_id'] = 'quick_invoice_id'
1101
+ @_hash['recurring'] = 'recurring'
1102
+ @_hash['recurring_number'] = 'recurring_number'
1103
+ @_hash['room_num'] = 'room_num'
1104
+ @_hash['room_rate'] = 'room_rate'
1105
+ @_hash['save_account'] = 'save_account'
1106
+ @_hash['save_account_title'] = 'save_account_title'
1107
+ @_hash['subtotal_amount'] = 'subtotal_amount'
1108
+ @_hash['surcharge_amount'] = 'surcharge_amount'
1109
+ @_hash['tags'] = 'tags'
1110
+ @_hash['tax'] = 'tax'
1111
+ @_hash['tip_amount'] = 'tip_amount'
1112
+ @_hash['transaction_amount'] = 'transaction_amount'
1113
+ @_hash['secondary_amount'] = 'secondary_amount'
1114
+ @_hash['transaction_api_id'] = 'transaction_api_id'
1115
+ @_hash['transaction_c1'] = 'transaction_c1'
1116
+ @_hash['transaction_c2'] = 'transaction_c2'
1117
+ @_hash['transaction_c3'] = 'transaction_c3'
1118
+ @_hash['bank_funded_only_override'] = 'bank_funded_only_override'
1119
+ @_hash['allow_partial_authorization_override'] =
1120
+ 'allow_partial_authorization_override'
1121
+ @_hash['auto_decline_cvv_override'] = 'auto_decline_cvv_override'
1122
+ @_hash['auto_decline_street_override'] = 'auto_decline_street_override'
1123
+ @_hash['auto_decline_zip_override'] = 'auto_decline_zip_override'
1124
+ @_hash['ebt_type'] = 'ebt_type'
1125
+ @_hash['id'] = 'id'
1126
+ @_hash['created_ts'] = 'created_ts'
1127
+ @_hash['modified_ts'] = 'modified_ts'
1128
+ @_hash['terminal_id'] = 'terminal_id'
1129
+ @_hash['account_holder_name'] = 'account_holder_name'
1130
+ @_hash['account_type'] = 'account_type'
1131
+ @_hash['token_api_id'] = 'token_api_id'
1132
+ @_hash['token_id'] = 'token_id'
1133
+ @_hash['ach_identifier'] = 'ach_identifier'
1134
+ @_hash['ach_sec_code'] = 'ach_sec_code'
1135
+ @_hash['auth_amount'] = 'auth_amount'
1136
+ @_hash['auth_code'] = 'auth_code'
1137
+ @_hash['avs'] = 'avs'
1138
+ @_hash['avs_enhanced'] = 'avs_enhanced'
1139
+ @_hash['cardholder_present'] = 'cardholder_present'
1140
+ @_hash['card_present'] = 'card_present'
1141
+ @_hash['check_number'] = 'check_number'
1142
+ @_hash['customer_ip'] = 'customer_ip'
1143
+ @_hash['cvv_response'] = 'cvv_response'
1144
+ @_hash['entry_mode_id'] = 'entry_mode_id'
1145
+ @_hash['emv_receipt_data'] = 'emv_receipt_data'
1146
+ @_hash['first_six'] = 'first_six'
1147
+ @_hash['last_four'] = 'last_four'
1148
+ @_hash['payment_method'] = 'payment_method'
1149
+ @_hash['terminal_serial_number'] = 'terminal_serial_number'
1150
+ @_hash['transaction_settlement_status'] =
1151
+ 'transaction_settlement_status'
1152
+ @_hash['charge_back_date'] = 'charge_back_date'
1153
+ @_hash['is_recurring'] = 'is_recurring'
1154
+ @_hash['notification_email_sent'] = 'notification_email_sent'
1155
+ @_hash['par'] = 'par'
1156
+ @_hash['reason_code_id'] = 'reason_code_id'
1157
+ @_hash['recurring_id'] = 'recurring_id'
1158
+ @_hash['settle_date'] = 'settle_date'
1159
+ @_hash['status_code'] = 'status_code'
1160
+ @_hash['transaction_batch_id'] = 'transaction_batch_id'
1161
+ @_hash['type_id'] = 'type_id'
1162
+ @_hash['verbiage'] = 'verbiage'
1163
+ @_hash['voucher_number'] = 'voucher_number'
1164
+ @_hash['void_date'] = 'void_date'
1165
+ @_hash['batch'] = 'batch'
1166
+ @_hash['terms_agree'] = 'terms_agree'
1167
+ @_hash['response_message'] = 'response_message'
1168
+ @_hash['return_date'] = 'return_date'
1169
+ @_hash['trx_source_id'] = 'trx_source_id'
1170
+ @_hash['routing_number'] = 'routing_number'
1171
+ @_hash['trx_source_code'] = 'trx_source_code'
1172
+ @_hash['paylink_id'] = 'paylink_id'
1173
+ @_hash['currency_code'] = 'currency_code'
1174
+ @_hash['is_accountvault'] = 'is_accountvault'
1175
+ @_hash['created_user_id'] = 'created_user_id'
1176
+ @_hash['modified_user_id'] = 'modified_user_id'
1177
+ @_hash['transaction_code'] = 'transaction_code'
1178
+ @_hash['effective_date'] = 'effective_date'
1179
+ @_hash['notification_phone'] = 'notification_phone'
1180
+ @_hash['cavv_result'] = 'cavv_result'
1181
+ @_hash['is_token'] = 'is_token'
1182
+ @_hash['account_vault_id'] = 'account_vault_id'
1183
+ @_hash['hosted_payment_page_id'] = 'hosted_payment_page_id'
1184
+ @_hash['stan'] = 'stan'
1185
+ @_hash['currency'] = 'currency'
1186
+ @_hash['card_bin'] = 'card_bin'
1187
+ @_hash['wallet_type'] = 'wallet_type'
1188
+ @_hash
1189
+ end
1190
+
1191
+ # An array for optional fields
1192
+ def self.optionals
1193
+ %w[
1194
+ additional_amounts
1195
+ billing_address
1196
+ checkin_date
1197
+ checkout_date
1198
+ clerk_number
1199
+ contact_api_id
1200
+ contact_id
1201
+ custom_data
1202
+ customer_id
1203
+ description
1204
+ identity_verification
1205
+ iias_ind
1206
+ image_front
1207
+ image_back
1208
+ installment
1209
+ installment_number
1210
+ installment_count
1211
+ recurring_flag
1212
+ installment_counter
1213
+ installment_total
1214
+ subscription
1215
+ standing_order
1216
+ location_api_id
1217
+ location_id
1218
+ product_transaction_id
1219
+ advance_deposit
1220
+ no_show
1221
+ notification_email_address
1222
+ order_number
1223
+ po_number
1224
+ quick_invoice_id
1225
+ recurring
1226
+ recurring_number
1227
+ room_num
1228
+ room_rate
1229
+ save_account
1230
+ save_account_title
1231
+ subtotal_amount
1232
+ surcharge_amount
1233
+ tags
1234
+ tax
1235
+ tip_amount
1236
+ transaction_amount
1237
+ secondary_amount
1238
+ transaction_api_id
1239
+ transaction_c1
1240
+ transaction_c2
1241
+ transaction_c3
1242
+ bank_funded_only_override
1243
+ allow_partial_authorization_override
1244
+ auto_decline_cvv_override
1245
+ auto_decline_street_override
1246
+ auto_decline_zip_override
1247
+ ebt_type
1248
+ id
1249
+ created_ts
1250
+ modified_ts
1251
+ terminal_id
1252
+ account_holder_name
1253
+ account_type
1254
+ token_api_id
1255
+ token_id
1256
+ ach_identifier
1257
+ ach_sec_code
1258
+ auth_amount
1259
+ auth_code
1260
+ avs
1261
+ avs_enhanced
1262
+ cardholder_present
1263
+ card_present
1264
+ check_number
1265
+ customer_ip
1266
+ cvv_response
1267
+ entry_mode_id
1268
+ emv_receipt_data
1269
+ first_six
1270
+ last_four
1271
+ payment_method
1272
+ terminal_serial_number
1273
+ transaction_settlement_status
1274
+ charge_back_date
1275
+ is_recurring
1276
+ notification_email_sent
1277
+ par
1278
+ reason_code_id
1279
+ recurring_id
1280
+ settle_date
1281
+ status_code
1282
+ transaction_batch_id
1283
+ type_id
1284
+ verbiage
1285
+ voucher_number
1286
+ void_date
1287
+ batch
1288
+ terms_agree
1289
+ response_message
1290
+ return_date
1291
+ trx_source_id
1292
+ routing_number
1293
+ trx_source_code
1294
+ paylink_id
1295
+ currency_code
1296
+ is_accountvault
1297
+ created_user_id
1298
+ modified_user_id
1299
+ transaction_code
1300
+ effective_date
1301
+ notification_phone
1302
+ cavv_result
1303
+ is_token
1304
+ account_vault_id
1305
+ hosted_payment_page_id
1306
+ stan
1307
+ currency
1308
+ card_bin
1309
+ wallet_type
1310
+ ]
1311
+ end
1312
+
1313
+ # An array for nullable fields
1314
+ def self.nullables
1315
+ %w[
1316
+ checkin_date
1317
+ checkout_date
1318
+ clerk_number
1319
+ contact_api_id
1320
+ contact_id
1321
+ customer_id
1322
+ description
1323
+ iias_ind
1324
+ image_front
1325
+ image_back
1326
+ installment_number
1327
+ installment_count
1328
+ recurring_flag
1329
+ installment_counter
1330
+ installment_total
1331
+ location_api_id
1332
+ location_id
1333
+ product_transaction_id
1334
+ notification_email_address
1335
+ order_number
1336
+ po_number
1337
+ quick_invoice_id
1338
+ recurring_number
1339
+ room_num
1340
+ room_rate
1341
+ save_account_title
1342
+ subtotal_amount
1343
+ surcharge_amount
1344
+ tags
1345
+ tax
1346
+ tip_amount
1347
+ transaction_amount
1348
+ secondary_amount
1349
+ transaction_api_id
1350
+ transaction_c1
1351
+ transaction_c2
1352
+ transaction_c3
1353
+ ebt_type
1354
+ terminal_id
1355
+ account_holder_name
1356
+ account_type
1357
+ token_api_id
1358
+ token_id
1359
+ ach_identifier
1360
+ ach_sec_code
1361
+ auth_amount
1362
+ auth_code
1363
+ avs
1364
+ avs_enhanced
1365
+ check_number
1366
+ customer_ip
1367
+ cvv_response
1368
+ entry_mode_id
1369
+ emv_receipt_data
1370
+ first_six
1371
+ last_four
1372
+ terminal_serial_number
1373
+ transaction_settlement_status
1374
+ charge_back_date
1375
+ par
1376
+ reason_code_id
1377
+ recurring_id
1378
+ settle_date
1379
+ status_code
1380
+ transaction_batch_id
1381
+ type_id
1382
+ verbiage
1383
+ voucher_number
1384
+ void_date
1385
+ batch
1386
+ response_message
1387
+ return_date
1388
+ trx_source_id
1389
+ routing_number
1390
+ trx_source_code
1391
+ paylink_id
1392
+ currency_code
1393
+ created_user_id
1394
+ transaction_code
1395
+ effective_date
1396
+ notification_phone
1397
+ cavv_result
1398
+ account_vault_id
1399
+ stan
1400
+ currency
1401
+ card_bin
1402
+ wallet_type
1403
+ ]
1404
+ end
1405
+
1406
+ def initialize(additional_amounts = SKIP, billing_address = SKIP,
1407
+ checkin_date = SKIP, checkout_date = SKIP,
1408
+ clerk_number = SKIP, contact_api_id = SKIP,
1409
+ contact_id = SKIP, custom_data = SKIP, customer_id = SKIP,
1410
+ description = SKIP, identity_verification = SKIP,
1411
+ iias_ind = SKIP, image_front = SKIP, image_back = SKIP,
1412
+ installment = SKIP, installment_number = SKIP,
1413
+ installment_count = SKIP, recurring_flag = SKIP,
1414
+ installment_counter = SKIP, installment_total = SKIP,
1415
+ subscription = SKIP, standing_order = SKIP,
1416
+ location_api_id = SKIP, location_id = SKIP,
1417
+ product_transaction_id = SKIP, advance_deposit = SKIP,
1418
+ no_show = SKIP, notification_email_address = SKIP,
1419
+ order_number = SKIP, po_number = SKIP,
1420
+ quick_invoice_id = SKIP, recurring = SKIP,
1421
+ recurring_number = SKIP, room_num = SKIP, room_rate = SKIP,
1422
+ save_account = SKIP, save_account_title = SKIP,
1423
+ subtotal_amount = SKIP, surcharge_amount = SKIP, tags = SKIP,
1424
+ tax = SKIP, tip_amount = SKIP, transaction_amount = SKIP,
1425
+ secondary_amount = SKIP, transaction_api_id = SKIP,
1426
+ transaction_c1 = SKIP, transaction_c2 = SKIP,
1427
+ transaction_c3 = SKIP, bank_funded_only_override = SKIP,
1428
+ allow_partial_authorization_override = SKIP,
1429
+ auto_decline_cvv_override = SKIP,
1430
+ auto_decline_street_override = SKIP,
1431
+ auto_decline_zip_override = SKIP, ebt_type = SKIP, id = SKIP,
1432
+ created_ts = SKIP, modified_ts = SKIP, terminal_id = SKIP,
1433
+ account_holder_name = SKIP, account_type = SKIP,
1434
+ token_api_id = SKIP, token_id = SKIP, ach_identifier = SKIP,
1435
+ ach_sec_code = SKIP, auth_amount = SKIP, auth_code = SKIP,
1436
+ avs = SKIP, avs_enhanced = SKIP, cardholder_present = SKIP,
1437
+ card_present = SKIP, check_number = SKIP, customer_ip = SKIP,
1438
+ cvv_response = SKIP, entry_mode_id = SKIP,
1439
+ emv_receipt_data = SKIP, first_six = SKIP, last_four = SKIP,
1440
+ payment_method = SKIP, terminal_serial_number = SKIP,
1441
+ transaction_settlement_status = SKIP,
1442
+ charge_back_date = SKIP, is_recurring = SKIP,
1443
+ notification_email_sent = SKIP, par = SKIP,
1444
+ reason_code_id = SKIP, recurring_id = SKIP,
1445
+ settle_date = SKIP, status_code = SKIP,
1446
+ transaction_batch_id = SKIP, type_id = SKIP, verbiage = SKIP,
1447
+ voucher_number = SKIP, void_date = SKIP, batch = SKIP,
1448
+ terms_agree = SKIP, response_message = SKIP,
1449
+ return_date = SKIP, trx_source_id = SKIP,
1450
+ routing_number = SKIP, trx_source_code = SKIP,
1451
+ paylink_id = SKIP, currency_code = 840,
1452
+ is_accountvault = SKIP, created_user_id = SKIP,
1453
+ modified_user_id = SKIP, transaction_code = SKIP,
1454
+ effective_date = SKIP, notification_phone = SKIP,
1455
+ cavv_result = SKIP, is_token = SKIP, account_vault_id = SKIP,
1456
+ hosted_payment_page_id = SKIP, stan = SKIP, currency = SKIP,
1457
+ card_bin = SKIP, wallet_type = SKIP,
1458
+ additional_properties = {})
1459
+ # Add additional model properties to the instance.
1460
+ additional_properties.each do |_name, _value|
1461
+ instance_variable_set("@#{_name}", _value)
1462
+ end
1463
+
1464
+ @additional_amounts = additional_amounts unless additional_amounts == SKIP
1465
+ @billing_address = billing_address unless billing_address == SKIP
1466
+ @checkin_date = checkin_date unless checkin_date == SKIP
1467
+ @checkout_date = checkout_date unless checkout_date == SKIP
1468
+ @clerk_number = clerk_number unless clerk_number == SKIP
1469
+ @contact_api_id = contact_api_id unless contact_api_id == SKIP
1470
+ @contact_id = contact_id unless contact_id == SKIP
1471
+ @custom_data = custom_data unless custom_data == SKIP
1472
+ @customer_id = customer_id unless customer_id == SKIP
1473
+ @description = description unless description == SKIP
1474
+ @identity_verification = identity_verification unless identity_verification == SKIP
1475
+ @iias_ind = iias_ind unless iias_ind == SKIP
1476
+ @image_front = image_front unless image_front == SKIP
1477
+ @image_back = image_back unless image_back == SKIP
1478
+ @installment = installment unless installment == SKIP
1479
+ @installment_number = installment_number unless installment_number == SKIP
1480
+ @installment_count = installment_count unless installment_count == SKIP
1481
+ @recurring_flag = recurring_flag unless recurring_flag == SKIP
1482
+ @installment_counter = installment_counter unless installment_counter == SKIP
1483
+ @installment_total = installment_total unless installment_total == SKIP
1484
+ @subscription = subscription unless subscription == SKIP
1485
+ @standing_order = standing_order unless standing_order == SKIP
1486
+ @location_api_id = location_api_id unless location_api_id == SKIP
1487
+ @location_id = location_id unless location_id == SKIP
1488
+ @product_transaction_id = product_transaction_id unless product_transaction_id == SKIP
1489
+ @advance_deposit = advance_deposit unless advance_deposit == SKIP
1490
+ @no_show = no_show unless no_show == SKIP
1491
+ unless notification_email_address == SKIP
1492
+ @notification_email_address =
1493
+ notification_email_address
1494
+ end
1495
+ @order_number = order_number unless order_number == SKIP
1496
+ @po_number = po_number unless po_number == SKIP
1497
+ @quick_invoice_id = quick_invoice_id unless quick_invoice_id == SKIP
1498
+ @recurring = recurring unless recurring == SKIP
1499
+ @recurring_number = recurring_number unless recurring_number == SKIP
1500
+ @room_num = room_num unless room_num == SKIP
1501
+ @room_rate = room_rate unless room_rate == SKIP
1502
+ @save_account = save_account unless save_account == SKIP
1503
+ @save_account_title = save_account_title unless save_account_title == SKIP
1504
+ @subtotal_amount = subtotal_amount unless subtotal_amount == SKIP
1505
+ @surcharge_amount = surcharge_amount unless surcharge_amount == SKIP
1506
+ @tags = tags unless tags == SKIP
1507
+ @tax = tax unless tax == SKIP
1508
+ @tip_amount = tip_amount unless tip_amount == SKIP
1509
+ @transaction_amount = transaction_amount unless transaction_amount == SKIP
1510
+ @secondary_amount = secondary_amount unless secondary_amount == SKIP
1511
+ @transaction_api_id = transaction_api_id unless transaction_api_id == SKIP
1512
+ @transaction_c1 = transaction_c1 unless transaction_c1 == SKIP
1513
+ @transaction_c2 = transaction_c2 unless transaction_c2 == SKIP
1514
+ @transaction_c3 = transaction_c3 unless transaction_c3 == SKIP
1515
+ unless bank_funded_only_override == SKIP
1516
+ @bank_funded_only_override =
1517
+ bank_funded_only_override
1518
+ end
1519
+ unless allow_partial_authorization_override == SKIP
1520
+ @allow_partial_authorization_override =
1521
+ allow_partial_authorization_override
1522
+ end
1523
+ unless auto_decline_cvv_override == SKIP
1524
+ @auto_decline_cvv_override =
1525
+ auto_decline_cvv_override
1526
+ end
1527
+ unless auto_decline_street_override == SKIP
1528
+ @auto_decline_street_override =
1529
+ auto_decline_street_override
1530
+ end
1531
+ unless auto_decline_zip_override == SKIP
1532
+ @auto_decline_zip_override =
1533
+ auto_decline_zip_override
1534
+ end
1535
+ @ebt_type = ebt_type unless ebt_type == SKIP
1536
+ @id = id unless id == SKIP
1537
+ @created_ts = created_ts unless created_ts == SKIP
1538
+ @modified_ts = modified_ts unless modified_ts == SKIP
1539
+ @terminal_id = terminal_id unless terminal_id == SKIP
1540
+ @account_holder_name = account_holder_name unless account_holder_name == SKIP
1541
+ @account_type = account_type unless account_type == SKIP
1542
+ @token_api_id = token_api_id unless token_api_id == SKIP
1543
+ @token_id = token_id unless token_id == SKIP
1544
+ @ach_identifier = ach_identifier unless ach_identifier == SKIP
1545
+ @ach_sec_code = ach_sec_code unless ach_sec_code == SKIP
1546
+ @auth_amount = auth_amount unless auth_amount == SKIP
1547
+ @auth_code = auth_code unless auth_code == SKIP
1548
+ @avs = avs unless avs == SKIP
1549
+ @avs_enhanced = avs_enhanced unless avs_enhanced == SKIP
1550
+ @cardholder_present = cardholder_present unless cardholder_present == SKIP
1551
+ @card_present = card_present unless card_present == SKIP
1552
+ @check_number = check_number unless check_number == SKIP
1553
+ @customer_ip = customer_ip unless customer_ip == SKIP
1554
+ @cvv_response = cvv_response unless cvv_response == SKIP
1555
+ @entry_mode_id = entry_mode_id unless entry_mode_id == SKIP
1556
+ @emv_receipt_data = emv_receipt_data unless emv_receipt_data == SKIP
1557
+ @first_six = first_six unless first_six == SKIP
1558
+ @last_four = last_four unless last_four == SKIP
1559
+ @payment_method = payment_method unless payment_method == SKIP
1560
+ @terminal_serial_number = terminal_serial_number unless terminal_serial_number == SKIP
1561
+ unless transaction_settlement_status == SKIP
1562
+ @transaction_settlement_status =
1563
+ transaction_settlement_status
1564
+ end
1565
+ @charge_back_date = charge_back_date unless charge_back_date == SKIP
1566
+ @is_recurring = is_recurring unless is_recurring == SKIP
1567
+ @notification_email_sent = notification_email_sent unless notification_email_sent == SKIP
1568
+ @par = par unless par == SKIP
1569
+ @reason_code_id = reason_code_id unless reason_code_id == SKIP
1570
+ @recurring_id = recurring_id unless recurring_id == SKIP
1571
+ @settle_date = settle_date unless settle_date == SKIP
1572
+ @status_code = status_code unless status_code == SKIP
1573
+ @transaction_batch_id = transaction_batch_id unless transaction_batch_id == SKIP
1574
+ @type_id = type_id unless type_id == SKIP
1575
+ @verbiage = verbiage unless verbiage == SKIP
1576
+ @voucher_number = voucher_number unless voucher_number == SKIP
1577
+ @void_date = void_date unless void_date == SKIP
1578
+ @batch = batch unless batch == SKIP
1579
+ @terms_agree = terms_agree unless terms_agree == SKIP
1580
+ @response_message = response_message unless response_message == SKIP
1581
+ @return_date = return_date unless return_date == SKIP
1582
+ @trx_source_id = trx_source_id unless trx_source_id == SKIP
1583
+ @routing_number = routing_number unless routing_number == SKIP
1584
+ @trx_source_code = trx_source_code unless trx_source_code == SKIP
1585
+ @paylink_id = paylink_id unless paylink_id == SKIP
1586
+ @currency_code = currency_code unless currency_code == SKIP
1587
+ @is_accountvault = is_accountvault unless is_accountvault == SKIP
1588
+ @created_user_id = created_user_id unless created_user_id == SKIP
1589
+ @modified_user_id = modified_user_id unless modified_user_id == SKIP
1590
+ @transaction_code = transaction_code unless transaction_code == SKIP
1591
+ @effective_date = effective_date unless effective_date == SKIP
1592
+ @notification_phone = notification_phone unless notification_phone == SKIP
1593
+ @cavv_result = cavv_result unless cavv_result == SKIP
1594
+ @is_token = is_token unless is_token == SKIP
1595
+ @account_vault_id = account_vault_id unless account_vault_id == SKIP
1596
+ @hosted_payment_page_id = hosted_payment_page_id unless hosted_payment_page_id == SKIP
1597
+ @stan = stan unless stan == SKIP
1598
+ @currency = currency unless currency == SKIP
1599
+ @card_bin = card_bin unless card_bin == SKIP
1600
+ @wallet_type = wallet_type unless wallet_type == SKIP
1601
+ end
1602
+
1603
+ # Creates an instance of the object from a hash.
1604
+ def self.from_hash(hash)
1605
+ return nil unless hash
1606
+
1607
+ # Extract variables from the hash.
1608
+ # Parameter is an array, so we need to iterate through it
1609
+ additional_amounts = nil
1610
+ unless hash['additional_amounts'].nil?
1611
+ additional_amounts = []
1612
+ hash['additional_amounts'].each do |structure|
1613
+ additional_amounts << (AdditionalAmount.from_hash(structure) if structure)
1614
+ end
1615
+ end
1616
+
1617
+ additional_amounts = SKIP unless hash.key?('additional_amounts')
1618
+ billing_address = BillingAddress1.from_hash(hash['billing_address']) if
1619
+ hash['billing_address']
1620
+ checkin_date = hash.key?('checkin_date') ? hash['checkin_date'] : SKIP
1621
+ checkout_date = hash.key?('checkout_date') ? hash['checkout_date'] : SKIP
1622
+ clerk_number = hash.key?('clerk_number') ? hash['clerk_number'] : SKIP
1623
+ contact_api_id =
1624
+ hash.key?('contact_api_id') ? hash['contact_api_id'] : SKIP
1625
+ contact_id = hash.key?('contact_id') ? hash['contact_id'] : SKIP
1626
+ custom_data = hash.key?('custom_data') ? hash['custom_data'] : SKIP
1627
+ customer_id = hash.key?('customer_id') ? hash['customer_id'] : SKIP
1628
+ description = hash.key?('description') ? hash['description'] : SKIP
1629
+ identity_verification = IdentityVerification.from_hash(hash['identity_verification']) if
1630
+ hash['identity_verification']
1631
+ iias_ind = hash.key?('iias_ind') ? hash['iias_ind'] : SKIP
1632
+ image_front = hash.key?('image_front') ? hash['image_front'] : SKIP
1633
+ image_back = hash.key?('image_back') ? hash['image_back'] : SKIP
1634
+ installment = hash.key?('installment') ? hash['installment'] : SKIP
1635
+ installment_number =
1636
+ hash.key?('installment_number') ? hash['installment_number'] : SKIP
1637
+ installment_count =
1638
+ hash.key?('installment_count') ? hash['installment_count'] : SKIP
1639
+ recurring_flag =
1640
+ hash.key?('recurring_flag') ? hash['recurring_flag'] : SKIP
1641
+ installment_counter =
1642
+ hash.key?('installment_counter') ? hash['installment_counter'] : SKIP
1643
+ installment_total =
1644
+ hash.key?('installment_total') ? hash['installment_total'] : SKIP
1645
+ subscription = hash.key?('subscription') ? hash['subscription'] : SKIP
1646
+ standing_order =
1647
+ hash.key?('standing_order') ? hash['standing_order'] : SKIP
1648
+ location_api_id =
1649
+ hash.key?('location_api_id') ? hash['location_api_id'] : SKIP
1650
+ location_id = hash.key?('location_id') ? hash['location_id'] : SKIP
1651
+ product_transaction_id =
1652
+ hash.key?('product_transaction_id') ? hash['product_transaction_id'] : SKIP
1653
+ advance_deposit =
1654
+ hash.key?('advance_deposit') ? hash['advance_deposit'] : SKIP
1655
+ no_show = hash.key?('no_show') ? hash['no_show'] : SKIP
1656
+ notification_email_address =
1657
+ hash.key?('notification_email_address') ? hash['notification_email_address'] : SKIP
1658
+ order_number = hash.key?('order_number') ? hash['order_number'] : SKIP
1659
+ po_number = hash.key?('po_number') ? hash['po_number'] : SKIP
1660
+ quick_invoice_id =
1661
+ hash.key?('quick_invoice_id') ? hash['quick_invoice_id'] : SKIP
1662
+ recurring = hash.key?('recurring') ? hash['recurring'] : SKIP
1663
+ recurring_number =
1664
+ hash.key?('recurring_number') ? hash['recurring_number'] : SKIP
1665
+ room_num = hash.key?('room_num') ? hash['room_num'] : SKIP
1666
+ room_rate = hash.key?('room_rate') ? hash['room_rate'] : SKIP
1667
+ save_account = hash.key?('save_account') ? hash['save_account'] : SKIP
1668
+ save_account_title =
1669
+ hash.key?('save_account_title') ? hash['save_account_title'] : SKIP
1670
+ subtotal_amount =
1671
+ hash.key?('subtotal_amount') ? hash['subtotal_amount'] : SKIP
1672
+ surcharge_amount =
1673
+ hash.key?('surcharge_amount') ? hash['surcharge_amount'] : SKIP
1674
+ tags = hash.key?('tags') ? hash['tags'] : SKIP
1675
+ tax = hash.key?('tax') ? hash['tax'] : SKIP
1676
+ tip_amount = hash.key?('tip_amount') ? hash['tip_amount'] : SKIP
1677
+ transaction_amount =
1678
+ hash.key?('transaction_amount') ? hash['transaction_amount'] : SKIP
1679
+ secondary_amount =
1680
+ hash.key?('secondary_amount') ? hash['secondary_amount'] : SKIP
1681
+ transaction_api_id =
1682
+ hash.key?('transaction_api_id') ? hash['transaction_api_id'] : SKIP
1683
+ transaction_c1 =
1684
+ hash.key?('transaction_c1') ? hash['transaction_c1'] : SKIP
1685
+ transaction_c2 =
1686
+ hash.key?('transaction_c2') ? hash['transaction_c2'] : SKIP
1687
+ transaction_c3 =
1688
+ hash.key?('transaction_c3') ? hash['transaction_c3'] : SKIP
1689
+ bank_funded_only_override =
1690
+ hash.key?('bank_funded_only_override') ? hash['bank_funded_only_override'] : SKIP
1691
+ allow_partial_authorization_override =
1692
+ hash.key?('allow_partial_authorization_override') ? hash['allow_partial_authorization_override'] : SKIP
1693
+ auto_decline_cvv_override =
1694
+ hash.key?('auto_decline_cvv_override') ? hash['auto_decline_cvv_override'] : SKIP
1695
+ auto_decline_street_override =
1696
+ hash.key?('auto_decline_street_override') ? hash['auto_decline_street_override'] : SKIP
1697
+ auto_decline_zip_override =
1698
+ hash.key?('auto_decline_zip_override') ? hash['auto_decline_zip_override'] : SKIP
1699
+ ebt_type = hash.key?('ebt_type') ? hash['ebt_type'] : SKIP
1700
+ id = hash.key?('id') ? hash['id'] : SKIP
1701
+ created_ts = hash.key?('created_ts') ? hash['created_ts'] : SKIP
1702
+ modified_ts = hash.key?('modified_ts') ? hash['modified_ts'] : SKIP
1703
+ terminal_id = hash.key?('terminal_id') ? hash['terminal_id'] : SKIP
1704
+ account_holder_name =
1705
+ hash.key?('account_holder_name') ? hash['account_holder_name'] : SKIP
1706
+ account_type = hash.key?('account_type') ? hash['account_type'] : SKIP
1707
+ token_api_id = hash.key?('token_api_id') ? hash['token_api_id'] : SKIP
1708
+ token_id = hash.key?('token_id') ? hash['token_id'] : SKIP
1709
+ ach_identifier =
1710
+ hash.key?('ach_identifier') ? hash['ach_identifier'] : SKIP
1711
+ ach_sec_code = hash.key?('ach_sec_code') ? hash['ach_sec_code'] : SKIP
1712
+ auth_amount = hash.key?('auth_amount') ? hash['auth_amount'] : SKIP
1713
+ auth_code = hash.key?('auth_code') ? hash['auth_code'] : SKIP
1714
+ avs = hash.key?('avs') ? hash['avs'] : SKIP
1715
+ avs_enhanced = hash.key?('avs_enhanced') ? hash['avs_enhanced'] : SKIP
1716
+ cardholder_present =
1717
+ hash.key?('cardholder_present') ? hash['cardholder_present'] : SKIP
1718
+ card_present = hash.key?('card_present') ? hash['card_present'] : SKIP
1719
+ check_number = hash.key?('check_number') ? hash['check_number'] : SKIP
1720
+ customer_ip = hash.key?('customer_ip') ? hash['customer_ip'] : SKIP
1721
+ cvv_response = hash.key?('cvv_response') ? hash['cvv_response'] : SKIP
1722
+ entry_mode_id = hash.key?('entry_mode_id') ? hash['entry_mode_id'] : SKIP
1723
+ emv_receipt_data = EmvReceiptData.from_hash(hash['emv_receipt_data']) if
1724
+ hash['emv_receipt_data']
1725
+ first_six = hash.key?('first_six') ? hash['first_six'] : SKIP
1726
+ last_four = hash.key?('last_four') ? hash['last_four'] : SKIP
1727
+ payment_method =
1728
+ hash.key?('payment_method') ? hash['payment_method'] : SKIP
1729
+ terminal_serial_number =
1730
+ hash.key?('terminal_serial_number') ? hash['terminal_serial_number'] : SKIP
1731
+ transaction_settlement_status =
1732
+ hash.key?('transaction_settlement_status') ? hash['transaction_settlement_status'] : SKIP
1733
+ charge_back_date =
1734
+ hash.key?('charge_back_date') ? hash['charge_back_date'] : SKIP
1735
+ is_recurring = hash.key?('is_recurring') ? hash['is_recurring'] : SKIP
1736
+ notification_email_sent =
1737
+ hash.key?('notification_email_sent') ? hash['notification_email_sent'] : SKIP
1738
+ par = hash.key?('par') ? hash['par'] : SKIP
1739
+ reason_code_id =
1740
+ hash.key?('reason_code_id') ? hash['reason_code_id'] : SKIP
1741
+ recurring_id = hash.key?('recurring_id') ? hash['recurring_id'] : SKIP
1742
+ settle_date = hash.key?('settle_date') ? hash['settle_date'] : SKIP
1743
+ status_code = hash.key?('status_code') ? hash['status_code'] : SKIP
1744
+ transaction_batch_id =
1745
+ hash.key?('transaction_batch_id') ? hash['transaction_batch_id'] : SKIP
1746
+ type_id = hash.key?('type_id') ? hash['type_id'] : SKIP
1747
+ verbiage = hash.key?('verbiage') ? hash['verbiage'] : SKIP
1748
+ voucher_number =
1749
+ hash.key?('voucher_number') ? hash['voucher_number'] : SKIP
1750
+ void_date = hash.key?('void_date') ? hash['void_date'] : SKIP
1751
+ batch = hash.key?('batch') ? hash['batch'] : SKIP
1752
+ terms_agree = hash.key?('terms_agree') ? hash['terms_agree'] : SKIP
1753
+ response_message =
1754
+ hash.key?('response_message') ? hash['response_message'] : SKIP
1755
+ return_date = hash.key?('return_date') ? hash['return_date'] : SKIP
1756
+ trx_source_id = hash.key?('trx_source_id') ? hash['trx_source_id'] : SKIP
1757
+ routing_number =
1758
+ hash.key?('routing_number') ? hash['routing_number'] : SKIP
1759
+ trx_source_code =
1760
+ hash.key?('trx_source_code') ? hash['trx_source_code'] : SKIP
1761
+ paylink_id = hash.key?('paylink_id') ? hash['paylink_id'] : SKIP
1762
+ currency_code = hash['currency_code'] ||= 840
1763
+ is_accountvault =
1764
+ hash.key?('is_accountvault') ? hash['is_accountvault'] : SKIP
1765
+ created_user_id =
1766
+ hash.key?('created_user_id') ? hash['created_user_id'] : SKIP
1767
+ modified_user_id =
1768
+ hash.key?('modified_user_id') ? hash['modified_user_id'] : SKIP
1769
+ transaction_code =
1770
+ hash.key?('transaction_code') ? hash['transaction_code'] : SKIP
1771
+ effective_date =
1772
+ hash.key?('effective_date') ? hash['effective_date'] : SKIP
1773
+ notification_phone =
1774
+ hash.key?('notification_phone') ? hash['notification_phone'] : SKIP
1775
+ cavv_result = hash.key?('cavv_result') ? hash['cavv_result'] : SKIP
1776
+ is_token = hash.key?('is_token') ? hash['is_token'] : SKIP
1777
+ account_vault_id =
1778
+ hash.key?('account_vault_id') ? hash['account_vault_id'] : SKIP
1779
+ hosted_payment_page_id =
1780
+ hash.key?('hosted_payment_page_id') ? hash['hosted_payment_page_id'] : SKIP
1781
+ stan = hash.key?('stan') ? hash['stan'] : SKIP
1782
+ currency = hash.key?('currency') ? hash['currency'] : SKIP
1783
+ card_bin = hash.key?('card_bin') ? hash['card_bin'] : SKIP
1784
+ wallet_type = hash.key?('wallet_type') ? hash['wallet_type'] : SKIP
1785
+
1786
+ # Clean out expected properties from Hash.
1787
+ additional_properties = hash.reject { |k, _| names.value?(k) }
1788
+
1789
+ # Create object from extracted values.
1790
+ ReturnFeeTransaction.new(additional_amounts,
1791
+ billing_address,
1792
+ checkin_date,
1793
+ checkout_date,
1794
+ clerk_number,
1795
+ contact_api_id,
1796
+ contact_id,
1797
+ custom_data,
1798
+ customer_id,
1799
+ description,
1800
+ identity_verification,
1801
+ iias_ind,
1802
+ image_front,
1803
+ image_back,
1804
+ installment,
1805
+ installment_number,
1806
+ installment_count,
1807
+ recurring_flag,
1808
+ installment_counter,
1809
+ installment_total,
1810
+ subscription,
1811
+ standing_order,
1812
+ location_api_id,
1813
+ location_id,
1814
+ product_transaction_id,
1815
+ advance_deposit,
1816
+ no_show,
1817
+ notification_email_address,
1818
+ order_number,
1819
+ po_number,
1820
+ quick_invoice_id,
1821
+ recurring,
1822
+ recurring_number,
1823
+ room_num,
1824
+ room_rate,
1825
+ save_account,
1826
+ save_account_title,
1827
+ subtotal_amount,
1828
+ surcharge_amount,
1829
+ tags,
1830
+ tax,
1831
+ tip_amount,
1832
+ transaction_amount,
1833
+ secondary_amount,
1834
+ transaction_api_id,
1835
+ transaction_c1,
1836
+ transaction_c2,
1837
+ transaction_c3,
1838
+ bank_funded_only_override,
1839
+ allow_partial_authorization_override,
1840
+ auto_decline_cvv_override,
1841
+ auto_decline_street_override,
1842
+ auto_decline_zip_override,
1843
+ ebt_type,
1844
+ id,
1845
+ created_ts,
1846
+ modified_ts,
1847
+ terminal_id,
1848
+ account_holder_name,
1849
+ account_type,
1850
+ token_api_id,
1851
+ token_id,
1852
+ ach_identifier,
1853
+ ach_sec_code,
1854
+ auth_amount,
1855
+ auth_code,
1856
+ avs,
1857
+ avs_enhanced,
1858
+ cardholder_present,
1859
+ card_present,
1860
+ check_number,
1861
+ customer_ip,
1862
+ cvv_response,
1863
+ entry_mode_id,
1864
+ emv_receipt_data,
1865
+ first_six,
1866
+ last_four,
1867
+ payment_method,
1868
+ terminal_serial_number,
1869
+ transaction_settlement_status,
1870
+ charge_back_date,
1871
+ is_recurring,
1872
+ notification_email_sent,
1873
+ par,
1874
+ reason_code_id,
1875
+ recurring_id,
1876
+ settle_date,
1877
+ status_code,
1878
+ transaction_batch_id,
1879
+ type_id,
1880
+ verbiage,
1881
+ voucher_number,
1882
+ void_date,
1883
+ batch,
1884
+ terms_agree,
1885
+ response_message,
1886
+ return_date,
1887
+ trx_source_id,
1888
+ routing_number,
1889
+ trx_source_code,
1890
+ paylink_id,
1891
+ currency_code,
1892
+ is_accountvault,
1893
+ created_user_id,
1894
+ modified_user_id,
1895
+ transaction_code,
1896
+ effective_date,
1897
+ notification_phone,
1898
+ cavv_result,
1899
+ is_token,
1900
+ account_vault_id,
1901
+ hosted_payment_page_id,
1902
+ stan,
1903
+ currency,
1904
+ card_bin,
1905
+ wallet_type,
1906
+ additional_properties)
1907
+ end
1908
+
1909
+ # Provides a human-readable string representation of the object.
1910
+ def to_s
1911
+ class_name = self.class.name.split('::').last
1912
+ "<#{class_name} additional_amounts: #{@additional_amounts}, billing_address:"\
1913
+ " #{@billing_address}, checkin_date: #{@checkin_date}, checkout_date: #{@checkout_date},"\
1914
+ " clerk_number: #{@clerk_number}, contact_api_id: #{@contact_api_id}, contact_id:"\
1915
+ " #{@contact_id}, custom_data: #{@custom_data}, customer_id: #{@customer_id}, description:"\
1916
+ " #{@description}, identity_verification: #{@identity_verification}, iias_ind: #{@iias_ind},"\
1917
+ " image_front: #{@image_front}, image_back: #{@image_back}, installment: #{@installment},"\
1918
+ " installment_number: #{@installment_number}, installment_count: #{@installment_count},"\
1919
+ " recurring_flag: #{@recurring_flag}, installment_counter: #{@installment_counter},"\
1920
+ " installment_total: #{@installment_total}, subscription: #{@subscription}, standing_order:"\
1921
+ " #{@standing_order}, location_api_id: #{@location_api_id}, location_id: #{@location_id},"\
1922
+ " product_transaction_id: #{@product_transaction_id}, advance_deposit: #{@advance_deposit},"\
1923
+ " no_show: #{@no_show}, notification_email_address: #{@notification_email_address},"\
1924
+ " order_number: #{@order_number}, po_number: #{@po_number}, quick_invoice_id:"\
1925
+ " #{@quick_invoice_id}, recurring: #{@recurring}, recurring_number: #{@recurring_number},"\
1926
+ " room_num: #{@room_num}, room_rate: #{@room_rate}, save_account: #{@save_account},"\
1927
+ " save_account_title: #{@save_account_title}, subtotal_amount: #{@subtotal_amount},"\
1928
+ " surcharge_amount: #{@surcharge_amount}, tags: #{@tags}, tax: #{@tax}, tip_amount:"\
1929
+ " #{@tip_amount}, transaction_amount: #{@transaction_amount}, secondary_amount:"\
1930
+ " #{@secondary_amount}, transaction_api_id: #{@transaction_api_id}, transaction_c1:"\
1931
+ " #{@transaction_c1}, transaction_c2: #{@transaction_c2}, transaction_c3:"\
1932
+ " #{@transaction_c3}, bank_funded_only_override: #{@bank_funded_only_override},"\
1933
+ " allow_partial_authorization_override: #{@allow_partial_authorization_override},"\
1934
+ " auto_decline_cvv_override: #{@auto_decline_cvv_override}, auto_decline_street_override:"\
1935
+ " #{@auto_decline_street_override}, auto_decline_zip_override:"\
1936
+ " #{@auto_decline_zip_override}, ebt_type: #{@ebt_type}, id: #{@id}, created_ts:"\
1937
+ " #{@created_ts}, modified_ts: #{@modified_ts}, terminal_id: #{@terminal_id},"\
1938
+ " account_holder_name: #{@account_holder_name}, account_type: #{@account_type},"\
1939
+ " token_api_id: #{@token_api_id}, token_id: #{@token_id}, ach_identifier:"\
1940
+ " #{@ach_identifier}, ach_sec_code: #{@ach_sec_code}, auth_amount: #{@auth_amount},"\
1941
+ " auth_code: #{@auth_code}, avs: #{@avs}, avs_enhanced: #{@avs_enhanced},"\
1942
+ " cardholder_present: #{@cardholder_present}, card_present: #{@card_present}, check_number:"\
1943
+ " #{@check_number}, customer_ip: #{@customer_ip}, cvv_response: #{@cvv_response},"\
1944
+ " entry_mode_id: #{@entry_mode_id}, emv_receipt_data: #{@emv_receipt_data}, first_six:"\
1945
+ " #{@first_six}, last_four: #{@last_four}, payment_method: #{@payment_method},"\
1946
+ " terminal_serial_number: #{@terminal_serial_number}, transaction_settlement_status:"\
1947
+ " #{@transaction_settlement_status}, charge_back_date: #{@charge_back_date}, is_recurring:"\
1948
+ " #{@is_recurring}, notification_email_sent: #{@notification_email_sent}, par: #{@par},"\
1949
+ " reason_code_id: #{@reason_code_id}, recurring_id: #{@recurring_id}, settle_date:"\
1950
+ " #{@settle_date}, status_code: #{@status_code}, transaction_batch_id:"\
1951
+ " #{@transaction_batch_id}, type_id: #{@type_id}, verbiage: #{@verbiage}, voucher_number:"\
1952
+ " #{@voucher_number}, void_date: #{@void_date}, batch: #{@batch}, terms_agree:"\
1953
+ " #{@terms_agree}, response_message: #{@response_message}, return_date: #{@return_date},"\
1954
+ " trx_source_id: #{@trx_source_id}, routing_number: #{@routing_number}, trx_source_code:"\
1955
+ " #{@trx_source_code}, paylink_id: #{@paylink_id}, currency_code: #{@currency_code},"\
1956
+ " is_accountvault: #{@is_accountvault}, created_user_id: #{@created_user_id},"\
1957
+ " modified_user_id: #{@modified_user_id}, transaction_code: #{@transaction_code},"\
1958
+ " effective_date: #{@effective_date}, notification_phone: #{@notification_phone},"\
1959
+ " cavv_result: #{@cavv_result}, is_token: #{@is_token}, account_vault_id:"\
1960
+ " #{@account_vault_id}, hosted_payment_page_id: #{@hosted_payment_page_id}, stan: #{@stan},"\
1961
+ " currency: #{@currency}, card_bin: #{@card_bin}, wallet_type: #{@wallet_type},"\
1962
+ " additional_properties: #{get_additional_properties}>"
1963
+ end
1964
+
1965
+ # Provides a debugging-friendly string with detailed object information.
1966
+ def inspect
1967
+ class_name = self.class.name.split('::').last
1968
+ "<#{class_name} additional_amounts: #{@additional_amounts.inspect}, billing_address:"\
1969
+ " #{@billing_address.inspect}, checkin_date: #{@checkin_date.inspect}, checkout_date:"\
1970
+ " #{@checkout_date.inspect}, clerk_number: #{@clerk_number.inspect}, contact_api_id:"\
1971
+ " #{@contact_api_id.inspect}, contact_id: #{@contact_id.inspect}, custom_data:"\
1972
+ " #{@custom_data.inspect}, customer_id: #{@customer_id.inspect}, description:"\
1973
+ " #{@description.inspect}, identity_verification: #{@identity_verification.inspect},"\
1974
+ " iias_ind: #{@iias_ind.inspect}, image_front: #{@image_front.inspect}, image_back:"\
1975
+ " #{@image_back.inspect}, installment: #{@installment.inspect}, installment_number:"\
1976
+ " #{@installment_number.inspect}, installment_count: #{@installment_count.inspect},"\
1977
+ " recurring_flag: #{@recurring_flag.inspect}, installment_counter:"\
1978
+ " #{@installment_counter.inspect}, installment_total: #{@installment_total.inspect},"\
1979
+ " subscription: #{@subscription.inspect}, standing_order: #{@standing_order.inspect},"\
1980
+ " location_api_id: #{@location_api_id.inspect}, location_id: #{@location_id.inspect},"\
1981
+ " product_transaction_id: #{@product_transaction_id.inspect}, advance_deposit:"\
1982
+ " #{@advance_deposit.inspect}, no_show: #{@no_show.inspect}, notification_email_address:"\
1983
+ " #{@notification_email_address.inspect}, order_number: #{@order_number.inspect}, po_number:"\
1984
+ " #{@po_number.inspect}, quick_invoice_id: #{@quick_invoice_id.inspect}, recurring:"\
1985
+ " #{@recurring.inspect}, recurring_number: #{@recurring_number.inspect}, room_num:"\
1986
+ " #{@room_num.inspect}, room_rate: #{@room_rate.inspect}, save_account:"\
1987
+ " #{@save_account.inspect}, save_account_title: #{@save_account_title.inspect},"\
1988
+ " subtotal_amount: #{@subtotal_amount.inspect}, surcharge_amount:"\
1989
+ " #{@surcharge_amount.inspect}, tags: #{@tags.inspect}, tax: #{@tax.inspect}, tip_amount:"\
1990
+ " #{@tip_amount.inspect}, transaction_amount: #{@transaction_amount.inspect},"\
1991
+ " secondary_amount: #{@secondary_amount.inspect}, transaction_api_id:"\
1992
+ " #{@transaction_api_id.inspect}, transaction_c1: #{@transaction_c1.inspect},"\
1993
+ " transaction_c2: #{@transaction_c2.inspect}, transaction_c3: #{@transaction_c3.inspect},"\
1994
+ " bank_funded_only_override: #{@bank_funded_only_override.inspect},"\
1995
+ " allow_partial_authorization_override: #{@allow_partial_authorization_override.inspect},"\
1996
+ " auto_decline_cvv_override: #{@auto_decline_cvv_override.inspect},"\
1997
+ " auto_decline_street_override: #{@auto_decline_street_override.inspect},"\
1998
+ " auto_decline_zip_override: #{@auto_decline_zip_override.inspect}, ebt_type:"\
1999
+ " #{@ebt_type.inspect}, id: #{@id.inspect}, created_ts: #{@created_ts.inspect}, modified_ts:"\
2000
+ " #{@modified_ts.inspect}, terminal_id: #{@terminal_id.inspect}, account_holder_name:"\
2001
+ " #{@account_holder_name.inspect}, account_type: #{@account_type.inspect}, token_api_id:"\
2002
+ " #{@token_api_id.inspect}, token_id: #{@token_id.inspect}, ach_identifier:"\
2003
+ " #{@ach_identifier.inspect}, ach_sec_code: #{@ach_sec_code.inspect}, auth_amount:"\
2004
+ " #{@auth_amount.inspect}, auth_code: #{@auth_code.inspect}, avs: #{@avs.inspect},"\
2005
+ " avs_enhanced: #{@avs_enhanced.inspect}, cardholder_present:"\
2006
+ " #{@cardholder_present.inspect}, card_present: #{@card_present.inspect}, check_number:"\
2007
+ " #{@check_number.inspect}, customer_ip: #{@customer_ip.inspect}, cvv_response:"\
2008
+ " #{@cvv_response.inspect}, entry_mode_id: #{@entry_mode_id.inspect}, emv_receipt_data:"\
2009
+ " #{@emv_receipt_data.inspect}, first_six: #{@first_six.inspect}, last_four:"\
2010
+ " #{@last_four.inspect}, payment_method: #{@payment_method.inspect}, terminal_serial_number:"\
2011
+ " #{@terminal_serial_number.inspect}, transaction_settlement_status:"\
2012
+ " #{@transaction_settlement_status.inspect}, charge_back_date: #{@charge_back_date.inspect},"\
2013
+ " is_recurring: #{@is_recurring.inspect}, notification_email_sent:"\
2014
+ " #{@notification_email_sent.inspect}, par: #{@par.inspect}, reason_code_id:"\
2015
+ " #{@reason_code_id.inspect}, recurring_id: #{@recurring_id.inspect}, settle_date:"\
2016
+ " #{@settle_date.inspect}, status_code: #{@status_code.inspect}, transaction_batch_id:"\
2017
+ " #{@transaction_batch_id.inspect}, type_id: #{@type_id.inspect}, verbiage:"\
2018
+ " #{@verbiage.inspect}, voucher_number: #{@voucher_number.inspect}, void_date:"\
2019
+ " #{@void_date.inspect}, batch: #{@batch.inspect}, terms_agree: #{@terms_agree.inspect},"\
2020
+ " response_message: #{@response_message.inspect}, return_date: #{@return_date.inspect},"\
2021
+ " trx_source_id: #{@trx_source_id.inspect}, routing_number: #{@routing_number.inspect},"\
2022
+ " trx_source_code: #{@trx_source_code.inspect}, paylink_id: #{@paylink_id.inspect},"\
2023
+ " currency_code: #{@currency_code.inspect}, is_accountvault: #{@is_accountvault.inspect},"\
2024
+ " created_user_id: #{@created_user_id.inspect}, modified_user_id:"\
2025
+ " #{@modified_user_id.inspect}, transaction_code: #{@transaction_code.inspect},"\
2026
+ " effective_date: #{@effective_date.inspect}, notification_phone:"\
2027
+ " #{@notification_phone.inspect}, cavv_result: #{@cavv_result.inspect}, is_token:"\
2028
+ " #{@is_token.inspect}, account_vault_id: #{@account_vault_id.inspect},"\
2029
+ " hosted_payment_page_id: #{@hosted_payment_page_id.inspect}, stan: #{@stan.inspect},"\
2030
+ " currency: #{@currency.inspect}, card_bin: #{@card_bin.inspect}, wallet_type:"\
2031
+ " #{@wallet_type.inspect}, additional_properties: #{get_additional_properties}>"
2032
+ end
2033
+ end
2034
+ end