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