fortis-python-sdk 1.0.0__py3-none-any.whl

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 (699) hide show
  1. fortis_python_sdk-1.0.0.dist-info/METADATA +183 -0
  2. fortis_python_sdk-1.0.0.dist-info/RECORD +699 -0
  3. fortis_python_sdk-1.0.0.dist-info/WHEEL +5 -0
  4. fortis_python_sdk-1.0.0.dist-info/licenses/LICENSE +28 -0
  5. fortis_python_sdk-1.0.0.dist-info/top_level.txt +1 -0
  6. fortisapi/__init__.py +12 -0
  7. fortisapi/api_helper.py +19 -0
  8. fortisapi/configuration.py +294 -0
  9. fortisapi/controllers/__init__.py +40 -0
  10. fortisapi/controllers/apple_pay_validate_merchant_controller.py +84 -0
  11. fortisapi/controllers/async_processing_controller.py +78 -0
  12. fortisapi/controllers/base_controller.py +67 -0
  13. fortisapi/controllers/batches_controller.py +179 -0
  14. fortisapi/controllers/calculate_surcharge_controller.py +76 -0
  15. fortisapi/controllers/contacts_controller.py +398 -0
  16. fortisapi/controllers/declined_recurring_transactions_controller.py +326 -0
  17. fortisapi/controllers/device_terms_controller.py +242 -0
  18. fortisapi/controllers/elements_controller.py +129 -0
  19. fortisapi/controllers/enterprise_link_redirect_controller.py +81 -0
  20. fortisapi/controllers/full_boarding_controller.py +85 -0
  21. fortisapi/controllers/level_3_data_controller.py +219 -0
  22. fortisapi/controllers/locations_controller.py +478 -0
  23. fortisapi/controllers/m_3_ds_authentication_controller.py +90 -0
  24. fortisapi/controllers/m_3_ds_transactions_controller.py +84 -0
  25. fortisapi/controllers/merchant_deposits_controller.py +295 -0
  26. fortisapi/controllers/merchant_details_controller.py +82 -0
  27. fortisapi/controllers/on_boarding_controller.py +100 -0
  28. fortisapi/controllers/paylinks_controller.py +396 -0
  29. fortisapi/controllers/payment_card_reader_token_controller.py +76 -0
  30. fortisapi/controllers/quick_invoices_controller.py +531 -0
  31. fortisapi/controllers/recurring_controller.py +545 -0
  32. fortisapi/controllers/reports_controller.py +209 -0
  33. fortisapi/controllers/signatures_controller.py +249 -0
  34. fortisapi/controllers/tags_controller.py +328 -0
  35. fortisapi/controllers/terminals_controller.py +304 -0
  36. fortisapi/controllers/tickets_controller.py +249 -0
  37. fortisapi/controllers/tokens_controller.py +679 -0
  38. fortisapi/controllers/transaction_ach_retries_controller.py +250 -0
  39. fortisapi/controllers/transactions_ach_controller.py +398 -0
  40. fortisapi/controllers/transactions_cash_controller.py +123 -0
  41. fortisapi/controllers/transactions_credit_card_controller.py +1796 -0
  42. fortisapi/controllers/transactions_ebt_card_controller.py +147 -0
  43. fortisapi/controllers/transactions_read_controller.py +248 -0
  44. fortisapi/controllers/transactions_updates_controller.py +435 -0
  45. fortisapi/controllers/webhooks_controller.py +493 -0
  46. fortisapi/exceptions/__init__.py +8 -0
  47. fortisapi/exceptions/api_exception.py +36 -0
  48. fortisapi/exceptions/response_401_token_exception.py +77 -0
  49. fortisapi/exceptions/response_412_exception.py +109 -0
  50. fortisapi/exceptions/response_error_exception.py +109 -0
  51. fortisapi/fortisapi_client.py +360 -0
  52. fortisapi/http/__init__.py +11 -0
  53. fortisapi/http/auth/__init__.py +8 -0
  54. fortisapi/http/auth/access_token.py +100 -0
  55. fortisapi/http/auth/developer_id.py +100 -0
  56. fortisapi/http/auth/user_api_key.py +100 -0
  57. fortisapi/http/auth/user_id.py +100 -0
  58. fortisapi/http/http_call_back.py +20 -0
  59. fortisapi/http/http_client_provider.py +23 -0
  60. fortisapi/http/http_method_enum.py +25 -0
  61. fortisapi/http/http_request.py +55 -0
  62. fortisapi/http/http_response.py +45 -0
  63. fortisapi/http/proxy_settings.py +50 -0
  64. fortisapi/models/__init__.py +636 -0
  65. fortisapi/models/account_info.py +519 -0
  66. fortisapi/models/account_type_12_enum.py +47 -0
  67. fortisapi/models/account_type_13_enum.py +51 -0
  68. fortisapi/models/account_type_16_enum.py +51 -0
  69. fortisapi/models/account_type_enum.py +83 -0
  70. fortisapi/models/account_vault.py +1408 -0
  71. fortisapi/models/account_vault_cau_log.py +201 -0
  72. fortisapi/models/account_vault_cau_product_transaction.py +754 -0
  73. fortisapi/models/ach_product_transaction.py +3048 -0
  74. fortisapi/models/ach_sec_code_1_enum.py +59 -0
  75. fortisapi/models/ach_sec_code_31_enum.py +61 -0
  76. fortisapi/models/ach_sec_code_3_enum.py +59 -0
  77. fortisapi/models/ach_sec_code_enum.py +67 -0
  78. fortisapi/models/acs_challenge_mandated_enum.py +52 -0
  79. fortisapi/models/action_enum.py +70 -0
  80. fortisapi/models/active_recurring.py +975 -0
  81. fortisapi/models/additional_access.py +102 -0
  82. fortisapi/models/additional_amount.py +201 -0
  83. fortisapi/models/addon.py +222 -0
  84. fortisapi/models/addon_transaction_type_enum.py +57 -0
  85. fortisapi/models/address.py +205 -0
  86. fortisapi/models/address_1.py +228 -0
  87. fortisapi/models/address_2.py +204 -0
  88. fortisapi/models/address_71.py +186 -0
  89. fortisapi/models/address_match_enum.py +54 -0
  90. fortisapi/models/address_type_enum.py +50 -0
  91. fortisapi/models/all_tag.py +194 -0
  92. fortisapi/models/alt_bank_account.py +180 -0
  93. fortisapi/models/amount_ind_enum.py +121 -0
  94. fortisapi/models/app_delivery_enum.py +50 -0
  95. fortisapi/models/auth_currency_enum.py +168 -0
  96. fortisapi/models/avs_enum.py +56 -0
  97. fortisapi/models/balance.py +154 -0
  98. fortisapi/models/bank_account.py +156 -0
  99. fortisapi/models/bank_account_1.py +186 -0
  100. fortisapi/models/batch_risk_config.py +132 -0
  101. fortisapi/models/billing_address.py +233 -0
  102. fortisapi/models/billing_address_1.py +258 -0
  103. fortisapi/models/billing_address_24.py +263 -0
  104. fortisapi/models/billing_address_5.py +155 -0
  105. fortisapi/models/body.py +134 -0
  106. fortisapi/models/branding_domain.py +867 -0
  107. fortisapi/models/branding_domain_1.py +867 -0
  108. fortisapi/models/broad_info.py +241 -0
  109. fortisapi/models/browser_information.py +401 -0
  110. fortisapi/models/business_category_enum.py +77 -0
  111. fortisapi/models/business_type_enum.py +365 -0
  112. fortisapi/models/cardholder.py +324 -0
  113. fortisapi/models/cardholder_account.py +211 -0
  114. fortisapi/models/category_enum.py +133 -0
  115. fortisapi/models/cau_subscribe_type_code_enum.py +50 -0
  116. fortisapi/models/cau_subscribe_type_id_enum.py +50 -0
  117. fortisapi/models/cau_summary_status_id_enum.py +53 -0
  118. fortisapi/models/cc_product_transaction.py +3048 -0
  119. fortisapi/models/ch_acc_age_ind_enum.py +66 -0
  120. fortisapi/models/ch_acc_change_ind_enum.py +63 -0
  121. fortisapi/models/ch_acc_pw_change_ind_enum.py +67 -0
  122. fortisapi/models/challenge_message_extension.py +177 -0
  123. fortisapi/models/challenge_window_size_enum.py +73 -0
  124. fortisapi/models/changelog.py +280 -0
  125. fortisapi/models/changelog_detail.py +178 -0
  126. fortisapi/models/children.py +822 -0
  127. fortisapi/models/communication_type_enum.py +50 -0
  128. fortisapi/models/conditions.py +125 -0
  129. fortisapi/models/conditions_18.py +146 -0
  130. fortisapi/models/conditions_181.py +146 -0
  131. fortisapi/models/conditions_191.py +146 -0
  132. fortisapi/models/conditions_27.py +125 -0
  133. fortisapi/models/conditions_4.py +146 -0
  134. fortisapi/models/conditions_41.py +146 -0
  135. fortisapi/models/conditions_42.py +146 -0
  136. fortisapi/models/conditions_43.py +146 -0
  137. fortisapi/models/contact.py +179 -0
  138. fortisapi/models/contact_1.py +822 -0
  139. fortisapi/models/contact_9.py +169 -0
  140. fortisapi/models/contact_user_default_entry_page_enum.py +59 -0
  141. fortisapi/models/context.py +125 -0
  142. fortisapi/models/country_enum.py +47 -0
  143. fortisapi/models/created_user.py +1197 -0
  144. fortisapi/models/currency_code_enum.py +186 -0
  145. fortisapi/models/currency_type.py +131 -0
  146. fortisapi/models/data.py +225 -0
  147. fortisapi/models/data_1.py +105 -0
  148. fortisapi/models/data_10.py +1283 -0
  149. fortisapi/models/data_11.py +948 -0
  150. fortisapi/models/data_12.py +369 -0
  151. fortisapi/models/data_13.py +263 -0
  152. fortisapi/models/data_14.py +552 -0
  153. fortisapi/models/data_15.py +102 -0
  154. fortisapi/models/data_16.py +930 -0
  155. fortisapi/models/data_17.py +920 -0
  156. fortisapi/models/data_18.py +102 -0
  157. fortisapi/models/data_19.py +631 -0
  158. fortisapi/models/data_2.py +1134 -0
  159. fortisapi/models/data_20.py +1657 -0
  160. fortisapi/models/data_21.py +223 -0
  161. fortisapi/models/data_22.py +1341 -0
  162. fortisapi/models/data_23.py +245 -0
  163. fortisapi/models/data_24.py +219 -0
  164. fortisapi/models/data_25.py +1456 -0
  165. fortisapi/models/data_26.py +376 -0
  166. fortisapi/models/data_27.py +1681 -0
  167. fortisapi/models/data_28.py +380 -0
  168. fortisapi/models/data_29.py +4233 -0
  169. fortisapi/models/data_3.py +296 -0
  170. fortisapi/models/data_30.py +421 -0
  171. fortisapi/models/data_31.py +150 -0
  172. fortisapi/models/data_34.py +103 -0
  173. fortisapi/models/data_35.py +259 -0
  174. fortisapi/models/data_36.py +537 -0
  175. fortisapi/models/data_4.py +482 -0
  176. fortisapi/models/data_5.py +171 -0
  177. fortisapi/models/data_6.py +469 -0
  178. fortisapi/models/data_7.py +230 -0
  179. fortisapi/models/data_8.py +616 -0
  180. fortisapi/models/data_9.py +129 -0
  181. fortisapi/models/debit_credit_enum.py +48 -0
  182. fortisapi/models/declined_recurring_notification.py +251 -0
  183. fortisapi/models/default_transaction_type_enum.py +50 -0
  184. fortisapi/models/delivery_method_enum.py +61 -0
  185. fortisapi/models/delivery_timeframe_enum.py +61 -0
  186. fortisapi/models/deposit_type_enum.py +50 -0
  187. fortisapi/models/detail.py +173 -0
  188. fortisapi/models/detail_1.py +323 -0
  189. fortisapi/models/detail_2.py +273 -0
  190. fortisapi/models/developer_company.py +270 -0
  191. fortisapi/models/device.py +123 -0
  192. fortisapi/models/device_binding_status_enum.py +373 -0
  193. fortisapi/models/device_channel_enum.py +51 -0
  194. fortisapi/models/document.py +115 -0
  195. fortisapi/models/e_format_enum.py +62 -0
  196. fortisapi/models/ebt_plan_enum.py +50 -0
  197. fortisapi/models/ebt_type_enum.py +61 -0
  198. fortisapi/models/email_blacklist.py +178 -0
  199. fortisapi/models/email_enum.py +47 -0
  200. fortisapi/models/emv_receipt_data.py +244 -0
  201. fortisapi/models/entry_mode_id_enum.py +73 -0
  202. fortisapi/models/expand_108_enum.py +48 -0
  203. fortisapi/models/expand_10_enum.py +42 -0
  204. fortisapi/models/expand_11_enum.py +99 -0
  205. fortisapi/models/expand_15_enum.py +42 -0
  206. fortisapi/models/expand_17_enum.py +96 -0
  207. fortisapi/models/expand_18_enum.py +84 -0
  208. fortisapi/models/expand_1_enum.py +75 -0
  209. fortisapi/models/expand_26_enum.py +87 -0
  210. fortisapi/models/expand_34_enum.py +42 -0
  211. fortisapi/models/expand_37_enum.py +42 -0
  212. fortisapi/models/expand_40_enum.py +63 -0
  213. fortisapi/models/expand_44_enum.py +48 -0
  214. fortisapi/models/expand_47_enum.py +69 -0
  215. fortisapi/models/expand_57_enum.py +54 -0
  216. fortisapi/models/expand_5_enum.py +48 -0
  217. fortisapi/models/expand_60_enum.py +171 -0
  218. fortisapi/models/expand_8_enum.py +57 -0
  219. fortisapi/models/expand_enum.py +51 -0
  220. fortisapi/models/field.py +125 -0
  221. fortisapi/models/field_20.py +267 -0
  222. fortisapi/models/field_27_enum.py +129 -0
  223. fortisapi/models/field_28_enum.py +168 -0
  224. fortisapi/models/field_30_enum.py +75 -0
  225. fortisapi/models/field_31_enum.py +87 -0
  226. fortisapi/models/field_33_enum.py +183 -0
  227. fortisapi/models/field_34_enum.py +195 -0
  228. fortisapi/models/field_35_enum.py +180 -0
  229. fortisapi/models/field_36_enum.py +192 -0
  230. fortisapi/models/field_37_enum.py +102 -0
  231. fortisapi/models/field_39_enum.py +186 -0
  232. fortisapi/models/field_41_enum.py +237 -0
  233. fortisapi/models/field_43_enum.py +198 -0
  234. fortisapi/models/field_45_enum.py +78 -0
  235. fortisapi/models/field_46_enum.py +126 -0
  236. fortisapi/models/field_47_enum.py +60 -0
  237. fortisapi/models/field_49_enum.py +57 -0
  238. fortisapi/models/field_51_enum.py +210 -0
  239. fortisapi/models/field_53_enum.py +84 -0
  240. fortisapi/models/field_55_enum.py +231 -0
  241. fortisapi/models/field_57_enum.py +75 -0
  242. fortisapi/models/field_59_enum.py +510 -0
  243. fortisapi/models/field_configuration.py +202 -0
  244. fortisapi/models/file.py +412 -0
  245. fortisapi/models/file_2.py +125 -0
  246. fortisapi/models/file_5.py +130 -0
  247. fortisapi/models/filter_by.py +171 -0
  248. fortisapi/models/footer.py +134 -0
  249. fortisapi/models/forecast.py +250 -0
  250. fortisapi/models/format_1_enum.py +47 -0
  251. fortisapi/models/format_enum.py +47 -0
  252. fortisapi/models/header.py +134 -0
  253. fortisapi/models/helppage.py +270 -0
  254. fortisapi/models/home_phone.py +130 -0
  255. fortisapi/models/hosted_payment_page.py +558 -0
  256. fortisapi/models/identity_verification.py +183 -0
  257. fortisapi/models/identity_verification_2.py +183 -0
  258. fortisapi/models/identity_verification_27.py +165 -0
  259. fortisapi/models/idtype_enum.py +47 -0
  260. fortisapi/models/iias_ind_enum.py +64 -0
  261. fortisapi/models/industry_type_enum.py +59 -0
  262. fortisapi/models/initiation_type_enum.py +92 -0
  263. fortisapi/models/interval_type_enum.py +50 -0
  264. fortisapi/models/item_list.py +125 -0
  265. fortisapi/models/item_list_4.py +99 -0
  266. fortisapi/models/item_list_5.py +130 -0
  267. fortisapi/models/joi.py +104 -0
  268. fortisapi/models/joi_18.py +111 -0
  269. fortisapi/models/joi_19.py +111 -0
  270. fortisapi/models/joi_27.py +104 -0
  271. fortisapi/models/joi_4.py +110 -0
  272. fortisapi/models/kyc_response_object.py +101 -0
  273. fortisapi/models/level_3_data.py +481 -0
  274. fortisapi/models/level_3_data_5.py +324 -0
  275. fortisapi/models/level_3_data_6.py +469 -0
  276. fortisapi/models/level_3_default.py +481 -0
  277. fortisapi/models/line_item.py +450 -0
  278. fortisapi/models/line_item_13.py +449 -0
  279. fortisapi/models/line_item_19.py +360 -0
  280. fortisapi/models/line_item_20.py +273 -0
  281. fortisapi/models/links.py +196 -0
  282. fortisapi/models/list.py +650 -0
  283. fortisapi/models/list_1.py +1134 -0
  284. fortisapi/models/list_10.py +1657 -0
  285. fortisapi/models/list_11.py +1341 -0
  286. fortisapi/models/list_12.py +336 -0
  287. fortisapi/models/list_13.py +731 -0
  288. fortisapi/models/list_14.py +245 -0
  289. fortisapi/models/list_15.py +219 -0
  290. fortisapi/models/list_16.py +1456 -0
  291. fortisapi/models/list_17.py +376 -0
  292. fortisapi/models/list_18.py +1681 -0
  293. fortisapi/models/list_19.py +380 -0
  294. fortisapi/models/list_20.py +4233 -0
  295. fortisapi/models/list_3.py +296 -0
  296. fortisapi/models/list_4.py +469 -0
  297. fortisapi/models/list_5.py +948 -0
  298. fortisapi/models/list_6.py +1283 -0
  299. fortisapi/models/list_8.py +552 -0
  300. fortisapi/models/list_9.py +920 -0
  301. fortisapi/models/location.py +756 -0
  302. fortisapi/models/location_18.py +217 -0
  303. fortisapi/models/location_5.py +227 -0
  304. fortisapi/models/location_billing_account.py +509 -0
  305. fortisapi/models/location_type_26_enum.py +51 -0
  306. fortisapi/models/location_type_enum.py +50 -0
  307. fortisapi/models/locationmarketplace.py +247 -0
  308. fortisapi/models/log_email.py +364 -0
  309. fortisapi/models/log_sms.py +315 -0
  310. fortisapi/models/marketplace.py +247 -0
  311. fortisapi/models/masync.py +128 -0
  312. fortisapi/models/merchant_list.py +193 -0
  313. fortisapi/models/merchant_risk_indicator.py +341 -0
  314. fortisapi/models/message_category_enum.py +119 -0
  315. fortisapi/models/message_extension.py +177 -0
  316. fortisapi/models/meta.py +107 -0
  317. fortisapi/models/method_3.py +147 -0
  318. fortisapi/models/method_50.py +145 -0
  319. fortisapi/models/method_53_enum.py +56 -0
  320. fortisapi/models/method_5_enum.py +56 -0
  321. fortisapi/models/method_enum.py +56 -0
  322. fortisapi/models/mobile_phone.py +130 -0
  323. fortisapi/models/modified_user.py +1197 -0
  324. fortisapi/models/multi_transaction.py +147 -0
  325. fortisapi/models/operator_1_enum.py +59 -0
  326. fortisapi/models/operator_enum.py +47 -0
  327. fortisapi/models/order_21.py +99 -0
  328. fortisapi/models/order_enum.py +47 -0
  329. fortisapi/models/owner.py +322 -0
  330. fortisapi/models/ownership_type_enum.py +71 -0
  331. fortisapi/models/page.py +132 -0
  332. fortisapi/models/pagination.py +196 -0
  333. fortisapi/models/parent.py +822 -0
  334. fortisapi/models/parent_3.py +756 -0
  335. fortisapi/models/partner_enum.py +71 -0
  336. fortisapi/models/paylink_action_enum.py +47 -0
  337. fortisapi/models/payment_acc_ind_enum.py +67 -0
  338. fortisapi/models/payment_method_16_enum.py +47 -0
  339. fortisapi/models/payment_method_1_enum.py +47 -0
  340. fortisapi/models/payment_method_9_enum.py +50 -0
  341. fortisapi/models/payment_method_enum.py +50 -0
  342. fortisapi/models/payment_recurring_notification.py +251 -0
  343. fortisapi/models/payment_type_priority_enum.py +47 -0
  344. fortisapi/models/postback_log.py +295 -0
  345. fortisapi/models/postback_status_id_enum.py +53 -0
  346. fortisapi/models/pre_order_purchase_ind_enum.py +52 -0
  347. fortisapi/models/preferred_language_enum.py +51 -0
  348. fortisapi/models/preferred_protocol_version_enum.py +65 -0
  349. fortisapi/models/pricing_element.py +147 -0
  350. fortisapi/models/primary_principal.py +396 -0
  351. fortisapi/models/primary_principal_1.py +376 -0
  352. fortisapi/models/process_method_enum.py +47 -0
  353. fortisapi/models/processor_enum.py +59 -0
  354. fortisapi/models/product_accountvault.py +317 -0
  355. fortisapi/models/product_file.py +416 -0
  356. fortisapi/models/product_file_1.py +414 -0
  357. fortisapi/models/product_invoice.py +651 -0
  358. fortisapi/models/product_recurring.py +387 -0
  359. fortisapi/models/product_token.py +317 -0
  360. fortisapi/models/product_transaction.py +3048 -0
  361. fortisapi/models/product_transaction_1.py +3046 -0
  362. fortisapi/models/purchase.py +501 -0
  363. fortisapi/models/quick_invoice.py +1256 -0
  364. fortisapi/models/quick_invoice_setting.py +299 -0
  365. fortisapi/models/quick_invoice_view.py +176 -0
  366. fortisapi/models/reason_code.py +131 -0
  367. fortisapi/models/reason_code_id_1_enum.py +935 -0
  368. fortisapi/models/reason_code_id_enum.py +578 -0
  369. fortisapi/models/reason_model_enum.py +74 -0
  370. fortisapi/models/received_email.py +364 -0
  371. fortisapi/models/recipients_enum.py +62 -0
  372. fortisapi/models/recurring.py +975 -0
  373. fortisapi/models/recurring_3.py +977 -0
  374. fortisapi/models/recurring_flag_enum.py +64 -0
  375. fortisapi/models/recurring_split.py +200 -0
  376. fortisapi/models/recurring_type_id_enum.py +47 -0
  377. fortisapi/models/registration_field_enum.py +87 -0
  378. fortisapi/models/rejected_transaction.py +3198 -0
  379. fortisapi/models/rejected_transaction_ach_retry.py +244 -0
  380. fortisapi/models/relationship_enum.py +50 -0
  381. fortisapi/models/reorder_items_ind_enum.py +51 -0
  382. fortisapi/models/report_export_type_enum.py +53 -0
  383. fortisapi/models/resource_12_enum.py +52 -0
  384. fortisapi/models/resource_2_enum.py +50 -0
  385. fortisapi/models/resource_enum.py +55 -0
  386. fortisapi/models/response_416_date_range.py +148 -0
  387. fortisapi/models/response_417_filter_channels.py +148 -0
  388. fortisapi/models/response_apple_pay_validate_merchant.py +126 -0
  389. fortisapi/models/response_async_status.py +126 -0
  390. fortisapi/models/response_batchs_collection.py +228 -0
  391. fortisapi/models/response_calculate_surcharge.py +126 -0
  392. fortisapi/models/response_contact.py +126 -0
  393. fortisapi/models/response_contact_searchs_collection.py +228 -0
  394. fortisapi/models/response_contacts_collection.py +228 -0
  395. fortisapi/models/response_declined_recurring_transaction.py +126 -0
  396. fortisapi/models/response_declined_recurring_transaction_payment.py +126 -0
  397. fortisapi/models/response_declined_recurring_transaction_resend.py +126 -0
  398. fortisapi/models/response_declined_recurring_transactions_collection.py +228 -0
  399. fortisapi/models/response_device_term.py +126 -0
  400. fortisapi/models/response_device_terms_collection.py +228 -0
  401. fortisapi/models/response_fullboarding.py +126 -0
  402. fortisapi/models/response_location.py +126 -0
  403. fortisapi/models/response_location_info.py +126 -0
  404. fortisapi/models/response_location_infos_collection.py +228 -0
  405. fortisapi/models/response_location_searchs_collection.py +228 -0
  406. fortisapi/models/response_locations_collection.py +228 -0
  407. fortisapi/models/response_merchant.py +126 -0
  408. fortisapi/models/response_merchant_deposit.py +126 -0
  409. fortisapi/models/response_merchant_deposits_collection.py +228 -0
  410. fortisapi/models/response_merchant_details.py +126 -0
  411. fortisapi/models/response_onboarding.py +126 -0
  412. fortisapi/models/response_paylink.py +126 -0
  413. fortisapi/models/response_paylinks_collection.py +228 -0
  414. fortisapi/models/response_payment_card_reader_token.py +126 -0
  415. fortisapi/models/response_quick_invoice.py +126 -0
  416. fortisapi/models/response_quick_invoice_resend.py +126 -0
  417. fortisapi/models/response_quick_invoices_collection.py +228 -0
  418. fortisapi/models/response_recurring.py +126 -0
  419. fortisapi/models/response_recurrings_collection.py +228 -0
  420. fortisapi/models/response_reporting_reports_cc_settled_transactions_collection.py +231 -0
  421. fortisapi/models/response_reporting_reports_chargebacks_collection.py +228 -0
  422. fortisapi/models/response_signature.py +126 -0
  423. fortisapi/models/response_signatures_collection.py +228 -0
  424. fortisapi/models/response_tag.py +126 -0
  425. fortisapi/models/response_tags_collection.py +228 -0
  426. fortisapi/models/response_terminal.py +126 -0
  427. fortisapi/models/response_terminals_collection.py +228 -0
  428. fortisapi/models/response_three_ds_authentication.py +126 -0
  429. fortisapi/models/response_three_ds_transaction.py +126 -0
  430. fortisapi/models/response_ticket.py +126 -0
  431. fortisapi/models/response_ticket_intention.py +126 -0
  432. fortisapi/models/response_tickets_collection.py +228 -0
  433. fortisapi/models/response_token.py +126 -0
  434. fortisapi/models/response_tokens_collection.py +228 -0
  435. fortisapi/models/response_transaction.py +126 -0
  436. fortisapi/models/response_transaction_ach_retry.py +126 -0
  437. fortisapi/models/response_transaction_ach_retrys_collection.py +228 -0
  438. fortisapi/models/response_transaction_bin_info.py +126 -0
  439. fortisapi/models/response_transaction_intention.py +126 -0
  440. fortisapi/models/response_transaction_level_3.py +126 -0
  441. fortisapi/models/response_transaction_level_3_master.py +126 -0
  442. fortisapi/models/response_transaction_level_3_visa.py +126 -0
  443. fortisapi/models/response_transaction_processing.py +126 -0
  444. fortisapi/models/response_transactions_collection.py +228 -0
  445. fortisapi/models/response_webhook.py +126 -0
  446. fortisapi/models/result.py +152 -0
  447. fortisapi/models/retry_transaction.py +3198 -0
  448. fortisapi/models/retry_transaction_ach_retry.py +246 -0
  449. fortisapi/models/return_fee_transaction.py +3198 -0
  450. fortisapi/models/return_fee_transaction_ach_retry.py +246 -0
  451. fortisapi/models/saved_account.py +1408 -0
  452. fortisapi/models/scheme_id_enum.py +54 -0
  453. fortisapi/models/sec_code_enum.py +51 -0
  454. fortisapi/models/settings.py +148 -0
  455. fortisapi/models/settled_currency_enum.py +168 -0
  456. fortisapi/models/severity_enum.py +62 -0
  457. fortisapi/models/ship_address_usage_ind_enum.py +62 -0
  458. fortisapi/models/ship_indicator_enum.py +101 -0
  459. fortisapi/models/ship_name_indicator_enum.py +52 -0
  460. fortisapi/models/shipping_address.py +264 -0
  461. fortisapi/models/signature.py +220 -0
  462. fortisapi/models/sms_blacklist.py +178 -0
  463. fortisapi/models/sms_enum.py +47 -0
  464. fortisapi/models/sort.py +132 -0
  465. fortisapi/models/source_enum.py +56 -0
  466. fortisapi/models/stack_enum.py +47 -0
  467. fortisapi/models/status_11.py +131 -0
  468. fortisapi/models/status_3_enum.py +47 -0
  469. fortisapi/models/status_5.py +102 -0
  470. fortisapi/models/status_code_12_enum.py +47 -0
  471. fortisapi/models/status_code_17_enum.py +102 -0
  472. fortisapi/models/status_code_enum.py +50 -0
  473. fortisapi/models/status_enum.py +50 -0
  474. fortisapi/models/status_id_enum.py +47 -0
  475. fortisapi/models/surcharge.py +574 -0
  476. fortisapi/models/surcharge_transaction.py +367 -0
  477. fortisapi/models/suspicious_acc_activity_enum.py +52 -0
  478. fortisapi/models/tag.py +194 -0
  479. fortisapi/models/tag_transaction.py +319 -0
  480. fortisapi/models/tax_exempt_enum.py +61 -0
  481. fortisapi/models/tax_surcharge_config_enum.py +47 -0
  482. fortisapi/models/terminal.py +1245 -0
  483. fortisapi/models/terminal_2.py +1243 -0
  484. fortisapi/models/terminal_application.py +411 -0
  485. fortisapi/models/terminal_cvm.py +293 -0
  486. fortisapi/models/terminal_manufacturer.py +249 -0
  487. fortisapi/models/terminal_manufacturer_code_enum.py +55 -0
  488. fortisapi/models/terminal_router.py +245 -0
  489. fortisapi/models/terminal_timeouts.py +304 -0
  490. fortisapi/models/terminal_timeouts_12.py +314 -0
  491. fortisapi/models/three_ds_req_auth_method_enum.py +154 -0
  492. fortisapi/models/three_ds_req_prior_auth_method_enum.py +123 -0
  493. fortisapi/models/three_ds_requestor.py +345 -0
  494. fortisapi/models/three_ds_requestor_authentication_ind_enum.py +141 -0
  495. fortisapi/models/three_ds_requestor_authentication_info.py +179 -0
  496. fortisapi/models/three_ds_requestor_challenge_ind_enum.py +126 -0
  497. fortisapi/models/three_ds_requestor_dec_req_ind_enum.py +72 -0
  498. fortisapi/models/three_ds_requestor_prior_authentication_info.py +188 -0
  499. fortisapi/models/three_ds_requestor_spc_support_enum.py +49 -0
  500. fortisapi/models/three_ri_ind_enum.py +180 -0
  501. fortisapi/models/tip_percents.py +160 -0
  502. fortisapi/models/trans_char_enum.py +45 -0
  503. fortisapi/models/transaction.py +3196 -0
  504. fortisapi/models/transaction_batch.py +537 -0
  505. fortisapi/models/transaction_batch_settlement.py +202 -0
  506. fortisapi/models/transaction_history.py +246 -0
  507. fortisapi/models/transaction_level_3.py +152 -0
  508. fortisapi/models/transaction_reference.py +298 -0
  509. fortisapi/models/transaction_split.py +221 -0
  510. fortisapi/models/transaction_status_enum.py +88 -0
  511. fortisapi/models/transaction_type_enum.py +68 -0
  512. fortisapi/models/trx_source_code_enum.py +155 -0
  513. fortisapi/models/trx_source_id_enum.py +155 -0
  514. fortisapi/models/type_103_enum.py +44 -0
  515. fortisapi/models/type_105_enum.py +44 -0
  516. fortisapi/models/type_10_enum.py +44 -0
  517. fortisapi/models/type_110_enum.py +44 -0
  518. fortisapi/models/type_114_enum.py +44 -0
  519. fortisapi/models/type_11_enum.py +44 -0
  520. fortisapi/models/type_121_enum.py +44 -0
  521. fortisapi/models/type_123.py +131 -0
  522. fortisapi/models/type_124_enum.py +44 -0
  523. fortisapi/models/type_125_enum.py +44 -0
  524. fortisapi/models/type_126_enum.py +44 -0
  525. fortisapi/models/type_127_enum.py +44 -0
  526. fortisapi/models/type_128_enum.py +44 -0
  527. fortisapi/models/type_134_enum.py +44 -0
  528. fortisapi/models/type_135_enum.py +44 -0
  529. fortisapi/models/type_136_enum.py +44 -0
  530. fortisapi/models/type_15_enum.py +44 -0
  531. fortisapi/models/type_16_enum.py +44 -0
  532. fortisapi/models/type_1_enum.py +44 -0
  533. fortisapi/models/type_20_enum.py +44 -0
  534. fortisapi/models/type_21_enum.py +44 -0
  535. fortisapi/models/type_22_enum.py +44 -0
  536. fortisapi/models/type_23_enum.py +44 -0
  537. fortisapi/models/type_27_enum.py +44 -0
  538. fortisapi/models/type_28_enum.py +44 -0
  539. fortisapi/models/type_29_enum.py +64 -0
  540. fortisapi/models/type_2_enum.py +44 -0
  541. fortisapi/models/type_30_enum.py +44 -0
  542. fortisapi/models/type_31_enum.py +44 -0
  543. fortisapi/models/type_35_enum.py +44 -0
  544. fortisapi/models/type_39_enum.py +44 -0
  545. fortisapi/models/type_3_enum.py +44 -0
  546. fortisapi/models/type_43_enum.py +44 -0
  547. fortisapi/models/type_44_enum.py +44 -0
  548. fortisapi/models/type_45_enum.py +44 -0
  549. fortisapi/models/type_46_enum.py +44 -0
  550. fortisapi/models/type_47_enum.py +44 -0
  551. fortisapi/models/type_48_enum.py +44 -0
  552. fortisapi/models/type_4_enum.py +44 -0
  553. fortisapi/models/type_52_enum.py +44 -0
  554. fortisapi/models/type_53_enum.py +44 -0
  555. fortisapi/models/type_54_enum.py +44 -0
  556. fortisapi/models/type_55_enum.py +44 -0
  557. fortisapi/models/type_59_enum.py +44 -0
  558. fortisapi/models/type_5_enum.py +44 -0
  559. fortisapi/models/type_60_enum.py +44 -0
  560. fortisapi/models/type_61_enum.py +45 -0
  561. fortisapi/models/type_62_enum.py +44 -0
  562. fortisapi/models/type_63_enum.py +91 -0
  563. fortisapi/models/type_64_enum.py +44 -0
  564. fortisapi/models/type_65_enum.py +44 -0
  565. fortisapi/models/type_6_enum.py +44 -0
  566. fortisapi/models/type_70_enum.py +44 -0
  567. fortisapi/models/type_71_enum.py +44 -0
  568. fortisapi/models/type_75_enum.py +44 -0
  569. fortisapi/models/type_79_enum.py +44 -0
  570. fortisapi/models/type_83_enum.py +44 -0
  571. fortisapi/models/type_84_enum.py +44 -0
  572. fortisapi/models/type_88_enum.py +44 -0
  573. fortisapi/models/type_89_enum.py +44 -0
  574. fortisapi/models/type_93_enum.py +44 -0
  575. fortisapi/models/type_94_enum.py +44 -0
  576. fortisapi/models/type_98_enum.py +44 -0
  577. fortisapi/models/type_99_enum.py +44 -0
  578. fortisapi/models/type_enum.py +44 -0
  579. fortisapi/models/type_id_enum.py +59 -0
  580. fortisapi/models/ui_prefs.py +204 -0
  581. fortisapi/models/update_if_exists_enum.py +44 -0
  582. fortisapi/models/user.py +180 -0
  583. fortisapi/models/user_1.py +1197 -0
  584. fortisapi/models/user_9.py +1195 -0
  585. fortisapi/models/user_type_code_enum.py +74 -0
  586. fortisapi/models/v_1_contacts_request.py +685 -0
  587. fortisapi/models/v_1_contacts_request_1.py +707 -0
  588. fortisapi/models/v_1_declined_recurring_transaction_payments_request.py +354 -0
  589. fortisapi/models/v_1_device_terms_request.py +161 -0
  590. fortisapi/models/v_1_elements_ticket_intention_request.py +195 -0
  591. fortisapi/models/v_1_elements_transaction_intention_request.py +591 -0
  592. fortisapi/models/v_1_fullboarding_request.py +827 -0
  593. fortisapi/models/v_1_merchant_threedsecure_authentication_request.py +696 -0
  594. fortisapi/models/v_1_onboarding_request.py +833 -0
  595. fortisapi/models/v_1_paylinks_request.py +723 -0
  596. fortisapi/models/v_1_paylinks_request_1.py +735 -0
  597. fortisapi/models/v_1_public_calculate_surcharge_request.py +527 -0
  598. fortisapi/models/v_1_quick_invoices_request.py +1035 -0
  599. fortisapi/models/v_1_quick_invoices_request_1.py +1070 -0
  600. fortisapi/models/v_1_quick_invoices_transaction_request.py +86 -0
  601. fortisapi/models/v_1_recurrings_defer_payment_request.py +86 -0
  602. fortisapi/models/v_1_recurrings_request.py +742 -0
  603. fortisapi/models/v_1_recurrings_request_1.py +750 -0
  604. fortisapi/models/v_1_recurrings_skip_payment_request.py +86 -0
  605. fortisapi/models/v_1_signatures_request.py +113 -0
  606. fortisapi/models/v_1_tags_request.py +99 -0
  607. fortisapi/models/v_1_tags_request_1.py +130 -0
  608. fortisapi/models/v_1_terminals_request.py +1005 -0
  609. fortisapi/models/v_1_terminals_request_1.py +1112 -0
  610. fortisapi/models/v_1_tickets_request.py +286 -0
  611. fortisapi/models/v_1_tokens_ach_request.py +945 -0
  612. fortisapi/models/v_1_tokens_ach_request_1.py +907 -0
  613. fortisapi/models/v_1_tokens_cc_request.py +1071 -0
  614. fortisapi/models/v_1_tokens_cc_request_1.py +905 -0
  615. fortisapi/models/v_1_tokens_previous_transaction_request.py +858 -0
  616. fortisapi/models/v_1_tokens_terminal_async_request.py +889 -0
  617. fortisapi/models/v_1_tokens_terminal_request.py +889 -0
  618. fortisapi/models/v_1_tokens_ticket_request.py +882 -0
  619. fortisapi/models/v_1_tokens_wallet_request.py +919 -0
  620. fortisapi/models/v_1_transaction_ach_retries_request.py +119 -0
  621. fortisapi/models/v_1_transactions_ach_credit_keyed_request.py +1600 -0
  622. fortisapi/models/v_1_transactions_ach_credit_prev_trxn_request.py +1616 -0
  623. fortisapi/models/v_1_transactions_ach_credit_token_request.py +1660 -0
  624. fortisapi/models/v_1_transactions_ach_debit_keyed_request.py +1600 -0
  625. fortisapi/models/v_1_transactions_ach_debit_prev_trxn_request.py +1616 -0
  626. fortisapi/models/v_1_transactions_ach_debit_token_request.py +1660 -0
  627. fortisapi/models/v_1_transactions_ach_refund_prev_trxn_request.py +1616 -0
  628. fortisapi/models/v_1_transactions_auth_complete_request.py +1519 -0
  629. fortisapi/models/v_1_transactions_auth_increment_request.py +1533 -0
  630. fortisapi/models/v_1_transactions_cash_refund_request.py +1515 -0
  631. fortisapi/models/v_1_transactions_cash_sale_request.py +1489 -0
  632. fortisapi/models/v_1_transactions_cc_auth_only_keyed_request.py +2164 -0
  633. fortisapi/models/v_1_transactions_cc_auth_only_prev_trxn_request.py +2124 -0
  634. fortisapi/models/v_1_transactions_cc_auth_only_taptopay_request.py +1843 -0
  635. fortisapi/models/v_1_transactions_cc_auth_only_terminal_request.py +2082 -0
  636. fortisapi/models/v_1_transactions_cc_auth_only_ticket_request.py +2050 -0
  637. fortisapi/models/v_1_transactions_cc_auth_only_token_request.py +2129 -0
  638. fortisapi/models/v_1_transactions_cc_auth_only_wallet_request.py +2062 -0
  639. fortisapi/models/v_1_transactions_cc_avs_only_keyed_request.py +2175 -0
  640. fortisapi/models/v_1_transactions_cc_avs_only_prev_trxn_request.py +2124 -0
  641. fortisapi/models/v_1_transactions_cc_avs_only_swiped_request.py +2086 -0
  642. fortisapi/models/v_1_transactions_cc_avs_only_terminal_request.py +2093 -0
  643. fortisapi/models/v_1_transactions_cc_avs_only_ticket_request.py +2061 -0
  644. fortisapi/models/v_1_transactions_cc_avs_only_token_request.py +2140 -0
  645. fortisapi/models/v_1_transactions_cc_avs_only_wallet_request.py +2073 -0
  646. fortisapi/models/v_1_transactions_cc_balance_inquiry_keyed_request.py +2176 -0
  647. fortisapi/models/v_1_transactions_cc_balance_inquiry_prev_trxn_request.py +2125 -0
  648. fortisapi/models/v_1_transactions_cc_balance_inquiry_swiped_request.py +2087 -0
  649. fortisapi/models/v_1_transactions_cc_balance_inquiry_terminal_request.py +2094 -0
  650. fortisapi/models/v_1_transactions_cc_balance_inquiry_ticket_request.py +2062 -0
  651. fortisapi/models/v_1_transactions_cc_balance_inquiry_token_request.py +2141 -0
  652. fortisapi/models/v_1_transactions_cc_balance_inquiry_wallet_request.py +2074 -0
  653. fortisapi/models/v_1_transactions_cc_refund_keyed_request.py +2218 -0
  654. fortisapi/models/v_1_transactions_cc_refund_prev_trxn_request.py +2124 -0
  655. fortisapi/models/v_1_transactions_cc_refund_taptopay_request.py +1869 -0
  656. fortisapi/models/v_1_transactions_cc_refund_terminal_request.py +2082 -0
  657. fortisapi/models/v_1_transactions_cc_refund_ticket_request.py +2050 -0
  658. fortisapi/models/v_1_transactions_cc_refund_token_request.py +2129 -0
  659. fortisapi/models/v_1_transactions_cc_refund_wallet_request.py +2062 -0
  660. fortisapi/models/v_1_transactions_cc_sale_keyed_request.py +2164 -0
  661. fortisapi/models/v_1_transactions_cc_sale_prev_trxn_request.py +2124 -0
  662. fortisapi/models/v_1_transactions_cc_sale_taptopay_request.py +1843 -0
  663. fortisapi/models/v_1_transactions_cc_sale_terminal_request.py +2082 -0
  664. fortisapi/models/v_1_transactions_cc_sale_ticket_request.py +2050 -0
  665. fortisapi/models/v_1_transactions_cc_sale_token_request.py +2129 -0
  666. fortisapi/models/v_1_transactions_cc_sale_wallet_request.py +2062 -0
  667. fortisapi/models/v_1_transactions_ebt_voucher_clear_refund_keyed_request.py +2190 -0
  668. fortisapi/models/v_1_transactions_ebt_voucher_clear_sale_keyed_request.py +2190 -0
  669. fortisapi/models/v_1_transactions_level_3_master_card_request.py +91 -0
  670. fortisapi/models/v_1_transactions_level_3_visa_request.py +91 -0
  671. fortisapi/models/v_1_transactions_partial_reversal_request.py +1462 -0
  672. fortisapi/models/v_1_transactions_refund_request.py +1448 -0
  673. fortisapi/models/v_1_transactions_tip_adjust_request.py +1973 -0
  674. fortisapi/models/v_1_transactions_void_request.py +130 -0
  675. fortisapi/models/v_1_wallet_provider_apple_pay_validate_merchant_request.py +127 -0
  676. fortisapi/models/v_1_wallet_provider_merchant_details_request.py +87 -0
  677. fortisapi/models/v_1_webhooks_apm_onboarding_request.py +421 -0
  678. fortisapi/models/v_1_webhooks_apm_onboarding_request_1.py +494 -0
  679. fortisapi/models/v_1_webhooks_batch_request.py +410 -0
  680. fortisapi/models/v_1_webhooks_batch_request_1.py +494 -0
  681. fortisapi/models/v_1_webhooks_contact_request.py +421 -0
  682. fortisapi/models/v_1_webhooks_contact_request_1.py +494 -0
  683. fortisapi/models/v_1_webhooks_transaction_request.py +410 -0
  684. fortisapi/models/v_1_webhooks_transaction_request_1.py +494 -0
  685. fortisapi/models/values_4_enum.py +59 -0
  686. fortisapi/models/values_50_enum.py +59 -0
  687. fortisapi/models/values_51_enum.py +62 -0
  688. fortisapi/models/values_58_enum.py +59 -0
  689. fortisapi/models/values_5_enum.py +59 -0
  690. fortisapi/models/values_6_enum.py +59 -0
  691. fortisapi/models/values_7_enum.py +59 -0
  692. fortisapi/models/values_99_enum.py +45 -0
  693. fortisapi/models/values_enum.py +51 -0
  694. fortisapi/models/wallet_provider_enum.py +47 -0
  695. fortisapi/models/wallet_type_enum.py +86 -0
  696. fortisapi/models/work_phone.py +130 -0
  697. fortisapi/utilities/__init__.py +6 -0
  698. fortisapi/utilities/file_wrapper.py +45 -0
  699. fortisapi/utilities/union_type_lookup.py +436 -0
