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.
- fortis_python_sdk-1.0.0.dist-info/METADATA +183 -0
- fortis_python_sdk-1.0.0.dist-info/RECORD +699 -0
- fortis_python_sdk-1.0.0.dist-info/WHEEL +5 -0
- fortis_python_sdk-1.0.0.dist-info/licenses/LICENSE +28 -0
- fortis_python_sdk-1.0.0.dist-info/top_level.txt +1 -0
- fortisapi/__init__.py +12 -0
- fortisapi/api_helper.py +19 -0
- fortisapi/configuration.py +294 -0
- fortisapi/controllers/__init__.py +40 -0
- fortisapi/controllers/apple_pay_validate_merchant_controller.py +84 -0
- fortisapi/controllers/async_processing_controller.py +78 -0
- fortisapi/controllers/base_controller.py +67 -0
- fortisapi/controllers/batches_controller.py +179 -0
- fortisapi/controllers/calculate_surcharge_controller.py +76 -0
- fortisapi/controllers/contacts_controller.py +398 -0
- fortisapi/controllers/declined_recurring_transactions_controller.py +326 -0
- fortisapi/controllers/device_terms_controller.py +242 -0
- fortisapi/controllers/elements_controller.py +129 -0
- fortisapi/controllers/enterprise_link_redirect_controller.py +81 -0
- fortisapi/controllers/full_boarding_controller.py +85 -0
- fortisapi/controllers/level_3_data_controller.py +219 -0
- fortisapi/controllers/locations_controller.py +478 -0
- fortisapi/controllers/m_3_ds_authentication_controller.py +90 -0
- fortisapi/controllers/m_3_ds_transactions_controller.py +84 -0
- fortisapi/controllers/merchant_deposits_controller.py +295 -0
- fortisapi/controllers/merchant_details_controller.py +82 -0
- fortisapi/controllers/on_boarding_controller.py +100 -0
- fortisapi/controllers/paylinks_controller.py +396 -0
- fortisapi/controllers/payment_card_reader_token_controller.py +76 -0
- fortisapi/controllers/quick_invoices_controller.py +531 -0
- fortisapi/controllers/recurring_controller.py +545 -0
- fortisapi/controllers/reports_controller.py +209 -0
- fortisapi/controllers/signatures_controller.py +249 -0
- fortisapi/controllers/tags_controller.py +328 -0
- fortisapi/controllers/terminals_controller.py +304 -0
- fortisapi/controllers/tickets_controller.py +249 -0
- fortisapi/controllers/tokens_controller.py +679 -0
- fortisapi/controllers/transaction_ach_retries_controller.py +250 -0
- fortisapi/controllers/transactions_ach_controller.py +398 -0
- fortisapi/controllers/transactions_cash_controller.py +123 -0
- fortisapi/controllers/transactions_credit_card_controller.py +1796 -0
- fortisapi/controllers/transactions_ebt_card_controller.py +147 -0
- fortisapi/controllers/transactions_read_controller.py +248 -0
- fortisapi/controllers/transactions_updates_controller.py +435 -0
- fortisapi/controllers/webhooks_controller.py +493 -0
- fortisapi/exceptions/__init__.py +8 -0
- fortisapi/exceptions/api_exception.py +36 -0
- fortisapi/exceptions/response_401_token_exception.py +77 -0
- fortisapi/exceptions/response_412_exception.py +109 -0
- fortisapi/exceptions/response_error_exception.py +109 -0
- fortisapi/fortisapi_client.py +360 -0
- fortisapi/http/__init__.py +11 -0
- fortisapi/http/auth/__init__.py +8 -0
- fortisapi/http/auth/access_token.py +100 -0
- fortisapi/http/auth/developer_id.py +100 -0
- fortisapi/http/auth/user_api_key.py +100 -0
- fortisapi/http/auth/user_id.py +100 -0
- fortisapi/http/http_call_back.py +20 -0
- fortisapi/http/http_client_provider.py +23 -0
- fortisapi/http/http_method_enum.py +25 -0
- fortisapi/http/http_request.py +55 -0
- fortisapi/http/http_response.py +45 -0
- fortisapi/http/proxy_settings.py +50 -0
- fortisapi/models/__init__.py +636 -0
- fortisapi/models/account_info.py +519 -0
- fortisapi/models/account_type_12_enum.py +47 -0
- fortisapi/models/account_type_13_enum.py +51 -0
- fortisapi/models/account_type_16_enum.py +51 -0
- fortisapi/models/account_type_enum.py +83 -0
- fortisapi/models/account_vault.py +1408 -0
- fortisapi/models/account_vault_cau_log.py +201 -0
- fortisapi/models/account_vault_cau_product_transaction.py +754 -0
- fortisapi/models/ach_product_transaction.py +3048 -0
- fortisapi/models/ach_sec_code_1_enum.py +59 -0
- fortisapi/models/ach_sec_code_31_enum.py +61 -0
- fortisapi/models/ach_sec_code_3_enum.py +59 -0
- fortisapi/models/ach_sec_code_enum.py +67 -0
- fortisapi/models/acs_challenge_mandated_enum.py +52 -0
- fortisapi/models/action_enum.py +70 -0
- fortisapi/models/active_recurring.py +975 -0
- fortisapi/models/additional_access.py +102 -0
- fortisapi/models/additional_amount.py +201 -0
- fortisapi/models/addon.py +222 -0
- fortisapi/models/addon_transaction_type_enum.py +57 -0
- fortisapi/models/address.py +205 -0
- fortisapi/models/address_1.py +228 -0
- fortisapi/models/address_2.py +204 -0
- fortisapi/models/address_71.py +186 -0
- fortisapi/models/address_match_enum.py +54 -0
- fortisapi/models/address_type_enum.py +50 -0
- fortisapi/models/all_tag.py +194 -0
- fortisapi/models/alt_bank_account.py +180 -0
- fortisapi/models/amount_ind_enum.py +121 -0
- fortisapi/models/app_delivery_enum.py +50 -0
- fortisapi/models/auth_currency_enum.py +168 -0
- fortisapi/models/avs_enum.py +56 -0
- fortisapi/models/balance.py +154 -0
- fortisapi/models/bank_account.py +156 -0
- fortisapi/models/bank_account_1.py +186 -0
- fortisapi/models/batch_risk_config.py +132 -0
- fortisapi/models/billing_address.py +233 -0
- fortisapi/models/billing_address_1.py +258 -0
- fortisapi/models/billing_address_24.py +263 -0
- fortisapi/models/billing_address_5.py +155 -0
- fortisapi/models/body.py +134 -0
- fortisapi/models/branding_domain.py +867 -0
- fortisapi/models/branding_domain_1.py +867 -0
- fortisapi/models/broad_info.py +241 -0
- fortisapi/models/browser_information.py +401 -0
- fortisapi/models/business_category_enum.py +77 -0
- fortisapi/models/business_type_enum.py +365 -0
- fortisapi/models/cardholder.py +324 -0
- fortisapi/models/cardholder_account.py +211 -0
- fortisapi/models/category_enum.py +133 -0
- fortisapi/models/cau_subscribe_type_code_enum.py +50 -0
- fortisapi/models/cau_subscribe_type_id_enum.py +50 -0
- fortisapi/models/cau_summary_status_id_enum.py +53 -0
- fortisapi/models/cc_product_transaction.py +3048 -0
- fortisapi/models/ch_acc_age_ind_enum.py +66 -0
- fortisapi/models/ch_acc_change_ind_enum.py +63 -0
- fortisapi/models/ch_acc_pw_change_ind_enum.py +67 -0
- fortisapi/models/challenge_message_extension.py +177 -0
- fortisapi/models/challenge_window_size_enum.py +73 -0
- fortisapi/models/changelog.py +280 -0
- fortisapi/models/changelog_detail.py +178 -0
- fortisapi/models/children.py +822 -0
- fortisapi/models/communication_type_enum.py +50 -0
- fortisapi/models/conditions.py +125 -0
- fortisapi/models/conditions_18.py +146 -0
- fortisapi/models/conditions_181.py +146 -0
- fortisapi/models/conditions_191.py +146 -0
- fortisapi/models/conditions_27.py +125 -0
- fortisapi/models/conditions_4.py +146 -0
- fortisapi/models/conditions_41.py +146 -0
- fortisapi/models/conditions_42.py +146 -0
- fortisapi/models/conditions_43.py +146 -0
- fortisapi/models/contact.py +179 -0
- fortisapi/models/contact_1.py +822 -0
- fortisapi/models/contact_9.py +169 -0
- fortisapi/models/contact_user_default_entry_page_enum.py +59 -0
- fortisapi/models/context.py +125 -0
- fortisapi/models/country_enum.py +47 -0
- fortisapi/models/created_user.py +1197 -0
- fortisapi/models/currency_code_enum.py +186 -0
- fortisapi/models/currency_type.py +131 -0
- fortisapi/models/data.py +225 -0
- fortisapi/models/data_1.py +105 -0
- fortisapi/models/data_10.py +1283 -0
- fortisapi/models/data_11.py +948 -0
- fortisapi/models/data_12.py +369 -0
- fortisapi/models/data_13.py +263 -0
- fortisapi/models/data_14.py +552 -0
- fortisapi/models/data_15.py +102 -0
- fortisapi/models/data_16.py +930 -0
- fortisapi/models/data_17.py +920 -0
- fortisapi/models/data_18.py +102 -0
- fortisapi/models/data_19.py +631 -0
- fortisapi/models/data_2.py +1134 -0
- fortisapi/models/data_20.py +1657 -0
- fortisapi/models/data_21.py +223 -0
- fortisapi/models/data_22.py +1341 -0
- fortisapi/models/data_23.py +245 -0
- fortisapi/models/data_24.py +219 -0
- fortisapi/models/data_25.py +1456 -0
- fortisapi/models/data_26.py +376 -0
- fortisapi/models/data_27.py +1681 -0
- fortisapi/models/data_28.py +380 -0
- fortisapi/models/data_29.py +4233 -0
- fortisapi/models/data_3.py +296 -0
- fortisapi/models/data_30.py +421 -0
- fortisapi/models/data_31.py +150 -0
- fortisapi/models/data_34.py +103 -0
- fortisapi/models/data_35.py +259 -0
- fortisapi/models/data_36.py +537 -0
- fortisapi/models/data_4.py +482 -0
- fortisapi/models/data_5.py +171 -0
- fortisapi/models/data_6.py +469 -0
- fortisapi/models/data_7.py +230 -0
- fortisapi/models/data_8.py +616 -0
- fortisapi/models/data_9.py +129 -0
- fortisapi/models/debit_credit_enum.py +48 -0
- fortisapi/models/declined_recurring_notification.py +251 -0
- fortisapi/models/default_transaction_type_enum.py +50 -0
- fortisapi/models/delivery_method_enum.py +61 -0
- fortisapi/models/delivery_timeframe_enum.py +61 -0
- fortisapi/models/deposit_type_enum.py +50 -0
- fortisapi/models/detail.py +173 -0
- fortisapi/models/detail_1.py +323 -0
- fortisapi/models/detail_2.py +273 -0
- fortisapi/models/developer_company.py +270 -0
- fortisapi/models/device.py +123 -0
- fortisapi/models/device_binding_status_enum.py +373 -0
- fortisapi/models/device_channel_enum.py +51 -0
- fortisapi/models/document.py +115 -0
- fortisapi/models/e_format_enum.py +62 -0
- fortisapi/models/ebt_plan_enum.py +50 -0
- fortisapi/models/ebt_type_enum.py +61 -0
- fortisapi/models/email_blacklist.py +178 -0
- fortisapi/models/email_enum.py +47 -0
- fortisapi/models/emv_receipt_data.py +244 -0
- fortisapi/models/entry_mode_id_enum.py +73 -0
- fortisapi/models/expand_108_enum.py +48 -0
- fortisapi/models/expand_10_enum.py +42 -0
- fortisapi/models/expand_11_enum.py +99 -0
- fortisapi/models/expand_15_enum.py +42 -0
- fortisapi/models/expand_17_enum.py +96 -0
- fortisapi/models/expand_18_enum.py +84 -0
- fortisapi/models/expand_1_enum.py +75 -0
- fortisapi/models/expand_26_enum.py +87 -0
- fortisapi/models/expand_34_enum.py +42 -0
- fortisapi/models/expand_37_enum.py +42 -0
- fortisapi/models/expand_40_enum.py +63 -0
- fortisapi/models/expand_44_enum.py +48 -0
- fortisapi/models/expand_47_enum.py +69 -0
- fortisapi/models/expand_57_enum.py +54 -0
- fortisapi/models/expand_5_enum.py +48 -0
- fortisapi/models/expand_60_enum.py +171 -0
- fortisapi/models/expand_8_enum.py +57 -0
- fortisapi/models/expand_enum.py +51 -0
- fortisapi/models/field.py +125 -0
- fortisapi/models/field_20.py +267 -0
- fortisapi/models/field_27_enum.py +129 -0
- fortisapi/models/field_28_enum.py +168 -0
- fortisapi/models/field_30_enum.py +75 -0
- fortisapi/models/field_31_enum.py +87 -0
- fortisapi/models/field_33_enum.py +183 -0
- fortisapi/models/field_34_enum.py +195 -0
- fortisapi/models/field_35_enum.py +180 -0
- fortisapi/models/field_36_enum.py +192 -0
- fortisapi/models/field_37_enum.py +102 -0
- fortisapi/models/field_39_enum.py +186 -0
- fortisapi/models/field_41_enum.py +237 -0
- fortisapi/models/field_43_enum.py +198 -0
- fortisapi/models/field_45_enum.py +78 -0
- fortisapi/models/field_46_enum.py +126 -0
- fortisapi/models/field_47_enum.py +60 -0
- fortisapi/models/field_49_enum.py +57 -0
- fortisapi/models/field_51_enum.py +210 -0
- fortisapi/models/field_53_enum.py +84 -0
- fortisapi/models/field_55_enum.py +231 -0
- fortisapi/models/field_57_enum.py +75 -0
- fortisapi/models/field_59_enum.py +510 -0
- fortisapi/models/field_configuration.py +202 -0
- fortisapi/models/file.py +412 -0
- fortisapi/models/file_2.py +125 -0
- fortisapi/models/file_5.py +130 -0
- fortisapi/models/filter_by.py +171 -0
- fortisapi/models/footer.py +134 -0
- fortisapi/models/forecast.py +250 -0
- fortisapi/models/format_1_enum.py +47 -0
- fortisapi/models/format_enum.py +47 -0
- fortisapi/models/header.py +134 -0
- fortisapi/models/helppage.py +270 -0
- fortisapi/models/home_phone.py +130 -0
- fortisapi/models/hosted_payment_page.py +558 -0
- fortisapi/models/identity_verification.py +183 -0
- fortisapi/models/identity_verification_2.py +183 -0
- fortisapi/models/identity_verification_27.py +165 -0
- fortisapi/models/idtype_enum.py +47 -0
- fortisapi/models/iias_ind_enum.py +64 -0
- fortisapi/models/industry_type_enum.py +59 -0
- fortisapi/models/initiation_type_enum.py +92 -0
- fortisapi/models/interval_type_enum.py +50 -0
- fortisapi/models/item_list.py +125 -0
- fortisapi/models/item_list_4.py +99 -0
- fortisapi/models/item_list_5.py +130 -0
- fortisapi/models/joi.py +104 -0
- fortisapi/models/joi_18.py +111 -0
- fortisapi/models/joi_19.py +111 -0
- fortisapi/models/joi_27.py +104 -0
- fortisapi/models/joi_4.py +110 -0
- fortisapi/models/kyc_response_object.py +101 -0
- fortisapi/models/level_3_data.py +481 -0
- fortisapi/models/level_3_data_5.py +324 -0
- fortisapi/models/level_3_data_6.py +469 -0
- fortisapi/models/level_3_default.py +481 -0
- fortisapi/models/line_item.py +450 -0
- fortisapi/models/line_item_13.py +449 -0
- fortisapi/models/line_item_19.py +360 -0
- fortisapi/models/line_item_20.py +273 -0
- fortisapi/models/links.py +196 -0
- fortisapi/models/list.py +650 -0
- fortisapi/models/list_1.py +1134 -0
- fortisapi/models/list_10.py +1657 -0
- fortisapi/models/list_11.py +1341 -0
- fortisapi/models/list_12.py +336 -0
- fortisapi/models/list_13.py +731 -0
- fortisapi/models/list_14.py +245 -0
- fortisapi/models/list_15.py +219 -0
- fortisapi/models/list_16.py +1456 -0
- fortisapi/models/list_17.py +376 -0
- fortisapi/models/list_18.py +1681 -0
- fortisapi/models/list_19.py +380 -0
- fortisapi/models/list_20.py +4233 -0
- fortisapi/models/list_3.py +296 -0
- fortisapi/models/list_4.py +469 -0
- fortisapi/models/list_5.py +948 -0
- fortisapi/models/list_6.py +1283 -0
- fortisapi/models/list_8.py +552 -0
- fortisapi/models/list_9.py +920 -0
- fortisapi/models/location.py +756 -0
- fortisapi/models/location_18.py +217 -0
- fortisapi/models/location_5.py +227 -0
- fortisapi/models/location_billing_account.py +509 -0
- fortisapi/models/location_type_26_enum.py +51 -0
- fortisapi/models/location_type_enum.py +50 -0
- fortisapi/models/locationmarketplace.py +247 -0
- fortisapi/models/log_email.py +364 -0
- fortisapi/models/log_sms.py +315 -0
- fortisapi/models/marketplace.py +247 -0
- fortisapi/models/masync.py +128 -0
- fortisapi/models/merchant_list.py +193 -0
- fortisapi/models/merchant_risk_indicator.py +341 -0
- fortisapi/models/message_category_enum.py +119 -0
- fortisapi/models/message_extension.py +177 -0
- fortisapi/models/meta.py +107 -0
- fortisapi/models/method_3.py +147 -0
- fortisapi/models/method_50.py +145 -0
- fortisapi/models/method_53_enum.py +56 -0
- fortisapi/models/method_5_enum.py +56 -0
- fortisapi/models/method_enum.py +56 -0
- fortisapi/models/mobile_phone.py +130 -0
- fortisapi/models/modified_user.py +1197 -0
- fortisapi/models/multi_transaction.py +147 -0
- fortisapi/models/operator_1_enum.py +59 -0
- fortisapi/models/operator_enum.py +47 -0
- fortisapi/models/order_21.py +99 -0
- fortisapi/models/order_enum.py +47 -0
- fortisapi/models/owner.py +322 -0
- fortisapi/models/ownership_type_enum.py +71 -0
- fortisapi/models/page.py +132 -0
- fortisapi/models/pagination.py +196 -0
- fortisapi/models/parent.py +822 -0
- fortisapi/models/parent_3.py +756 -0
- fortisapi/models/partner_enum.py +71 -0
- fortisapi/models/paylink_action_enum.py +47 -0
- fortisapi/models/payment_acc_ind_enum.py +67 -0
- fortisapi/models/payment_method_16_enum.py +47 -0
- fortisapi/models/payment_method_1_enum.py +47 -0
- fortisapi/models/payment_method_9_enum.py +50 -0
- fortisapi/models/payment_method_enum.py +50 -0
- fortisapi/models/payment_recurring_notification.py +251 -0
- fortisapi/models/payment_type_priority_enum.py +47 -0
- fortisapi/models/postback_log.py +295 -0
- fortisapi/models/postback_status_id_enum.py +53 -0
- fortisapi/models/pre_order_purchase_ind_enum.py +52 -0
- fortisapi/models/preferred_language_enum.py +51 -0
- fortisapi/models/preferred_protocol_version_enum.py +65 -0
- fortisapi/models/pricing_element.py +147 -0
- fortisapi/models/primary_principal.py +396 -0
- fortisapi/models/primary_principal_1.py +376 -0
- fortisapi/models/process_method_enum.py +47 -0
- fortisapi/models/processor_enum.py +59 -0
- fortisapi/models/product_accountvault.py +317 -0
- fortisapi/models/product_file.py +416 -0
- fortisapi/models/product_file_1.py +414 -0
- fortisapi/models/product_invoice.py +651 -0
- fortisapi/models/product_recurring.py +387 -0
- fortisapi/models/product_token.py +317 -0
- fortisapi/models/product_transaction.py +3048 -0
- fortisapi/models/product_transaction_1.py +3046 -0
- fortisapi/models/purchase.py +501 -0
- fortisapi/models/quick_invoice.py +1256 -0
- fortisapi/models/quick_invoice_setting.py +299 -0
- fortisapi/models/quick_invoice_view.py +176 -0
- fortisapi/models/reason_code.py +131 -0
- fortisapi/models/reason_code_id_1_enum.py +935 -0
- fortisapi/models/reason_code_id_enum.py +578 -0
- fortisapi/models/reason_model_enum.py +74 -0
- fortisapi/models/received_email.py +364 -0
- fortisapi/models/recipients_enum.py +62 -0
- fortisapi/models/recurring.py +975 -0
- fortisapi/models/recurring_3.py +977 -0
- fortisapi/models/recurring_flag_enum.py +64 -0
- fortisapi/models/recurring_split.py +200 -0
- fortisapi/models/recurring_type_id_enum.py +47 -0
- fortisapi/models/registration_field_enum.py +87 -0
- fortisapi/models/rejected_transaction.py +3198 -0
- fortisapi/models/rejected_transaction_ach_retry.py +244 -0
- fortisapi/models/relationship_enum.py +50 -0
- fortisapi/models/reorder_items_ind_enum.py +51 -0
- fortisapi/models/report_export_type_enum.py +53 -0
- fortisapi/models/resource_12_enum.py +52 -0
- fortisapi/models/resource_2_enum.py +50 -0
- fortisapi/models/resource_enum.py +55 -0
- fortisapi/models/response_416_date_range.py +148 -0
- fortisapi/models/response_417_filter_channels.py +148 -0
- fortisapi/models/response_apple_pay_validate_merchant.py +126 -0
- fortisapi/models/response_async_status.py +126 -0
- fortisapi/models/response_batchs_collection.py +228 -0
- fortisapi/models/response_calculate_surcharge.py +126 -0
- fortisapi/models/response_contact.py +126 -0
- fortisapi/models/response_contact_searchs_collection.py +228 -0
- fortisapi/models/response_contacts_collection.py +228 -0
- fortisapi/models/response_declined_recurring_transaction.py +126 -0
- fortisapi/models/response_declined_recurring_transaction_payment.py +126 -0
- fortisapi/models/response_declined_recurring_transaction_resend.py +126 -0
- fortisapi/models/response_declined_recurring_transactions_collection.py +228 -0
- fortisapi/models/response_device_term.py +126 -0
- fortisapi/models/response_device_terms_collection.py +228 -0
- fortisapi/models/response_fullboarding.py +126 -0
- fortisapi/models/response_location.py +126 -0
- fortisapi/models/response_location_info.py +126 -0
- fortisapi/models/response_location_infos_collection.py +228 -0
- fortisapi/models/response_location_searchs_collection.py +228 -0
- fortisapi/models/response_locations_collection.py +228 -0
- fortisapi/models/response_merchant.py +126 -0
- fortisapi/models/response_merchant_deposit.py +126 -0
- fortisapi/models/response_merchant_deposits_collection.py +228 -0
- fortisapi/models/response_merchant_details.py +126 -0
- fortisapi/models/response_onboarding.py +126 -0
- fortisapi/models/response_paylink.py +126 -0
- fortisapi/models/response_paylinks_collection.py +228 -0
- fortisapi/models/response_payment_card_reader_token.py +126 -0
- fortisapi/models/response_quick_invoice.py +126 -0
- fortisapi/models/response_quick_invoice_resend.py +126 -0
- fortisapi/models/response_quick_invoices_collection.py +228 -0
- fortisapi/models/response_recurring.py +126 -0
- fortisapi/models/response_recurrings_collection.py +228 -0
- fortisapi/models/response_reporting_reports_cc_settled_transactions_collection.py +231 -0
- fortisapi/models/response_reporting_reports_chargebacks_collection.py +228 -0
- fortisapi/models/response_signature.py +126 -0
- fortisapi/models/response_signatures_collection.py +228 -0
- fortisapi/models/response_tag.py +126 -0
- fortisapi/models/response_tags_collection.py +228 -0
- fortisapi/models/response_terminal.py +126 -0
- fortisapi/models/response_terminals_collection.py +228 -0
- fortisapi/models/response_three_ds_authentication.py +126 -0
- fortisapi/models/response_three_ds_transaction.py +126 -0
- fortisapi/models/response_ticket.py +126 -0
- fortisapi/models/response_ticket_intention.py +126 -0
- fortisapi/models/response_tickets_collection.py +228 -0
- fortisapi/models/response_token.py +126 -0
- fortisapi/models/response_tokens_collection.py +228 -0
- fortisapi/models/response_transaction.py +126 -0
- fortisapi/models/response_transaction_ach_retry.py +126 -0
- fortisapi/models/response_transaction_ach_retrys_collection.py +228 -0
- fortisapi/models/response_transaction_bin_info.py +126 -0
- fortisapi/models/response_transaction_intention.py +126 -0
- fortisapi/models/response_transaction_level_3.py +126 -0
- fortisapi/models/response_transaction_level_3_master.py +126 -0
- fortisapi/models/response_transaction_level_3_visa.py +126 -0
- fortisapi/models/response_transaction_processing.py +126 -0
- fortisapi/models/response_transactions_collection.py +228 -0
- fortisapi/models/response_webhook.py +126 -0
- fortisapi/models/result.py +152 -0
- fortisapi/models/retry_transaction.py +3198 -0
- fortisapi/models/retry_transaction_ach_retry.py +246 -0
- fortisapi/models/return_fee_transaction.py +3198 -0
- fortisapi/models/return_fee_transaction_ach_retry.py +246 -0
- fortisapi/models/saved_account.py +1408 -0
- fortisapi/models/scheme_id_enum.py +54 -0
- fortisapi/models/sec_code_enum.py +51 -0
- fortisapi/models/settings.py +148 -0
- fortisapi/models/settled_currency_enum.py +168 -0
- fortisapi/models/severity_enum.py +62 -0
- fortisapi/models/ship_address_usage_ind_enum.py +62 -0
- fortisapi/models/ship_indicator_enum.py +101 -0
- fortisapi/models/ship_name_indicator_enum.py +52 -0
- fortisapi/models/shipping_address.py +264 -0
- fortisapi/models/signature.py +220 -0
- fortisapi/models/sms_blacklist.py +178 -0
- fortisapi/models/sms_enum.py +47 -0
- fortisapi/models/sort.py +132 -0
- fortisapi/models/source_enum.py +56 -0
- fortisapi/models/stack_enum.py +47 -0
- fortisapi/models/status_11.py +131 -0
- fortisapi/models/status_3_enum.py +47 -0
- fortisapi/models/status_5.py +102 -0
- fortisapi/models/status_code_12_enum.py +47 -0
- fortisapi/models/status_code_17_enum.py +102 -0
- fortisapi/models/status_code_enum.py +50 -0
- fortisapi/models/status_enum.py +50 -0
- fortisapi/models/status_id_enum.py +47 -0
- fortisapi/models/surcharge.py +574 -0
- fortisapi/models/surcharge_transaction.py +367 -0
- fortisapi/models/suspicious_acc_activity_enum.py +52 -0
- fortisapi/models/tag.py +194 -0
- fortisapi/models/tag_transaction.py +319 -0
- fortisapi/models/tax_exempt_enum.py +61 -0
- fortisapi/models/tax_surcharge_config_enum.py +47 -0
- fortisapi/models/terminal.py +1245 -0
- fortisapi/models/terminal_2.py +1243 -0
- fortisapi/models/terminal_application.py +411 -0
- fortisapi/models/terminal_cvm.py +293 -0
- fortisapi/models/terminal_manufacturer.py +249 -0
- fortisapi/models/terminal_manufacturer_code_enum.py +55 -0
- fortisapi/models/terminal_router.py +245 -0
- fortisapi/models/terminal_timeouts.py +304 -0
- fortisapi/models/terminal_timeouts_12.py +314 -0
- fortisapi/models/three_ds_req_auth_method_enum.py +154 -0
- fortisapi/models/three_ds_req_prior_auth_method_enum.py +123 -0
- fortisapi/models/three_ds_requestor.py +345 -0
- fortisapi/models/three_ds_requestor_authentication_ind_enum.py +141 -0
- fortisapi/models/three_ds_requestor_authentication_info.py +179 -0
- fortisapi/models/three_ds_requestor_challenge_ind_enum.py +126 -0
- fortisapi/models/three_ds_requestor_dec_req_ind_enum.py +72 -0
- fortisapi/models/three_ds_requestor_prior_authentication_info.py +188 -0
- fortisapi/models/three_ds_requestor_spc_support_enum.py +49 -0
- fortisapi/models/three_ri_ind_enum.py +180 -0
- fortisapi/models/tip_percents.py +160 -0
- fortisapi/models/trans_char_enum.py +45 -0
- fortisapi/models/transaction.py +3196 -0
- fortisapi/models/transaction_batch.py +537 -0
- fortisapi/models/transaction_batch_settlement.py +202 -0
- fortisapi/models/transaction_history.py +246 -0
- fortisapi/models/transaction_level_3.py +152 -0
- fortisapi/models/transaction_reference.py +298 -0
- fortisapi/models/transaction_split.py +221 -0
- fortisapi/models/transaction_status_enum.py +88 -0
- fortisapi/models/transaction_type_enum.py +68 -0
- fortisapi/models/trx_source_code_enum.py +155 -0
- fortisapi/models/trx_source_id_enum.py +155 -0
- fortisapi/models/type_103_enum.py +44 -0
- fortisapi/models/type_105_enum.py +44 -0
- fortisapi/models/type_10_enum.py +44 -0
- fortisapi/models/type_110_enum.py +44 -0
- fortisapi/models/type_114_enum.py +44 -0
- fortisapi/models/type_11_enum.py +44 -0
- fortisapi/models/type_121_enum.py +44 -0
- fortisapi/models/type_123.py +131 -0
- fortisapi/models/type_124_enum.py +44 -0
- fortisapi/models/type_125_enum.py +44 -0
- fortisapi/models/type_126_enum.py +44 -0
- fortisapi/models/type_127_enum.py +44 -0
- fortisapi/models/type_128_enum.py +44 -0
- fortisapi/models/type_134_enum.py +44 -0
- fortisapi/models/type_135_enum.py +44 -0
- fortisapi/models/type_136_enum.py +44 -0
- fortisapi/models/type_15_enum.py +44 -0
- fortisapi/models/type_16_enum.py +44 -0
- fortisapi/models/type_1_enum.py +44 -0
- fortisapi/models/type_20_enum.py +44 -0
- fortisapi/models/type_21_enum.py +44 -0
- fortisapi/models/type_22_enum.py +44 -0
- fortisapi/models/type_23_enum.py +44 -0
- fortisapi/models/type_27_enum.py +44 -0
- fortisapi/models/type_28_enum.py +44 -0
- fortisapi/models/type_29_enum.py +64 -0
- fortisapi/models/type_2_enum.py +44 -0
- fortisapi/models/type_30_enum.py +44 -0
- fortisapi/models/type_31_enum.py +44 -0
- fortisapi/models/type_35_enum.py +44 -0
- fortisapi/models/type_39_enum.py +44 -0
- fortisapi/models/type_3_enum.py +44 -0
- fortisapi/models/type_43_enum.py +44 -0
- fortisapi/models/type_44_enum.py +44 -0
- fortisapi/models/type_45_enum.py +44 -0
- fortisapi/models/type_46_enum.py +44 -0
- fortisapi/models/type_47_enum.py +44 -0
- fortisapi/models/type_48_enum.py +44 -0
- fortisapi/models/type_4_enum.py +44 -0
- fortisapi/models/type_52_enum.py +44 -0
- fortisapi/models/type_53_enum.py +44 -0
- fortisapi/models/type_54_enum.py +44 -0
- fortisapi/models/type_55_enum.py +44 -0
- fortisapi/models/type_59_enum.py +44 -0
- fortisapi/models/type_5_enum.py +44 -0
- fortisapi/models/type_60_enum.py +44 -0
- fortisapi/models/type_61_enum.py +45 -0
- fortisapi/models/type_62_enum.py +44 -0
- fortisapi/models/type_63_enum.py +91 -0
- fortisapi/models/type_64_enum.py +44 -0
- fortisapi/models/type_65_enum.py +44 -0
- fortisapi/models/type_6_enum.py +44 -0
- fortisapi/models/type_70_enum.py +44 -0
- fortisapi/models/type_71_enum.py +44 -0
- fortisapi/models/type_75_enum.py +44 -0
- fortisapi/models/type_79_enum.py +44 -0
- fortisapi/models/type_83_enum.py +44 -0
- fortisapi/models/type_84_enum.py +44 -0
- fortisapi/models/type_88_enum.py +44 -0
- fortisapi/models/type_89_enum.py +44 -0
- fortisapi/models/type_93_enum.py +44 -0
- fortisapi/models/type_94_enum.py +44 -0
- fortisapi/models/type_98_enum.py +44 -0
- fortisapi/models/type_99_enum.py +44 -0
- fortisapi/models/type_enum.py +44 -0
- fortisapi/models/type_id_enum.py +59 -0
- fortisapi/models/ui_prefs.py +204 -0
- fortisapi/models/update_if_exists_enum.py +44 -0
- fortisapi/models/user.py +180 -0
- fortisapi/models/user_1.py +1197 -0
- fortisapi/models/user_9.py +1195 -0
- fortisapi/models/user_type_code_enum.py +74 -0
- fortisapi/models/v_1_contacts_request.py +685 -0
- fortisapi/models/v_1_contacts_request_1.py +707 -0
- fortisapi/models/v_1_declined_recurring_transaction_payments_request.py +354 -0
- fortisapi/models/v_1_device_terms_request.py +161 -0
- fortisapi/models/v_1_elements_ticket_intention_request.py +195 -0
- fortisapi/models/v_1_elements_transaction_intention_request.py +591 -0
- fortisapi/models/v_1_fullboarding_request.py +827 -0
- fortisapi/models/v_1_merchant_threedsecure_authentication_request.py +696 -0
- fortisapi/models/v_1_onboarding_request.py +833 -0
- fortisapi/models/v_1_paylinks_request.py +723 -0
- fortisapi/models/v_1_paylinks_request_1.py +735 -0
- fortisapi/models/v_1_public_calculate_surcharge_request.py +527 -0
- fortisapi/models/v_1_quick_invoices_request.py +1035 -0
- fortisapi/models/v_1_quick_invoices_request_1.py +1070 -0
- fortisapi/models/v_1_quick_invoices_transaction_request.py +86 -0
- fortisapi/models/v_1_recurrings_defer_payment_request.py +86 -0
- fortisapi/models/v_1_recurrings_request.py +742 -0
- fortisapi/models/v_1_recurrings_request_1.py +750 -0
- fortisapi/models/v_1_recurrings_skip_payment_request.py +86 -0
- fortisapi/models/v_1_signatures_request.py +113 -0
- fortisapi/models/v_1_tags_request.py +99 -0
- fortisapi/models/v_1_tags_request_1.py +130 -0
- fortisapi/models/v_1_terminals_request.py +1005 -0
- fortisapi/models/v_1_terminals_request_1.py +1112 -0
- fortisapi/models/v_1_tickets_request.py +286 -0
- fortisapi/models/v_1_tokens_ach_request.py +945 -0
- fortisapi/models/v_1_tokens_ach_request_1.py +907 -0
- fortisapi/models/v_1_tokens_cc_request.py +1071 -0
- fortisapi/models/v_1_tokens_cc_request_1.py +905 -0
- fortisapi/models/v_1_tokens_previous_transaction_request.py +858 -0
- fortisapi/models/v_1_tokens_terminal_async_request.py +889 -0
- fortisapi/models/v_1_tokens_terminal_request.py +889 -0
- fortisapi/models/v_1_tokens_ticket_request.py +882 -0
- fortisapi/models/v_1_tokens_wallet_request.py +919 -0
- fortisapi/models/v_1_transaction_ach_retries_request.py +119 -0
- fortisapi/models/v_1_transactions_ach_credit_keyed_request.py +1600 -0
- fortisapi/models/v_1_transactions_ach_credit_prev_trxn_request.py +1616 -0
- fortisapi/models/v_1_transactions_ach_credit_token_request.py +1660 -0
- fortisapi/models/v_1_transactions_ach_debit_keyed_request.py +1600 -0
- fortisapi/models/v_1_transactions_ach_debit_prev_trxn_request.py +1616 -0
- fortisapi/models/v_1_transactions_ach_debit_token_request.py +1660 -0
- fortisapi/models/v_1_transactions_ach_refund_prev_trxn_request.py +1616 -0
- fortisapi/models/v_1_transactions_auth_complete_request.py +1519 -0
- fortisapi/models/v_1_transactions_auth_increment_request.py +1533 -0
- fortisapi/models/v_1_transactions_cash_refund_request.py +1515 -0
- fortisapi/models/v_1_transactions_cash_sale_request.py +1489 -0
- fortisapi/models/v_1_transactions_cc_auth_only_keyed_request.py +2164 -0
- fortisapi/models/v_1_transactions_cc_auth_only_prev_trxn_request.py +2124 -0
- fortisapi/models/v_1_transactions_cc_auth_only_taptopay_request.py +1843 -0
- fortisapi/models/v_1_transactions_cc_auth_only_terminal_request.py +2082 -0
- fortisapi/models/v_1_transactions_cc_auth_only_ticket_request.py +2050 -0
- fortisapi/models/v_1_transactions_cc_auth_only_token_request.py +2129 -0
- fortisapi/models/v_1_transactions_cc_auth_only_wallet_request.py +2062 -0
- fortisapi/models/v_1_transactions_cc_avs_only_keyed_request.py +2175 -0
- fortisapi/models/v_1_transactions_cc_avs_only_prev_trxn_request.py +2124 -0
- fortisapi/models/v_1_transactions_cc_avs_only_swiped_request.py +2086 -0
- fortisapi/models/v_1_transactions_cc_avs_only_terminal_request.py +2093 -0
- fortisapi/models/v_1_transactions_cc_avs_only_ticket_request.py +2061 -0
- fortisapi/models/v_1_transactions_cc_avs_only_token_request.py +2140 -0
- fortisapi/models/v_1_transactions_cc_avs_only_wallet_request.py +2073 -0
- fortisapi/models/v_1_transactions_cc_balance_inquiry_keyed_request.py +2176 -0
- fortisapi/models/v_1_transactions_cc_balance_inquiry_prev_trxn_request.py +2125 -0
- fortisapi/models/v_1_transactions_cc_balance_inquiry_swiped_request.py +2087 -0
- fortisapi/models/v_1_transactions_cc_balance_inquiry_terminal_request.py +2094 -0
- fortisapi/models/v_1_transactions_cc_balance_inquiry_ticket_request.py +2062 -0
- fortisapi/models/v_1_transactions_cc_balance_inquiry_token_request.py +2141 -0
- fortisapi/models/v_1_transactions_cc_balance_inquiry_wallet_request.py +2074 -0
- fortisapi/models/v_1_transactions_cc_refund_keyed_request.py +2218 -0
- fortisapi/models/v_1_transactions_cc_refund_prev_trxn_request.py +2124 -0
- fortisapi/models/v_1_transactions_cc_refund_taptopay_request.py +1869 -0
- fortisapi/models/v_1_transactions_cc_refund_terminal_request.py +2082 -0
- fortisapi/models/v_1_transactions_cc_refund_ticket_request.py +2050 -0
- fortisapi/models/v_1_transactions_cc_refund_token_request.py +2129 -0
- fortisapi/models/v_1_transactions_cc_refund_wallet_request.py +2062 -0
- fortisapi/models/v_1_transactions_cc_sale_keyed_request.py +2164 -0
- fortisapi/models/v_1_transactions_cc_sale_prev_trxn_request.py +2124 -0
- fortisapi/models/v_1_transactions_cc_sale_taptopay_request.py +1843 -0
- fortisapi/models/v_1_transactions_cc_sale_terminal_request.py +2082 -0
- fortisapi/models/v_1_transactions_cc_sale_ticket_request.py +2050 -0
- fortisapi/models/v_1_transactions_cc_sale_token_request.py +2129 -0
- fortisapi/models/v_1_transactions_cc_sale_wallet_request.py +2062 -0
- fortisapi/models/v_1_transactions_ebt_voucher_clear_refund_keyed_request.py +2190 -0
- fortisapi/models/v_1_transactions_ebt_voucher_clear_sale_keyed_request.py +2190 -0
- fortisapi/models/v_1_transactions_level_3_master_card_request.py +91 -0
- fortisapi/models/v_1_transactions_level_3_visa_request.py +91 -0
- fortisapi/models/v_1_transactions_partial_reversal_request.py +1462 -0
- fortisapi/models/v_1_transactions_refund_request.py +1448 -0
- fortisapi/models/v_1_transactions_tip_adjust_request.py +1973 -0
- fortisapi/models/v_1_transactions_void_request.py +130 -0
- fortisapi/models/v_1_wallet_provider_apple_pay_validate_merchant_request.py +127 -0
- fortisapi/models/v_1_wallet_provider_merchant_details_request.py +87 -0
- fortisapi/models/v_1_webhooks_apm_onboarding_request.py +421 -0
- fortisapi/models/v_1_webhooks_apm_onboarding_request_1.py +494 -0
- fortisapi/models/v_1_webhooks_batch_request.py +410 -0
- fortisapi/models/v_1_webhooks_batch_request_1.py +494 -0
- fortisapi/models/v_1_webhooks_contact_request.py +421 -0
- fortisapi/models/v_1_webhooks_contact_request_1.py +494 -0
- fortisapi/models/v_1_webhooks_transaction_request.py +410 -0
- fortisapi/models/v_1_webhooks_transaction_request_1.py +494 -0
- fortisapi/models/values_4_enum.py +59 -0
- fortisapi/models/values_50_enum.py +59 -0
- fortisapi/models/values_51_enum.py +62 -0
- fortisapi/models/values_58_enum.py +59 -0
- fortisapi/models/values_5_enum.py +59 -0
- fortisapi/models/values_6_enum.py +59 -0
- fortisapi/models/values_7_enum.py +59 -0
- fortisapi/models/values_99_enum.py +45 -0
- fortisapi/models/values_enum.py +51 -0
- fortisapi/models/wallet_provider_enum.py +47 -0
- fortisapi/models/wallet_type_enum.py +86 -0
- fortisapi/models/work_phone.py +130 -0
- fortisapi/utilities/__init__.py +6 -0
- fortisapi/utilities/file_wrapper.py +45 -0
- fortisapi/utilities/union_type_lookup.py +436 -0
|
@@ -0,0 +1,519 @@
|
|
|
1
|
+
"""fortisapi.
|
|
2
|
+
|
|
3
|
+
This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).
|
|
4
|
+
"""
|
|
5
|
+
|
|
6
|
+
# ruff: noqa: E501
|
|
7
|
+
from fortisapi.api_helper import APIHelper
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class AccountInfo(object):
|
|
11
|
+
"""Implementation of the 'AccountInfo' model.
|
|
12
|
+
|
|
13
|
+
This field contains additional information about the Cardholder's account
|
|
14
|
+
provided by the 3DS Requestor. The field is optional but recommended to include.
|
|
15
|
+
|
|
16
|
+
Attributes:
|
|
17
|
+
ch_acc_age_ind (ChAccAgeIndEnum): Length of time that the cardholder has had
|
|
18
|
+
the account with the 3DS Requestor. >01 - No account > >02 - Created
|
|
19
|
+
during this transaction > >03 - Less than 30 days > >04 - Between 30 and
|
|
20
|
+
60 days > >05 - More than 60 days >
|
|
21
|
+
ch_acc_date (str): Date converted into UTC that the cardholder opened the
|
|
22
|
+
account with the 3DS Requestor. Date format = YYYYMMDD.
|
|
23
|
+
ch_acc_change_ind (ChAccChangeIndEnum): Length of time since the cardholder's
|
|
24
|
+
account information with the 3DS Requestor was last changed. Includes
|
|
25
|
+
Billing or Shipping address, new payment account, or new user(s) added.
|
|
26
|
+
>01 - Changed during this transaction > >02 - Less than 30 days > >03 -
|
|
27
|
+
30 - 60 days > >04 - More than 60 days >
|
|
28
|
+
ch_acc_change (str): Date converted into UTC that the cardholder's account
|
|
29
|
+
with the 3DS Requestor was last changed. Including Billing or Shipping
|
|
30
|
+
address, new payment account, or new user(s) added. Date format =
|
|
31
|
+
YYYYMMDD.
|
|
32
|
+
ch_acc_pw_change_ind (ChAccPwChangeIndEnum): Length of time since the
|
|
33
|
+
cardholder's account with the 3DS Requestor had a password change or
|
|
34
|
+
account reset. >01 - No change > >02 - Changed during this transaction >
|
|
35
|
+
>03 - Less than 30 days > >04 - 30 - 60 days > >05 - More than 60 days >
|
|
36
|
+
ch_acc_pw_change (str): Date converted into UTC that cardholder's account
|
|
37
|
+
with the 3DS Requestor had a password change or account reset. Date
|
|
38
|
+
format must be YYYYMMDD.
|
|
39
|
+
ship_address_usage_ind (ShipAddressUsageIndEnum): Indicates when the shipping
|
|
40
|
+
address used for this transaction was first used with the 3DS Requestor.
|
|
41
|
+
>01 - This transaction > >02 - Less than 30 days > >03 - 30 - 60 days >
|
|
42
|
+
>04 - More than 60 days >
|
|
43
|
+
ship_address_usage (str): Date converted into UTC when the shipping address
|
|
44
|
+
used for this transaction was first used with the 3DS Requestor. Date
|
|
45
|
+
format must be YYYYMMDD.
|
|
46
|
+
txn_activity_day (int): Number of transactions (successful and abandoned) for
|
|
47
|
+
this cardholder account with the 3DS Requestor across all payment
|
|
48
|
+
accounts in the previous 24 hours.
|
|
49
|
+
txn_activity_year (int): Number of transactions (successful and abandoned)
|
|
50
|
+
for this cardholder account with the 3DS Requestor across all payment
|
|
51
|
+
accounts in the previous year.
|
|
52
|
+
provision_attempts_day (int): Number of Add Card attempts in the last 24
|
|
53
|
+
hours.
|
|
54
|
+
nb_purchase_account (int): Number of purchases with this cardholder account
|
|
55
|
+
during the previous six months.
|
|
56
|
+
suspicious_acc_activity (SuspiciousAccActivityEnum): Indicates whether the
|
|
57
|
+
3DS Requestor has experienced suspicious activity including previous
|
|
58
|
+
fraud) on the cardholder account. >01 - No suspicious activity has been
|
|
59
|
+
observed > >02 - Suspicious activity has been observed >
|
|
60
|
+
ship_name_indicator (ShipNameIndicatorEnum): Indicates if the Cardholder Name
|
|
61
|
+
on the account is identical to the shipping Name used for this
|
|
62
|
+
transaction. >01 - Account Name identical to shipping Name > >02 -
|
|
63
|
+
Account Name different than shipping Name >
|
|
64
|
+
payment_acc_ind (PaymentAccIndEnum): Indicates the length of time that the
|
|
65
|
+
payment account was enrolled in the cardholder's account with the 3DS
|
|
66
|
+
Requestor. >01 - No account (guest check-out) > >02 - During this
|
|
67
|
+
transaction > >03 - Less than 30 days > >04 - 30 - 60 days > >05 - More
|
|
68
|
+
than 60 days >
|
|
69
|
+
payment_acc_age (str): Date converted into UTC that the payment account was
|
|
70
|
+
enrolled in the cardholder's account with the 3DS Requestor. Date format
|
|
71
|
+
must be YYYYMMDD.
|
|
72
|
+
ch_acc_req_id (str): The 3DS Requestor assigned account identifier of the
|
|
73
|
+
transacting Cardholder. This identifier is a unique representation of the
|
|
74
|
+
account identifier for the 3DS Requestor and is provided as a String.
|
|
75
|
+
This field is supported in Starting from EMV 3DS 2.3.1 and later.
|
|
76
|
+
additional_properties (Dict[str, object]): The additional properties for the
|
|
77
|
+
model.
|
|
78
|
+
|
|
79
|
+
"""
|
|
80
|
+
|
|
81
|
+
# Create a mapping from Model property names to API property names
|
|
82
|
+
_names = {
|
|
83
|
+
"ch_acc_age_ind": "ch_acc_age_ind",
|
|
84
|
+
"ch_acc_date": "ch_acc_date",
|
|
85
|
+
"ch_acc_change_ind": "ch_acc_change_ind",
|
|
86
|
+
"ch_acc_change": "ch_acc_change",
|
|
87
|
+
"ch_acc_pw_change_ind": "ch_acc_pw_change_ind",
|
|
88
|
+
"ch_acc_pw_change": "ch_acc_pw_change",
|
|
89
|
+
"ship_address_usage_ind": "ship_address_usage_ind",
|
|
90
|
+
"ship_address_usage": "ship_address_usage",
|
|
91
|
+
"txn_activity_day": "txn_activity_day",
|
|
92
|
+
"txn_activity_year": "txn_activity_year",
|
|
93
|
+
"provision_attempts_day": "provision_attempts_day",
|
|
94
|
+
"nb_purchase_account": "nb_purchase_account",
|
|
95
|
+
"suspicious_acc_activity": "suspicious_acc_activity",
|
|
96
|
+
"ship_name_indicator": "ship_name_indicator",
|
|
97
|
+
"payment_acc_ind": "payment_acc_ind",
|
|
98
|
+
"payment_acc_age": "payment_acc_age",
|
|
99
|
+
"ch_acc_req_id": "ch_acc_req_id",
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
_optionals = [
|
|
103
|
+
"ch_acc_age_ind",
|
|
104
|
+
"ch_acc_date",
|
|
105
|
+
"ch_acc_change_ind",
|
|
106
|
+
"ch_acc_change",
|
|
107
|
+
"ch_acc_pw_change_ind",
|
|
108
|
+
"ch_acc_pw_change",
|
|
109
|
+
"ship_address_usage_ind",
|
|
110
|
+
"ship_address_usage",
|
|
111
|
+
"txn_activity_day",
|
|
112
|
+
"txn_activity_year",
|
|
113
|
+
"provision_attempts_day",
|
|
114
|
+
"nb_purchase_account",
|
|
115
|
+
"suspicious_acc_activity",
|
|
116
|
+
"ship_name_indicator",
|
|
117
|
+
"payment_acc_ind",
|
|
118
|
+
"payment_acc_age",
|
|
119
|
+
"ch_acc_req_id",
|
|
120
|
+
]
|
|
121
|
+
|
|
122
|
+
_nullables = [
|
|
123
|
+
"ch_acc_req_id",
|
|
124
|
+
]
|
|
125
|
+
|
|
126
|
+
def __init__(
|
|
127
|
+
self,
|
|
128
|
+
ch_acc_age_ind=APIHelper.SKIP,
|
|
129
|
+
ch_acc_date=APIHelper.SKIP,
|
|
130
|
+
ch_acc_change_ind=APIHelper.SKIP,
|
|
131
|
+
ch_acc_change=APIHelper.SKIP,
|
|
132
|
+
ch_acc_pw_change_ind=APIHelper.SKIP,
|
|
133
|
+
ch_acc_pw_change=APIHelper.SKIP,
|
|
134
|
+
ship_address_usage_ind=APIHelper.SKIP,
|
|
135
|
+
ship_address_usage=APIHelper.SKIP,
|
|
136
|
+
txn_activity_day=APIHelper.SKIP,
|
|
137
|
+
txn_activity_year=APIHelper.SKIP,
|
|
138
|
+
provision_attempts_day=APIHelper.SKIP,
|
|
139
|
+
nb_purchase_account=APIHelper.SKIP,
|
|
140
|
+
suspicious_acc_activity=APIHelper.SKIP,
|
|
141
|
+
ship_name_indicator=APIHelper.SKIP,
|
|
142
|
+
payment_acc_ind=APIHelper.SKIP,
|
|
143
|
+
payment_acc_age=APIHelper.SKIP,
|
|
144
|
+
ch_acc_req_id=APIHelper.SKIP,
|
|
145
|
+
additional_properties=None):
|
|
146
|
+
"""Initialize a AccountInfo instance."""
|
|
147
|
+
# Initialize members of the class
|
|
148
|
+
if ch_acc_age_ind is not APIHelper.SKIP:
|
|
149
|
+
self.ch_acc_age_ind = ch_acc_age_ind
|
|
150
|
+
if ch_acc_date is not APIHelper.SKIP:
|
|
151
|
+
self.ch_acc_date = ch_acc_date
|
|
152
|
+
if ch_acc_change_ind is not APIHelper.SKIP:
|
|
153
|
+
self.ch_acc_change_ind = ch_acc_change_ind
|
|
154
|
+
if ch_acc_change is not APIHelper.SKIP:
|
|
155
|
+
self.ch_acc_change = ch_acc_change
|
|
156
|
+
if ch_acc_pw_change_ind is not APIHelper.SKIP:
|
|
157
|
+
self.ch_acc_pw_change_ind = ch_acc_pw_change_ind
|
|
158
|
+
if ch_acc_pw_change is not APIHelper.SKIP:
|
|
159
|
+
self.ch_acc_pw_change = ch_acc_pw_change
|
|
160
|
+
if ship_address_usage_ind is not APIHelper.SKIP:
|
|
161
|
+
self.ship_address_usage_ind = ship_address_usage_ind
|
|
162
|
+
if ship_address_usage is not APIHelper.SKIP:
|
|
163
|
+
self.ship_address_usage = ship_address_usage
|
|
164
|
+
if txn_activity_day is not APIHelper.SKIP:
|
|
165
|
+
self.txn_activity_day = txn_activity_day
|
|
166
|
+
if txn_activity_year is not APIHelper.SKIP:
|
|
167
|
+
self.txn_activity_year = txn_activity_year
|
|
168
|
+
if provision_attempts_day is not APIHelper.SKIP:
|
|
169
|
+
self.provision_attempts_day = provision_attempts_day
|
|
170
|
+
if nb_purchase_account is not APIHelper.SKIP:
|
|
171
|
+
self.nb_purchase_account = nb_purchase_account
|
|
172
|
+
if suspicious_acc_activity is not APIHelper.SKIP:
|
|
173
|
+
self.suspicious_acc_activity = suspicious_acc_activity
|
|
174
|
+
if ship_name_indicator is not APIHelper.SKIP:
|
|
175
|
+
self.ship_name_indicator = ship_name_indicator
|
|
176
|
+
if payment_acc_ind is not APIHelper.SKIP:
|
|
177
|
+
self.payment_acc_ind = payment_acc_ind
|
|
178
|
+
if payment_acc_age is not APIHelper.SKIP:
|
|
179
|
+
self.payment_acc_age = payment_acc_age
|
|
180
|
+
if ch_acc_req_id is not APIHelper.SKIP:
|
|
181
|
+
self.ch_acc_req_id = ch_acc_req_id
|
|
182
|
+
|
|
183
|
+
# Add additional model properties to the instance
|
|
184
|
+
if additional_properties is None:
|
|
185
|
+
additional_properties = {}
|
|
186
|
+
self.additional_properties = additional_properties
|
|
187
|
+
|
|
188
|
+
@classmethod
|
|
189
|
+
def from_dictionary(cls,
|
|
190
|
+
dictionary):
|
|
191
|
+
"""Create an instance of this model from a dictionary
|
|
192
|
+
|
|
193
|
+
Args:
|
|
194
|
+
dictionary (dictionary): A dictionary representation of the object
|
|
195
|
+
as obtained from the deserialization of the server's response. The
|
|
196
|
+
keys MUST match property names in the API description.
|
|
197
|
+
|
|
198
|
+
Returns:
|
|
199
|
+
object: An instance of this structure class.
|
|
200
|
+
|
|
201
|
+
"""
|
|
202
|
+
if not isinstance(dictionary, dict) or dictionary is None:
|
|
203
|
+
return None
|
|
204
|
+
|
|
205
|
+
# Extract variables from the dictionary
|
|
206
|
+
ch_acc_age_ind =\
|
|
207
|
+
dictionary.get("ch_acc_age_ind")\
|
|
208
|
+
if dictionary.get("ch_acc_age_ind")\
|
|
209
|
+
else APIHelper.SKIP
|
|
210
|
+
ch_acc_date =\
|
|
211
|
+
dictionary.get("ch_acc_date")\
|
|
212
|
+
if dictionary.get("ch_acc_date")\
|
|
213
|
+
else APIHelper.SKIP
|
|
214
|
+
ch_acc_change_ind =\
|
|
215
|
+
dictionary.get("ch_acc_change_ind")\
|
|
216
|
+
if dictionary.get("ch_acc_change_ind")\
|
|
217
|
+
else APIHelper.SKIP
|
|
218
|
+
ch_acc_change =\
|
|
219
|
+
dictionary.get("ch_acc_change")\
|
|
220
|
+
if dictionary.get("ch_acc_change")\
|
|
221
|
+
else APIHelper.SKIP
|
|
222
|
+
ch_acc_pw_change_ind =\
|
|
223
|
+
dictionary.get("ch_acc_pw_change_ind")\
|
|
224
|
+
if dictionary.get("ch_acc_pw_change_ind")\
|
|
225
|
+
else APIHelper.SKIP
|
|
226
|
+
ch_acc_pw_change =\
|
|
227
|
+
dictionary.get("ch_acc_pw_change")\
|
|
228
|
+
if dictionary.get("ch_acc_pw_change")\
|
|
229
|
+
else APIHelper.SKIP
|
|
230
|
+
ship_address_usage_ind =\
|
|
231
|
+
dictionary.get("ship_address_usage_ind")\
|
|
232
|
+
if dictionary.get("ship_address_usage_ind")\
|
|
233
|
+
else APIHelper.SKIP
|
|
234
|
+
ship_address_usage =\
|
|
235
|
+
dictionary.get("ship_address_usage")\
|
|
236
|
+
if dictionary.get("ship_address_usage")\
|
|
237
|
+
else APIHelper.SKIP
|
|
238
|
+
txn_activity_day =\
|
|
239
|
+
dictionary.get("txn_activity_day")\
|
|
240
|
+
if dictionary.get("txn_activity_day")\
|
|
241
|
+
else APIHelper.SKIP
|
|
242
|
+
txn_activity_year =\
|
|
243
|
+
dictionary.get("txn_activity_year")\
|
|
244
|
+
if dictionary.get("txn_activity_year")\
|
|
245
|
+
else APIHelper.SKIP
|
|
246
|
+
provision_attempts_day =\
|
|
247
|
+
dictionary.get("provision_attempts_day")\
|
|
248
|
+
if dictionary.get("provision_attempts_day")\
|
|
249
|
+
else APIHelper.SKIP
|
|
250
|
+
nb_purchase_account =\
|
|
251
|
+
dictionary.get("nb_purchase_account")\
|
|
252
|
+
if dictionary.get("nb_purchase_account")\
|
|
253
|
+
else APIHelper.SKIP
|
|
254
|
+
suspicious_acc_activity =\
|
|
255
|
+
dictionary.get("suspicious_acc_activity")\
|
|
256
|
+
if dictionary.get("suspicious_acc_activity")\
|
|
257
|
+
else APIHelper.SKIP
|
|
258
|
+
ship_name_indicator =\
|
|
259
|
+
dictionary.get("ship_name_indicator")\
|
|
260
|
+
if dictionary.get("ship_name_indicator")\
|
|
261
|
+
else APIHelper.SKIP
|
|
262
|
+
payment_acc_ind =\
|
|
263
|
+
dictionary.get("payment_acc_ind")\
|
|
264
|
+
if dictionary.get("payment_acc_ind")\
|
|
265
|
+
else APIHelper.SKIP
|
|
266
|
+
payment_acc_age =\
|
|
267
|
+
dictionary.get("payment_acc_age")\
|
|
268
|
+
if dictionary.get("payment_acc_age")\
|
|
269
|
+
else APIHelper.SKIP
|
|
270
|
+
ch_acc_req_id =\
|
|
271
|
+
dictionary.get("ch_acc_req_id")\
|
|
272
|
+
if "ch_acc_req_id" in dictionary.keys()\
|
|
273
|
+
else APIHelper.SKIP
|
|
274
|
+
|
|
275
|
+
# Clean out expected properties from dictionary
|
|
276
|
+
additional_properties =\
|
|
277
|
+
{k: v for k, v in dictionary.items() if k not in cls._names.values()}
|
|
278
|
+
|
|
279
|
+
# Return an object of this model
|
|
280
|
+
return cls(ch_acc_age_ind,
|
|
281
|
+
ch_acc_date,
|
|
282
|
+
ch_acc_change_ind,
|
|
283
|
+
ch_acc_change,
|
|
284
|
+
ch_acc_pw_change_ind,
|
|
285
|
+
ch_acc_pw_change,
|
|
286
|
+
ship_address_usage_ind,
|
|
287
|
+
ship_address_usage,
|
|
288
|
+
txn_activity_day,
|
|
289
|
+
txn_activity_year,
|
|
290
|
+
provision_attempts_day,
|
|
291
|
+
nb_purchase_account,
|
|
292
|
+
suspicious_acc_activity,
|
|
293
|
+
ship_name_indicator,
|
|
294
|
+
payment_acc_ind,
|
|
295
|
+
payment_acc_age,
|
|
296
|
+
ch_acc_req_id,
|
|
297
|
+
additional_properties)
|
|
298
|
+
|
|
299
|
+
def __repr__(self):
|
|
300
|
+
"""Return a unambiguous string representation."""
|
|
301
|
+
_ch_acc_age_ind=(
|
|
302
|
+
self.ch_acc_age_ind
|
|
303
|
+
if hasattr(self, "ch_acc_age_ind")
|
|
304
|
+
else None
|
|
305
|
+
)
|
|
306
|
+
_ch_acc_date=(
|
|
307
|
+
self.ch_acc_date
|
|
308
|
+
if hasattr(self, "ch_acc_date")
|
|
309
|
+
else None
|
|
310
|
+
)
|
|
311
|
+
_ch_acc_change_ind=(
|
|
312
|
+
self.ch_acc_change_ind
|
|
313
|
+
if hasattr(self, "ch_acc_change_ind")
|
|
314
|
+
else None
|
|
315
|
+
)
|
|
316
|
+
_ch_acc_change=(
|
|
317
|
+
self.ch_acc_change
|
|
318
|
+
if hasattr(self, "ch_acc_change")
|
|
319
|
+
else None
|
|
320
|
+
)
|
|
321
|
+
_ch_acc_pw_change_ind=(
|
|
322
|
+
self.ch_acc_pw_change_ind
|
|
323
|
+
if hasattr(self, "ch_acc_pw_change_ind")
|
|
324
|
+
else None
|
|
325
|
+
)
|
|
326
|
+
_ch_acc_pw_change=(
|
|
327
|
+
self.ch_acc_pw_change
|
|
328
|
+
if hasattr(self, "ch_acc_pw_change")
|
|
329
|
+
else None
|
|
330
|
+
)
|
|
331
|
+
_ship_address_usage_ind=(
|
|
332
|
+
self.ship_address_usage_ind
|
|
333
|
+
if hasattr(self, "ship_address_usage_ind")
|
|
334
|
+
else None
|
|
335
|
+
)
|
|
336
|
+
_ship_address_usage=(
|
|
337
|
+
self.ship_address_usage
|
|
338
|
+
if hasattr(self, "ship_address_usage")
|
|
339
|
+
else None
|
|
340
|
+
)
|
|
341
|
+
_txn_activity_day=(
|
|
342
|
+
self.txn_activity_day
|
|
343
|
+
if hasattr(self, "txn_activity_day")
|
|
344
|
+
else None
|
|
345
|
+
)
|
|
346
|
+
_txn_activity_year=(
|
|
347
|
+
self.txn_activity_year
|
|
348
|
+
if hasattr(self, "txn_activity_year")
|
|
349
|
+
else None
|
|
350
|
+
)
|
|
351
|
+
_provision_attempts_day=(
|
|
352
|
+
self.provision_attempts_day
|
|
353
|
+
if hasattr(self, "provision_attempts_day")
|
|
354
|
+
else None
|
|
355
|
+
)
|
|
356
|
+
_nb_purchase_account=(
|
|
357
|
+
self.nb_purchase_account
|
|
358
|
+
if hasattr(self, "nb_purchase_account")
|
|
359
|
+
else None
|
|
360
|
+
)
|
|
361
|
+
_suspicious_acc_activity=(
|
|
362
|
+
self.suspicious_acc_activity
|
|
363
|
+
if hasattr(self, "suspicious_acc_activity")
|
|
364
|
+
else None
|
|
365
|
+
)
|
|
366
|
+
_ship_name_indicator=(
|
|
367
|
+
self.ship_name_indicator
|
|
368
|
+
if hasattr(self, "ship_name_indicator")
|
|
369
|
+
else None
|
|
370
|
+
)
|
|
371
|
+
_payment_acc_ind=(
|
|
372
|
+
self.payment_acc_ind
|
|
373
|
+
if hasattr(self, "payment_acc_ind")
|
|
374
|
+
else None
|
|
375
|
+
)
|
|
376
|
+
_payment_acc_age=(
|
|
377
|
+
self.payment_acc_age
|
|
378
|
+
if hasattr(self, "payment_acc_age")
|
|
379
|
+
else None
|
|
380
|
+
)
|
|
381
|
+
_ch_acc_req_id=(
|
|
382
|
+
self.ch_acc_req_id
|
|
383
|
+
if hasattr(self, "ch_acc_req_id")
|
|
384
|
+
else None
|
|
385
|
+
)
|
|
386
|
+
_additional_properties=self.additional_properties
|
|
387
|
+
return (
|
|
388
|
+
f"{self.__class__.__name__}("
|
|
389
|
+
f"ch_acc_age_ind={_ch_acc_age_ind!r}, "
|
|
390
|
+
f"ch_acc_date={_ch_acc_date!r}, "
|
|
391
|
+
f"ch_acc_change_ind={_ch_acc_change_ind!r}, "
|
|
392
|
+
f"ch_acc_change={_ch_acc_change!r}, "
|
|
393
|
+
f"ch_acc_pw_change_ind={_ch_acc_pw_change_ind!r}, "
|
|
394
|
+
f"ch_acc_pw_change={_ch_acc_pw_change!r}, "
|
|
395
|
+
f"ship_address_usage_ind={_ship_address_usage_ind!r}, "
|
|
396
|
+
f"ship_address_usage={_ship_address_usage!r}, "
|
|
397
|
+
f"txn_activity_day={_txn_activity_day!r}, "
|
|
398
|
+
f"txn_activity_year={_txn_activity_year!r}, "
|
|
399
|
+
f"provision_attempts_day={_provision_attempts_day!r}, "
|
|
400
|
+
f"nb_purchase_account={_nb_purchase_account!r}, "
|
|
401
|
+
f"suspicious_acc_activity={_suspicious_acc_activity!r}, "
|
|
402
|
+
f"ship_name_indicator={_ship_name_indicator!r}, "
|
|
403
|
+
f"payment_acc_ind={_payment_acc_ind!r}, "
|
|
404
|
+
f"payment_acc_age={_payment_acc_age!r}, "
|
|
405
|
+
f"ch_acc_req_id={_ch_acc_req_id!r}, "
|
|
406
|
+
f"additional_properties={_additional_properties!r}, "
|
|
407
|
+
f")"
|
|
408
|
+
)
|
|
409
|
+
|
|
410
|
+
def __str__(self):
|
|
411
|
+
"""Return a human-readable string representation."""
|
|
412
|
+
_ch_acc_age_ind=(
|
|
413
|
+
self.ch_acc_age_ind
|
|
414
|
+
if hasattr(self, "ch_acc_age_ind")
|
|
415
|
+
else None
|
|
416
|
+
)
|
|
417
|
+
_ch_acc_date=(
|
|
418
|
+
self.ch_acc_date
|
|
419
|
+
if hasattr(self, "ch_acc_date")
|
|
420
|
+
else None
|
|
421
|
+
)
|
|
422
|
+
_ch_acc_change_ind=(
|
|
423
|
+
self.ch_acc_change_ind
|
|
424
|
+
if hasattr(self, "ch_acc_change_ind")
|
|
425
|
+
else None
|
|
426
|
+
)
|
|
427
|
+
_ch_acc_change=(
|
|
428
|
+
self.ch_acc_change
|
|
429
|
+
if hasattr(self, "ch_acc_change")
|
|
430
|
+
else None
|
|
431
|
+
)
|
|
432
|
+
_ch_acc_pw_change_ind=(
|
|
433
|
+
self.ch_acc_pw_change_ind
|
|
434
|
+
if hasattr(self, "ch_acc_pw_change_ind")
|
|
435
|
+
else None
|
|
436
|
+
)
|
|
437
|
+
_ch_acc_pw_change=(
|
|
438
|
+
self.ch_acc_pw_change
|
|
439
|
+
if hasattr(self, "ch_acc_pw_change")
|
|
440
|
+
else None
|
|
441
|
+
)
|
|
442
|
+
_ship_address_usage_ind=(
|
|
443
|
+
self.ship_address_usage_ind
|
|
444
|
+
if hasattr(self, "ship_address_usage_ind")
|
|
445
|
+
else None
|
|
446
|
+
)
|
|
447
|
+
_ship_address_usage=(
|
|
448
|
+
self.ship_address_usage
|
|
449
|
+
if hasattr(self, "ship_address_usage")
|
|
450
|
+
else None
|
|
451
|
+
)
|
|
452
|
+
_txn_activity_day=(
|
|
453
|
+
self.txn_activity_day
|
|
454
|
+
if hasattr(self, "txn_activity_day")
|
|
455
|
+
else None
|
|
456
|
+
)
|
|
457
|
+
_txn_activity_year=(
|
|
458
|
+
self.txn_activity_year
|
|
459
|
+
if hasattr(self, "txn_activity_year")
|
|
460
|
+
else None
|
|
461
|
+
)
|
|
462
|
+
_provision_attempts_day=(
|
|
463
|
+
self.provision_attempts_day
|
|
464
|
+
if hasattr(self, "provision_attempts_day")
|
|
465
|
+
else None
|
|
466
|
+
)
|
|
467
|
+
_nb_purchase_account=(
|
|
468
|
+
self.nb_purchase_account
|
|
469
|
+
if hasattr(self, "nb_purchase_account")
|
|
470
|
+
else None
|
|
471
|
+
)
|
|
472
|
+
_suspicious_acc_activity=(
|
|
473
|
+
self.suspicious_acc_activity
|
|
474
|
+
if hasattr(self, "suspicious_acc_activity")
|
|
475
|
+
else None
|
|
476
|
+
)
|
|
477
|
+
_ship_name_indicator=(
|
|
478
|
+
self.ship_name_indicator
|
|
479
|
+
if hasattr(self, "ship_name_indicator")
|
|
480
|
+
else None
|
|
481
|
+
)
|
|
482
|
+
_payment_acc_ind=(
|
|
483
|
+
self.payment_acc_ind
|
|
484
|
+
if hasattr(self, "payment_acc_ind")
|
|
485
|
+
else None
|
|
486
|
+
)
|
|
487
|
+
_payment_acc_age=(
|
|
488
|
+
self.payment_acc_age
|
|
489
|
+
if hasattr(self, "payment_acc_age")
|
|
490
|
+
else None
|
|
491
|
+
)
|
|
492
|
+
_ch_acc_req_id=(
|
|
493
|
+
self.ch_acc_req_id
|
|
494
|
+
if hasattr(self, "ch_acc_req_id")
|
|
495
|
+
else None
|
|
496
|
+
)
|
|
497
|
+
_additional_properties=self.additional_properties
|
|
498
|
+
return (
|
|
499
|
+
f"{self.__class__.__name__}("
|
|
500
|
+
f"ch_acc_age_ind={_ch_acc_age_ind!s}, "
|
|
501
|
+
f"ch_acc_date={_ch_acc_date!s}, "
|
|
502
|
+
f"ch_acc_change_ind={_ch_acc_change_ind!s}, "
|
|
503
|
+
f"ch_acc_change={_ch_acc_change!s}, "
|
|
504
|
+
f"ch_acc_pw_change_ind={_ch_acc_pw_change_ind!s}, "
|
|
505
|
+
f"ch_acc_pw_change={_ch_acc_pw_change!s}, "
|
|
506
|
+
f"ship_address_usage_ind={_ship_address_usage_ind!s}, "
|
|
507
|
+
f"ship_address_usage={_ship_address_usage!s}, "
|
|
508
|
+
f"txn_activity_day={_txn_activity_day!s}, "
|
|
509
|
+
f"txn_activity_year={_txn_activity_year!s}, "
|
|
510
|
+
f"provision_attempts_day={_provision_attempts_day!s}, "
|
|
511
|
+
f"nb_purchase_account={_nb_purchase_account!s}, "
|
|
512
|
+
f"suspicious_acc_activity={_suspicious_acc_activity!s}, "
|
|
513
|
+
f"ship_name_indicator={_ship_name_indicator!s}, "
|
|
514
|
+
f"payment_acc_ind={_payment_acc_ind!s}, "
|
|
515
|
+
f"payment_acc_age={_payment_acc_age!s}, "
|
|
516
|
+
f"ch_acc_req_id={_ch_acc_req_id!s}, "
|
|
517
|
+
f"additional_properties={_additional_properties!s}, "
|
|
518
|
+
f")"
|
|
519
|
+
)
|
|
@@ -0,0 +1,47 @@
|
|
|
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 AccountType12Enum(object):
|
|
9
|
+
"""Implementation of the 'AccountType12' enum.
|
|
10
|
+
|
|
11
|
+
Account type. Either "checking" or "savings"
|
|
12
|
+
|
|
13
|
+
Attributes:
|
|
14
|
+
CHECKING: The enum member of type str.
|
|
15
|
+
SAVINGS: The enum member of type str.
|
|
16
|
+
additional_properties (Dict[str, object]): The additional properties for the
|
|
17
|
+
model.
|
|
18
|
+
|
|
19
|
+
"""
|
|
20
|
+
|
|
21
|
+
CHECKING = "checking"
|
|
22
|
+
|
|
23
|
+
SAVINGS = "savings"
|
|
24
|
+
|
|
25
|
+
@classmethod
|
|
26
|
+
def from_value(cls, value, default=None):
|
|
27
|
+
"""Return the matching enum value for the given input."""
|
|
28
|
+
if value is None:
|
|
29
|
+
return default
|
|
30
|
+
|
|
31
|
+
# If numeric and matches directly
|
|
32
|
+
if isinstance(value, int):
|
|
33
|
+
for name, val in cls.__dict__.items():
|
|
34
|
+
if not name.startswith("_") and val == value:
|
|
35
|
+
return val
|
|
36
|
+
|
|
37
|
+
# If string, perform case-insensitive match
|
|
38
|
+
if isinstance(value, str):
|
|
39
|
+
value_lower = value.lower()
|
|
40
|
+
for name, val in cls.__dict__.items():
|
|
41
|
+
if not name.startswith("_") and (
|
|
42
|
+
name.lower() == value_lower or str(val).lower() == value_lower
|
|
43
|
+
):
|
|
44
|
+
return val
|
|
45
|
+
|
|
46
|
+
# Fallback to default
|
|
47
|
+
return default
|
|
@@ -0,0 +1,51 @@
|
|
|
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 AccountType13Enum(object):
|
|
9
|
+
"""Implementation of the 'AccountType13' enum.
|
|
10
|
+
|
|
11
|
+
Account type
|
|
12
|
+
>For ACH, must be provided as either 'checking' or 'savings'. For CC, field is
|
|
13
|
+
read only. System will identify card_type and generate a value for this field
|
|
14
|
+
automatically. i.e. visa, mc, disc, amex, jcb, diners.
|
|
15
|
+
>
|
|
16
|
+
|
|
17
|
+
Attributes:
|
|
18
|
+
SAVINGS: The enum member of type str.
|
|
19
|
+
CHECKING: The enum member of type str.
|
|
20
|
+
additional_properties (Dict[str, object]): The additional properties for the
|
|
21
|
+
model.
|
|
22
|
+
|
|
23
|
+
"""
|
|
24
|
+
|
|
25
|
+
SAVINGS = "savings"
|
|
26
|
+
|
|
27
|
+
CHECKING = "checking"
|
|
28
|
+
|
|
29
|
+
@classmethod
|
|
30
|
+
def from_value(cls, value, default=None):
|
|
31
|
+
"""Return the matching enum value for the given input."""
|
|
32
|
+
if value is None:
|
|
33
|
+
return default
|
|
34
|
+
|
|
35
|
+
# If numeric and matches directly
|
|
36
|
+
if isinstance(value, int):
|
|
37
|
+
for name, val in cls.__dict__.items():
|
|
38
|
+
if not name.startswith("_") and val == value:
|
|
39
|
+
return val
|
|
40
|
+
|
|
41
|
+
# If string, perform case-insensitive match
|
|
42
|
+
if isinstance(value, str):
|
|
43
|
+
value_lower = value.lower()
|
|
44
|
+
for name, val in cls.__dict__.items():
|
|
45
|
+
if not name.startswith("_") and (
|
|
46
|
+
name.lower() == value_lower or str(val).lower() == value_lower
|
|
47
|
+
):
|
|
48
|
+
return val
|
|
49
|
+
|
|
50
|
+
# Fallback to default
|
|
51
|
+
return default
|
|
@@ -0,0 +1,51 @@
|
|
|
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 AccountType16Enum(object):
|
|
9
|
+
"""Implementation of the 'AccountType16' enum.
|
|
10
|
+
|
|
11
|
+
Required for ACH transactions if account_vault_id is not provided.
|
|
12
|
+
>For ACH, allowed values are 'checking' or 'savings'. For CC, this field is read
|
|
13
|
+
only. The system will identify card type and generate a value for this field
|
|
14
|
+
automatically. possible values are: visa, mc, disc, amex, jcb, diners, and debit.
|
|
15
|
+
>
|
|
16
|
+
|
|
17
|
+
Attributes:
|
|
18
|
+
CHECKING: The enum member of type str.
|
|
19
|
+
SAVINGS: The enum member of type str.
|
|
20
|
+
additional_properties (Dict[str, object]): The additional properties for the
|
|
21
|
+
model.
|
|
22
|
+
|
|
23
|
+
"""
|
|
24
|
+
|
|
25
|
+
CHECKING = "checking"
|
|
26
|
+
|
|
27
|
+
SAVINGS = "savings"
|
|
28
|
+
|
|
29
|
+
@classmethod
|
|
30
|
+
def from_value(cls, value, default=None):
|
|
31
|
+
"""Return the matching enum value for the given input."""
|
|
32
|
+
if value is None:
|
|
33
|
+
return default
|
|
34
|
+
|
|
35
|
+
# If numeric and matches directly
|
|
36
|
+
if isinstance(value, int):
|
|
37
|
+
for name, val in cls.__dict__.items():
|
|
38
|
+
if not name.startswith("_") and val == value:
|
|
39
|
+
return val
|
|
40
|
+
|
|
41
|
+
# If string, perform case-insensitive match
|
|
42
|
+
if isinstance(value, str):
|
|
43
|
+
value_lower = value.lower()
|
|
44
|
+
for name, val in cls.__dict__.items():
|
|
45
|
+
if not name.startswith("_") and (
|
|
46
|
+
name.lower() == value_lower or str(val).lower() == value_lower
|
|
47
|
+
):
|
|
48
|
+
return val
|
|
49
|
+
|
|
50
|
+
# Fallback to default
|
|
51
|
+
return default
|