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,510 @@
|
|
|
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 Field59Enum(object):
|
|
9
|
+
"""Implementation of the 'field59' enum.
|
|
10
|
+
|
|
11
|
+
Attributes:
|
|
12
|
+
ADDITIONAL_AMOUNTS: The enum member of type str.
|
|
13
|
+
BILLING_ADDRESS: The enum member of type str.
|
|
14
|
+
CHECKIN_DATE: The enum member of type str.
|
|
15
|
+
CHECKOUT_DATE: The enum member of type str.
|
|
16
|
+
CLERK_NUMBER: The enum member of type str.
|
|
17
|
+
CONTACT_API_ID: The enum member of type str.
|
|
18
|
+
CONTACT_ID: The enum member of type str.
|
|
19
|
+
CUSTOM_DATA: The enum member of type str.
|
|
20
|
+
CUSTOMER_ID: The enum member of type str.
|
|
21
|
+
DESCRIPTION: The enum member of type str.
|
|
22
|
+
IIAS_IND: The enum member of type str.
|
|
23
|
+
IMAGE_FRONT: The enum member of type str.
|
|
24
|
+
IMAGE_BACK: The enum member of type str.
|
|
25
|
+
INSTALLMENT: The enum member of type str.
|
|
26
|
+
INSTALLMENT_NUMBER: The enum member of type str.
|
|
27
|
+
INSTALLMENT_COUNT: The enum member of type str.
|
|
28
|
+
RECURRING_FLAG: The enum member of type str.
|
|
29
|
+
INSTALLMENT_COUNTER: The enum member of type str.
|
|
30
|
+
INSTALLMENT_TOTAL: The enum member of type str.
|
|
31
|
+
SUBSCRIPTION: The enum member of type str.
|
|
32
|
+
STANDING_ORDER: The enum member of type str.
|
|
33
|
+
LOCATION_API_ID: The enum member of type str.
|
|
34
|
+
LOCATION_ID: The enum member of type str.
|
|
35
|
+
PRODUCT_TRANSACTION_ID: The enum member of type str.
|
|
36
|
+
ADVANCE_DEPOSIT: The enum member of type str.
|
|
37
|
+
NO_SHOW: The enum member of type str.
|
|
38
|
+
NOTIFICATION_EMAIL_ADDRESS: The enum member of type str.
|
|
39
|
+
ORDER_NUMBER: The enum member of type str.
|
|
40
|
+
PO_NUMBER: The enum member of type str.
|
|
41
|
+
QUICK_INVOICE_ID: The enum member of type str.
|
|
42
|
+
RECURRING: The enum member of type str.
|
|
43
|
+
RECURRING_NUMBER: The enum member of type str.
|
|
44
|
+
ROOM_NUM: The enum member of type str.
|
|
45
|
+
ROOM_RATE: The enum member of type str.
|
|
46
|
+
SAVE_ACCOUNT: The enum member of type str.
|
|
47
|
+
SAVE_ACCOUNT_TITLE: The enum member of type str.
|
|
48
|
+
SUBTOTAL_AMOUNT: The enum member of type str.
|
|
49
|
+
SURCHARGE_AMOUNT: The enum member of type str.
|
|
50
|
+
TAGS: The enum member of type str.
|
|
51
|
+
TAX: The enum member of type str.
|
|
52
|
+
TIP_AMOUNT: The enum member of type str.
|
|
53
|
+
TRANSACTION_AMOUNT: The enum member of type str.
|
|
54
|
+
SECONDARY_AMOUNT: The enum member of type str.
|
|
55
|
+
TRANSACTION_API_ID: The enum member of type str.
|
|
56
|
+
TRANSACTION_C1: The enum member of type str.
|
|
57
|
+
TRANSACTION_C2: The enum member of type str.
|
|
58
|
+
TRANSACTION_C3: The enum member of type str.
|
|
59
|
+
BANK_FUNDED_ONLY_OVERRIDE: The enum member of type str.
|
|
60
|
+
ALLOW_PARTIAL_AUTHORIZATION_OVERRIDE: The enum member of type str.
|
|
61
|
+
AUTO_DECLINE_CVV_OVERRIDE: The enum member of type str.
|
|
62
|
+
AUTO_DECLINE_STREET_OVERRIDE: The enum member of type str.
|
|
63
|
+
AUTO_DECLINE_ZIP_OVERRIDE: The enum member of type str.
|
|
64
|
+
EBT_TYPE: The enum member of type str.
|
|
65
|
+
CURRENCY_CODE: The enum member of type str.
|
|
66
|
+
ID: The enum member of type str.
|
|
67
|
+
CREATED_TS: The enum member of type str.
|
|
68
|
+
MODIFIED_TS: The enum member of type str.
|
|
69
|
+
TERMINAL_ID: The enum member of type str.
|
|
70
|
+
ACCOUNT_HOLDER_NAME: The enum member of type str.
|
|
71
|
+
ACCOUNT_TYPE: The enum member of type str.
|
|
72
|
+
TOKEN_API_ID: The enum member of type str.
|
|
73
|
+
TOKEN_ID: The enum member of type str.
|
|
74
|
+
ACH_IDENTIFIER: The enum member of type str.
|
|
75
|
+
ACH_SEC_CODE: The enum member of type str.
|
|
76
|
+
AUTH_AMOUNT: The enum member of type str.
|
|
77
|
+
AUTH_CODE: The enum member of type str.
|
|
78
|
+
AVS: The enum member of type str.
|
|
79
|
+
AVS_ENHANCED: The enum member of type str.
|
|
80
|
+
CARDHOLDER_PRESENT: The enum member of type str.
|
|
81
|
+
CARD_PRESENT: The enum member of type str.
|
|
82
|
+
CHECK_NUMBER: The enum member of type str.
|
|
83
|
+
CUSTOMER_IP: The enum member of type str.
|
|
84
|
+
CVV_RESPONSE: The enum member of type str.
|
|
85
|
+
ENTRY_MODE_ID: The enum member of type str.
|
|
86
|
+
EMV_RECEIPT_DATA: The enum member of type str.
|
|
87
|
+
FIRST_SIX: The enum member of type str.
|
|
88
|
+
LAST_FOUR: The enum member of type str.
|
|
89
|
+
PAYMENT_METHOD: The enum member of type str.
|
|
90
|
+
TERMINAL_SERIAL_NUMBER: The enum member of type str.
|
|
91
|
+
TRANSACTION_SETTLEMENT_STATUS: The enum member of type str.
|
|
92
|
+
CHARGE_BACK_DATE: The enum member of type str.
|
|
93
|
+
IS_RECURRING: The enum member of type str.
|
|
94
|
+
NOTIFICATION_EMAIL_SENT: The enum member of type str.
|
|
95
|
+
PAR: The enum member of type str.
|
|
96
|
+
REASON_CODE_ID: The enum member of type str.
|
|
97
|
+
RECURRING_ID: The enum member of type str.
|
|
98
|
+
SETTLE_DATE: The enum member of type str.
|
|
99
|
+
STATUS_CODE: The enum member of type str.
|
|
100
|
+
TRANSACTION_BATCH_ID: The enum member of type str.
|
|
101
|
+
TYPE_ID: The enum member of type str.
|
|
102
|
+
VERBIAGE: The enum member of type str.
|
|
103
|
+
VOUCHER_NUMBER: The enum member of type str.
|
|
104
|
+
VOID_DATE: The enum member of type str.
|
|
105
|
+
BATCH: The enum member of type str.
|
|
106
|
+
TERMS_AGREE: The enum member of type str.
|
|
107
|
+
RESPONSE_MESSAGE: The enum member of type str.
|
|
108
|
+
RETURN_DATE: The enum member of type str.
|
|
109
|
+
TRX_SOURCE_ID: The enum member of type str.
|
|
110
|
+
ROUTING_NUMBER: The enum member of type str.
|
|
111
|
+
TRX_SOURCE_CODE: The enum member of type str.
|
|
112
|
+
PAYLINK_ID: The enum member of type str.
|
|
113
|
+
IS_ACCOUNTVAULT: The enum member of type str.
|
|
114
|
+
CREATED_USER_ID: The enum member of type str.
|
|
115
|
+
MODIFIED_USER_ID: The enum member of type str.
|
|
116
|
+
TRANSACTION_CODE: The enum member of type str.
|
|
117
|
+
EFFECTIVE_DATE: The enum member of type str.
|
|
118
|
+
NOTIFICATION_PHONE: The enum member of type str.
|
|
119
|
+
CAVV_RESULT: The enum member of type str.
|
|
120
|
+
IS_TOKEN: The enum member of type str.
|
|
121
|
+
ACCOUNT_VAULT_ID: The enum member of type str.
|
|
122
|
+
HOSTED_PAYMENT_PAGE_ID: The enum member of type str.
|
|
123
|
+
STAN: The enum member of type str.
|
|
124
|
+
CURRENCY: The enum member of type str.
|
|
125
|
+
CARD_BIN: The enum member of type str.
|
|
126
|
+
WALLET_TYPE: The enum member of type str.
|
|
127
|
+
ACCOUNT_VAULT: The enum member of type str.
|
|
128
|
+
QUICK_INVOICE: The enum member of type str.
|
|
129
|
+
LOG_EMAILS: The enum member of type str.
|
|
130
|
+
IS_VOIDABLE: The enum member of type str.
|
|
131
|
+
IS_REVERSIBLE: The enum member of type str.
|
|
132
|
+
IS_REFUNDABLE: The enum member of type str.
|
|
133
|
+
IS_COMPLETABLE: The enum member of type str.
|
|
134
|
+
IS_SETTLED: The enum member of type str.
|
|
135
|
+
CREATED_USER: The enum member of type str.
|
|
136
|
+
LOCATION: The enum member of type str.
|
|
137
|
+
CONTACT: The enum member of type str.
|
|
138
|
+
CHANGELOGS: The enum member of type str.
|
|
139
|
+
PRODUCT_TRANSACTION: The enum member of type str.
|
|
140
|
+
ALL_TAGS: The enum member of type str.
|
|
141
|
+
TAGTRANSACTIONS: The enum member of type str.
|
|
142
|
+
DECLINED_RECURRING_NOTIFICATION: The enum member of type str.
|
|
143
|
+
PAYMENT_RECURRING_NOTIFICATION: The enum member of type str.
|
|
144
|
+
DEVELOPER_COMPANY: The enum member of type str.
|
|
145
|
+
TERMINAL: The enum member of type str.
|
|
146
|
+
HOSTED_PAYMENT_PAGE: The enum member of type str.
|
|
147
|
+
TRANSACTION_LEVEL3: The enum member of type str.
|
|
148
|
+
DEVELOPER_COMPANY_ID: The enum member of type str.
|
|
149
|
+
TRANSACTION_HISTORIES: The enum member of type str.
|
|
150
|
+
SURCHARGE_TRANSACTION: The enum member of type str.
|
|
151
|
+
SURCHARGE: The enum member of type str.
|
|
152
|
+
SIGNATURE: The enum member of type str.
|
|
153
|
+
REASON_CODE: The enum member of type str.
|
|
154
|
+
TYPE: The enum member of type str.
|
|
155
|
+
STATUS: The enum member of type str.
|
|
156
|
+
TRANSACTION_BATCH: The enum member of type str.
|
|
157
|
+
TRANSACTION_SPLITS: The enum member of type str.
|
|
158
|
+
POSTBACK_LOGS: The enum member of type str.
|
|
159
|
+
CURRENCY_TYPE: The enum member of type str.
|
|
160
|
+
TRANSACTION_REFERENCES: The enum member of type str.
|
|
161
|
+
REJECTED_TRANSACTION_ACH_RETRIES: The enum member of type str.
|
|
162
|
+
RETURN_FEE_TRANSACTION_ACH_RETRY: The enum member of type str.
|
|
163
|
+
RETRY_TRANSACTION_ACH_RETRY: The enum member of type str.
|
|
164
|
+
IS_RETRIABLE: The enum member of type str.
|
|
165
|
+
SAVED_ACCOUNT: The enum member of type str.
|
|
166
|
+
BALANCES: The enum member of type str.
|
|
167
|
+
TRANSACTION_THREE_DS: The enum member of type str.
|
|
168
|
+
TRANSACTION_SETTLEMENT: The enum member of type str.
|
|
169
|
+
additional_properties (Dict[str, object]): The additional properties for the
|
|
170
|
+
model.
|
|
171
|
+
|
|
172
|
+
"""
|
|
173
|
+
|
|
174
|
+
ADDITIONAL_AMOUNTS = "additional_amounts"
|
|
175
|
+
|
|
176
|
+
BILLING_ADDRESS = "billing_address"
|
|
177
|
+
|
|
178
|
+
CHECKIN_DATE = "checkin_date"
|
|
179
|
+
|
|
180
|
+
CHECKOUT_DATE = "checkout_date"
|
|
181
|
+
|
|
182
|
+
CLERK_NUMBER = "clerk_number"
|
|
183
|
+
|
|
184
|
+
CONTACT_API_ID = "contact_api_id"
|
|
185
|
+
|
|
186
|
+
CONTACT_ID = "contact_id"
|
|
187
|
+
|
|
188
|
+
CUSTOM_DATA = "custom_data"
|
|
189
|
+
|
|
190
|
+
CUSTOMER_ID = "customer_id"
|
|
191
|
+
|
|
192
|
+
DESCRIPTION = "description"
|
|
193
|
+
|
|
194
|
+
IIAS_IND = "iias_ind"
|
|
195
|
+
|
|
196
|
+
IMAGE_FRONT = "image_front"
|
|
197
|
+
|
|
198
|
+
IMAGE_BACK = "image_back"
|
|
199
|
+
|
|
200
|
+
INSTALLMENT = "installment"
|
|
201
|
+
|
|
202
|
+
INSTALLMENT_NUMBER = "installment_number"
|
|
203
|
+
|
|
204
|
+
INSTALLMENT_COUNT = "installment_count"
|
|
205
|
+
|
|
206
|
+
RECURRING_FLAG = "recurring_flag"
|
|
207
|
+
|
|
208
|
+
INSTALLMENT_COUNTER = "installment_counter"
|
|
209
|
+
|
|
210
|
+
INSTALLMENT_TOTAL = "installment_total"
|
|
211
|
+
|
|
212
|
+
SUBSCRIPTION = "subscription"
|
|
213
|
+
|
|
214
|
+
STANDING_ORDER = "standing_order"
|
|
215
|
+
|
|
216
|
+
LOCATION_API_ID = "location_api_id"
|
|
217
|
+
|
|
218
|
+
LOCATION_ID = "location_id"
|
|
219
|
+
|
|
220
|
+
PRODUCT_TRANSACTION_ID = "product_transaction_id"
|
|
221
|
+
|
|
222
|
+
ADVANCE_DEPOSIT = "advance_deposit"
|
|
223
|
+
|
|
224
|
+
NO_SHOW = "no_show"
|
|
225
|
+
|
|
226
|
+
NOTIFICATION_EMAIL_ADDRESS = "notification_email_address"
|
|
227
|
+
|
|
228
|
+
ORDER_NUMBER = "order_number"
|
|
229
|
+
|
|
230
|
+
PO_NUMBER = "po_number"
|
|
231
|
+
|
|
232
|
+
QUICK_INVOICE_ID = "quick_invoice_id"
|
|
233
|
+
|
|
234
|
+
RECURRING = "recurring"
|
|
235
|
+
|
|
236
|
+
RECURRING_NUMBER = "recurring_number"
|
|
237
|
+
|
|
238
|
+
ROOM_NUM = "room_num"
|
|
239
|
+
|
|
240
|
+
ROOM_RATE = "room_rate"
|
|
241
|
+
|
|
242
|
+
SAVE_ACCOUNT = "save_account"
|
|
243
|
+
|
|
244
|
+
SAVE_ACCOUNT_TITLE = "save_account_title"
|
|
245
|
+
|
|
246
|
+
SUBTOTAL_AMOUNT = "subtotal_amount"
|
|
247
|
+
|
|
248
|
+
SURCHARGE_AMOUNT = "surcharge_amount"
|
|
249
|
+
|
|
250
|
+
TAGS = "tags"
|
|
251
|
+
|
|
252
|
+
TAX = "tax"
|
|
253
|
+
|
|
254
|
+
TIP_AMOUNT = "tip_amount"
|
|
255
|
+
|
|
256
|
+
TRANSACTION_AMOUNT = "transaction_amount"
|
|
257
|
+
|
|
258
|
+
SECONDARY_AMOUNT = "secondary_amount"
|
|
259
|
+
|
|
260
|
+
TRANSACTION_API_ID = "transaction_api_id"
|
|
261
|
+
|
|
262
|
+
TRANSACTION_C1 = "transaction_c1"
|
|
263
|
+
|
|
264
|
+
TRANSACTION_C2 = "transaction_c2"
|
|
265
|
+
|
|
266
|
+
TRANSACTION_C3 = "transaction_c3"
|
|
267
|
+
|
|
268
|
+
BANK_FUNDED_ONLY_OVERRIDE = "bank_funded_only_override"
|
|
269
|
+
|
|
270
|
+
ALLOW_PARTIAL_AUTHORIZATION_OVERRIDE = "allow_partial_authorization_override"
|
|
271
|
+
|
|
272
|
+
AUTO_DECLINE_CVV_OVERRIDE = "auto_decline_cvv_override"
|
|
273
|
+
|
|
274
|
+
AUTO_DECLINE_STREET_OVERRIDE = "auto_decline_street_override"
|
|
275
|
+
|
|
276
|
+
AUTO_DECLINE_ZIP_OVERRIDE = "auto_decline_zip_override"
|
|
277
|
+
|
|
278
|
+
EBT_TYPE = "ebt_type"
|
|
279
|
+
|
|
280
|
+
CURRENCY_CODE = "currency_code"
|
|
281
|
+
|
|
282
|
+
ID = "id"
|
|
283
|
+
|
|
284
|
+
CREATED_TS = "created_ts"
|
|
285
|
+
|
|
286
|
+
MODIFIED_TS = "modified_ts"
|
|
287
|
+
|
|
288
|
+
TERMINAL_ID = "terminal_id"
|
|
289
|
+
|
|
290
|
+
ACCOUNT_HOLDER_NAME = "account_holder_name"
|
|
291
|
+
|
|
292
|
+
ACCOUNT_TYPE = "account_type"
|
|
293
|
+
|
|
294
|
+
TOKEN_API_ID = "token_api_id"
|
|
295
|
+
|
|
296
|
+
TOKEN_ID = "token_id"
|
|
297
|
+
|
|
298
|
+
ACH_IDENTIFIER = "ach_identifier"
|
|
299
|
+
|
|
300
|
+
ACH_SEC_CODE = "ach_sec_code"
|
|
301
|
+
|
|
302
|
+
AUTH_AMOUNT = "auth_amount"
|
|
303
|
+
|
|
304
|
+
AUTH_CODE = "auth_code"
|
|
305
|
+
|
|
306
|
+
AVS = "avs"
|
|
307
|
+
|
|
308
|
+
AVS_ENHANCED = "avs_enhanced"
|
|
309
|
+
|
|
310
|
+
CARDHOLDER_PRESENT = "cardholder_present"
|
|
311
|
+
|
|
312
|
+
CARD_PRESENT = "card_present"
|
|
313
|
+
|
|
314
|
+
CHECK_NUMBER = "check_number"
|
|
315
|
+
|
|
316
|
+
CUSTOMER_IP = "customer_ip"
|
|
317
|
+
|
|
318
|
+
CVV_RESPONSE = "cvv_response"
|
|
319
|
+
|
|
320
|
+
ENTRY_MODE_ID = "entry_mode_id"
|
|
321
|
+
|
|
322
|
+
EMV_RECEIPT_DATA = "emv_receipt_data"
|
|
323
|
+
|
|
324
|
+
FIRST_SIX = "first_six"
|
|
325
|
+
|
|
326
|
+
LAST_FOUR = "last_four"
|
|
327
|
+
|
|
328
|
+
PAYMENT_METHOD = "payment_method"
|
|
329
|
+
|
|
330
|
+
TERMINAL_SERIAL_NUMBER = "terminal_serial_number"
|
|
331
|
+
|
|
332
|
+
TRANSACTION_SETTLEMENT_STATUS = "transaction_settlement_status"
|
|
333
|
+
|
|
334
|
+
CHARGE_BACK_DATE = "charge_back_date"
|
|
335
|
+
|
|
336
|
+
IS_RECURRING = "is_recurring"
|
|
337
|
+
|
|
338
|
+
NOTIFICATION_EMAIL_SENT = "notification_email_sent"
|
|
339
|
+
|
|
340
|
+
PAR = "par"
|
|
341
|
+
|
|
342
|
+
REASON_CODE_ID = "reason_code_id"
|
|
343
|
+
|
|
344
|
+
RECURRING_ID = "recurring_id"
|
|
345
|
+
|
|
346
|
+
SETTLE_DATE = "settle_date"
|
|
347
|
+
|
|
348
|
+
STATUS_CODE = "status_code"
|
|
349
|
+
|
|
350
|
+
TRANSACTION_BATCH_ID = "transaction_batch_id"
|
|
351
|
+
|
|
352
|
+
TYPE_ID = "type_id"
|
|
353
|
+
|
|
354
|
+
VERBIAGE = "verbiage"
|
|
355
|
+
|
|
356
|
+
VOUCHER_NUMBER = "voucher_number"
|
|
357
|
+
|
|
358
|
+
VOID_DATE = "void_date"
|
|
359
|
+
|
|
360
|
+
BATCH = "batch"
|
|
361
|
+
|
|
362
|
+
TERMS_AGREE = "terms_agree"
|
|
363
|
+
|
|
364
|
+
RESPONSE_MESSAGE = "response_message"
|
|
365
|
+
|
|
366
|
+
RETURN_DATE = "return_date"
|
|
367
|
+
|
|
368
|
+
TRX_SOURCE_ID = "trx_source_id"
|
|
369
|
+
|
|
370
|
+
ROUTING_NUMBER = "routing_number"
|
|
371
|
+
|
|
372
|
+
TRX_SOURCE_CODE = "trx_source_code"
|
|
373
|
+
|
|
374
|
+
PAYLINK_ID = "paylink_id"
|
|
375
|
+
|
|
376
|
+
IS_ACCOUNTVAULT = "is_accountvault"
|
|
377
|
+
|
|
378
|
+
CREATED_USER_ID = "created_user_id"
|
|
379
|
+
|
|
380
|
+
MODIFIED_USER_ID = "modified_user_id"
|
|
381
|
+
|
|
382
|
+
TRANSACTION_CODE = "transaction_code"
|
|
383
|
+
|
|
384
|
+
EFFECTIVE_DATE = "effective_date"
|
|
385
|
+
|
|
386
|
+
NOTIFICATION_PHONE = "notification_phone"
|
|
387
|
+
|
|
388
|
+
CAVV_RESULT = "cavv_result"
|
|
389
|
+
|
|
390
|
+
IS_TOKEN = "is_token"
|
|
391
|
+
|
|
392
|
+
ACCOUNT_VAULT_ID = "account_vault_id"
|
|
393
|
+
|
|
394
|
+
HOSTED_PAYMENT_PAGE_ID = "hosted_payment_page_id"
|
|
395
|
+
|
|
396
|
+
STAN = "stan"
|
|
397
|
+
|
|
398
|
+
CURRENCY = "currency"
|
|
399
|
+
|
|
400
|
+
CARD_BIN = "card_bin"
|
|
401
|
+
|
|
402
|
+
WALLET_TYPE = "wallet_type"
|
|
403
|
+
|
|
404
|
+
ACCOUNT_VAULT = "account_vault"
|
|
405
|
+
|
|
406
|
+
QUICK_INVOICE = "quick_invoice"
|
|
407
|
+
|
|
408
|
+
LOG_EMAILS = "log_emails"
|
|
409
|
+
|
|
410
|
+
IS_VOIDABLE = "is_voidable"
|
|
411
|
+
|
|
412
|
+
IS_REVERSIBLE = "is_reversible"
|
|
413
|
+
|
|
414
|
+
IS_REFUNDABLE = "is_refundable"
|
|
415
|
+
|
|
416
|
+
IS_COMPLETABLE = "is_completable"
|
|
417
|
+
|
|
418
|
+
IS_SETTLED = "is_settled"
|
|
419
|
+
|
|
420
|
+
CREATED_USER = "created_user"
|
|
421
|
+
|
|
422
|
+
LOCATION = "location"
|
|
423
|
+
|
|
424
|
+
CONTACT = "contact"
|
|
425
|
+
|
|
426
|
+
CHANGELOGS = "changelogs"
|
|
427
|
+
|
|
428
|
+
PRODUCT_TRANSACTION = "product_transaction"
|
|
429
|
+
|
|
430
|
+
ALL_TAGS = "all_tags"
|
|
431
|
+
|
|
432
|
+
TAGTRANSACTIONS = "tagTransactions"
|
|
433
|
+
|
|
434
|
+
DECLINED_RECURRING_NOTIFICATION = "declined_recurring_notification"
|
|
435
|
+
|
|
436
|
+
PAYMENT_RECURRING_NOTIFICATION = "payment_recurring_notification"
|
|
437
|
+
|
|
438
|
+
DEVELOPER_COMPANY = "developer_company"
|
|
439
|
+
|
|
440
|
+
TERMINAL = "terminal"
|
|
441
|
+
|
|
442
|
+
HOSTED_PAYMENT_PAGE = "hosted_payment_page"
|
|
443
|
+
|
|
444
|
+
TRANSACTION_LEVEL3 = "transaction_level3"
|
|
445
|
+
|
|
446
|
+
DEVELOPER_COMPANY_ID = "developer_company_id"
|
|
447
|
+
|
|
448
|
+
TRANSACTION_HISTORIES = "transaction_histories"
|
|
449
|
+
|
|
450
|
+
SURCHARGE_TRANSACTION = "surcharge_transaction"
|
|
451
|
+
|
|
452
|
+
SURCHARGE = "surcharge"
|
|
453
|
+
|
|
454
|
+
SIGNATURE = "signature"
|
|
455
|
+
|
|
456
|
+
REASON_CODE = "reason_code"
|
|
457
|
+
|
|
458
|
+
ENUM_TYPE = "type"
|
|
459
|
+
|
|
460
|
+
STATUS = "status"
|
|
461
|
+
|
|
462
|
+
TRANSACTION_BATCH = "transaction_batch"
|
|
463
|
+
|
|
464
|
+
TRANSACTION_SPLITS = "transaction_splits"
|
|
465
|
+
|
|
466
|
+
POSTBACK_LOGS = "postback_logs"
|
|
467
|
+
|
|
468
|
+
CURRENCY_TYPE = "currency_type"
|
|
469
|
+
|
|
470
|
+
TRANSACTION_REFERENCES = "transaction_references"
|
|
471
|
+
|
|
472
|
+
REJECTED_TRANSACTION_ACH_RETRIES = "rejected_transaction_ach_retries"
|
|
473
|
+
|
|
474
|
+
RETURN_FEE_TRANSACTION_ACH_RETRY = "return_fee_transaction_ach_retry"
|
|
475
|
+
|
|
476
|
+
RETRY_TRANSACTION_ACH_RETRY = "retry_transaction_ach_retry"
|
|
477
|
+
|
|
478
|
+
IS_RETRIABLE = "is_retriable"
|
|
479
|
+
|
|
480
|
+
SAVED_ACCOUNT = "saved_account"
|
|
481
|
+
|
|
482
|
+
BALANCES = "balances"
|
|
483
|
+
|
|
484
|
+
TRANSACTION_THREE_DS = "transaction_three_ds"
|
|
485
|
+
|
|
486
|
+
TRANSACTION_SETTLEMENT = "transaction_settlement"
|
|
487
|
+
|
|
488
|
+
@classmethod
|
|
489
|
+
def from_value(cls, value, default=None):
|
|
490
|
+
"""Return the matching enum value for the given input."""
|
|
491
|
+
if value is None:
|
|
492
|
+
return default
|
|
493
|
+
|
|
494
|
+
# If numeric and matches directly
|
|
495
|
+
if isinstance(value, int):
|
|
496
|
+
for name, val in cls.__dict__.items():
|
|
497
|
+
if not name.startswith("_") and val == value:
|
|
498
|
+
return val
|
|
499
|
+
|
|
500
|
+
# If string, perform case-insensitive match
|
|
501
|
+
if isinstance(value, str):
|
|
502
|
+
value_lower = value.lower()
|
|
503
|
+
for name, val in cls.__dict__.items():
|
|
504
|
+
if not name.startswith("_") and (
|
|
505
|
+
name.lower() == value_lower or str(val).lower() == value_lower
|
|
506
|
+
):
|
|
507
|
+
return val
|
|
508
|
+
|
|
509
|
+
# Fallback to default
|
|
510
|
+
return default
|
|
@@ -0,0 +1,202 @@
|
|
|
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
|
+
from fortisapi.models.body import Body
|
|
9
|
+
from fortisapi.models.footer import Footer
|
|
10
|
+
from fortisapi.models.header import Header
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
class FieldConfiguration(object):
|
|
14
|
+
"""Implementation of the 'FieldConfiguration' model.
|
|
15
|
+
|
|
16
|
+
field_configuration
|
|
17
|
+
|
|
18
|
+
Attributes:
|
|
19
|
+
css_mini (bool): CSS Mini
|
|
20
|
+
stack (StackEnum): Stack
|
|
21
|
+
header (Header): Header
|
|
22
|
+
body (Body): Body
|
|
23
|
+
footer (Footer): Footer
|
|
24
|
+
additional_properties (Dict[str, object]): The additional properties for the
|
|
25
|
+
model.
|
|
26
|
+
|
|
27
|
+
"""
|
|
28
|
+
|
|
29
|
+
# Create a mapping from Model property names to API property names
|
|
30
|
+
_names = {
|
|
31
|
+
"css_mini": "css_mini",
|
|
32
|
+
"stack": "stack",
|
|
33
|
+
"header": "header",
|
|
34
|
+
"body": "body",
|
|
35
|
+
"footer": "footer",
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
_optionals = [
|
|
39
|
+
"css_mini",
|
|
40
|
+
"stack",
|
|
41
|
+
"header",
|
|
42
|
+
"body",
|
|
43
|
+
"footer",
|
|
44
|
+
]
|
|
45
|
+
|
|
46
|
+
def __init__(
|
|
47
|
+
self,
|
|
48
|
+
css_mini=APIHelper.SKIP,
|
|
49
|
+
stack=APIHelper.SKIP,
|
|
50
|
+
header=APIHelper.SKIP,
|
|
51
|
+
body=APIHelper.SKIP,
|
|
52
|
+
footer=APIHelper.SKIP,
|
|
53
|
+
additional_properties=None):
|
|
54
|
+
"""Initialize a FieldConfiguration instance."""
|
|
55
|
+
# Initialize members of the class
|
|
56
|
+
if css_mini is not APIHelper.SKIP:
|
|
57
|
+
self.css_mini = css_mini
|
|
58
|
+
if stack is not APIHelper.SKIP:
|
|
59
|
+
self.stack = stack
|
|
60
|
+
if header is not APIHelper.SKIP:
|
|
61
|
+
self.header = header
|
|
62
|
+
if body is not APIHelper.SKIP:
|
|
63
|
+
self.body = body
|
|
64
|
+
if footer is not APIHelper.SKIP:
|
|
65
|
+
self.footer = footer
|
|
66
|
+
|
|
67
|
+
# Add additional model properties to the instance
|
|
68
|
+
if additional_properties is None:
|
|
69
|
+
additional_properties = {}
|
|
70
|
+
self.additional_properties = additional_properties
|
|
71
|
+
|
|
72
|
+
@classmethod
|
|
73
|
+
def from_dictionary(cls,
|
|
74
|
+
dictionary):
|
|
75
|
+
"""Create an instance of this model from a dictionary
|
|
76
|
+
|
|
77
|
+
Args:
|
|
78
|
+
dictionary (dictionary): A dictionary representation of the object
|
|
79
|
+
as obtained from the deserialization of the server's response. The
|
|
80
|
+
keys MUST match property names in the API description.
|
|
81
|
+
|
|
82
|
+
Returns:
|
|
83
|
+
object: An instance of this structure class.
|
|
84
|
+
|
|
85
|
+
"""
|
|
86
|
+
if not isinstance(dictionary, dict) or dictionary is None:
|
|
87
|
+
return None
|
|
88
|
+
|
|
89
|
+
# Extract variables from the dictionary
|
|
90
|
+
css_mini =\
|
|
91
|
+
dictionary.get("css_mini")\
|
|
92
|
+
if "css_mini" in dictionary.keys()\
|
|
93
|
+
else APIHelper.SKIP
|
|
94
|
+
stack =\
|
|
95
|
+
dictionary.get("stack")\
|
|
96
|
+
if dictionary.get("stack")\
|
|
97
|
+
else APIHelper.SKIP
|
|
98
|
+
header =\
|
|
99
|
+
Header.from_dictionary(
|
|
100
|
+
dictionary.get("header"))\
|
|
101
|
+
if "header" in dictionary.keys()\
|
|
102
|
+
else APIHelper.SKIP
|
|
103
|
+
body =\
|
|
104
|
+
Body.from_dictionary(
|
|
105
|
+
dictionary.get("body"))\
|
|
106
|
+
if "body" in dictionary.keys()\
|
|
107
|
+
else APIHelper.SKIP
|
|
108
|
+
footer =\
|
|
109
|
+
Footer.from_dictionary(
|
|
110
|
+
dictionary.get("footer"))\
|
|
111
|
+
if "footer" in dictionary.keys()\
|
|
112
|
+
else APIHelper.SKIP
|
|
113
|
+
|
|
114
|
+
# Clean out expected properties from dictionary
|
|
115
|
+
additional_properties =\
|
|
116
|
+
{k: v for k, v in dictionary.items() if k not in cls._names.values()}
|
|
117
|
+
|
|
118
|
+
# Return an object of this model
|
|
119
|
+
return cls(css_mini,
|
|
120
|
+
stack,
|
|
121
|
+
header,
|
|
122
|
+
body,
|
|
123
|
+
footer,
|
|
124
|
+
additional_properties)
|
|
125
|
+
|
|
126
|
+
def __repr__(self):
|
|
127
|
+
"""Return a unambiguous string representation."""
|
|
128
|
+
_css_mini=(
|
|
129
|
+
self.css_mini
|
|
130
|
+
if hasattr(self, "css_mini")
|
|
131
|
+
else None
|
|
132
|
+
)
|
|
133
|
+
_stack=(
|
|
134
|
+
self.stack
|
|
135
|
+
if hasattr(self, "stack")
|
|
136
|
+
else None
|
|
137
|
+
)
|
|
138
|
+
_header=(
|
|
139
|
+
self.header
|
|
140
|
+
if hasattr(self, "header")
|
|
141
|
+
else None
|
|
142
|
+
)
|
|
143
|
+
_body=(
|
|
144
|
+
self.body
|
|
145
|
+
if hasattr(self, "body")
|
|
146
|
+
else None
|
|
147
|
+
)
|
|
148
|
+
_footer=(
|
|
149
|
+
self.footer
|
|
150
|
+
if hasattr(self, "footer")
|
|
151
|
+
else None
|
|
152
|
+
)
|
|
153
|
+
_additional_properties=self.additional_properties
|
|
154
|
+
return (
|
|
155
|
+
f"{self.__class__.__name__}("
|
|
156
|
+
f"css_mini={_css_mini!r}, "
|
|
157
|
+
f"stack={_stack!r}, "
|
|
158
|
+
f"header={_header!r}, "
|
|
159
|
+
f"body={_body!r}, "
|
|
160
|
+
f"footer={_footer!r}, "
|
|
161
|
+
f"additional_properties={_additional_properties!r}, "
|
|
162
|
+
f")"
|
|
163
|
+
)
|
|
164
|
+
|
|
165
|
+
def __str__(self):
|
|
166
|
+
"""Return a human-readable string representation."""
|
|
167
|
+
_css_mini=(
|
|
168
|
+
self.css_mini
|
|
169
|
+
if hasattr(self, "css_mini")
|
|
170
|
+
else None
|
|
171
|
+
)
|
|
172
|
+
_stack=(
|
|
173
|
+
self.stack
|
|
174
|
+
if hasattr(self, "stack")
|
|
175
|
+
else None
|
|
176
|
+
)
|
|
177
|
+
_header=(
|
|
178
|
+
self.header
|
|
179
|
+
if hasattr(self, "header")
|
|
180
|
+
else None
|
|
181
|
+
)
|
|
182
|
+
_body=(
|
|
183
|
+
self.body
|
|
184
|
+
if hasattr(self, "body")
|
|
185
|
+
else None
|
|
186
|
+
)
|
|
187
|
+
_footer=(
|
|
188
|
+
self.footer
|
|
189
|
+
if hasattr(self, "footer")
|
|
190
|
+
else None
|
|
191
|
+
)
|
|
192
|
+
_additional_properties=self.additional_properties
|
|
193
|
+
return (
|
|
194
|
+
f"{self.__class__.__name__}("
|
|
195
|
+
f"css_mini={_css_mini!s}, "
|
|
196
|
+
f"stack={_stack!s}, "
|
|
197
|
+
f"header={_header!s}, "
|
|
198
|
+
f"body={_body!s}, "
|
|
199
|
+
f"footer={_footer!s}, "
|
|
200
|
+
f"additional_properties={_additional_properties!s}, "
|
|
201
|
+
f")"
|
|
202
|
+
)
|