@@ -0,0 +1,578 @@
1
+ """fortisapi.
2
+
3
+ This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).
4
+ """
5
+
6
+ # ruff: noqa: E501
7
+
8
+ class ReasonCodeIdEnum(object):
9
+ """Implementation of the 'ReasonCodeId' enum.
10
+
11
+ Reason Code Id
12
+
13
+ Attributes:
14
+ ENUM_0: The enum member of type int.
15
+ ENUM_1000: The enum member of type int.
16
+ ENUM_1001: The enum member of type int.
17
+ ENUM_1002: The enum member of type int.
18
+ ENUM_1003: The enum member of type int.
19
+ ENUM_1004: The enum member of type int.
20
+ ENUM_1005: The enum member of type int.
21
+ ENUM_1200: The enum member of type int.
22
+ ENUM_1201: The enum member of type int.
23
+ ENUM_1240: The enum member of type int.
24
+ ENUM_1301: The enum member of type int.
25
+ ENUM_1302: The enum member of type int.
26
+ ENUM_1303: The enum member of type int.
27
+ ENUM_1304: The enum member of type int.
28
+ ENUM_1305: The enum member of type int.
29
+ ENUM_1306: The enum member of type int.
30
+ ENUM_1307: The enum member of type int.
31
+ ENUM_1308: The enum member of type int.
32
+ ENUM_1309: The enum member of type int.
33
+ ENUM_1310: The enum member of type int.
34
+ ENUM_1311: The enum member of type int.
35
+ ENUM_1312: The enum member of type int.
36
+ ENUM_1313: The enum member of type int.
37
+ ENUM_1314: The enum member of type int.
38
+ ENUM_1315: The enum member of type int.
39
+ ENUM_1316: The enum member of type int.
40
+ ENUM_1317: The enum member of type int.
41
+ ENUM_1318: The enum member of type int.
42
+ ENUM_1319: The enum member of type int.
43
+ ENUM_1320: The enum member of type int.
44
+ ENUM_1321: The enum member of type int.
45
+ ENUM_1322: The enum member of type int.
46
+ ENUM_1323: The enum member of type int.
47
+ ENUM_1324: The enum member of type int.
48
+ ENUM_1325: The enum member of type int.
49
+ ENUM_1326: The enum member of type int.
50
+ ENUM_1327: The enum member of type int.
51
+ ENUM_1328: The enum member of type int.
52
+ ENUM_1329: The enum member of type int.
53
+ ENUM_1330: The enum member of type int.
54
+ ENUM_1331: The enum member of type int.
55
+ ENUM_1332: The enum member of type int.
56
+ ENUM_1333: The enum member of type int.
57
+ ENUM_1334: The enum member of type int.
58
+ ENUM_1335: The enum member of type int.
59
+ ENUM_1336: The enum member of type int.
60
+ ENUM_1337: The enum member of type int.
61
+ ENUM_1338: The enum member of type int.
62
+ ENUM_1339: The enum member of type int.
63
+ ENUM_1340: The enum member of type int.
64
+ ENUM_1341: The enum member of type int.
65
+ ENUM_1342: The enum member of type int.
66
+ ENUM_1343: The enum member of type int.
67
+ ENUM_1344: The enum member of type int.
68
+ ENUM_1345: The enum member of type int.
69
+ ENUM_1346: The enum member of type int.
70
+ ENUM_1347: The enum member of type int.
71
+ ENUM_1348: The enum member of type int.
72
+ ENUM_1349: The enum member of type int.
73
+ ENUM_1350: The enum member of type int.
74
+ ENUM_1351: The enum member of type int.
75
+ ENUM_1352: The enum member of type int.
76
+ ENUM_1353: The enum member of type int.
77
+ ENUM_1354: The enum member of type int.
78
+ ENUM_1355: The enum member of type int.
79
+ ENUM_1356: The enum member of type int.
80
+ ENUM_1357: The enum member of type int.
81
+ ENUM_1358: The enum member of type int.
82
+ ENUM_1359: The enum member of type int.
83
+ ENUM_1360: The enum member of type int.
84
+ ENUM_1361: The enum member of type int.
85
+ ENUM_1362: The enum member of type int.
86
+ ENUM_1363: The enum member of type int.
87
+ ENUM_1364: The enum member of type int.
88
+ ENUM_1365: The enum member of type int.
89
+ ENUM_1366: The enum member of type int.
90
+ ENUM_1367: The enum member of type int.
91
+ ENUM_1368: The enum member of type int.
92
+ ENUM_1369: The enum member of type int.
93
+ ENUM_1370: The enum member of type int.
94
+ ENUM_1371: The enum member of type int.
95
+ ENUM_1372: The enum member of type int.
96
+ ENUM_1373: The enum member of type int.
97
+ ENUM_1374: The enum member of type int.
98
+ ENUM_1375: The enum member of type int.
99
+ ENUM_1376: The enum member of type int.
100
+ ENUM_1377: The enum member of type int.
101
+ ENUM_1378: The enum member of type int.
102
+ ENUM_1379: The enum member of type int.
103
+ ENUM_1380: The enum member of type int.
104
+ ENUM_1381: The enum member of type int.
105
+ ENUM_1382: The enum member of type int.
106
+ ENUM_1383: The enum member of type int.
107
+ ENUM_1384: The enum member of type int.
108
+ ENUM_1385: The enum member of type int.
109
+ ENUM_1386: The enum member of type int.
110
+ ENUM_1387: The enum member of type int.
111
+ ENUM_1388: The enum member of type int.
112
+ ENUM_1389: The enum member of type int.
113
+ ENUM_1390: The enum member of type int.
114
+ ENUM_1391: The enum member of type int.
115
+ ENUM_1392: The enum member of type int.
116
+ ENUM_1393: The enum member of type int.
117
+ ENUM_1394: The enum member of type int.
118
+ ENUM_1395: The enum member of type int.
119
+ ENUM_1396: The enum member of type int.
120
+ ENUM_1397: The enum member of type int.
121
+ ENUM_1398: The enum member of type int.
122
+ ENUM_1399: The enum member of type int.
123
+ ENUM_1500: The enum member of type int.
124
+ ENUM_1510: The enum member of type int.
125
+ ENUM_1518: The enum member of type int.
126
+ ENUM_1520: The enum member of type int.
127
+ ENUM_1530: The enum member of type int.
128
+ ENUM_1531: The enum member of type int.
129
+ ENUM_1540: The enum member of type int.
130
+ ENUM_1541: The enum member of type int.
131
+ ENUM_1588: The enum member of type int.
132
+ ENUM_1599: The enum member of type int.
133
+ ENUM_1601: The enum member of type int.
134
+ ENUM_1602: The enum member of type int.
135
+ ENUM_1603: The enum member of type int.
136
+ ENUM_1604: The enum member of type int.
137
+ ENUM_1605: The enum member of type int.
138
+ ENUM_1606: The enum member of type int.
139
+ ENUM_1607: The enum member of type int.
140
+ ENUM_1608: The enum member of type int.
141
+ ENUM_1609: The enum member of type int.
142
+ ENUM_1610: The enum member of type int.
143
+ ENUM_1611: The enum member of type int.
144
+ ENUM_1612: The enum member of type int.
145
+ ENUM_1613: The enum member of type int.
146
+ ENUM_1614: The enum member of type int.
147
+ ENUM_1615: The enum member of type int.
148
+ ENUM_1616: The enum member of type int.
149
+ ENUM_1617: The enum member of type int.
150
+ ENUM_1618: The enum member of type int.
151
+ ENUM_1619: The enum member of type int.
152
+ ENUM_1620: The enum member of type int.
153
+ ENUM_1621: The enum member of type int.
154
+ ENUM_1622: The enum member of type int.
155
+ ENUM_1623: The enum member of type int.
156
+ ENUM_1624: The enum member of type int.
157
+ ENUM_1625: The enum member of type int.
158
+ ENUM_1626: The enum member of type int.
159
+ ENUM_1627: The enum member of type int.
160
+ ENUM_1628: The enum member of type int.
161
+ ENUM_1629: The enum member of type int.
162
+ ENUM_1630: The enum member of type int.
163
+ ENUM_1631: The enum member of type int.
164
+ ENUM_1632: The enum member of type int.
165
+ ENUM_1640: The enum member of type int.
166
+ ENUM_1641: The enum member of type int.
167
+ ENUM_1650: The enum member of type int.
168
+ ENUM_1651: The enum member of type int.
169
+ ENUM_1652: The enum member of type int.
170
+ ENUM_1653: The enum member of type int.
171
+ ENUM_1654: The enum member of type int.
172
+ ENUM_1655: The enum member of type int.
173
+ ENUM_1656: The enum member of type int.
174
+ ENUM_1657: The enum member of type int.
175
+ ENUM_1658: The enum member of type int.
176
+ ENUM_1659: The enum member of type int.
177
+ ENUM_1660: The enum member of type int.
178
+ ENUM_1661: The enum member of type int.
179
+ ENUM_1662: The enum member of type int.
180
+ ENUM_1663: The enum member of type int.
181
+ ENUM_1664: The enum member of type int.
182
+ ENUM_1665: The enum member of type int.
183
+ ENUM_1666: The enum member of type int.
184
+ ENUM_1667: The enum member of type int.
185
+ ENUM_1668: The enum member of type int.
186
+ ENUM_1701: The enum member of type int.
187
+ ENUM_1800: The enum member of type int.
188
+ ENUM_1801: The enum member of type int.
189
+ ENUM_1802: The enum member of type int.
190
+ ENUM_1803: The enum member of type int.
191
+ ENUM_1804: The enum member of type int.
192
+ ENUM_1805: The enum member of type int.
193
+ additional_properties (Dict[str, object]): The additional properties for the
194
+ model.
195
+
196
+ """
197
+
198
+ ENUM_0 = 0
199
+
200
+ ENUM_1000 = 1000
201
+
202
+ ENUM_1001 = 1001
203
+
204
+ ENUM_1002 = 1002
205
+
206
+ ENUM_1003 = 1003
207
+
208
+ ENUM_1004 = 1004
209
+
210
+ ENUM_1005 = 1005
211
+
212
+ ENUM_1200 = 1200
213
+
214
+ ENUM_1201 = 1201
215
+
216
+ ENUM_1240 = 1240
217
+
218
+ ENUM_1301 = 1301
219
+
220
+ ENUM_1302 = 1302
221
+
222
+ ENUM_1303 = 1303
223
+
224
+ ENUM_1304 = 1304
225
+
226
+ ENUM_1305 = 1305
227
+
228
+ ENUM_1306 = 1306
229
+
230
+ ENUM_1307 = 1307
231
+
232
+ ENUM_1308 = 1308
233
+
234
+ ENUM_1309 = 1309
235
+
236
+ ENUM_1310 = 1310
237
+
238
+ ENUM_1311 = 1311
239
+
240
+ ENUM_1312 = 1312
241
+
242
+ ENUM_1313 = 1313
243
+
244
+ ENUM_1314 = 1314
245
+
246
+ ENUM_1315 = 1315
247
+
248
+ ENUM_1316 = 1316
249
+
250
+ ENUM_1317 = 1317
251
+
252
+ ENUM_1318 = 1318
253
+
254
+ ENUM_1319 = 1319
255
+
256
+ ENUM_1320 = 1320
257
+
258
+ ENUM_1321 = 1321
259
+
260
+ ENUM_1322 = 1322
261
+
262
+ ENUM_1323 = 1323
263
+
264
+ ENUM_1324 = 1324
265
+
266
+ ENUM_1325 = 1325
267
+
268
+ ENUM_1326 = 1326
269
+
270
+ ENUM_1327 = 1327
271
+
272
+ ENUM_1328 = 1328
273
+
274
+ ENUM_1329 = 1329
275
+
276
+ ENUM_1330 = 1330
277
+
278
+ ENUM_1331 = 1331
279
+
280
+ ENUM_1332 = 1332
281
+
282
+ ENUM_1333 = 1333
283
+
284
+ ENUM_1334 = 1334
285
+
286
+ ENUM_1335 = 1335
287
+
288
+ ENUM_1336 = 1336
289
+
290
+ ENUM_1337 = 1337
291
+
292
+ ENUM_1338 = 1338
293
+
294
+ ENUM_1339 = 1339
295
+
296
+ ENUM_1340 = 1340
297
+
298
+ ENUM_1341 = 1341
299
+
300
+ ENUM_1342 = 1342
301
+
302
+ ENUM_1343 = 1343
303
+
304
+ ENUM_1344 = 1344
305
+
306
+ ENUM_1345 = 1345
307
+
308
+ ENUM_1346 = 1346
309
+
310
+ ENUM_1347 = 1347
311
+
312
+ ENUM_1348 = 1348
313
+
314
+ ENUM_1349 = 1349
315
+
316
+ ENUM_1350 = 1350
317
+
318
+ ENUM_1351 = 1351
319
+
320
+ ENUM_1352 = 1352
321
+
322
+ ENUM_1353 = 1353
323
+
324
+ ENUM_1354 = 1354
325
+
326
+ ENUM_1355 = 1355
327
+
328
+ ENUM_1356 = 1356
329
+
330
+ ENUM_1357 = 1357
331
+
332
+ ENUM_1358 = 1358
333
+
334
+ ENUM_1359 = 1359
335
+
336
+ ENUM_1360 = 1360
337
+
338
+ ENUM_1361 = 1361
339
+
340
+ ENUM_1362 = 1362
341
+
342
+ ENUM_1363 = 1363
343
+
344
+ ENUM_1364 = 1364
345
+
346
+ ENUM_1365 = 1365
347
+
348
+ ENUM_1366 = 1366
349
+
350
+ ENUM_1367 = 1367
351
+
352
+ ENUM_1368 = 1368
353
+
354
+ ENUM_1369 = 1369
355
+
356
+ ENUM_1370 = 1370
357
+
358
+ ENUM_1371 = 1371
359
+
360
+ ENUM_1372 = 1372
361
+
362
+ ENUM_1373 = 1373
363
+
364
+ ENUM_1374 = 1374
365
+
366
+ ENUM_1375 = 1375
367
+
368
+ ENUM_1376 = 1376
369
+
370
+ ENUM_1377 = 1377
371
+
372
+ ENUM_1378 = 1378
373
+
374
+ ENUM_1379 = 1379
375
+
376
+ ENUM_1380 = 1380
377
+
378
+ ENUM_1381 = 1381
379
+
380
+ ENUM_1382 = 1382
381
+
382
+ ENUM_1383 = 1383
383
+
384
+ ENUM_1384 = 1384
385
+
386
+ ENUM_1385 = 1385
387
+
388
+ ENUM_1386 = 1386
389
+
390
+ ENUM_1387 = 1387
391
+
392
+ ENUM_1388 = 1388
393
+
394
+ ENUM_1389 = 1389
395
+
396
+ ENUM_1390 = 1390
397
+
398
+ ENUM_1391 = 1391
399
+
400
+ ENUM_1392 = 1392
401
+
402
+ ENUM_1393 = 1393
403
+
404
+ ENUM_1394 = 1394
405
+
406
+ ENUM_1395 = 1395
407
+
408
+ ENUM_1396 = 1396
409
+
410
+ ENUM_1397 = 1397
411
+
412
+ ENUM_1398 = 1398
413
+
414
+ ENUM_1399 = 1399
415
+
416
+ ENUM_1500 = 1500
417
+
418
+ ENUM_1510 = 1510
419
+
420
+ ENUM_1518 = 1518
421
+
422
+ ENUM_1520 = 1520
423
+
424
+ ENUM_1530 = 1530
425
+
426
+ ENUM_1531 = 1531
427
+
428
+ ENUM_1540 = 1540
429
+
430
+ ENUM_1541 = 1541
431
+
432
+ ENUM_1588 = 1588
433
+
434
+ ENUM_1599 = 1599
435
+
436
+ ENUM_1601 = 1601
437
+
438
+ ENUM_1602 = 1602
439
+
440
+ ENUM_1603 = 1603
441
+
442
+ ENUM_1604 = 1604
443
+
444
+ ENUM_1605 = 1605
445
+
446
+ ENUM_1606 = 1606
447
+
448
+ ENUM_1607 = 1607
449
+
450
+ ENUM_1608 = 1608
451
+
452
+ ENUM_1609 = 1609
453
+
454
+ ENUM_1610 = 1610
455
+
456
+ ENUM_1611 = 1611
457
+
458
+ ENUM_1612 = 1612
459
+
460
+ ENUM_1613 = 1613
461
+
462
+ ENUM_1614 = 1614
463
+
464
+ ENUM_1615 = 1615
465
+
466
+ ENUM_1616 = 1616
467
+
468
+ ENUM_1617 = 1617
469
+
470
+ ENUM_1618 = 1618
471
+
472
+ ENUM_1619 = 1619
473
+
474
+ ENUM_1620 = 1620
475
+
476
+ ENUM_1621 = 1621
477
+
478
+ ENUM_1622 = 1622
479
+
480
+ ENUM_1623 = 1623
481
+
482
+ ENUM_1624 = 1624
483
+
484
+ ENUM_1625 = 1625
485
+
486
+ ENUM_1626 = 1626
487
+
488
+ ENUM_1627 = 1627
489
+
490
+ ENUM_1628 = 1628
491
+
492
+ ENUM_1629 = 1629
493
+
494
+ ENUM_1630 = 1630
495
+
496
+ ENUM_1631 = 1631
497
+
498
+ ENUM_1632 = 1632
499
+
500
+ ENUM_1640 = 1640
501
+
502
+ ENUM_1641 = 1641
503
+
504
+ ENUM_1650 = 1650
505
+
506
+ ENUM_1651 = 1651
507
+
508
+ ENUM_1652 = 1652
509
+
510
+ ENUM_1653 = 1653
511
+
512
+ ENUM_1654 = 1654
513
+
514
+ ENUM_1655 = 1655
515
+
516
+ ENUM_1656 = 1656
517
+
518
+ ENUM_1657 = 1657
519
+
520
+ ENUM_1658 = 1658
521
+
522
+ ENUM_1659 = 1659
523
+
524
+ ENUM_1660 = 1660
525
+
526
+ ENUM_1661 = 1661
527
+
528
+ ENUM_1662 = 1662
529
+
530
+ ENUM_1663 = 1663
531
+
532
+ ENUM_1664 = 1664
533
+
534
+ ENUM_1665 = 1665
535
+
536
+ ENUM_1666 = 1666
537
+
538
+ ENUM_1667 = 1667
539
+
540
+ ENUM_1668 = 1668
541
+
542
+ ENUM_1701 = 1701
543
+
544
+ ENUM_1800 = 1800
545
+
546
+ ENUM_1801 = 1801
547
+
548
+ ENUM_1802 = 1802
549
+
550
+ ENUM_1803 = 1803
551
+
552
+ ENUM_1804 = 1804
553
+
554
+ ENUM_1805 = 1805
555
+
556
+ @classmethod
557
+ def from_value(cls, value, default=None):
558
+ """Return the matching enum value for the given input."""
559
+ if value is None:
560
+ return default
561
+
562
+ # If numeric and matches directly
563
+ if isinstance(value, int):
564
+ for name, val in cls.__dict__.items():
565
+ if not name.startswith("_") and val == value:
566
+ return val
567
+
568
+ # If string, perform case-insensitive match
569
+ if isinstance(value, str):
570
+ value_lower = value.lower()
571
+ for name, val in cls.__dict__.items():
572
+ if not name.startswith("_") and (
573
+ name.lower() == value_lower or str(val).lower() == value_lower
574
+ ):
575
+ return val
576
+
577
+ # Fallback to default
578
+ return default
@@ -0,0 +1,74 @@
1
+ """fortisapi.
2
+
3
+ This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).
4
+ """
5
+
6
+ # ruff: noqa: E501
7
+
8
+ class ReasonModelEnum(object):
9
+ """Implementation of the 'ReasonModel' enum.
10
+
11
+ Reason Model
12
+
13
+ Attributes:
14
+ CONTACT: The enum member of type str.
15
+ TRANSACTION: The enum member of type str.
16
+ RECURRING: The enum member of type str.
17
+ USER: The enum member of type str.
18
+ PRODUCTTRANSACTION: The enum member of type str.
19
+ TRANSACTIONBATCH: The enum member of type str.
20
+ QUICKINVOICE: The enum member of type str.
21
+ DATAEXPORT: The enum member of type str.
22
+ USERREPORTSCHEDULE: The enum member of type str.
23
+ USERREPORT: The enum member of type str.
24
+ PAYLINK: The enum member of type str.
25
+ additional_properties (Dict[str, object]): The additional properties for the
26
+ model.
27
+
28
+ """
29
+
30
+ CONTACT = "Contact"
31
+
32
+ TRANSACTION = "Transaction"
33
+
34
+ RECURRING = "Recurring"
35
+
36
+ USER = "User"
37
+
38
+ PRODUCTTRANSACTION = "ProductTransaction"
39
+
40
+ TRANSACTIONBATCH = "TransactionBatch"
41
+
42
+ QUICKINVOICE = "QuickInvoice"
43
+
44
+ DATAEXPORT = "DataExport"
45
+
46
+ USERREPORTSCHEDULE = "UserReportSchedule"
47
+
48
+ USERREPORT = "UserReport"
49
+
50
+ PAYLINK = "Paylink"
51
+
52
+ @classmethod
53
+ def from_value(cls, value, default=None):
54
+ """Return the matching enum value for the given input."""
55
+ if value is None:
56
+ return default
57
+
58
+ # If numeric and matches directly
59
+ if isinstance(value, int):
60
+ for name, val in cls.__dict__.items():
61
+ if not name.startswith("_") and val == value:
62
+ return val
63
+
64
+ # If string, perform case-insensitive match
65
+ if isinstance(value, str):
66
+ value_lower = value.lower()
67
+ for name, val in cls.__dict__.items():
68
+ if not name.startswith("_") and (
69
+ name.lower() == value_lower or str(val).lower() == value_lower
70
+ ):
71
+ return val
72
+
73
+ # Fallback to default
74
+ return default