fortis-apimatic-sdk 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/LICENSE +28 -0
- data/README.md +197 -0
- data/bin/console +15 -0
- data/lib/fortis_api/api_helper.rb +10 -0
- data/lib/fortis_api/client.rb +274 -0
- data/lib/fortis_api/configuration.rb +192 -0
- data/lib/fortis_api/controllers/apple_pay_validate_merchant_controller.rb +35 -0
- data/lib/fortis_api/controllers/async_processing_controller.rb +32 -0
- data/lib/fortis_api/controllers/base_controller.rb +60 -0
- data/lib/fortis_api/controllers/batches_controller.rb +103 -0
- data/lib/fortis_api/controllers/contacts_controller.rb +242 -0
- data/lib/fortis_api/controllers/declined_recurring_transactions_controller.rb +186 -0
- data/lib/fortis_api/controllers/device_terms_controller.rb +141 -0
- data/lib/fortis_api/controllers/elements_controller.rb +66 -0
- data/lib/fortis_api/controllers/full_boarding_controller.rb +38 -0
- data/lib/fortis_api/controllers/level3_data_controller.rb +119 -0
- data/lib/fortis_api/controllers/locations_controller.rb +301 -0
- data/lib/fortis_api/controllers/m3_ds_authentication_controller.rb +42 -0
- data/lib/fortis_api/controllers/m3_ds_transactions_controller.rb +36 -0
- data/lib/fortis_api/controllers/merchant_deposits_controller.rb +175 -0
- data/lib/fortis_api/controllers/merchant_details_controller.rb +35 -0
- data/lib/fortis_api/controllers/on_boarding_controller.rb +53 -0
- data/lib/fortis_api/controllers/paylinks_controller.rb +248 -0
- data/lib/fortis_api/controllers/payment_card_reader_token_controller.rb +30 -0
- data/lib/fortis_api/controllers/quick_invoices_controller.rb +325 -0
- data/lib/fortis_api/controllers/recurring_controller.rb +342 -0
- data/lib/fortis_api/controllers/signatures_controller.rb +149 -0
- data/lib/fortis_api/controllers/tags_controller.rb +200 -0
- data/lib/fortis_api/controllers/terminals_controller.rb +187 -0
- data/lib/fortis_api/controllers/tickets_controller.rb +150 -0
- data/lib/fortis_api/controllers/tokens_controller.rb +446 -0
- data/lib/fortis_api/controllers/transaction_ach_retries_controller.rb +150 -0
- data/lib/fortis_api/controllers/transactions_ach_controller.rb +253 -0
- data/lib/fortis_api/controllers/transactions_cash_controller.rb +61 -0
- data/lib/fortis_api/controllers/transactions_credit_card_controller.rb +1473 -0
- data/lib/fortis_api/controllers/transactions_ebt_card_controller.rb +77 -0
- data/lib/fortis_api/controllers/transactions_read_controller.rb +136 -0
- data/lib/fortis_api/controllers/transactions_updates_controller.rb +266 -0
- data/lib/fortis_api/controllers/user_verifications_controller.rb +103 -0
- data/lib/fortis_api/controllers/users_controller.rb +309 -0
- data/lib/fortis_api/controllers/webhooks_controller.rb +246 -0
- data/lib/fortis_api/exceptions/api_exception.rb +21 -0
- data/lib/fortis_api/exceptions/response401token_exception.rb +57 -0
- data/lib/fortis_api/exceptions/response412_exception.rb +74 -0
- data/lib/fortis_api/exceptions/response_error_exception.rb +74 -0
- data/lib/fortis_api/http/auth/access_token.rb +52 -0
- data/lib/fortis_api/http/auth/developer_id.rb +52 -0
- data/lib/fortis_api/http/auth/user_api_key.rb +52 -0
- data/lib/fortis_api/http/auth/user_id.rb +52 -0
- data/lib/fortis_api/http/http_call_back.rb +10 -0
- data/lib/fortis_api/http/http_method_enum.rb +10 -0
- data/lib/fortis_api/http/http_request.rb +10 -0
- data/lib/fortis_api/http/http_response.rb +10 -0
- data/lib/fortis_api/http/proxy_settings.rb +22 -0
- data/lib/fortis_api/models/account_info.rb +338 -0
- data/lib/fortis_api/models/account_type12_enum.rb +36 -0
- data/lib/fortis_api/models/account_type13_enum.rb +39 -0
- data/lib/fortis_api/models/account_type16_enum.rb +40 -0
- data/lib/fortis_api/models/account_type_enum.rb +64 -0
- data/lib/fortis_api/models/account_vault.rb +734 -0
- data/lib/fortis_api/models/account_vault_cau_log.rb +122 -0
- data/lib/fortis_api/models/account_vault_cau_product_transaction.rb +387 -0
- data/lib/fortis_api/models/ach_product_transaction.rb +1571 -0
- data/lib/fortis_api/models/ach_sec_code1_enum.rb +52 -0
- data/lib/fortis_api/models/ach_sec_code31_enum.rb +53 -0
- data/lib/fortis_api/models/ach_sec_code3_enum.rb +52 -0
- data/lib/fortis_api/models/ach_sec_code_enum.rb +44 -0
- data/lib/fortis_api/models/acs_challenge_mandated_enum.rb +38 -0
- data/lib/fortis_api/models/action_enum.rb +49 -0
- data/lib/fortis_api/models/active_notification_alert.rb +239 -0
- data/lib/fortis_api/models/active_recurring.rb +476 -0
- data/lib/fortis_api/models/additional_access.rb +74 -0
- data/lib/fortis_api/models/additional_amount.rb +119 -0
- data/lib/fortis_api/models/addon.rb +130 -0
- data/lib/fortis_api/models/address.rb +118 -0
- data/lib/fortis_api/models/address1.rb +129 -0
- data/lib/fortis_api/models/address2.rb +117 -0
- data/lib/fortis_api/models/address81.rb +133 -0
- data/lib/fortis_api/models/address_match_enum.rb +40 -0
- data/lib/fortis_api/models/address_type_enum.rb +40 -0
- data/lib/fortis_api/models/alert_type_enum.rb +58 -0
- data/lib/fortis_api/models/alert_type_id_enum.rb +58 -0
- data/lib/fortis_api/models/all_tag.rb +113 -0
- data/lib/fortis_api/models/alt_bank_account.rb +113 -0
- data/lib/fortis_api/models/amount_ind_enum.rb +122 -0
- data/lib/fortis_api/models/app_delivery_enum.rb +40 -0
- data/lib/fortis_api/models/async.rb +83 -0
- data/lib/fortis_api/models/auth_role.rb +140 -0
- data/lib/fortis_api/models/avs_enum.rb +48 -0
- data/lib/fortis_api/models/balance.rb +97 -0
- data/lib/fortis_api/models/bank_account.rb +101 -0
- data/lib/fortis_api/models/bank_account1.rb +129 -0
- data/lib/fortis_api/models/base_model.rb +122 -0
- data/lib/fortis_api/models/batch_risk_config.rb +90 -0
- data/lib/fortis_api/models/billing_address.rb +133 -0
- data/lib/fortis_api/models/billing_address1.rb +149 -0
- data/lib/fortis_api/models/billing_address24.rb +158 -0
- data/lib/fortis_api/models/billing_address5.rb +97 -0
- data/lib/fortis_api/models/body.rb +91 -0
- data/lib/fortis_api/models/branding_domain.rb +474 -0
- data/lib/fortis_api/models/branding_domain1.rb +474 -0
- data/lib/fortis_api/models/broad_info.rb +171 -0
- data/lib/fortis_api/models/browser_information.rb +288 -0
- data/lib/fortis_api/models/business_category_enum.rb +74 -0
- data/lib/fortis_api/models/business_type_enum.rb +462 -0
- data/lib/fortis_api/models/cardholder.rb +185 -0
- data/lib/fortis_api/models/cardholder_account.rb +131 -0
- data/lib/fortis_api/models/category_enum.rb +135 -0
- data/lib/fortis_api/models/cau_subscribe_type_code_enum.rb +46 -0
- data/lib/fortis_api/models/cau_subscribe_type_id_enum.rb +46 -0
- data/lib/fortis_api/models/cau_summary_status_id_enum.rb +50 -0
- data/lib/fortis_api/models/cc_product_transaction.rb +1571 -0
- data/lib/fortis_api/models/ch_acc_age_ind_enum.rb +50 -0
- data/lib/fortis_api/models/ch_acc_change_ind_enum.rb +47 -0
- data/lib/fortis_api/models/ch_acc_pw_change_ind_enum.rb +51 -0
- data/lib/fortis_api/models/challenge_message_extension.rb +109 -0
- data/lib/fortis_api/models/challenge_window_size_enum.rb +56 -0
- data/lib/fortis_api/models/changelog.rb +157 -0
- data/lib/fortis_api/models/changelog_detail.rb +107 -0
- data/lib/fortis_api/models/children.rb +421 -0
- data/lib/fortis_api/models/communication_type_enum.rb +40 -0
- data/lib/fortis_api/models/conditions.rb +82 -0
- data/lib/fortis_api/models/conditions18.rb +92 -0
- data/lib/fortis_api/models/conditions181.rb +92 -0
- data/lib/fortis_api/models/conditions191.rb +92 -0
- data/lib/fortis_api/models/conditions27.rb +82 -0
- data/lib/fortis_api/models/conditions4.rb +92 -0
- data/lib/fortis_api/models/conditions41.rb +92 -0
- data/lib/fortis_api/models/conditions42.rb +92 -0
- data/lib/fortis_api/models/conditions43.rb +92 -0
- data/lib/fortis_api/models/contact.rb +106 -0
- data/lib/fortis_api/models/contact1.rb +421 -0
- data/lib/fortis_api/models/contact11.rb +105 -0
- data/lib/fortis_api/models/contact_user_default_entry_page_enum.rb +52 -0
- data/lib/fortis_api/models/context.rb +82 -0
- data/lib/fortis_api/models/country_enum.rb +36 -0
- data/lib/fortis_api/models/created_user.rb +591 -0
- data/lib/fortis_api/models/currency_type.rb +84 -0
- data/lib/fortis_api/models/data.rb +125 -0
- data/lib/fortis_api/models/data1.rb +72 -0
- data/lib/fortis_api/models/data10.rb +694 -0
- data/lib/fortis_api/models/data11.rb +491 -0
- data/lib/fortis_api/models/data12.rb +237 -0
- data/lib/fortis_api/models/data13.rb +172 -0
- data/lib/fortis_api/models/data14.rb +280 -0
- data/lib/fortis_api/models/data15.rb +433 -0
- data/lib/fortis_api/models/data16.rb +468 -0
- data/lib/fortis_api/models/data17.rb +72 -0
- data/lib/fortis_api/models/data18.rb +861 -0
- data/lib/fortis_api/models/data19.rb +127 -0
- data/lib/fortis_api/models/data2.rb +580 -0
- data/lib/fortis_api/models/data20.rb +668 -0
- data/lib/fortis_api/models/data21.rb +136 -0
- data/lib/fortis_api/models/data22.rb +122 -0
- data/lib/fortis_api/models/data23.rb +700 -0
- data/lib/fortis_api/models/data24.rb +214 -0
- data/lib/fortis_api/models/data25.rb +889 -0
- data/lib/fortis_api/models/data26.rb +211 -0
- data/lib/fortis_api/models/data27.rb +2577 -0
- data/lib/fortis_api/models/data28.rb +256 -0
- data/lib/fortis_api/models/data29.rb +94 -0
- data/lib/fortis_api/models/data3.rb +168 -0
- data/lib/fortis_api/models/data32.rb +101 -0
- data/lib/fortis_api/models/data33.rb +73 -0
- data/lib/fortis_api/models/data34.rb +815 -0
- data/lib/fortis_api/models/data37.rb +75 -0
- data/lib/fortis_api/models/data38.rb +150 -0
- data/lib/fortis_api/models/data39.rb +285 -0
- data/lib/fortis_api/models/data4.rb +254 -0
- data/lib/fortis_api/models/data5.rb +102 -0
- data/lib/fortis_api/models/data6.rb +244 -0
- data/lib/fortis_api/models/data7.rb +135 -0
- data/lib/fortis_api/models/data8.rb +345 -0
- data/lib/fortis_api/models/data9.rb +82 -0
- data/lib/fortis_api/models/debit_credit_enum.rb +37 -0
- data/lib/fortis_api/models/declined_recurring_notification.rb +146 -0
- data/lib/fortis_api/models/default_transaction_type_enum.rb +40 -0
- data/lib/fortis_api/models/delivery_method_enum.rb +54 -0
- data/lib/fortis_api/models/delivery_timeframe_enum.rb +46 -0
- data/lib/fortis_api/models/deposit_type_enum.rb +40 -0
- data/lib/fortis_api/models/detail.rb +102 -0
- data/lib/fortis_api/models/detail1.rb +263 -0
- data/lib/fortis_api/models/detail2.rb +154 -0
- data/lib/fortis_api/models/developer_company.rb +149 -0
- data/lib/fortis_api/models/device.rb +111 -0
- data/lib/fortis_api/models/device_binding_status_enum.rb +441 -0
- data/lib/fortis_api/models/device_channel_enum.rb +37 -0
- data/lib/fortis_api/models/document.rb +91 -0
- data/lib/fortis_api/models/domain.rb +474 -0
- data/lib/fortis_api/models/e_format_enum.rb +56 -0
- data/lib/fortis_api/models/ebt_type_enum.rb +36 -0
- data/lib/fortis_api/models/email_blacklist.rb +105 -0
- data/lib/fortis_api/models/email_enum.rb +42 -0
- data/lib/fortis_api/models/emv_receipt_data.rb +141 -0
- data/lib/fortis_api/models/entry_mode_id_enum.rb +52 -0
- data/lib/fortis_api/models/expand10_enum.rb +26 -0
- data/lib/fortis_api/models/expand117_enum.rb +96 -0
- data/lib/fortis_api/models/expand11_enum.rb +108 -0
- data/lib/fortis_api/models/expand123_enum.rb +40 -0
- data/lib/fortis_api/models/expand15_enum.rb +26 -0
- data/lib/fortis_api/models/expand17_enum.rb +100 -0
- data/lib/fortis_api/models/expand18_enum.rb +88 -0
- data/lib/fortis_api/models/expand1_enum.rb +76 -0
- data/lib/fortis_api/models/expand26_enum.rb +92 -0
- data/lib/fortis_api/models/expand34_enum.rb +26 -0
- data/lib/fortis_api/models/expand37_enum.rb +26 -0
- data/lib/fortis_api/models/expand40_enum.rb +60 -0
- data/lib/fortis_api/models/expand44_enum.rb +40 -0
- data/lib/fortis_api/models/expand47_enum.rb +69 -0
- data/lib/fortis_api/models/expand57_enum.rb +48 -0
- data/lib/fortis_api/models/expand5_enum.rb +40 -0
- data/lib/fortis_api/models/expand60_enum.rb +200 -0
- data/lib/fortis_api/models/expand8_enum.rb +52 -0
- data/lib/fortis_api/models/expand_enum.rb +40 -0
- data/lib/fortis_api/models/field.rb +82 -0
- data/lib/fortis_api/models/field18.rb +143 -0
- data/lib/fortis_api/models/field27_enum.rb +108 -0
- data/lib/fortis_api/models/field28_enum.rb +200 -0
- data/lib/fortis_api/models/field30_enum.rb +76 -0
- data/lib/fortis_api/models/field31_enum.rb +92 -0
- data/lib/fortis_api/models/field33_enum.rb +220 -0
- data/lib/fortis_api/models/field34_enum.rb +236 -0
- data/lib/fortis_api/models/field35_enum.rb +216 -0
- data/lib/fortis_api/models/field36_enum.rb +232 -0
- data/lib/fortis_api/models/field37_enum.rb +26 -0
- data/lib/fortis_api/models/field38_enum.rb +108 -0
- data/lib/fortis_api/models/field39_enum.rb +209 -0
- data/lib/fortis_api/models/field41_enum.rb +280 -0
- data/lib/fortis_api/models/field43_enum.rb +236 -0
- data/lib/fortis_api/models/field45_enum.rb +56 -0
- data/lib/fortis_api/models/field47_enum.rb +52 -0
- data/lib/fortis_api/models/field49_enum.rb +240 -0
- data/lib/fortis_api/models/field51_enum.rb +88 -0
- data/lib/fortis_api/models/field53_enum.rb +286 -0
- data/lib/fortis_api/models/field55_enum.rb +76 -0
- data/lib/fortis_api/models/field57_enum.rb +652 -0
- data/lib/fortis_api/models/field59_enum.rb +40 -0
- data/lib/fortis_api/models/field60_enum.rb +280 -0
- data/lib/fortis_api/models/field_configuration.rb +111 -0
- data/lib/fortis_api/models/file.rb +223 -0
- data/lib/fortis_api/models/file2.rb +82 -0
- data/lib/fortis_api/models/file5.rb +85 -0
- data/lib/fortis_api/models/filter_by.rb +120 -0
- data/lib/fortis_api/models/footer.rb +91 -0
- data/lib/fortis_api/models/forecast.rb +139 -0
- data/lib/fortis_api/models/format1_enum.rb +36 -0
- data/lib/fortis_api/models/format_enum.rb +36 -0
- data/lib/fortis_api/models/header.rb +91 -0
- data/lib/fortis_api/models/helppage.rb +151 -0
- data/lib/fortis_api/models/helppage2.rb +151 -0
- data/lib/fortis_api/models/home_phone.rb +84 -0
- data/lib/fortis_api/models/hosted_payment_page.rb +298 -0
- data/lib/fortis_api/models/identity_verification.rb +112 -0
- data/lib/fortis_api/models/identity_verification2.rb +110 -0
- data/lib/fortis_api/models/identity_verification27.rb +110 -0
- data/lib/fortis_api/models/idtype_enum.rb +36 -0
- data/lib/fortis_api/models/iias_ind_enum.rb +46 -0
- data/lib/fortis_api/models/industry_type_enum.rb +52 -0
- data/lib/fortis_api/models/initiation_type_enum.rb +76 -0
- data/lib/fortis_api/models/interval_type_enum.rb +40 -0
- data/lib/fortis_api/models/item_list.rb +82 -0
- data/lib/fortis_api/models/item_list4.rb +79 -0
- data/lib/fortis_api/models/item_list5.rb +85 -0
- data/lib/fortis_api/models/joi.rb +73 -0
- data/lib/fortis_api/models/joi18.rb +85 -0
- data/lib/fortis_api/models/joi19.rb +85 -0
- data/lib/fortis_api/models/joi27.rb +73 -0
- data/lib/fortis_api/models/joi4.rb +85 -0
- data/lib/fortis_api/models/kyc_response_object.rb +79 -0
- data/lib/fortis_api/models/level3_data.rb +274 -0
- data/lib/fortis_api/models/level3_data5.rb +192 -0
- data/lib/fortis_api/models/level3_data6.rb +273 -0
- data/lib/fortis_api/models/level3_default.rb +274 -0
- data/lib/fortis_api/models/line_item.rb +246 -0
- data/lib/fortis_api/models/line_item13.rb +245 -0
- data/lib/fortis_api/models/line_item19.rb +215 -0
- data/lib/fortis_api/models/line_item20.rb +173 -0
- data/lib/fortis_api/models/links.rb +111 -0
- data/lib/fortis_api/models/list.rb +326 -0
- data/lib/fortis_api/models/list1.rb +580 -0
- data/lib/fortis_api/models/list10.rb +861 -0
- data/lib/fortis_api/models/list11.rb +668 -0
- data/lib/fortis_api/models/list12.rb +136 -0
- data/lib/fortis_api/models/list13.rb +122 -0
- data/lib/fortis_api/models/list14.rb +700 -0
- data/lib/fortis_api/models/list15.rb +214 -0
- data/lib/fortis_api/models/list16.rb +889 -0
- data/lib/fortis_api/models/list17.rb +211 -0
- data/lib/fortis_api/models/list18.rb +2577 -0
- data/lib/fortis_api/models/list19.rb +101 -0
- data/lib/fortis_api/models/list20.rb +815 -0
- data/lib/fortis_api/models/list3.rb +168 -0
- data/lib/fortis_api/models/list4.rb +244 -0
- data/lib/fortis_api/models/list5.rb +491 -0
- data/lib/fortis_api/models/list6.rb +694 -0
- data/lib/fortis_api/models/list8.rb +280 -0
- data/lib/fortis_api/models/list9.rb +468 -0
- data/lib/fortis_api/models/location.rb +387 -0
- data/lib/fortis_api/models/location18.rb +387 -0
- data/lib/fortis_api/models/location20.rb +131 -0
- data/lib/fortis_api/models/location5.rb +132 -0
- data/lib/fortis_api/models/location_billing_account.rb +268 -0
- data/lib/fortis_api/models/location_type_enum.rb +40 -0
- data/lib/fortis_api/models/location_user.rb +149 -0
- data/lib/fortis_api/models/locationmarketplace.rb +143 -0
- data/lib/fortis_api/models/log_email.rb +192 -0
- data/lib/fortis_api/models/log_sms.rb +166 -0
- data/lib/fortis_api/models/marketplace.rb +143 -0
- data/lib/fortis_api/models/merchant_list.rb +134 -0
- data/lib/fortis_api/models/merchant_risk_indicator.rb +237 -0
- data/lib/fortis_api/models/message_category_enum.rb +120 -0
- data/lib/fortis_api/models/message_extension.rb +109 -0
- data/lib/fortis_api/models/meta.rb +81 -0
- data/lib/fortis_api/models/method3.rb +97 -0
- data/lib/fortis_api/models/method50.rb +106 -0
- data/lib/fortis_api/models/method53_enum.rb +26 -0
- data/lib/fortis_api/models/method5_enum.rb +26 -0
- data/lib/fortis_api/models/method_enum.rb +26 -0
- data/lib/fortis_api/models/mobile_phone.rb +85 -0
- data/lib/fortis_api/models/modified_user.rb +591 -0
- data/lib/fortis_api/models/multi_transaction.rb +103 -0
- data/lib/fortis_api/models/operator1_enum.rb +36 -0
- data/lib/fortis_api/models/operator_enum.rb +36 -0
- data/lib/fortis_api/models/order21.rb +79 -0
- data/lib/fortis_api/models/order_enum.rb +36 -0
- data/lib/fortis_api/models/owner.rb +233 -0
- data/lib/fortis_api/models/ownership_type_enum.rb +68 -0
- data/lib/fortis_api/models/page.rb +84 -0
- data/lib/fortis_api/models/pagination.rb +113 -0
- data/lib/fortis_api/models/parent.rb +421 -0
- data/lib/fortis_api/models/parent3.rb +387 -0
- data/lib/fortis_api/models/partner_enum.rb +68 -0
- data/lib/fortis_api/models/paylink_action_enum.rb +37 -0
- data/lib/fortis_api/models/payment_acc_ind_enum.rb +51 -0
- data/lib/fortis_api/models/payment_method16_enum.rb +36 -0
- data/lib/fortis_api/models/payment_method1_enum.rb +36 -0
- data/lib/fortis_api/models/payment_method9_enum.rb +36 -0
- data/lib/fortis_api/models/payment_method_enum.rb +40 -0
- data/lib/fortis_api/models/payment_recurring_notification.rb +146 -0
- data/lib/fortis_api/models/postback_log.rb +162 -0
- data/lib/fortis_api/models/postback_status_id_enum.rb +50 -0
- data/lib/fortis_api/models/pre_order_purchase_ind_enum.rb +38 -0
- data/lib/fortis_api/models/preferred_language_enum.rb +38 -0
- data/lib/fortis_api/models/preferred_protocol_version_enum.rb +51 -0
- data/lib/fortis_api/models/pricing_element.rb +103 -0
- data/lib/fortis_api/models/primary_location.rb +387 -0
- data/lib/fortis_api/models/primary_principal.rb +211 -0
- data/lib/fortis_api/models/primary_principal1.rb +209 -0
- data/lib/fortis_api/models/process_method_enum.rb +36 -0
- data/lib/fortis_api/models/processor_enum.rb +52 -0
- data/lib/fortis_api/models/product_accountvault.rb +173 -0
- data/lib/fortis_api/models/product_file.rb +227 -0
- data/lib/fortis_api/models/product_file1.rb +227 -0
- data/lib/fortis_api/models/product_invoice.rb +341 -0
- data/lib/fortis_api/models/product_recurring.rb +230 -0
- data/lib/fortis_api/models/product_token.rb +173 -0
- data/lib/fortis_api/models/product_transaction.rb +1571 -0
- data/lib/fortis_api/models/product_transaction1.rb +1571 -0
- data/lib/fortis_api/models/purchase.rb +327 -0
- data/lib/fortis_api/models/quick_invoice.rb +657 -0
- data/lib/fortis_api/models/quick_invoice_setting.rb +189 -0
- data/lib/fortis_api/models/quick_invoice_view.rb +107 -0
- data/lib/fortis_api/models/reason_code.rb +84 -0
- data/lib/fortis_api/models/reason_code_id1_enum.rb +912 -0
- data/lib/fortis_api/models/reason_code_id_enum.rb +750 -0
- data/lib/fortis_api/models/reason_model_enum.rb +72 -0
- data/lib/fortis_api/models/received_email.rb +192 -0
- data/lib/fortis_api/models/recipients_enum.rb +45 -0
- data/lib/fortis_api/models/recurring.rb +476 -0
- data/lib/fortis_api/models/recurring3.rb +476 -0
- data/lib/fortis_api/models/recurring_flag_enum.rb +40 -0
- data/lib/fortis_api/models/recurring_split.rb +118 -0
- data/lib/fortis_api/models/recurring_type_id_enum.rb +36 -0
- data/lib/fortis_api/models/registration_field_enum.rb +92 -0
- data/lib/fortis_api/models/rejected_transaction.rb +2034 -0
- data/lib/fortis_api/models/rejected_transaction_ach_retry.rb +146 -0
- data/lib/fortis_api/models/relationship_enum.rb +40 -0
- data/lib/fortis_api/models/reorder_items_ind_enum.rb +37 -0
- data/lib/fortis_api/models/report_export_type_enum.rb +44 -0
- data/lib/fortis_api/models/resource12_enum.rb +41 -0
- data/lib/fortis_api/models/resource2_enum.rb +40 -0
- data/lib/fortis_api/models/resource_enum.rb +44 -0
- data/lib/fortis_api/models/resources.rb +138 -0
- data/lib/fortis_api/models/response416date_range.rb +92 -0
- data/lib/fortis_api/models/response417filter_channels.rb +92 -0
- data/lib/fortis_api/models/response_apple_pay_validate_merchant.rb +83 -0
- data/lib/fortis_api/models/response_async_status.rb +83 -0
- data/lib/fortis_api/models/response_batchs_collection.rb +121 -0
- data/lib/fortis_api/models/response_contact.rb +83 -0
- data/lib/fortis_api/models/response_contact_searchs_collection.rb +121 -0
- data/lib/fortis_api/models/response_contacts_collection.rb +121 -0
- data/lib/fortis_api/models/response_declined_recurring_transaction.rb +83 -0
- data/lib/fortis_api/models/response_declined_recurring_transaction_payment.rb +83 -0
- data/lib/fortis_api/models/response_declined_recurring_transaction_resend.rb +83 -0
- data/lib/fortis_api/models/response_declined_recurring_transactions_collection.rb +122 -0
- data/lib/fortis_api/models/response_device_term.rb +83 -0
- data/lib/fortis_api/models/response_device_terms_collection.rb +121 -0
- data/lib/fortis_api/models/response_fullboarding.rb +83 -0
- data/lib/fortis_api/models/response_location.rb +83 -0
- data/lib/fortis_api/models/response_location_info.rb +83 -0
- data/lib/fortis_api/models/response_location_infos_collection.rb +121 -0
- data/lib/fortis_api/models/response_location_searchs_collection.rb +121 -0
- data/lib/fortis_api/models/response_locations_collection.rb +121 -0
- data/lib/fortis_api/models/response_merchant_deposit.rb +83 -0
- data/lib/fortis_api/models/response_merchant_deposits_collection.rb +121 -0
- data/lib/fortis_api/models/response_merchant_details.rb +83 -0
- data/lib/fortis_api/models/response_onboarding.rb +83 -0
- data/lib/fortis_api/models/response_paylink.rb +83 -0
- data/lib/fortis_api/models/response_paylinks_collection.rb +121 -0
- data/lib/fortis_api/models/response_payment_card_reader_token.rb +83 -0
- data/lib/fortis_api/models/response_quick_invoice.rb +83 -0
- data/lib/fortis_api/models/response_quick_invoice_resend.rb +83 -0
- data/lib/fortis_api/models/response_quick_invoices_collection.rb +121 -0
- data/lib/fortis_api/models/response_recurring.rb +83 -0
- data/lib/fortis_api/models/response_recurrings_collection.rb +121 -0
- data/lib/fortis_api/models/response_remove_verification.rb +83 -0
- data/lib/fortis_api/models/response_send_verification.rb +83 -0
- data/lib/fortis_api/models/response_signature.rb +83 -0
- data/lib/fortis_api/models/response_signatures_collection.rb +121 -0
- data/lib/fortis_api/models/response_tag.rb +83 -0
- data/lib/fortis_api/models/response_tags_collection.rb +120 -0
- data/lib/fortis_api/models/response_terminal.rb +83 -0
- data/lib/fortis_api/models/response_terminals_collection.rb +121 -0
- data/lib/fortis_api/models/response_three_ds_authentication.rb +83 -0
- data/lib/fortis_api/models/response_three_ds_transaction.rb +83 -0
- data/lib/fortis_api/models/response_ticket.rb +83 -0
- data/lib/fortis_api/models/response_ticket_intention.rb +83 -0
- data/lib/fortis_api/models/response_tickets_collection.rb +121 -0
- data/lib/fortis_api/models/response_token.rb +83 -0
- data/lib/fortis_api/models/response_tokens_collection.rb +121 -0
- data/lib/fortis_api/models/response_transaction.rb +83 -0
- data/lib/fortis_api/models/response_transaction_ach_retry.rb +83 -0
- data/lib/fortis_api/models/response_transaction_ach_retrys_collection.rb +121 -0
- data/lib/fortis_api/models/response_transaction_bin_info.rb +83 -0
- data/lib/fortis_api/models/response_transaction_intention.rb +83 -0
- data/lib/fortis_api/models/response_transaction_level3.rb +83 -0
- data/lib/fortis_api/models/response_transaction_level3_master.rb +83 -0
- data/lib/fortis_api/models/response_transaction_level3_visa.rb +83 -0
- data/lib/fortis_api/models/response_transaction_processing.rb +83 -0
- data/lib/fortis_api/models/response_transactions_collection.rb +121 -0
- data/lib/fortis_api/models/response_user.rb +83 -0
- data/lib/fortis_api/models/response_user_api_key.rb +83 -0
- data/lib/fortis_api/models/response_user_verification.rb +83 -0
- data/lib/fortis_api/models/response_user_verifications_collection.rb +121 -0
- data/lib/fortis_api/models/response_users_collection.rb +121 -0
- data/lib/fortis_api/models/response_webhook.rb +83 -0
- data/lib/fortis_api/models/result.rb +95 -0
- data/lib/fortis_api/models/retry_transaction.rb +2034 -0
- data/lib/fortis_api/models/retry_transaction_ach_retry.rb +146 -0
- data/lib/fortis_api/models/return_fee_transaction.rb +2034 -0
- data/lib/fortis_api/models/return_fee_transaction_ach_retry.rb +146 -0
- data/lib/fortis_api/models/saved_account.rb +734 -0
- data/lib/fortis_api/models/scheme_id_enum.rb +45 -0
- data/lib/fortis_api/models/sec_code_enum.rb +44 -0
- data/lib/fortis_api/models/settings.rb +92 -0
- data/lib/fortis_api/models/severity_enum.rb +48 -0
- data/lib/fortis_api/models/ship_address_usage_ind_enum.rb +46 -0
- data/lib/fortis_api/models/ship_indicator_enum.rb +83 -0
- data/lib/fortis_api/models/ship_name_indicator_enum.rb +38 -0
- data/lib/fortis_api/models/shipping_address.rb +161 -0
- data/lib/fortis_api/models/signature.rb +125 -0
- data/lib/fortis_api/models/sms_blacklist.rb +105 -0
- data/lib/fortis_api/models/sms_enum.rb +42 -0
- data/lib/fortis_api/models/sort.rb +91 -0
- data/lib/fortis_api/models/source_enum.rb +41 -0
- data/lib/fortis_api/models/stack_enum.rb +36 -0
- data/lib/fortis_api/models/status11.rb +84 -0
- data/lib/fortis_api/models/status3_enum.rb +36 -0
- data/lib/fortis_api/models/status5.rb +73 -0
- data/lib/fortis_api/models/status_code12_enum.rb +42 -0
- data/lib/fortis_api/models/status_code14_enum.rb +42 -0
- data/lib/fortis_api/models/status_code17_enum.rb +89 -0
- data/lib/fortis_api/models/status_code_enum.rb +46 -0
- data/lib/fortis_api/models/status_enum.rb +40 -0
- data/lib/fortis_api/models/status_id_enum.rb +42 -0
- data/lib/fortis_api/models/surcharge.rb +318 -0
- data/lib/fortis_api/models/surcharge_transaction.rb +208 -0
- data/lib/fortis_api/models/suspicious_acc_activity_enum.rb +38 -0
- data/lib/fortis_api/models/tag.rb +113 -0
- data/lib/fortis_api/models/tag_transaction.rb +177 -0
- data/lib/fortis_api/models/tax_exempt_enum.rb +36 -0
- data/lib/fortis_api/models/tax_surcharge_config_enum.rb +42 -0
- data/lib/fortis_api/models/terminal.rb +595 -0
- data/lib/fortis_api/models/terminal2.rb +595 -0
- data/lib/fortis_api/models/terminal_application.rb +212 -0
- data/lib/fortis_api/models/terminal_cvm.rb +166 -0
- data/lib/fortis_api/models/terminal_manufacturer.rb +140 -0
- data/lib/fortis_api/models/terminal_manufacturer_code_enum.rb +44 -0
- data/lib/fortis_api/models/terminal_router.rb +139 -0
- data/lib/fortis_api/models/terminal_timeouts.rb +204 -0
- data/lib/fortis_api/models/terminal_timeouts12.rb +213 -0
- data/lib/fortis_api/models/three_ds_req_auth_method_enum.rb +155 -0
- data/lib/fortis_api/models/three_ds_req_prior_auth_method_enum.rb +128 -0
- data/lib/fortis_api/models/three_ds_requestor.rb +306 -0
- data/lib/fortis_api/models/three_ds_requestor_authentication_ind_enum.rb +143 -0
- data/lib/fortis_api/models/three_ds_requestor_authentication_info.rb +148 -0
- data/lib/fortis_api/models/three_ds_requestor_challenge_ind_enum.rb +144 -0
- data/lib/fortis_api/models/three_ds_requestor_dec_req_ind_enum.rb +56 -0
- data/lib/fortis_api/models/three_ds_requestor_prior_authentication_info.rb +146 -0
- data/lib/fortis_api/models/three_ds_requestor_spc_support_enum.rb +29 -0
- data/lib/fortis_api/models/three_ri_ind_enum.rb +180 -0
- data/lib/fortis_api/models/tip_percents.rb +100 -0
- data/lib/fortis_api/models/trans_char_enum.rb +36 -0
- data/lib/fortis_api/models/transaction.rb +2034 -0
- data/lib/fortis_api/models/transaction_batch.rb +275 -0
- data/lib/fortis_api/models/transaction_history.rb +138 -0
- data/lib/fortis_api/models/transaction_level3.rb +94 -0
- data/lib/fortis_api/models/transaction_reference.rb +182 -0
- data/lib/fortis_api/models/transaction_split.rb +127 -0
- data/lib/fortis_api/models/transaction_status_enum.rb +73 -0
- data/lib/fortis_api/models/transaction_type_enum.rb +52 -0
- data/lib/fortis_api/models/trx_source_code_enum.rb +143 -0
- data/lib/fortis_api/models/trx_source_id_enum.rb +143 -0
- data/lib/fortis_api/models/type103_enum.rb +26 -0
- data/lib/fortis_api/models/type10_enum.rb +26 -0
- data/lib/fortis_api/models/type110_enum.rb +26 -0
- data/lib/fortis_api/models/type112.rb +84 -0
- data/lib/fortis_api/models/type113_enum.rb +26 -0
- data/lib/fortis_api/models/type114_enum.rb +26 -0
- data/lib/fortis_api/models/type115_enum.rb +26 -0
- data/lib/fortis_api/models/type116_enum.rb +26 -0
- data/lib/fortis_api/models/type117_enum.rb +26 -0
- data/lib/fortis_api/models/type11_enum.rb +26 -0
- data/lib/fortis_api/models/type123_enum.rb +26 -0
- data/lib/fortis_api/models/type124_enum.rb +26 -0
- data/lib/fortis_api/models/type128_enum.rb +26 -0
- data/lib/fortis_api/models/type129_enum.rb +26 -0
- data/lib/fortis_api/models/type130_enum.rb +26 -0
- data/lib/fortis_api/models/type134_enum.rb +26 -0
- data/lib/fortis_api/models/type135_enum.rb +26 -0
- data/lib/fortis_api/models/type136_enum.rb +26 -0
- data/lib/fortis_api/models/type137_enum.rb +26 -0
- data/lib/fortis_api/models/type138_enum.rb +26 -0
- data/lib/fortis_api/models/type15_enum.rb +26 -0
- data/lib/fortis_api/models/type16_enum.rb +27 -0
- data/lib/fortis_api/models/type1_enum.rb +26 -0
- data/lib/fortis_api/models/type20_enum.rb +26 -0
- data/lib/fortis_api/models/type21_enum.rb +26 -0
- data/lib/fortis_api/models/type22_enum.rb +26 -0
- data/lib/fortis_api/models/type23_enum.rb +26 -0
- data/lib/fortis_api/models/type27_enum.rb +26 -0
- data/lib/fortis_api/models/type28_enum.rb +26 -0
- data/lib/fortis_api/models/type29_enum.rb +36 -0
- data/lib/fortis_api/models/type2_enum.rb +26 -0
- data/lib/fortis_api/models/type30_enum.rb +26 -0
- data/lib/fortis_api/models/type31_enum.rb +26 -0
- data/lib/fortis_api/models/type35_enum.rb +26 -0
- data/lib/fortis_api/models/type39_enum.rb +26 -0
- data/lib/fortis_api/models/type3_enum.rb +26 -0
- data/lib/fortis_api/models/type43_enum.rb +26 -0
- data/lib/fortis_api/models/type44_enum.rb +26 -0
- data/lib/fortis_api/models/type45_enum.rb +26 -0
- data/lib/fortis_api/models/type46_enum.rb +26 -0
- data/lib/fortis_api/models/type47_enum.rb +26 -0
- data/lib/fortis_api/models/type48_enum.rb +26 -0
- data/lib/fortis_api/models/type4_enum.rb +26 -0
- data/lib/fortis_api/models/type52_enum.rb +26 -0
- data/lib/fortis_api/models/type53_enum.rb +26 -0
- data/lib/fortis_api/models/type54_enum.rb +26 -0
- data/lib/fortis_api/models/type58_enum.rb +26 -0
- data/lib/fortis_api/models/type59_enum.rb +26 -0
- data/lib/fortis_api/models/type5_enum.rb +26 -0
- data/lib/fortis_api/models/type60_enum.rb +74 -0
- data/lib/fortis_api/models/type61_enum.rb +26 -0
- data/lib/fortis_api/models/type62_enum.rb +26 -0
- data/lib/fortis_api/models/type67_enum.rb +26 -0
- data/lib/fortis_api/models/type68_enum.rb +26 -0
- data/lib/fortis_api/models/type6_enum.rb +26 -0
- data/lib/fortis_api/models/type72_enum.rb +26 -0
- data/lib/fortis_api/models/type73_enum.rb +26 -0
- data/lib/fortis_api/models/type77_enum.rb +26 -0
- data/lib/fortis_api/models/type78_enum.rb +26 -0
- data/lib/fortis_api/models/type82_enum.rb +26 -0
- data/lib/fortis_api/models/type83_enum.rb +26 -0
- data/lib/fortis_api/models/type87_enum.rb +26 -0
- data/lib/fortis_api/models/type88_enum.rb +26 -0
- data/lib/fortis_api/models/type92_enum.rb +26 -0
- data/lib/fortis_api/models/type94_enum.rb +26 -0
- data/lib/fortis_api/models/type99_enum.rb +26 -0
- data/lib/fortis_api/models/type_enum.rb +26 -0
- data/lib/fortis_api/models/type_id_enum.rb +58 -0
- data/lib/fortis_api/models/ui_prefs.rb +123 -0
- data/lib/fortis_api/models/update_if_exists_enum.rb +26 -0
- data/lib/fortis_api/models/user.rb +107 -0
- data/lib/fortis_api/models/user1.rb +591 -0
- data/lib/fortis_api/models/user9.rb +591 -0
- data/lib/fortis_api/models/user_type_code_enum.rb +78 -0
- data/lib/fortis_api/models/v1_contacts_request.rb +368 -0
- data/lib/fortis_api/models/v1_contacts_request1.rb +372 -0
- data/lib/fortis_api/models/v1_declined_recurring_transaction_payments_request.rb +214 -0
- data/lib/fortis_api/models/v1_device_terms_request.rb +118 -0
- data/lib/fortis_api/models/v1_elements_ticket_intention_request.rb +122 -0
- data/lib/fortis_api/models/v1_elements_transaction_intention_request.rb +334 -0
- data/lib/fortis_api/models/v1_fullboarding_request.rb +489 -0
- data/lib/fortis_api/models/v1_merchant_threedsecure_authentication_request.rb +473 -0
- data/lib/fortis_api/models/v1_onboarding_request.rb +413 -0
- data/lib/fortis_api/models/v1_paylinks_request.rb +380 -0
- data/lib/fortis_api/models/v1_paylinks_request1.rb +383 -0
- data/lib/fortis_api/models/v1_quick_invoices_request.rb +564 -0
- data/lib/fortis_api/models/v1_quick_invoices_request1.rb +570 -0
- data/lib/fortis_api/models/v1_quick_invoices_transaction_request.rb +72 -0
- data/lib/fortis_api/models/v1_recurrings_defer_payment_request.rb +71 -0
- data/lib/fortis_api/models/v1_recurrings_request.rb +387 -0
- data/lib/fortis_api/models/v1_recurrings_request1.rb +377 -0
- data/lib/fortis_api/models/v1_recurrings_skip_payment_request.rb +71 -0
- data/lib/fortis_api/models/v1_signatures_request.rb +91 -0
- data/lib/fortis_api/models/v1_tags_request.rb +79 -0
- data/lib/fortis_api/models/v1_tags_request1.rb +85 -0
- data/lib/fortis_api/models/v1_terminals_request.rb +519 -0
- data/lib/fortis_api/models/v1_terminals_request1.rb +536 -0
- data/lib/fortis_api/models/v1_tickets_request.rb +193 -0
- data/lib/fortis_api/models/v1_tokens_ach_request.rb +525 -0
- data/lib/fortis_api/models/v1_tokens_ach_request1.rb +501 -0
- data/lib/fortis_api/models/v1_tokens_cc_request.rb +586 -0
- data/lib/fortis_api/models/v1_tokens_cc_request1.rb +497 -0
- data/lib/fortis_api/models/v1_tokens_previous_transaction_request.rb +483 -0
- data/lib/fortis_api/models/v1_tokens_terminal_async_request.rb +501 -0
- data/lib/fortis_api/models/v1_tokens_terminal_request.rb +501 -0
- data/lib/fortis_api/models/v1_tokens_ticket_request.rb +493 -0
- data/lib/fortis_api/models/v1_tokens_wallet_request.rb +515 -0
- data/lib/fortis_api/models/v1_transaction_ach_retries_request.rb +85 -0
- data/lib/fortis_api/models/v1_transactions_ach_credit_keyed_request.rb +869 -0
- data/lib/fortis_api/models/v1_transactions_ach_credit_prev_trxn_request.rb +863 -0
- data/lib/fortis_api/models/v1_transactions_ach_credit_token_request.rb +876 -0
- data/lib/fortis_api/models/v1_transactions_ach_debit_keyed_request.rb +869 -0
- data/lib/fortis_api/models/v1_transactions_ach_debit_prev_trxn_request.rb +863 -0
- data/lib/fortis_api/models/v1_transactions_ach_debit_token_request.rb +876 -0
- data/lib/fortis_api/models/v1_transactions_ach_refund_prev_trxn_request.rb +863 -0
- data/lib/fortis_api/models/v1_transactions_auth_complete_request.rb +785 -0
- data/lib/fortis_api/models/v1_transactions_auth_increment_request.rb +783 -0
- data/lib/fortis_api/models/v1_transactions_cash_refund_request.rb +807 -0
- data/lib/fortis_api/models/v1_transactions_cash_sale_request.rb +794 -0
- data/lib/fortis_api/models/v1_transactions_cc_auth_only_keyed_request.rb +1148 -0
- data/lib/fortis_api/models/v1_transactions_cc_auth_only_prev_trxn_request.rb +1125 -0
- data/lib/fortis_api/models/v1_transactions_cc_auth_only_swiped_request.rb +1102 -0
- data/lib/fortis_api/models/v1_transactions_cc_auth_only_taptopay_request.rb +974 -0
- data/lib/fortis_api/models/v1_transactions_cc_auth_only_terminal_request.rb +1105 -0
- data/lib/fortis_api/models/v1_transactions_cc_auth_only_ticket_request.rb +1089 -0
- data/lib/fortis_api/models/v1_transactions_cc_auth_only_token_request.rb +1119 -0
- data/lib/fortis_api/models/v1_transactions_cc_auth_only_wallet_request.rb +1099 -0
- data/lib/fortis_api/models/v1_transactions_cc_avs_only_keyed_request.rb +1150 -0
- data/lib/fortis_api/models/v1_transactions_cc_avs_only_prev_trxn_request.rb +1125 -0
- data/lib/fortis_api/models/v1_transactions_cc_avs_only_swiped_request.rb +1103 -0
- data/lib/fortis_api/models/v1_transactions_cc_avs_only_terminal_request.rb +1106 -0
- data/lib/fortis_api/models/v1_transactions_cc_avs_only_ticket_request.rb +1090 -0
- data/lib/fortis_api/models/v1_transactions_cc_avs_only_token_request.rb +1121 -0
- data/lib/fortis_api/models/v1_transactions_cc_avs_only_wallet_request.rb +1101 -0
- data/lib/fortis_api/models/v1_transactions_cc_balance_inquiry_keyed_request.rb +1150 -0
- data/lib/fortis_api/models/v1_transactions_cc_balance_inquiry_prev_trxn_request.rb +1125 -0
- data/lib/fortis_api/models/v1_transactions_cc_balance_inquiry_swiped_request.rb +1103 -0
- data/lib/fortis_api/models/v1_transactions_cc_balance_inquiry_terminal_request.rb +1106 -0
- data/lib/fortis_api/models/v1_transactions_cc_balance_inquiry_ticket_request.rb +1090 -0
- data/lib/fortis_api/models/v1_transactions_cc_balance_inquiry_token_request.rb +1121 -0
- data/lib/fortis_api/models/v1_transactions_cc_balance_inquiry_wallet_request.rb +1101 -0
- data/lib/fortis_api/models/v1_transactions_cc_force_keyed_request.rb +1171 -0
- data/lib/fortis_api/models/v1_transactions_cc_force_prev_trxn_request.rb +1146 -0
- data/lib/fortis_api/models/v1_transactions_cc_force_swiped_request.rb +1112 -0
- data/lib/fortis_api/models/v1_transactions_cc_force_ticket_request.rb +1112 -0
- data/lib/fortis_api/models/v1_transactions_cc_force_token_request.rb +1141 -0
- data/lib/fortis_api/models/v1_transactions_cc_force_wallet_request.rb +1123 -0
- data/lib/fortis_api/models/v1_transactions_cc_refund_keyed_request.rb +1180 -0
- data/lib/fortis_api/models/v1_transactions_cc_refund_prev_trxn_request.rb +1125 -0
- data/lib/fortis_api/models/v1_transactions_cc_refund_swiped_request.rb +1102 -0
- data/lib/fortis_api/models/v1_transactions_cc_refund_taptopay_request.rb +987 -0
- data/lib/fortis_api/models/v1_transactions_cc_refund_terminal_request.rb +1105 -0
- data/lib/fortis_api/models/v1_transactions_cc_refund_ticket_request.rb +1089 -0
- data/lib/fortis_api/models/v1_transactions_cc_refund_token_request.rb +1119 -0
- data/lib/fortis_api/models/v1_transactions_cc_refund_wallet_request.rb +1099 -0
- data/lib/fortis_api/models/v1_transactions_cc_sale_keyed_request.rb +1148 -0
- data/lib/fortis_api/models/v1_transactions_cc_sale_prev_trxn_request.rb +1125 -0
- data/lib/fortis_api/models/v1_transactions_cc_sale_swiped_request.rb +1102 -0
- data/lib/fortis_api/models/v1_transactions_cc_sale_taptopay_request.rb +974 -0
- data/lib/fortis_api/models/v1_transactions_cc_sale_terminal_request.rb +1105 -0
- data/lib/fortis_api/models/v1_transactions_cc_sale_ticket_request.rb +1089 -0
- data/lib/fortis_api/models/v1_transactions_cc_sale_token_request.rb +1119 -0
- data/lib/fortis_api/models/v1_transactions_cc_sale_wallet_request.rb +1099 -0
- data/lib/fortis_api/models/v1_transactions_ebt_voucher_clear_refund_keyed_request.rb +1159 -0
- data/lib/fortis_api/models/v1_transactions_ebt_voucher_clear_sale_keyed_request.rb +1159 -0
- data/lib/fortis_api/models/v1_transactions_level3_master_card_request.rb +71 -0
- data/lib/fortis_api/models/v1_transactions_level3_visa_request.rb +71 -0
- data/lib/fortis_api/models/v1_transactions_partial_reversal_request.rb +763 -0
- data/lib/fortis_api/models/v1_transactions_refund_request.rb +765 -0
- data/lib/fortis_api/models/v1_transactions_tip_adjust_request.rb +1049 -0
- data/lib/fortis_api/models/v1_transactions_void_request.rb +85 -0
- data/lib/fortis_api/models/v1_users_request.rb +430 -0
- data/lib/fortis_api/models/v1_users_request1.rb +440 -0
- data/lib/fortis_api/models/v1_wallet_provider_apple_pay_validate_merchant_request.rb +98 -0
- data/lib/fortis_api/models/v1_wallet_provider_merchant_details_request.rb +73 -0
- data/lib/fortis_api/models/v1_webhooks_batch_request.rb +255 -0
- data/lib/fortis_api/models/v1_webhooks_batch_request1.rb +267 -0
- data/lib/fortis_api/models/v1_webhooks_contact_request.rb +257 -0
- data/lib/fortis_api/models/v1_webhooks_contact_request1.rb +267 -0
- data/lib/fortis_api/models/v1_webhooks_transaction_request.rb +255 -0
- data/lib/fortis_api/models/v1_webhooks_transaction_request1.rb +267 -0
- data/lib/fortis_api/models/values4_enum.rb +36 -0
- data/lib/fortis_api/models/values50_enum.rb +36 -0
- data/lib/fortis_api/models/values51_enum.rb +40 -0
- data/lib/fortis_api/models/values58_enum.rb +36 -0
- data/lib/fortis_api/models/values5_enum.rb +36 -0
- data/lib/fortis_api/models/values6_enum.rb +36 -0
- data/lib/fortis_api/models/values7_enum.rb +36 -0
- data/lib/fortis_api/models/values99_enum.rb +36 -0
- data/lib/fortis_api/models/values_enum.rb +44 -0
- data/lib/fortis_api/models/wallet_provider_enum.rb +36 -0
- data/lib/fortis_api/models/wallet_type_enum.rb +55 -0
- data/lib/fortis_api/models/work_phone.rb +84 -0
- data/lib/fortis_api/utilities/date_time_helper.rb +11 -0
- data/lib/fortis_api/utilities/file_wrapper.rb +28 -0
- data/lib/fortis_api/utilities/union_type_lookup.rb +384 -0
- data/lib/fortis_api.rb +755 -0
- data/test/controllers/controller_test_base.rb +23 -0
- data/test/controllers/test_async_processing_controller.rb +43 -0
- data/test/controllers/test_batches_controller.rb +146 -0
- data/test/controllers/test_contacts_controller.rb +668 -0
- data/test/controllers/test_declined_recurring_transactions_controller.rb +150 -0
- data/test/controllers/test_device_terms_controller.rb +261 -0
- data/test/controllers/test_level3_data_controller.rb +91 -0
- data/test/controllers/test_locations_controller.rb +959 -0
- data/test/controllers/test_m3_ds_transactions_controller.rb +47 -0
- data/test/controllers/test_merchant_deposits_controller.rb +66 -0
- data/test/controllers/test_paylinks_controller.rb +185 -0
- data/test/controllers/test_payment_card_reader_token_controller.rb +43 -0
- data/test/controllers/test_quick_invoices_controller.rb +1218 -0
- data/test/controllers/test_recurring_controller.rb +1046 -0
- data/test/controllers/test_signatures_controller.rb +121 -0
- data/test/controllers/test_tags_controller.rb +155 -0
- data/test/controllers/test_terminals_controller.rb +242 -0
- data/test/controllers/test_tickets_controller.rb +94 -0
- data/test/controllers/test_tokens_controller.rb +641 -0
- data/test/controllers/test_transaction_ach_retries_controller.rb +427 -0
- data/test/controllers/test_transactions_read_controller.rb +867 -0
- data/test/controllers/test_transactions_updates_controller.rb +419 -0
- data/test/controllers/test_user_verifications_controller.rb +86 -0
- data/test/controllers/test_users_controller.rb +747 -0
- data/test/controllers/test_webhooks_controller.rb +51 -0
- data/test/http_response_catcher.rb +19 -0
- metadata +849 -0
|
@@ -0,0 +1,1473 @@
|
|
|
1
|
+
# fortis_api
|
|
2
|
+
#
|
|
3
|
+
# This file was automatically generated by APIMATIC v3.0 (
|
|
4
|
+
# https://www.apimatic.io ).
|
|
5
|
+
|
|
6
|
+
module FortisApi
|
|
7
|
+
# TransactionsCreditCardController
|
|
8
|
+
class TransactionsCreditCardController < BaseController
|
|
9
|
+
# Create a new keyed Credit Card authorization only transaction
|
|
10
|
+
# @param [V1TransactionsCcAuthOnlyKeyedRequest] body Required parameter:
|
|
11
|
+
# TODO: type description here
|
|
12
|
+
# @param [Array[Expand60Enum]] expand Optional parameter: Most endpoints in
|
|
13
|
+
# the API have a way to retrieve extra data related to the current record
|
|
14
|
+
# being retrieved. For example, if the API request is for the accountvaults
|
|
15
|
+
# endpoint, and the end user also needs to know which contact the token
|
|
16
|
+
# belongs to, this data can be returned in the accountvaults endpoint
|
|
17
|
+
# request.
|
|
18
|
+
# @return [ResponseTransaction] Response from the API call.
|
|
19
|
+
def cc_auth_only(body,
|
|
20
|
+
expand: nil)
|
|
21
|
+
@api_call
|
|
22
|
+
.request(new_request_builder(HttpMethodEnum::POST,
|
|
23
|
+
'/v1/transactions/cc/auth-only/keyed',
|
|
24
|
+
Server::DEFAULT)
|
|
25
|
+
.header_param(new_parameter('application/json', key: 'Content-Type'))
|
|
26
|
+
.body_param(new_parameter(body))
|
|
27
|
+
.query_param(new_parameter(expand, key: 'expand'))
|
|
28
|
+
.header_param(new_parameter('application/json', key: 'accept'))
|
|
29
|
+
.body_serializer(proc do |param| param.to_json unless param.nil? end)
|
|
30
|
+
.auth(And.new('user-id', 'user-api-key', 'developer-id')))
|
|
31
|
+
.response(new_response_handler
|
|
32
|
+
.deserializer(APIHelper.method(:custom_type_deserializer))
|
|
33
|
+
.deserialize_into(ResponseTransaction.method(:from_hash))
|
|
34
|
+
.local_error('401',
|
|
35
|
+
'Unauthorized',
|
|
36
|
+
Response401tokenException)
|
|
37
|
+
.local_error('412',
|
|
38
|
+
'Precondition Failed',
|
|
39
|
+
Response412Exception))
|
|
40
|
+
.execute
|
|
41
|
+
end
|
|
42
|
+
|
|
43
|
+
# Create a new Credit Card authorization only transaction using previous
|
|
44
|
+
# transaction id
|
|
45
|
+
# @param [V1TransactionsCcAuthOnlyPrevTrxnRequest] body Required parameter:
|
|
46
|
+
# TODO: type description here
|
|
47
|
+
# @param [Array[Expand60Enum]] expand Optional parameter: Most endpoints in
|
|
48
|
+
# the API have a way to retrieve extra data related to the current record
|
|
49
|
+
# being retrieved. For example, if the API request is for the accountvaults
|
|
50
|
+
# endpoint, and the end user also needs to know which contact the token
|
|
51
|
+
# belongs to, this data can be returned in the accountvaults endpoint
|
|
52
|
+
# request.
|
|
53
|
+
# @return [ResponseTransaction] Response from the API call.
|
|
54
|
+
def cc_auth_only_previous_transaction(body,
|
|
55
|
+
expand: nil)
|
|
56
|
+
@api_call
|
|
57
|
+
.request(new_request_builder(HttpMethodEnum::POST,
|
|
58
|
+
'/v1/transactions/cc/auth-only/prev-trxn',
|
|
59
|
+
Server::DEFAULT)
|
|
60
|
+
.header_param(new_parameter('application/json', key: 'Content-Type'))
|
|
61
|
+
.body_param(new_parameter(body))
|
|
62
|
+
.query_param(new_parameter(expand, key: 'expand'))
|
|
63
|
+
.header_param(new_parameter('application/json', key: 'accept'))
|
|
64
|
+
.body_serializer(proc do |param| param.to_json unless param.nil? end)
|
|
65
|
+
.auth(And.new('user-id', 'user-api-key', 'developer-id')))
|
|
66
|
+
.response(new_response_handler
|
|
67
|
+
.deserializer(APIHelper.method(:custom_type_deserializer))
|
|
68
|
+
.deserialize_into(ResponseTransaction.method(:from_hash))
|
|
69
|
+
.local_error('401',
|
|
70
|
+
'Unauthorized',
|
|
71
|
+
Response401tokenException)
|
|
72
|
+
.local_error('412',
|
|
73
|
+
'Precondition Failed',
|
|
74
|
+
Response412Exception))
|
|
75
|
+
.execute
|
|
76
|
+
end
|
|
77
|
+
|
|
78
|
+
# Create a new swiped Credit Card authorization only transaction
|
|
79
|
+
# @param [V1TransactionsCcAuthOnlySwipedRequest] body Required parameter:
|
|
80
|
+
# TODO: type description here
|
|
81
|
+
# @param [Array[Expand60Enum]] expand Optional parameter: Most endpoints in
|
|
82
|
+
# the API have a way to retrieve extra data related to the current record
|
|
83
|
+
# being retrieved. For example, if the API request is for the accountvaults
|
|
84
|
+
# endpoint, and the end user also needs to know which contact the token
|
|
85
|
+
# belongs to, this data can be returned in the accountvaults endpoint
|
|
86
|
+
# request.
|
|
87
|
+
# @return [ResponseTransaction] Response from the API call.
|
|
88
|
+
def cc_auth_only_swiped(body,
|
|
89
|
+
expand: nil)
|
|
90
|
+
@api_call
|
|
91
|
+
.request(new_request_builder(HttpMethodEnum::POST,
|
|
92
|
+
'/v1/transactions/cc/auth-only/swiped',
|
|
93
|
+
Server::DEFAULT)
|
|
94
|
+
.header_param(new_parameter('application/json', key: 'Content-Type'))
|
|
95
|
+
.body_param(new_parameter(body))
|
|
96
|
+
.query_param(new_parameter(expand, key: 'expand'))
|
|
97
|
+
.header_param(new_parameter('application/json', key: 'accept'))
|
|
98
|
+
.body_serializer(proc do |param| param.to_json unless param.nil? end)
|
|
99
|
+
.auth(And.new('user-id', 'user-api-key', 'developer-id')))
|
|
100
|
+
.response(new_response_handler
|
|
101
|
+
.deserializer(APIHelper.method(:custom_type_deserializer))
|
|
102
|
+
.deserialize_into(ResponseTransaction.method(:from_hash))
|
|
103
|
+
.local_error('401',
|
|
104
|
+
'Unauthorized',
|
|
105
|
+
Response401tokenException)
|
|
106
|
+
.local_error('412',
|
|
107
|
+
'Precondition Failed',
|
|
108
|
+
Response412Exception))
|
|
109
|
+
.execute
|
|
110
|
+
end
|
|
111
|
+
|
|
112
|
+
# Create a new Tap To Pay Credit Card authorization only transaction
|
|
113
|
+
# @param [V1TransactionsCcAuthOnlyTaptopayRequest] body Required parameter:
|
|
114
|
+
# TODO: type description here
|
|
115
|
+
# @param [Array[Expand60Enum]] expand Optional parameter: Most endpoints in
|
|
116
|
+
# the API have a way to retrieve extra data related to the current record
|
|
117
|
+
# being retrieved. For example, if the API request is for the accountvaults
|
|
118
|
+
# endpoint, and the end user also needs to know which contact the token
|
|
119
|
+
# belongs to, this data can be returned in the accountvaults endpoint
|
|
120
|
+
# request.
|
|
121
|
+
# @return [ResponseTransaction] Response from the API call.
|
|
122
|
+
def cc_auth_only_tap_to_pay(body,
|
|
123
|
+
expand: nil)
|
|
124
|
+
@api_call
|
|
125
|
+
.request(new_request_builder(HttpMethodEnum::POST,
|
|
126
|
+
'/v1/transactions/cc/auth-only/taptopay',
|
|
127
|
+
Server::DEFAULT)
|
|
128
|
+
.header_param(new_parameter('application/json', key: 'Content-Type'))
|
|
129
|
+
.body_param(new_parameter(body))
|
|
130
|
+
.query_param(new_parameter(expand, key: 'expand'))
|
|
131
|
+
.header_param(new_parameter('application/json', key: 'accept'))
|
|
132
|
+
.body_serializer(proc do |param| param.to_json unless param.nil? end)
|
|
133
|
+
.auth(And.new('user-id', 'user-api-key', 'developer-id')))
|
|
134
|
+
.response(new_response_handler
|
|
135
|
+
.deserializer(APIHelper.method(:custom_type_deserializer))
|
|
136
|
+
.deserialize_into(ResponseTransaction.method(:from_hash))
|
|
137
|
+
.local_error('401',
|
|
138
|
+
'Unauthorized',
|
|
139
|
+
Response401tokenException)
|
|
140
|
+
.local_error('412',
|
|
141
|
+
'Precondition Failed',
|
|
142
|
+
Response412Exception))
|
|
143
|
+
.execute
|
|
144
|
+
end
|
|
145
|
+
|
|
146
|
+
# Create a new terminal Credit Card authorization only transaction
|
|
147
|
+
# @param [V1TransactionsCcAuthOnlyTerminalRequest] body Required parameter:
|
|
148
|
+
# TODO: type description here
|
|
149
|
+
# @return [ResponseTransactionProcessing] Response from the API call.
|
|
150
|
+
def cc_auth_only_terminal(body)
|
|
151
|
+
@api_call
|
|
152
|
+
.request(new_request_builder(HttpMethodEnum::POST,
|
|
153
|
+
'/v1/transactions/cc/auth-only/terminal',
|
|
154
|
+
Server::DEFAULT)
|
|
155
|
+
.header_param(new_parameter('application/json', key: 'Content-Type'))
|
|
156
|
+
.body_param(new_parameter(body))
|
|
157
|
+
.header_param(new_parameter('application/json', key: 'accept'))
|
|
158
|
+
.body_serializer(proc do |param| param.to_json unless param.nil? end)
|
|
159
|
+
.auth(And.new('user-id', 'user-api-key', 'developer-id')))
|
|
160
|
+
.response(new_response_handler
|
|
161
|
+
.deserializer(APIHelper.method(:custom_type_deserializer))
|
|
162
|
+
.deserialize_into(ResponseTransactionProcessing.method(:from_hash))
|
|
163
|
+
.local_error('401',
|
|
164
|
+
'Unauthorized',
|
|
165
|
+
Response401tokenException)
|
|
166
|
+
.local_error('412',
|
|
167
|
+
'Precondition Failed',
|
|
168
|
+
Response412Exception))
|
|
169
|
+
.execute
|
|
170
|
+
end
|
|
171
|
+
|
|
172
|
+
# Create a new ticket Credit Card authorization only transaction
|
|
173
|
+
# @param [V1TransactionsCcAuthOnlyTicketRequest] body Required parameter:
|
|
174
|
+
# TODO: type description here
|
|
175
|
+
# @param [Array[Expand60Enum]] expand Optional parameter: Most endpoints in
|
|
176
|
+
# the API have a way to retrieve extra data related to the current record
|
|
177
|
+
# being retrieved. For example, if the API request is for the accountvaults
|
|
178
|
+
# endpoint, and the end user also needs to know which contact the token
|
|
179
|
+
# belongs to, this data can be returned in the accountvaults endpoint
|
|
180
|
+
# request.
|
|
181
|
+
# @return [ResponseTransaction] Response from the API call.
|
|
182
|
+
def cc_auth_only_ticket(body,
|
|
183
|
+
expand: nil)
|
|
184
|
+
@api_call
|
|
185
|
+
.request(new_request_builder(HttpMethodEnum::POST,
|
|
186
|
+
'/v1/transactions/cc/auth-only/ticket',
|
|
187
|
+
Server::DEFAULT)
|
|
188
|
+
.header_param(new_parameter('application/json', key: 'Content-Type'))
|
|
189
|
+
.body_param(new_parameter(body))
|
|
190
|
+
.query_param(new_parameter(expand, key: 'expand'))
|
|
191
|
+
.header_param(new_parameter('application/json', key: 'accept'))
|
|
192
|
+
.body_serializer(proc do |param| param.to_json unless param.nil? end)
|
|
193
|
+
.auth(And.new('user-id', 'user-api-key', 'developer-id')))
|
|
194
|
+
.response(new_response_handler
|
|
195
|
+
.deserializer(APIHelper.method(:custom_type_deserializer))
|
|
196
|
+
.deserialize_into(ResponseTransaction.method(:from_hash))
|
|
197
|
+
.local_error('401',
|
|
198
|
+
'Unauthorized',
|
|
199
|
+
Response401tokenException)
|
|
200
|
+
.local_error('412',
|
|
201
|
+
'Precondition Failed',
|
|
202
|
+
Response412Exception))
|
|
203
|
+
.execute
|
|
204
|
+
end
|
|
205
|
+
|
|
206
|
+
# Create a new tokenized Credit Card authorization only transaction
|
|
207
|
+
# @param [V1TransactionsCcAuthOnlyTokenRequest] body Required parameter:
|
|
208
|
+
# TODO: type description here
|
|
209
|
+
# @param [Array[Expand60Enum]] expand Optional parameter: Most endpoints in
|
|
210
|
+
# the API have a way to retrieve extra data related to the current record
|
|
211
|
+
# being retrieved. For example, if the API request is for the accountvaults
|
|
212
|
+
# endpoint, and the end user also needs to know which contact the token
|
|
213
|
+
# belongs to, this data can be returned in the accountvaults endpoint
|
|
214
|
+
# request.
|
|
215
|
+
# @return [ResponseTransaction] Response from the API call.
|
|
216
|
+
def cc_auth_only_tokenized(body,
|
|
217
|
+
expand: nil)
|
|
218
|
+
@api_call
|
|
219
|
+
.request(new_request_builder(HttpMethodEnum::POST,
|
|
220
|
+
'/v1/transactions/cc/auth-only/token',
|
|
221
|
+
Server::DEFAULT)
|
|
222
|
+
.header_param(new_parameter('application/json', key: 'Content-Type'))
|
|
223
|
+
.body_param(new_parameter(body))
|
|
224
|
+
.query_param(new_parameter(expand, key: 'expand'))
|
|
225
|
+
.header_param(new_parameter('application/json', key: 'accept'))
|
|
226
|
+
.body_serializer(proc do |param| param.to_json unless param.nil? end)
|
|
227
|
+
.auth(And.new('user-id', 'user-api-key', 'developer-id')))
|
|
228
|
+
.response(new_response_handler
|
|
229
|
+
.deserializer(APIHelper.method(:custom_type_deserializer))
|
|
230
|
+
.deserialize_into(ResponseTransaction.method(:from_hash))
|
|
231
|
+
.local_error('401',
|
|
232
|
+
'Unauthorized',
|
|
233
|
+
Response401tokenException)
|
|
234
|
+
.local_error('412',
|
|
235
|
+
'Precondition Failed',
|
|
236
|
+
Response412Exception))
|
|
237
|
+
.execute
|
|
238
|
+
end
|
|
239
|
+
|
|
240
|
+
# Create a new Wallet Credit Card authorization only transaction
|
|
241
|
+
# @param [V1TransactionsCcAuthOnlyWalletRequest] body Required parameter:
|
|
242
|
+
# TODO: type description here
|
|
243
|
+
# @param [Array[Expand60Enum]] expand Optional parameter: Most endpoints in
|
|
244
|
+
# the API have a way to retrieve extra data related to the current record
|
|
245
|
+
# being retrieved. For example, if the API request is for the accountvaults
|
|
246
|
+
# endpoint, and the end user also needs to know which contact the token
|
|
247
|
+
# belongs to, this data can be returned in the accountvaults endpoint
|
|
248
|
+
# request.
|
|
249
|
+
# @return [ResponseTransaction] Response from the API call.
|
|
250
|
+
def cc_auth_only_wallet(body,
|
|
251
|
+
expand: nil)
|
|
252
|
+
@api_call
|
|
253
|
+
.request(new_request_builder(HttpMethodEnum::POST,
|
|
254
|
+
'/v1/transactions/cc/auth-only/wallet',
|
|
255
|
+
Server::DEFAULT)
|
|
256
|
+
.header_param(new_parameter('application/json', key: 'Content-Type'))
|
|
257
|
+
.body_param(new_parameter(body))
|
|
258
|
+
.query_param(new_parameter(expand, key: 'expand'))
|
|
259
|
+
.header_param(new_parameter('application/json', key: 'accept'))
|
|
260
|
+
.body_serializer(proc do |param| param.to_json unless param.nil? end)
|
|
261
|
+
.auth(And.new('user-id', 'user-api-key', 'developer-id')))
|
|
262
|
+
.response(new_response_handler
|
|
263
|
+
.deserializer(APIHelper.method(:custom_type_deserializer))
|
|
264
|
+
.deserialize_into(ResponseTransaction.method(:from_hash))
|
|
265
|
+
.local_error('401',
|
|
266
|
+
'Unauthorized',
|
|
267
|
+
Response401tokenException)
|
|
268
|
+
.local_error('412',
|
|
269
|
+
'Precondition Failed',
|
|
270
|
+
Response412Exception))
|
|
271
|
+
.execute
|
|
272
|
+
end
|
|
273
|
+
|
|
274
|
+
# Create a new keyed Credit Card AVS only transaction
|
|
275
|
+
# @param [V1TransactionsCcAvsOnlyKeyedRequest] body Required parameter:
|
|
276
|
+
# TODO: type description here
|
|
277
|
+
# @param [Array[Expand60Enum]] expand Optional parameter: Most endpoints in
|
|
278
|
+
# the API have a way to retrieve extra data related to the current record
|
|
279
|
+
# being retrieved. For example, if the API request is for the accountvaults
|
|
280
|
+
# endpoint, and the end user also needs to know which contact the token
|
|
281
|
+
# belongs to, this data can be returned in the accountvaults endpoint
|
|
282
|
+
# request.
|
|
283
|
+
# @return [ResponseTransaction] Response from the API call.
|
|
284
|
+
def cc_avs(body,
|
|
285
|
+
expand: nil)
|
|
286
|
+
@api_call
|
|
287
|
+
.request(new_request_builder(HttpMethodEnum::POST,
|
|
288
|
+
'/v1/transactions/cc/avs-only/keyed',
|
|
289
|
+
Server::DEFAULT)
|
|
290
|
+
.header_param(new_parameter('application/json', key: 'Content-Type'))
|
|
291
|
+
.body_param(new_parameter(body))
|
|
292
|
+
.query_param(new_parameter(expand, key: 'expand'))
|
|
293
|
+
.header_param(new_parameter('application/json', key: 'accept'))
|
|
294
|
+
.body_serializer(proc do |param| param.to_json unless param.nil? end)
|
|
295
|
+
.auth(And.new('user-id', 'user-api-key', 'developer-id')))
|
|
296
|
+
.response(new_response_handler
|
|
297
|
+
.deserializer(APIHelper.method(:custom_type_deserializer))
|
|
298
|
+
.deserialize_into(ResponseTransaction.method(:from_hash))
|
|
299
|
+
.local_error('401',
|
|
300
|
+
'Unauthorized',
|
|
301
|
+
Response401tokenException)
|
|
302
|
+
.local_error('412',
|
|
303
|
+
'Precondition Failed',
|
|
304
|
+
Response412Exception))
|
|
305
|
+
.execute
|
|
306
|
+
end
|
|
307
|
+
|
|
308
|
+
# Create a new Credit Card AVS only transaction using previous transaction
|
|
309
|
+
# id
|
|
310
|
+
# @param [V1TransactionsCcAvsOnlyPrevTrxnRequest] body Required parameter:
|
|
311
|
+
# TODO: type description here
|
|
312
|
+
# @param [Array[Expand60Enum]] expand Optional parameter: Most endpoints in
|
|
313
|
+
# the API have a way to retrieve extra data related to the current record
|
|
314
|
+
# being retrieved. For example, if the API request is for the accountvaults
|
|
315
|
+
# endpoint, and the end user also needs to know which contact the token
|
|
316
|
+
# belongs to, this data can be returned in the accountvaults endpoint
|
|
317
|
+
# request.
|
|
318
|
+
# @return [ResponseTransaction] Response from the API call.
|
|
319
|
+
def cc_avs_previous_transaction(body,
|
|
320
|
+
expand: nil)
|
|
321
|
+
@api_call
|
|
322
|
+
.request(new_request_builder(HttpMethodEnum::POST,
|
|
323
|
+
'/v1/transactions/cc/avs-only/prev-trxn',
|
|
324
|
+
Server::DEFAULT)
|
|
325
|
+
.header_param(new_parameter('application/json', key: 'Content-Type'))
|
|
326
|
+
.body_param(new_parameter(body))
|
|
327
|
+
.query_param(new_parameter(expand, key: 'expand'))
|
|
328
|
+
.header_param(new_parameter('application/json', key: 'accept'))
|
|
329
|
+
.body_serializer(proc do |param| param.to_json unless param.nil? end)
|
|
330
|
+
.auth(And.new('user-id', 'user-api-key', 'developer-id')))
|
|
331
|
+
.response(new_response_handler
|
|
332
|
+
.deserializer(APIHelper.method(:custom_type_deserializer))
|
|
333
|
+
.deserialize_into(ResponseTransaction.method(:from_hash))
|
|
334
|
+
.local_error('401',
|
|
335
|
+
'Unauthorized',
|
|
336
|
+
Response401tokenException)
|
|
337
|
+
.local_error('412',
|
|
338
|
+
'Precondition Failed',
|
|
339
|
+
Response412Exception))
|
|
340
|
+
.execute
|
|
341
|
+
end
|
|
342
|
+
|
|
343
|
+
# Create a new swiped Credit Card AVS only transaction
|
|
344
|
+
# @param [V1TransactionsCcAvsOnlySwipedRequest] body Required parameter:
|
|
345
|
+
# TODO: type description here
|
|
346
|
+
# @param [Array[Expand60Enum]] expand Optional parameter: Most endpoints in
|
|
347
|
+
# the API have a way to retrieve extra data related to the current record
|
|
348
|
+
# being retrieved. For example, if the API request is for the accountvaults
|
|
349
|
+
# endpoint, and the end user also needs to know which contact the token
|
|
350
|
+
# belongs to, this data can be returned in the accountvaults endpoint
|
|
351
|
+
# request.
|
|
352
|
+
# @return [ResponseTransaction] Response from the API call.
|
|
353
|
+
def cc_avs_swiped(body,
|
|
354
|
+
expand: nil)
|
|
355
|
+
@api_call
|
|
356
|
+
.request(new_request_builder(HttpMethodEnum::POST,
|
|
357
|
+
'/v1/transactions/cc/avs-only/swiped',
|
|
358
|
+
Server::DEFAULT)
|
|
359
|
+
.header_param(new_parameter('application/json', key: 'Content-Type'))
|
|
360
|
+
.body_param(new_parameter(body))
|
|
361
|
+
.query_param(new_parameter(expand, key: 'expand'))
|
|
362
|
+
.header_param(new_parameter('application/json', key: 'accept'))
|
|
363
|
+
.body_serializer(proc do |param| param.to_json unless param.nil? end)
|
|
364
|
+
.auth(And.new('user-id', 'user-api-key', 'developer-id')))
|
|
365
|
+
.response(new_response_handler
|
|
366
|
+
.deserializer(APIHelper.method(:custom_type_deserializer))
|
|
367
|
+
.deserialize_into(ResponseTransaction.method(:from_hash))
|
|
368
|
+
.local_error('401',
|
|
369
|
+
'Unauthorized',
|
|
370
|
+
Response401tokenException)
|
|
371
|
+
.local_error('412',
|
|
372
|
+
'Precondition Failed',
|
|
373
|
+
Response412Exception))
|
|
374
|
+
.execute
|
|
375
|
+
end
|
|
376
|
+
|
|
377
|
+
# Create a new terminal Credit Card AVS only transaction
|
|
378
|
+
# @param [V1TransactionsCcAvsOnlyTerminalRequest] body Required parameter:
|
|
379
|
+
# TODO: type description here
|
|
380
|
+
# @return [ResponseTransactionProcessing] Response from the API call.
|
|
381
|
+
def cc_avs_terminal(body)
|
|
382
|
+
@api_call
|
|
383
|
+
.request(new_request_builder(HttpMethodEnum::POST,
|
|
384
|
+
'/v1/transactions/cc/avs-only/terminal',
|
|
385
|
+
Server::DEFAULT)
|
|
386
|
+
.header_param(new_parameter('application/json', key: 'Content-Type'))
|
|
387
|
+
.body_param(new_parameter(body))
|
|
388
|
+
.header_param(new_parameter('application/json', key: 'accept'))
|
|
389
|
+
.body_serializer(proc do |param| param.to_json unless param.nil? end)
|
|
390
|
+
.auth(And.new('user-id', 'user-api-key', 'developer-id')))
|
|
391
|
+
.response(new_response_handler
|
|
392
|
+
.deserializer(APIHelper.method(:custom_type_deserializer))
|
|
393
|
+
.deserialize_into(ResponseTransactionProcessing.method(:from_hash))
|
|
394
|
+
.local_error('401',
|
|
395
|
+
'Unauthorized',
|
|
396
|
+
Response401tokenException)
|
|
397
|
+
.local_error('412',
|
|
398
|
+
'Precondition Failed',
|
|
399
|
+
Response412Exception))
|
|
400
|
+
.execute
|
|
401
|
+
end
|
|
402
|
+
|
|
403
|
+
# Create a new ticket Credit Card AVS only transaction
|
|
404
|
+
# @param [V1TransactionsCcAvsOnlyTicketRequest] body Required parameter:
|
|
405
|
+
# TODO: type description here
|
|
406
|
+
# @param [Array[Expand60Enum]] expand Optional parameter: Most endpoints in
|
|
407
|
+
# the API have a way to retrieve extra data related to the current record
|
|
408
|
+
# being retrieved. For example, if the API request is for the accountvaults
|
|
409
|
+
# endpoint, and the end user also needs to know which contact the token
|
|
410
|
+
# belongs to, this data can be returned in the accountvaults endpoint
|
|
411
|
+
# request.
|
|
412
|
+
# @return [ResponseTransaction] Response from the API call.
|
|
413
|
+
def cc_avs_ticket(body,
|
|
414
|
+
expand: nil)
|
|
415
|
+
@api_call
|
|
416
|
+
.request(new_request_builder(HttpMethodEnum::POST,
|
|
417
|
+
'/v1/transactions/cc/avs-only/ticket',
|
|
418
|
+
Server::DEFAULT)
|
|
419
|
+
.header_param(new_parameter('application/json', key: 'Content-Type'))
|
|
420
|
+
.body_param(new_parameter(body))
|
|
421
|
+
.query_param(new_parameter(expand, key: 'expand'))
|
|
422
|
+
.header_param(new_parameter('application/json', key: 'accept'))
|
|
423
|
+
.body_serializer(proc do |param| param.to_json unless param.nil? end)
|
|
424
|
+
.auth(And.new('user-id', 'user-api-key', 'developer-id')))
|
|
425
|
+
.response(new_response_handler
|
|
426
|
+
.deserializer(APIHelper.method(:custom_type_deserializer))
|
|
427
|
+
.deserialize_into(ResponseTransaction.method(:from_hash))
|
|
428
|
+
.local_error('401',
|
|
429
|
+
'Unauthorized',
|
|
430
|
+
Response401tokenException)
|
|
431
|
+
.local_error('412',
|
|
432
|
+
'Precondition Failed',
|
|
433
|
+
Response412Exception))
|
|
434
|
+
.execute
|
|
435
|
+
end
|
|
436
|
+
|
|
437
|
+
# Create a new tokenized Credit Card AVS only transaction
|
|
438
|
+
# @param [V1TransactionsCcAvsOnlyTokenRequest] body Required parameter:
|
|
439
|
+
# TODO: type description here
|
|
440
|
+
# @param [Array[Expand60Enum]] expand Optional parameter: Most endpoints in
|
|
441
|
+
# the API have a way to retrieve extra data related to the current record
|
|
442
|
+
# being retrieved. For example, if the API request is for the accountvaults
|
|
443
|
+
# endpoint, and the end user also needs to know which contact the token
|
|
444
|
+
# belongs to, this data can be returned in the accountvaults endpoint
|
|
445
|
+
# request.
|
|
446
|
+
# @return [ResponseTransaction] Response from the API call.
|
|
447
|
+
def cc_avs_tokenized(body,
|
|
448
|
+
expand: nil)
|
|
449
|
+
@api_call
|
|
450
|
+
.request(new_request_builder(HttpMethodEnum::POST,
|
|
451
|
+
'/v1/transactions/cc/avs-only/token',
|
|
452
|
+
Server::DEFAULT)
|
|
453
|
+
.header_param(new_parameter('application/json', key: 'Content-Type'))
|
|
454
|
+
.body_param(new_parameter(body))
|
|
455
|
+
.query_param(new_parameter(expand, key: 'expand'))
|
|
456
|
+
.header_param(new_parameter('application/json', key: 'accept'))
|
|
457
|
+
.body_serializer(proc do |param| param.to_json unless param.nil? end)
|
|
458
|
+
.auth(And.new('user-id', 'user-api-key', 'developer-id')))
|
|
459
|
+
.response(new_response_handler
|
|
460
|
+
.deserializer(APIHelper.method(:custom_type_deserializer))
|
|
461
|
+
.deserialize_into(ResponseTransaction.method(:from_hash))
|
|
462
|
+
.local_error('401',
|
|
463
|
+
'Unauthorized',
|
|
464
|
+
Response401tokenException)
|
|
465
|
+
.local_error('412',
|
|
466
|
+
'Precondition Failed',
|
|
467
|
+
Response412Exception))
|
|
468
|
+
.execute
|
|
469
|
+
end
|
|
470
|
+
|
|
471
|
+
# Create a new Wallet Credit Card AVS only transaction
|
|
472
|
+
# @param [V1TransactionsCcAvsOnlyWalletRequest] body Required parameter:
|
|
473
|
+
# TODO: type description here
|
|
474
|
+
# @param [Array[Expand60Enum]] expand Optional parameter: Most endpoints in
|
|
475
|
+
# the API have a way to retrieve extra data related to the current record
|
|
476
|
+
# being retrieved. For example, if the API request is for the accountvaults
|
|
477
|
+
# endpoint, and the end user also needs to know which contact the token
|
|
478
|
+
# belongs to, this data can be returned in the accountvaults endpoint
|
|
479
|
+
# request.
|
|
480
|
+
# @return [ResponseTransaction] Response from the API call.
|
|
481
|
+
def cc_avs_wallet(body,
|
|
482
|
+
expand: nil)
|
|
483
|
+
@api_call
|
|
484
|
+
.request(new_request_builder(HttpMethodEnum::POST,
|
|
485
|
+
'/v1/transactions/cc/avs-only/wallet',
|
|
486
|
+
Server::DEFAULT)
|
|
487
|
+
.header_param(new_parameter('application/json', key: 'Content-Type'))
|
|
488
|
+
.body_param(new_parameter(body))
|
|
489
|
+
.query_param(new_parameter(expand, key: 'expand'))
|
|
490
|
+
.header_param(new_parameter('application/json', key: 'accept'))
|
|
491
|
+
.body_serializer(proc do |param| param.to_json unless param.nil? end)
|
|
492
|
+
.auth(And.new('user-id', 'user-api-key', 'developer-id')))
|
|
493
|
+
.response(new_response_handler
|
|
494
|
+
.deserializer(APIHelper.method(:custom_type_deserializer))
|
|
495
|
+
.deserialize_into(ResponseTransaction.method(:from_hash))
|
|
496
|
+
.local_error('401',
|
|
497
|
+
'Unauthorized',
|
|
498
|
+
Response401tokenException)
|
|
499
|
+
.local_error('412',
|
|
500
|
+
'Precondition Failed',
|
|
501
|
+
Response412Exception))
|
|
502
|
+
.execute
|
|
503
|
+
end
|
|
504
|
+
|
|
505
|
+
# Create a new keyed Credit Card balance inquiry transaction
|
|
506
|
+
# @param [V1TransactionsCcBalanceInquiryKeyedRequest] body Required
|
|
507
|
+
# parameter: TODO: type description here
|
|
508
|
+
# @param [Array[Expand60Enum]] expand Optional parameter: Most endpoints in
|
|
509
|
+
# the API have a way to retrieve extra data related to the current record
|
|
510
|
+
# being retrieved. For example, if the API request is for the accountvaults
|
|
511
|
+
# endpoint, and the end user also needs to know which contact the token
|
|
512
|
+
# belongs to, this data can be returned in the accountvaults endpoint
|
|
513
|
+
# request.
|
|
514
|
+
# @return [ResponseTransaction] Response from the API call.
|
|
515
|
+
def cc_balance_inquiry(body,
|
|
516
|
+
expand: nil)
|
|
517
|
+
@api_call
|
|
518
|
+
.request(new_request_builder(HttpMethodEnum::POST,
|
|
519
|
+
'/v1/transactions/cc/balance-inquiry/keyed',
|
|
520
|
+
Server::DEFAULT)
|
|
521
|
+
.header_param(new_parameter('application/json', key: 'Content-Type'))
|
|
522
|
+
.body_param(new_parameter(body))
|
|
523
|
+
.query_param(new_parameter(expand, key: 'expand'))
|
|
524
|
+
.header_param(new_parameter('application/json', key: 'accept'))
|
|
525
|
+
.body_serializer(proc do |param| param.to_json unless param.nil? end)
|
|
526
|
+
.auth(And.new('user-id', 'user-api-key', 'developer-id')))
|
|
527
|
+
.response(new_response_handler
|
|
528
|
+
.deserializer(APIHelper.method(:custom_type_deserializer))
|
|
529
|
+
.deserialize_into(ResponseTransaction.method(:from_hash))
|
|
530
|
+
.local_error('401',
|
|
531
|
+
'Unauthorized',
|
|
532
|
+
Response401tokenException)
|
|
533
|
+
.local_error('412',
|
|
534
|
+
'Precondition Failed',
|
|
535
|
+
Response412Exception))
|
|
536
|
+
.execute
|
|
537
|
+
end
|
|
538
|
+
|
|
539
|
+
# Create a new Credit Card balance inquiry transaction using previous
|
|
540
|
+
# transaction id
|
|
541
|
+
# @param [V1TransactionsCcBalanceInquiryPrevTrxnRequest] body Required
|
|
542
|
+
# parameter: TODO: type description here
|
|
543
|
+
# @param [Array[Expand60Enum]] expand Optional parameter: Most endpoints in
|
|
544
|
+
# the API have a way to retrieve extra data related to the current record
|
|
545
|
+
# being retrieved. For example, if the API request is for the accountvaults
|
|
546
|
+
# endpoint, and the end user also needs to know which contact the token
|
|
547
|
+
# belongs to, this data can be returned in the accountvaults endpoint
|
|
548
|
+
# request.
|
|
549
|
+
# @return [ResponseTransaction] Response from the API call.
|
|
550
|
+
def cc_balance_inquiry_previous_transaction(body,
|
|
551
|
+
expand: nil)
|
|
552
|
+
@api_call
|
|
553
|
+
.request(new_request_builder(HttpMethodEnum::POST,
|
|
554
|
+
'/v1/transactions/cc/balance-inquiry/prev-trxn',
|
|
555
|
+
Server::DEFAULT)
|
|
556
|
+
.header_param(new_parameter('application/json', key: 'Content-Type'))
|
|
557
|
+
.body_param(new_parameter(body))
|
|
558
|
+
.query_param(new_parameter(expand, key: 'expand'))
|
|
559
|
+
.header_param(new_parameter('application/json', key: 'accept'))
|
|
560
|
+
.body_serializer(proc do |param| param.to_json unless param.nil? end)
|
|
561
|
+
.auth(And.new('user-id', 'user-api-key', 'developer-id')))
|
|
562
|
+
.response(new_response_handler
|
|
563
|
+
.deserializer(APIHelper.method(:custom_type_deserializer))
|
|
564
|
+
.deserialize_into(ResponseTransaction.method(:from_hash))
|
|
565
|
+
.local_error('401',
|
|
566
|
+
'Unauthorized',
|
|
567
|
+
Response401tokenException)
|
|
568
|
+
.local_error('412',
|
|
569
|
+
'Precondition Failed',
|
|
570
|
+
Response412Exception))
|
|
571
|
+
.execute
|
|
572
|
+
end
|
|
573
|
+
|
|
574
|
+
# Create a new swiped Credit Card balance inquiry transaction
|
|
575
|
+
# @param [V1TransactionsCcBalanceInquirySwipedRequest] body Required
|
|
576
|
+
# parameter: TODO: type description here
|
|
577
|
+
# @param [Array[Expand60Enum]] expand Optional parameter: Most endpoints in
|
|
578
|
+
# the API have a way to retrieve extra data related to the current record
|
|
579
|
+
# being retrieved. For example, if the API request is for the accountvaults
|
|
580
|
+
# endpoint, and the end user also needs to know which contact the token
|
|
581
|
+
# belongs to, this data can be returned in the accountvaults endpoint
|
|
582
|
+
# request.
|
|
583
|
+
# @return [ResponseTransaction] Response from the API call.
|
|
584
|
+
def cc_balance_inquiry_swiped(body,
|
|
585
|
+
expand: nil)
|
|
586
|
+
@api_call
|
|
587
|
+
.request(new_request_builder(HttpMethodEnum::POST,
|
|
588
|
+
'/v1/transactions/cc/balance-inquiry/swiped',
|
|
589
|
+
Server::DEFAULT)
|
|
590
|
+
.header_param(new_parameter('application/json', key: 'Content-Type'))
|
|
591
|
+
.body_param(new_parameter(body))
|
|
592
|
+
.query_param(new_parameter(expand, key: 'expand'))
|
|
593
|
+
.header_param(new_parameter('application/json', key: 'accept'))
|
|
594
|
+
.body_serializer(proc do |param| param.to_json unless param.nil? end)
|
|
595
|
+
.auth(And.new('user-id', 'user-api-key', 'developer-id')))
|
|
596
|
+
.response(new_response_handler
|
|
597
|
+
.deserializer(APIHelper.method(:custom_type_deserializer))
|
|
598
|
+
.deserialize_into(ResponseTransaction.method(:from_hash))
|
|
599
|
+
.local_error('401',
|
|
600
|
+
'Unauthorized',
|
|
601
|
+
Response401tokenException)
|
|
602
|
+
.local_error('412',
|
|
603
|
+
'Precondition Failed',
|
|
604
|
+
Response412Exception))
|
|
605
|
+
.execute
|
|
606
|
+
end
|
|
607
|
+
|
|
608
|
+
# Create a new terminal Credit Card balance inquiry transaction
|
|
609
|
+
# @param [V1TransactionsCcBalanceInquiryTerminalRequest] body Required
|
|
610
|
+
# parameter: TODO: type description here
|
|
611
|
+
# @return [ResponseTransactionProcessing] Response from the API call.
|
|
612
|
+
def cc_balance_inquiry_terminal(body)
|
|
613
|
+
@api_call
|
|
614
|
+
.request(new_request_builder(HttpMethodEnum::POST,
|
|
615
|
+
'/v1/transactions/cc/balance-inquiry/terminal',
|
|
616
|
+
Server::DEFAULT)
|
|
617
|
+
.header_param(new_parameter('application/json', key: 'Content-Type'))
|
|
618
|
+
.body_param(new_parameter(body))
|
|
619
|
+
.header_param(new_parameter('application/json', key: 'accept'))
|
|
620
|
+
.body_serializer(proc do |param| param.to_json unless param.nil? end)
|
|
621
|
+
.auth(And.new('user-id', 'user-api-key', 'developer-id')))
|
|
622
|
+
.response(new_response_handler
|
|
623
|
+
.deserializer(APIHelper.method(:custom_type_deserializer))
|
|
624
|
+
.deserialize_into(ResponseTransactionProcessing.method(:from_hash))
|
|
625
|
+
.local_error('401',
|
|
626
|
+
'Unauthorized',
|
|
627
|
+
Response401tokenException)
|
|
628
|
+
.local_error('412',
|
|
629
|
+
'Precondition Failed',
|
|
630
|
+
Response412Exception))
|
|
631
|
+
.execute
|
|
632
|
+
end
|
|
633
|
+
|
|
634
|
+
# Create a new Ticket Credit Card balance inquiry transaction
|
|
635
|
+
# @param [V1TransactionsCcBalanceInquiryTicketRequest] body Required
|
|
636
|
+
# parameter: TODO: type description here
|
|
637
|
+
# @param [Array[Expand60Enum]] expand Optional parameter: Most endpoints in
|
|
638
|
+
# the API have a way to retrieve extra data related to the current record
|
|
639
|
+
# being retrieved. For example, if the API request is for the accountvaults
|
|
640
|
+
# endpoint, and the end user also needs to know which contact the token
|
|
641
|
+
# belongs to, this data can be returned in the accountvaults endpoint
|
|
642
|
+
# request.
|
|
643
|
+
# @return [ResponseTransaction] Response from the API call.
|
|
644
|
+
def cc_balance_inquiry_ticket(body,
|
|
645
|
+
expand: nil)
|
|
646
|
+
@api_call
|
|
647
|
+
.request(new_request_builder(HttpMethodEnum::POST,
|
|
648
|
+
'/v1/transactions/cc/balance-inquiry/ticket',
|
|
649
|
+
Server::DEFAULT)
|
|
650
|
+
.header_param(new_parameter('application/json', key: 'Content-Type'))
|
|
651
|
+
.body_param(new_parameter(body))
|
|
652
|
+
.query_param(new_parameter(expand, key: 'expand'))
|
|
653
|
+
.header_param(new_parameter('application/json', key: 'accept'))
|
|
654
|
+
.body_serializer(proc do |param| param.to_json unless param.nil? end)
|
|
655
|
+
.auth(And.new('user-id', 'user-api-key', 'developer-id')))
|
|
656
|
+
.response(new_response_handler
|
|
657
|
+
.deserializer(APIHelper.method(:custom_type_deserializer))
|
|
658
|
+
.deserialize_into(ResponseTransaction.method(:from_hash))
|
|
659
|
+
.local_error('401',
|
|
660
|
+
'Unauthorized',
|
|
661
|
+
Response401tokenException)
|
|
662
|
+
.local_error('412',
|
|
663
|
+
'Precondition Failed',
|
|
664
|
+
Response412Exception))
|
|
665
|
+
.execute
|
|
666
|
+
end
|
|
667
|
+
|
|
668
|
+
# Create a new tokenized Credit Card balance inquiry transaction
|
|
669
|
+
# @param [V1TransactionsCcBalanceInquiryTokenRequest] body Required
|
|
670
|
+
# parameter: TODO: type description here
|
|
671
|
+
# @param [Array[Expand60Enum]] expand Optional parameter: Most endpoints in
|
|
672
|
+
# the API have a way to retrieve extra data related to the current record
|
|
673
|
+
# being retrieved. For example, if the API request is for the accountvaults
|
|
674
|
+
# endpoint, and the end user also needs to know which contact the token
|
|
675
|
+
# belongs to, this data can be returned in the accountvaults endpoint
|
|
676
|
+
# request.
|
|
677
|
+
# @return [ResponseTransaction] Response from the API call.
|
|
678
|
+
def cc_balance_inquiry_tokenized(body,
|
|
679
|
+
expand: nil)
|
|
680
|
+
@api_call
|
|
681
|
+
.request(new_request_builder(HttpMethodEnum::POST,
|
|
682
|
+
'/v1/transactions/cc/balance-inquiry/token',
|
|
683
|
+
Server::DEFAULT)
|
|
684
|
+
.header_param(new_parameter('application/json', key: 'Content-Type'))
|
|
685
|
+
.body_param(new_parameter(body))
|
|
686
|
+
.query_param(new_parameter(expand, key: 'expand'))
|
|
687
|
+
.header_param(new_parameter('application/json', key: 'accept'))
|
|
688
|
+
.body_serializer(proc do |param| param.to_json unless param.nil? end)
|
|
689
|
+
.auth(And.new('user-id', 'user-api-key', 'developer-id')))
|
|
690
|
+
.response(new_response_handler
|
|
691
|
+
.deserializer(APIHelper.method(:custom_type_deserializer))
|
|
692
|
+
.deserialize_into(ResponseTransaction.method(:from_hash))
|
|
693
|
+
.local_error('401',
|
|
694
|
+
'Unauthorized',
|
|
695
|
+
Response401tokenException)
|
|
696
|
+
.local_error('412',
|
|
697
|
+
'Precondition Failed',
|
|
698
|
+
Response412Exception))
|
|
699
|
+
.execute
|
|
700
|
+
end
|
|
701
|
+
|
|
702
|
+
# Create a new Wallet Credit Card balance inquiry transaction
|
|
703
|
+
# @param [V1TransactionsCcBalanceInquiryWalletRequest] body Required
|
|
704
|
+
# parameter: TODO: type description here
|
|
705
|
+
# @param [Array[Expand60Enum]] expand Optional parameter: Most endpoints in
|
|
706
|
+
# the API have a way to retrieve extra data related to the current record
|
|
707
|
+
# being retrieved. For example, if the API request is for the accountvaults
|
|
708
|
+
# endpoint, and the end user also needs to know which contact the token
|
|
709
|
+
# belongs to, this data can be returned in the accountvaults endpoint
|
|
710
|
+
# request.
|
|
711
|
+
# @return [ResponseTransaction] Response from the API call.
|
|
712
|
+
def cc_balance_inquiry_wallet(body,
|
|
713
|
+
expand: nil)
|
|
714
|
+
@api_call
|
|
715
|
+
.request(new_request_builder(HttpMethodEnum::POST,
|
|
716
|
+
'/v1/transactions/cc/balance-inquiry/wallet',
|
|
717
|
+
Server::DEFAULT)
|
|
718
|
+
.header_param(new_parameter('application/json', key: 'Content-Type'))
|
|
719
|
+
.body_param(new_parameter(body))
|
|
720
|
+
.query_param(new_parameter(expand, key: 'expand'))
|
|
721
|
+
.header_param(new_parameter('application/json', key: 'accept'))
|
|
722
|
+
.body_serializer(proc do |param| param.to_json unless param.nil? end)
|
|
723
|
+
.auth(And.new('user-id', 'user-api-key', 'developer-id')))
|
|
724
|
+
.response(new_response_handler
|
|
725
|
+
.deserializer(APIHelper.method(:custom_type_deserializer))
|
|
726
|
+
.deserialize_into(ResponseTransaction.method(:from_hash))
|
|
727
|
+
.local_error('401',
|
|
728
|
+
'Unauthorized',
|
|
729
|
+
Response401tokenException)
|
|
730
|
+
.local_error('412',
|
|
731
|
+
'Precondition Failed',
|
|
732
|
+
Response412Exception))
|
|
733
|
+
.execute
|
|
734
|
+
end
|
|
735
|
+
|
|
736
|
+
# Create a new keyed Credit Card force transaction
|
|
737
|
+
# @param [V1TransactionsCcForceKeyedRequest] body Required parameter: TODO:
|
|
738
|
+
# type description here
|
|
739
|
+
# @param [Array[Expand60Enum]] expand Optional parameter: Most endpoints in
|
|
740
|
+
# the API have a way to retrieve extra data related to the current record
|
|
741
|
+
# being retrieved. For example, if the API request is for the accountvaults
|
|
742
|
+
# endpoint, and the end user also needs to know which contact the token
|
|
743
|
+
# belongs to, this data can be returned in the accountvaults endpoint
|
|
744
|
+
# request.
|
|
745
|
+
# @return [ResponseTransaction] Response from the API call.
|
|
746
|
+
def cc_force(body,
|
|
747
|
+
expand: nil)
|
|
748
|
+
@api_call
|
|
749
|
+
.request(new_request_builder(HttpMethodEnum::POST,
|
|
750
|
+
'/v1/transactions/cc/force/keyed',
|
|
751
|
+
Server::DEFAULT)
|
|
752
|
+
.header_param(new_parameter('application/json', key: 'Content-Type'))
|
|
753
|
+
.body_param(new_parameter(body))
|
|
754
|
+
.query_param(new_parameter(expand, key: 'expand'))
|
|
755
|
+
.header_param(new_parameter('application/json', key: 'accept'))
|
|
756
|
+
.body_serializer(proc do |param| param.to_json unless param.nil? end)
|
|
757
|
+
.auth(And.new('user-id', 'user-api-key', 'developer-id')))
|
|
758
|
+
.response(new_response_handler
|
|
759
|
+
.deserializer(APIHelper.method(:custom_type_deserializer))
|
|
760
|
+
.deserialize_into(ResponseTransaction.method(:from_hash))
|
|
761
|
+
.local_error('401',
|
|
762
|
+
'Unauthorized',
|
|
763
|
+
Response401tokenException)
|
|
764
|
+
.local_error('412',
|
|
765
|
+
'Precondition Failed',
|
|
766
|
+
Response412Exception))
|
|
767
|
+
.execute
|
|
768
|
+
end
|
|
769
|
+
|
|
770
|
+
# Create a new Credit Card force transaction using previous transaction id
|
|
771
|
+
# @param [V1TransactionsCcForcePrevTrxnRequest] body Required parameter:
|
|
772
|
+
# TODO: type description here
|
|
773
|
+
# @param [Array[Expand60Enum]] expand Optional parameter: Most endpoints in
|
|
774
|
+
# the API have a way to retrieve extra data related to the current record
|
|
775
|
+
# being retrieved. For example, if the API request is for the accountvaults
|
|
776
|
+
# endpoint, and the end user also needs to know which contact the token
|
|
777
|
+
# belongs to, this data can be returned in the accountvaults endpoint
|
|
778
|
+
# request.
|
|
779
|
+
# @return [ResponseTransaction] Response from the API call.
|
|
780
|
+
def cc_force_previous_transaction(body,
|
|
781
|
+
expand: nil)
|
|
782
|
+
@api_call
|
|
783
|
+
.request(new_request_builder(HttpMethodEnum::POST,
|
|
784
|
+
'/v1/transactions/cc/force/prev-trxn',
|
|
785
|
+
Server::DEFAULT)
|
|
786
|
+
.header_param(new_parameter('application/json', key: 'Content-Type'))
|
|
787
|
+
.body_param(new_parameter(body))
|
|
788
|
+
.query_param(new_parameter(expand, key: 'expand'))
|
|
789
|
+
.header_param(new_parameter('application/json', key: 'accept'))
|
|
790
|
+
.body_serializer(proc do |param| param.to_json unless param.nil? end)
|
|
791
|
+
.auth(And.new('user-id', 'user-api-key', 'developer-id')))
|
|
792
|
+
.response(new_response_handler
|
|
793
|
+
.deserializer(APIHelper.method(:custom_type_deserializer))
|
|
794
|
+
.deserialize_into(ResponseTransaction.method(:from_hash))
|
|
795
|
+
.local_error('401',
|
|
796
|
+
'Unauthorized',
|
|
797
|
+
Response401tokenException)
|
|
798
|
+
.local_error('412',
|
|
799
|
+
'Precondition Failed',
|
|
800
|
+
Response412Exception))
|
|
801
|
+
.execute
|
|
802
|
+
end
|
|
803
|
+
|
|
804
|
+
# Create a new swiped Credit Card force transaction
|
|
805
|
+
# @param [V1TransactionsCcForceSwipedRequest] body Required parameter: TODO:
|
|
806
|
+
# type description here
|
|
807
|
+
# @param [Array[Expand60Enum]] expand Optional parameter: Most endpoints in
|
|
808
|
+
# the API have a way to retrieve extra data related to the current record
|
|
809
|
+
# being retrieved. For example, if the API request is for the accountvaults
|
|
810
|
+
# endpoint, and the end user also needs to know which contact the token
|
|
811
|
+
# belongs to, this data can be returned in the accountvaults endpoint
|
|
812
|
+
# request.
|
|
813
|
+
# @return [ResponseTransaction] Response from the API call.
|
|
814
|
+
def cc_force_swiped(body,
|
|
815
|
+
expand: nil)
|
|
816
|
+
@api_call
|
|
817
|
+
.request(new_request_builder(HttpMethodEnum::POST,
|
|
818
|
+
'/v1/transactions/cc/force/swiped',
|
|
819
|
+
Server::DEFAULT)
|
|
820
|
+
.header_param(new_parameter('application/json', key: 'Content-Type'))
|
|
821
|
+
.body_param(new_parameter(body))
|
|
822
|
+
.query_param(new_parameter(expand, key: 'expand'))
|
|
823
|
+
.header_param(new_parameter('application/json', key: 'accept'))
|
|
824
|
+
.body_serializer(proc do |param| param.to_json unless param.nil? end)
|
|
825
|
+
.auth(And.new('user-id', 'user-api-key', 'developer-id')))
|
|
826
|
+
.response(new_response_handler
|
|
827
|
+
.deserializer(APIHelper.method(:custom_type_deserializer))
|
|
828
|
+
.deserialize_into(ResponseTransaction.method(:from_hash))
|
|
829
|
+
.local_error('401',
|
|
830
|
+
'Unauthorized',
|
|
831
|
+
Response401tokenException)
|
|
832
|
+
.local_error('412',
|
|
833
|
+
'Precondition Failed',
|
|
834
|
+
Response412Exception))
|
|
835
|
+
.execute
|
|
836
|
+
end
|
|
837
|
+
|
|
838
|
+
# Create a new ticket Credit Card force transaction
|
|
839
|
+
# @param [V1TransactionsCcForceTicketRequest] body Required parameter: TODO:
|
|
840
|
+
# type description here
|
|
841
|
+
# @param [Array[Expand60Enum]] expand Optional parameter: Most endpoints in
|
|
842
|
+
# the API have a way to retrieve extra data related to the current record
|
|
843
|
+
# being retrieved. For example, if the API request is for the accountvaults
|
|
844
|
+
# endpoint, and the end user also needs to know which contact the token
|
|
845
|
+
# belongs to, this data can be returned in the accountvaults endpoint
|
|
846
|
+
# request.
|
|
847
|
+
# @return [ResponseTransaction] Response from the API call.
|
|
848
|
+
def cc_force_ticket(body,
|
|
849
|
+
expand: nil)
|
|
850
|
+
@api_call
|
|
851
|
+
.request(new_request_builder(HttpMethodEnum::POST,
|
|
852
|
+
'/v1/transactions/cc/force/ticket',
|
|
853
|
+
Server::DEFAULT)
|
|
854
|
+
.header_param(new_parameter('application/json', key: 'Content-Type'))
|
|
855
|
+
.body_param(new_parameter(body))
|
|
856
|
+
.query_param(new_parameter(expand, key: 'expand'))
|
|
857
|
+
.header_param(new_parameter('application/json', key: 'accept'))
|
|
858
|
+
.body_serializer(proc do |param| param.to_json unless param.nil? end)
|
|
859
|
+
.auth(And.new('user-id', 'user-api-key', 'developer-id')))
|
|
860
|
+
.response(new_response_handler
|
|
861
|
+
.deserializer(APIHelper.method(:custom_type_deserializer))
|
|
862
|
+
.deserialize_into(ResponseTransaction.method(:from_hash))
|
|
863
|
+
.local_error('401',
|
|
864
|
+
'Unauthorized',
|
|
865
|
+
Response401tokenException)
|
|
866
|
+
.local_error('412',
|
|
867
|
+
'Precondition Failed',
|
|
868
|
+
Response412Exception))
|
|
869
|
+
.execute
|
|
870
|
+
end
|
|
871
|
+
|
|
872
|
+
# Create a new tokenized Credit Card force transaction
|
|
873
|
+
# @param [V1TransactionsCcForceTokenRequest] body Required parameter: TODO:
|
|
874
|
+
# type description here
|
|
875
|
+
# @param [Array[Expand60Enum]] expand Optional parameter: Most endpoints in
|
|
876
|
+
# the API have a way to retrieve extra data related to the current record
|
|
877
|
+
# being retrieved. For example, if the API request is for the accountvaults
|
|
878
|
+
# endpoint, and the end user also needs to know which contact the token
|
|
879
|
+
# belongs to, this data can be returned in the accountvaults endpoint
|
|
880
|
+
# request.
|
|
881
|
+
# @return [ResponseTransaction] Response from the API call.
|
|
882
|
+
def cc_force_tokenized(body,
|
|
883
|
+
expand: nil)
|
|
884
|
+
@api_call
|
|
885
|
+
.request(new_request_builder(HttpMethodEnum::POST,
|
|
886
|
+
'/v1/transactions/cc/force/token',
|
|
887
|
+
Server::DEFAULT)
|
|
888
|
+
.header_param(new_parameter('application/json', key: 'Content-Type'))
|
|
889
|
+
.body_param(new_parameter(body))
|
|
890
|
+
.query_param(new_parameter(expand, key: 'expand'))
|
|
891
|
+
.header_param(new_parameter('application/json', key: 'accept'))
|
|
892
|
+
.body_serializer(proc do |param| param.to_json unless param.nil? end)
|
|
893
|
+
.auth(And.new('user-id', 'user-api-key', 'developer-id')))
|
|
894
|
+
.response(new_response_handler
|
|
895
|
+
.deserializer(APIHelper.method(:custom_type_deserializer))
|
|
896
|
+
.deserialize_into(ResponseTransaction.method(:from_hash))
|
|
897
|
+
.local_error('401',
|
|
898
|
+
'Unauthorized',
|
|
899
|
+
Response401tokenException)
|
|
900
|
+
.local_error('412',
|
|
901
|
+
'Precondition Failed',
|
|
902
|
+
Response412Exception))
|
|
903
|
+
.execute
|
|
904
|
+
end
|
|
905
|
+
|
|
906
|
+
# Create a new Wallet Credit Card force transaction
|
|
907
|
+
# @param [V1TransactionsCcForceWalletRequest] body Required parameter: TODO:
|
|
908
|
+
# type description here
|
|
909
|
+
# @param [Array[Expand60Enum]] expand Optional parameter: Most endpoints in
|
|
910
|
+
# the API have a way to retrieve extra data related to the current record
|
|
911
|
+
# being retrieved. For example, if the API request is for the accountvaults
|
|
912
|
+
# endpoint, and the end user also needs to know which contact the token
|
|
913
|
+
# belongs to, this data can be returned in the accountvaults endpoint
|
|
914
|
+
# request.
|
|
915
|
+
# @return [ResponseTransaction] Response from the API call.
|
|
916
|
+
def cc_force_wallet(body,
|
|
917
|
+
expand: nil)
|
|
918
|
+
@api_call
|
|
919
|
+
.request(new_request_builder(HttpMethodEnum::POST,
|
|
920
|
+
'/v1/transactions/cc/force/wallet',
|
|
921
|
+
Server::DEFAULT)
|
|
922
|
+
.header_param(new_parameter('application/json', key: 'Content-Type'))
|
|
923
|
+
.body_param(new_parameter(body))
|
|
924
|
+
.query_param(new_parameter(expand, key: 'expand'))
|
|
925
|
+
.header_param(new_parameter('application/json', key: 'accept'))
|
|
926
|
+
.body_serializer(proc do |param| param.to_json unless param.nil? end)
|
|
927
|
+
.auth(And.new('user-id', 'user-api-key', 'developer-id')))
|
|
928
|
+
.response(new_response_handler
|
|
929
|
+
.deserializer(APIHelper.method(:custom_type_deserializer))
|
|
930
|
+
.deserialize_into(ResponseTransaction.method(:from_hash))
|
|
931
|
+
.local_error('401',
|
|
932
|
+
'Unauthorized',
|
|
933
|
+
Response401tokenException)
|
|
934
|
+
.local_error('412',
|
|
935
|
+
'Precondition Failed',
|
|
936
|
+
Response412Exception))
|
|
937
|
+
.execute
|
|
938
|
+
end
|
|
939
|
+
|
|
940
|
+
# Create a new keyed Credit Card refund transaction
|
|
941
|
+
# @param [V1TransactionsCcRefundKeyedRequest] body Required parameter: TODO:
|
|
942
|
+
# type description here
|
|
943
|
+
# @param [Array[Expand60Enum]] expand Optional parameter: Most endpoints in
|
|
944
|
+
# the API have a way to retrieve extra data related to the current record
|
|
945
|
+
# being retrieved. For example, if the API request is for the accountvaults
|
|
946
|
+
# endpoint, and the end user also needs to know which contact the token
|
|
947
|
+
# belongs to, this data can be returned in the accountvaults endpoint
|
|
948
|
+
# request.
|
|
949
|
+
# @return [ResponseTransaction] Response from the API call.
|
|
950
|
+
def cc_refund(body,
|
|
951
|
+
expand: nil)
|
|
952
|
+
@api_call
|
|
953
|
+
.request(new_request_builder(HttpMethodEnum::POST,
|
|
954
|
+
'/v1/transactions/cc/refund/keyed',
|
|
955
|
+
Server::DEFAULT)
|
|
956
|
+
.header_param(new_parameter('application/json', key: 'Content-Type'))
|
|
957
|
+
.body_param(new_parameter(body))
|
|
958
|
+
.query_param(new_parameter(expand, key: 'expand'))
|
|
959
|
+
.header_param(new_parameter('application/json', key: 'accept'))
|
|
960
|
+
.body_serializer(proc do |param| param.to_json unless param.nil? end)
|
|
961
|
+
.auth(And.new('user-id', 'user-api-key', 'developer-id')))
|
|
962
|
+
.response(new_response_handler
|
|
963
|
+
.deserializer(APIHelper.method(:custom_type_deserializer))
|
|
964
|
+
.deserialize_into(ResponseTransaction.method(:from_hash))
|
|
965
|
+
.local_error('401',
|
|
966
|
+
'Unauthorized',
|
|
967
|
+
Response401tokenException)
|
|
968
|
+
.local_error('412',
|
|
969
|
+
'Precondition Failed',
|
|
970
|
+
Response412Exception))
|
|
971
|
+
.execute
|
|
972
|
+
end
|
|
973
|
+
|
|
974
|
+
# Create a new Credit Card refund transaction using previous transaction id
|
|
975
|
+
# @param [V1TransactionsCcRefundPrevTrxnRequest] body Required parameter:
|
|
976
|
+
# TODO: type description here
|
|
977
|
+
# @param [Array[Expand60Enum]] expand Optional parameter: Most endpoints in
|
|
978
|
+
# the API have a way to retrieve extra data related to the current record
|
|
979
|
+
# being retrieved. For example, if the API request is for the accountvaults
|
|
980
|
+
# endpoint, and the end user also needs to know which contact the token
|
|
981
|
+
# belongs to, this data can be returned in the accountvaults endpoint
|
|
982
|
+
# request.
|
|
983
|
+
# @return [ResponseTransaction] Response from the API call.
|
|
984
|
+
def cc_refund_previous_transaction(body,
|
|
985
|
+
expand: nil)
|
|
986
|
+
@api_call
|
|
987
|
+
.request(new_request_builder(HttpMethodEnum::POST,
|
|
988
|
+
'/v1/transactions/cc/refund/prev-trxn',
|
|
989
|
+
Server::DEFAULT)
|
|
990
|
+
.header_param(new_parameter('application/json', key: 'Content-Type'))
|
|
991
|
+
.body_param(new_parameter(body))
|
|
992
|
+
.query_param(new_parameter(expand, key: 'expand'))
|
|
993
|
+
.header_param(new_parameter('application/json', key: 'accept'))
|
|
994
|
+
.body_serializer(proc do |param| param.to_json unless param.nil? end)
|
|
995
|
+
.auth(And.new('user-id', 'user-api-key', 'developer-id')))
|
|
996
|
+
.response(new_response_handler
|
|
997
|
+
.deserializer(APIHelper.method(:custom_type_deserializer))
|
|
998
|
+
.deserialize_into(ResponseTransaction.method(:from_hash))
|
|
999
|
+
.local_error('401',
|
|
1000
|
+
'Unauthorized',
|
|
1001
|
+
Response401tokenException)
|
|
1002
|
+
.local_error('412',
|
|
1003
|
+
'Precondition Failed',
|
|
1004
|
+
Response412Exception))
|
|
1005
|
+
.execute
|
|
1006
|
+
end
|
|
1007
|
+
|
|
1008
|
+
# Create a new swiped Credit Card refund transaction
|
|
1009
|
+
# @param [V1TransactionsCcRefundSwipedRequest] body Required parameter:
|
|
1010
|
+
# TODO: type description here
|
|
1011
|
+
# @param [Array[Expand60Enum]] expand Optional parameter: Most endpoints in
|
|
1012
|
+
# the API have a way to retrieve extra data related to the current record
|
|
1013
|
+
# being retrieved. For example, if the API request is for the accountvaults
|
|
1014
|
+
# endpoint, and the end user also needs to know which contact the token
|
|
1015
|
+
# belongs to, this data can be returned in the accountvaults endpoint
|
|
1016
|
+
# request.
|
|
1017
|
+
# @return [ResponseTransaction] Response from the API call.
|
|
1018
|
+
def cc_refund_swiped(body,
|
|
1019
|
+
expand: nil)
|
|
1020
|
+
@api_call
|
|
1021
|
+
.request(new_request_builder(HttpMethodEnum::POST,
|
|
1022
|
+
'/v1/transactions/cc/refund/swiped',
|
|
1023
|
+
Server::DEFAULT)
|
|
1024
|
+
.header_param(new_parameter('application/json', key: 'Content-Type'))
|
|
1025
|
+
.body_param(new_parameter(body))
|
|
1026
|
+
.query_param(new_parameter(expand, key: 'expand'))
|
|
1027
|
+
.header_param(new_parameter('application/json', key: 'accept'))
|
|
1028
|
+
.body_serializer(proc do |param| param.to_json unless param.nil? end)
|
|
1029
|
+
.auth(And.new('user-id', 'user-api-key', 'developer-id')))
|
|
1030
|
+
.response(new_response_handler
|
|
1031
|
+
.deserializer(APIHelper.method(:custom_type_deserializer))
|
|
1032
|
+
.deserialize_into(ResponseTransaction.method(:from_hash))
|
|
1033
|
+
.local_error('401',
|
|
1034
|
+
'Unauthorized',
|
|
1035
|
+
Response401tokenException)
|
|
1036
|
+
.local_error('412',
|
|
1037
|
+
'Precondition Failed',
|
|
1038
|
+
Response412Exception))
|
|
1039
|
+
.execute
|
|
1040
|
+
end
|
|
1041
|
+
|
|
1042
|
+
# Create a new Tap To Pay Credit Card refund transaction
|
|
1043
|
+
# @param [V1TransactionsCcRefundTaptopayRequest] body Required parameter:
|
|
1044
|
+
# TODO: type description here
|
|
1045
|
+
# @param [Array[Expand60Enum]] expand Optional parameter: Most endpoints in
|
|
1046
|
+
# the API have a way to retrieve extra data related to the current record
|
|
1047
|
+
# being retrieved. For example, if the API request is for the accountvaults
|
|
1048
|
+
# endpoint, and the end user also needs to know which contact the token
|
|
1049
|
+
# belongs to, this data can be returned in the accountvaults endpoint
|
|
1050
|
+
# request.
|
|
1051
|
+
# @return [ResponseTransaction] Response from the API call.
|
|
1052
|
+
def cc_refund_tap_to_pay(body,
|
|
1053
|
+
expand: nil)
|
|
1054
|
+
@api_call
|
|
1055
|
+
.request(new_request_builder(HttpMethodEnum::POST,
|
|
1056
|
+
'/v1/transactions/cc/refund/taptopay',
|
|
1057
|
+
Server::DEFAULT)
|
|
1058
|
+
.header_param(new_parameter('application/json', key: 'Content-Type'))
|
|
1059
|
+
.body_param(new_parameter(body))
|
|
1060
|
+
.query_param(new_parameter(expand, key: 'expand'))
|
|
1061
|
+
.header_param(new_parameter('application/json', key: 'accept'))
|
|
1062
|
+
.body_serializer(proc do |param| param.to_json unless param.nil? end)
|
|
1063
|
+
.auth(And.new('user-id', 'user-api-key', 'developer-id')))
|
|
1064
|
+
.response(new_response_handler
|
|
1065
|
+
.deserializer(APIHelper.method(:custom_type_deserializer))
|
|
1066
|
+
.deserialize_into(ResponseTransaction.method(:from_hash))
|
|
1067
|
+
.local_error('401',
|
|
1068
|
+
'Unauthorized',
|
|
1069
|
+
Response401tokenException)
|
|
1070
|
+
.local_error('412',
|
|
1071
|
+
'Precondition Failed',
|
|
1072
|
+
Response412Exception))
|
|
1073
|
+
.execute
|
|
1074
|
+
end
|
|
1075
|
+
|
|
1076
|
+
# Create a new terminal Credit Card refund transaction
|
|
1077
|
+
# @param [V1TransactionsCcRefundTerminalRequest] body Required parameter:
|
|
1078
|
+
# TODO: type description here
|
|
1079
|
+
# @return [ResponseTransactionProcessing] Response from the API call.
|
|
1080
|
+
def cc_refund_terminal(body)
|
|
1081
|
+
@api_call
|
|
1082
|
+
.request(new_request_builder(HttpMethodEnum::POST,
|
|
1083
|
+
'/v1/transactions/cc/refund/terminal',
|
|
1084
|
+
Server::DEFAULT)
|
|
1085
|
+
.header_param(new_parameter('application/json', key: 'Content-Type'))
|
|
1086
|
+
.body_param(new_parameter(body))
|
|
1087
|
+
.header_param(new_parameter('application/json', key: 'accept'))
|
|
1088
|
+
.body_serializer(proc do |param| param.to_json unless param.nil? end)
|
|
1089
|
+
.auth(And.new('user-id', 'user-api-key', 'developer-id')))
|
|
1090
|
+
.response(new_response_handler
|
|
1091
|
+
.deserializer(APIHelper.method(:custom_type_deserializer))
|
|
1092
|
+
.deserialize_into(ResponseTransactionProcessing.method(:from_hash))
|
|
1093
|
+
.local_error('401',
|
|
1094
|
+
'Unauthorized',
|
|
1095
|
+
Response401tokenException)
|
|
1096
|
+
.local_error('412',
|
|
1097
|
+
'Precondition Failed',
|
|
1098
|
+
Response412Exception))
|
|
1099
|
+
.execute
|
|
1100
|
+
end
|
|
1101
|
+
|
|
1102
|
+
# Create a new ticket Credit Card refund transaction
|
|
1103
|
+
# @param [V1TransactionsCcRefundTicketRequest] body Required parameter:
|
|
1104
|
+
# TODO: type description here
|
|
1105
|
+
# @param [Array[Expand60Enum]] expand Optional parameter: Most endpoints in
|
|
1106
|
+
# the API have a way to retrieve extra data related to the current record
|
|
1107
|
+
# being retrieved. For example, if the API request is for the accountvaults
|
|
1108
|
+
# endpoint, and the end user also needs to know which contact the token
|
|
1109
|
+
# belongs to, this data can be returned in the accountvaults endpoint
|
|
1110
|
+
# request.
|
|
1111
|
+
# @return [ResponseTransaction] Response from the API call.
|
|
1112
|
+
def cc_refund_ticket(body,
|
|
1113
|
+
expand: nil)
|
|
1114
|
+
@api_call
|
|
1115
|
+
.request(new_request_builder(HttpMethodEnum::POST,
|
|
1116
|
+
'/v1/transactions/cc/refund/ticket',
|
|
1117
|
+
Server::DEFAULT)
|
|
1118
|
+
.header_param(new_parameter('application/json', key: 'Content-Type'))
|
|
1119
|
+
.body_param(new_parameter(body))
|
|
1120
|
+
.query_param(new_parameter(expand, key: 'expand'))
|
|
1121
|
+
.header_param(new_parameter('application/json', key: 'accept'))
|
|
1122
|
+
.body_serializer(proc do |param| param.to_json unless param.nil? end)
|
|
1123
|
+
.auth(And.new('user-id', 'user-api-key', 'developer-id')))
|
|
1124
|
+
.response(new_response_handler
|
|
1125
|
+
.deserializer(APIHelper.method(:custom_type_deserializer))
|
|
1126
|
+
.deserialize_into(ResponseTransaction.method(:from_hash))
|
|
1127
|
+
.local_error('401',
|
|
1128
|
+
'Unauthorized',
|
|
1129
|
+
Response401tokenException)
|
|
1130
|
+
.local_error('412',
|
|
1131
|
+
'Precondition Failed',
|
|
1132
|
+
Response412Exception))
|
|
1133
|
+
.execute
|
|
1134
|
+
end
|
|
1135
|
+
|
|
1136
|
+
# Create a new tokenized Credit Card refund transaction
|
|
1137
|
+
# @param [V1TransactionsCcRefundTokenRequest] body Required parameter: TODO:
|
|
1138
|
+
# type description here
|
|
1139
|
+
# @param [Array[Expand60Enum]] expand Optional parameter: Most endpoints in
|
|
1140
|
+
# the API have a way to retrieve extra data related to the current record
|
|
1141
|
+
# being retrieved. For example, if the API request is for the accountvaults
|
|
1142
|
+
# endpoint, and the end user also needs to know which contact the token
|
|
1143
|
+
# belongs to, this data can be returned in the accountvaults endpoint
|
|
1144
|
+
# request.
|
|
1145
|
+
# @return [ResponseTransaction] Response from the API call.
|
|
1146
|
+
def cc_refund_tokenized(body,
|
|
1147
|
+
expand: nil)
|
|
1148
|
+
@api_call
|
|
1149
|
+
.request(new_request_builder(HttpMethodEnum::POST,
|
|
1150
|
+
'/v1/transactions/cc/refund/token',
|
|
1151
|
+
Server::DEFAULT)
|
|
1152
|
+
.header_param(new_parameter('application/json', key: 'Content-Type'))
|
|
1153
|
+
.body_param(new_parameter(body))
|
|
1154
|
+
.query_param(new_parameter(expand, key: 'expand'))
|
|
1155
|
+
.header_param(new_parameter('application/json', key: 'accept'))
|
|
1156
|
+
.body_serializer(proc do |param| param.to_json unless param.nil? end)
|
|
1157
|
+
.auth(And.new('user-id', 'user-api-key', 'developer-id')))
|
|
1158
|
+
.response(new_response_handler
|
|
1159
|
+
.deserializer(APIHelper.method(:custom_type_deserializer))
|
|
1160
|
+
.deserialize_into(ResponseTransaction.method(:from_hash))
|
|
1161
|
+
.local_error('401',
|
|
1162
|
+
'Unauthorized',
|
|
1163
|
+
Response401tokenException)
|
|
1164
|
+
.local_error('412',
|
|
1165
|
+
'Precondition Failed',
|
|
1166
|
+
Response412Exception))
|
|
1167
|
+
.execute
|
|
1168
|
+
end
|
|
1169
|
+
|
|
1170
|
+
# Create a new Wallet Credit Card refund transaction
|
|
1171
|
+
# @param [V1TransactionsCcRefundWalletRequest] body Required parameter:
|
|
1172
|
+
# TODO: type description here
|
|
1173
|
+
# @param [Array[Expand60Enum]] expand Optional parameter: Most endpoints in
|
|
1174
|
+
# the API have a way to retrieve extra data related to the current record
|
|
1175
|
+
# being retrieved. For example, if the API request is for the accountvaults
|
|
1176
|
+
# endpoint, and the end user also needs to know which contact the token
|
|
1177
|
+
# belongs to, this data can be returned in the accountvaults endpoint
|
|
1178
|
+
# request.
|
|
1179
|
+
# @return [ResponseTransaction] Response from the API call.
|
|
1180
|
+
def cc_refund_wallet(body,
|
|
1181
|
+
expand: nil)
|
|
1182
|
+
@api_call
|
|
1183
|
+
.request(new_request_builder(HttpMethodEnum::POST,
|
|
1184
|
+
'/v1/transactions/cc/refund/wallet',
|
|
1185
|
+
Server::DEFAULT)
|
|
1186
|
+
.header_param(new_parameter('application/json', key: 'Content-Type'))
|
|
1187
|
+
.body_param(new_parameter(body))
|
|
1188
|
+
.query_param(new_parameter(expand, key: 'expand'))
|
|
1189
|
+
.header_param(new_parameter('application/json', key: 'accept'))
|
|
1190
|
+
.body_serializer(proc do |param| param.to_json unless param.nil? end)
|
|
1191
|
+
.auth(And.new('user-id', 'user-api-key', 'developer-id')))
|
|
1192
|
+
.response(new_response_handler
|
|
1193
|
+
.deserializer(APIHelper.method(:custom_type_deserializer))
|
|
1194
|
+
.deserialize_into(ResponseTransaction.method(:from_hash))
|
|
1195
|
+
.local_error('401',
|
|
1196
|
+
'Unauthorized',
|
|
1197
|
+
Response401tokenException)
|
|
1198
|
+
.local_error('412',
|
|
1199
|
+
'Precondition Failed',
|
|
1200
|
+
Response412Exception))
|
|
1201
|
+
.execute
|
|
1202
|
+
end
|
|
1203
|
+
|
|
1204
|
+
# Create a new keyed Credit Card sale transaction with a non hosted card
|
|
1205
|
+
# form. This is an in PCI Scope endpoint and requires PCI compliance
|
|
1206
|
+
# verification.
|
|
1207
|
+
# @param [V1TransactionsCcSaleKeyedRequest] body Required parameter: TODO:
|
|
1208
|
+
# type description here
|
|
1209
|
+
# @param [Array[Expand60Enum]] expand Optional parameter: Most endpoints in
|
|
1210
|
+
# the API have a way to retrieve extra data related to the current record
|
|
1211
|
+
# being retrieved. For example, if the API request is for the accountvaults
|
|
1212
|
+
# endpoint, and the end user also needs to know which contact the token
|
|
1213
|
+
# belongs to, this data can be returned in the accountvaults endpoint
|
|
1214
|
+
# request.
|
|
1215
|
+
# @return [ResponseTransaction] Response from the API call.
|
|
1216
|
+
def cc_sale(body,
|
|
1217
|
+
expand: nil)
|
|
1218
|
+
@api_call
|
|
1219
|
+
.request(new_request_builder(HttpMethodEnum::POST,
|
|
1220
|
+
'/v1/transactions/cc/sale/keyed',
|
|
1221
|
+
Server::DEFAULT)
|
|
1222
|
+
.header_param(new_parameter('application/json', key: 'Content-Type'))
|
|
1223
|
+
.body_param(new_parameter(body))
|
|
1224
|
+
.query_param(new_parameter(expand, key: 'expand'))
|
|
1225
|
+
.header_param(new_parameter('application/json', key: 'accept'))
|
|
1226
|
+
.body_serializer(proc do |param| param.to_json unless param.nil? end)
|
|
1227
|
+
.auth(And.new('user-id', 'user-api-key', 'developer-id')))
|
|
1228
|
+
.response(new_response_handler
|
|
1229
|
+
.deserializer(APIHelper.method(:custom_type_deserializer))
|
|
1230
|
+
.deserialize_into(ResponseTransaction.method(:from_hash))
|
|
1231
|
+
.local_error('401',
|
|
1232
|
+
'Unauthorized',
|
|
1233
|
+
Response401tokenException)
|
|
1234
|
+
.local_error('412',
|
|
1235
|
+
'Precondition Failed',
|
|
1236
|
+
Response412Exception))
|
|
1237
|
+
.execute
|
|
1238
|
+
end
|
|
1239
|
+
|
|
1240
|
+
# Create a new Credit Card sale transaction using previous transaction id
|
|
1241
|
+
# @param [V1TransactionsCcSalePrevTrxnRequest] body Required parameter:
|
|
1242
|
+
# TODO: type description here
|
|
1243
|
+
# @param [Array[Expand60Enum]] expand Optional parameter: Most endpoints in
|
|
1244
|
+
# the API have a way to retrieve extra data related to the current record
|
|
1245
|
+
# being retrieved. For example, if the API request is for the accountvaults
|
|
1246
|
+
# endpoint, and the end user also needs to know which contact the token
|
|
1247
|
+
# belongs to, this data can be returned in the accountvaults endpoint
|
|
1248
|
+
# request.
|
|
1249
|
+
# @return [ResponseTransaction] Response from the API call.
|
|
1250
|
+
def cc_sale_previous_transaction(body,
|
|
1251
|
+
expand: nil)
|
|
1252
|
+
@api_call
|
|
1253
|
+
.request(new_request_builder(HttpMethodEnum::POST,
|
|
1254
|
+
'/v1/transactions/cc/sale/prev-trxn',
|
|
1255
|
+
Server::DEFAULT)
|
|
1256
|
+
.header_param(new_parameter('application/json', key: 'Content-Type'))
|
|
1257
|
+
.body_param(new_parameter(body))
|
|
1258
|
+
.query_param(new_parameter(expand, key: 'expand'))
|
|
1259
|
+
.header_param(new_parameter('application/json', key: 'accept'))
|
|
1260
|
+
.body_serializer(proc do |param| param.to_json unless param.nil? end)
|
|
1261
|
+
.auth(And.new('user-id', 'user-api-key', 'developer-id')))
|
|
1262
|
+
.response(new_response_handler
|
|
1263
|
+
.deserializer(APIHelper.method(:custom_type_deserializer))
|
|
1264
|
+
.deserialize_into(ResponseTransaction.method(:from_hash))
|
|
1265
|
+
.local_error('401',
|
|
1266
|
+
'Unauthorized',
|
|
1267
|
+
Response401tokenException)
|
|
1268
|
+
.local_error('412',
|
|
1269
|
+
'Precondition Failed',
|
|
1270
|
+
Response412Exception))
|
|
1271
|
+
.execute
|
|
1272
|
+
end
|
|
1273
|
+
|
|
1274
|
+
# Create a new swiped Credit Card sale transaction
|
|
1275
|
+
# @param [V1TransactionsCcSaleSwipedRequest] body Required parameter: TODO:
|
|
1276
|
+
# type description here
|
|
1277
|
+
# @param [Array[Expand60Enum]] expand Optional parameter: Most endpoints in
|
|
1278
|
+
# the API have a way to retrieve extra data related to the current record
|
|
1279
|
+
# being retrieved. For example, if the API request is for the accountvaults
|
|
1280
|
+
# endpoint, and the end user also needs to know which contact the token
|
|
1281
|
+
# belongs to, this data can be returned in the accountvaults endpoint
|
|
1282
|
+
# request.
|
|
1283
|
+
# @return [ResponseTransaction] Response from the API call.
|
|
1284
|
+
def cc_sale_swiped(body,
|
|
1285
|
+
expand: nil)
|
|
1286
|
+
@api_call
|
|
1287
|
+
.request(new_request_builder(HttpMethodEnum::POST,
|
|
1288
|
+
'/v1/transactions/cc/sale/swiped',
|
|
1289
|
+
Server::DEFAULT)
|
|
1290
|
+
.header_param(new_parameter('application/json', key: 'Content-Type'))
|
|
1291
|
+
.body_param(new_parameter(body))
|
|
1292
|
+
.query_param(new_parameter(expand, key: 'expand'))
|
|
1293
|
+
.header_param(new_parameter('application/json', key: 'accept'))
|
|
1294
|
+
.body_serializer(proc do |param| param.to_json unless param.nil? end)
|
|
1295
|
+
.auth(And.new('user-id', 'user-api-key', 'developer-id')))
|
|
1296
|
+
.response(new_response_handler
|
|
1297
|
+
.deserializer(APIHelper.method(:custom_type_deserializer))
|
|
1298
|
+
.deserialize_into(ResponseTransaction.method(:from_hash))
|
|
1299
|
+
.local_error('401',
|
|
1300
|
+
'Unauthorized',
|
|
1301
|
+
Response401tokenException)
|
|
1302
|
+
.local_error('412',
|
|
1303
|
+
'Precondition Failed',
|
|
1304
|
+
Response412Exception))
|
|
1305
|
+
.execute
|
|
1306
|
+
end
|
|
1307
|
+
|
|
1308
|
+
# Create a new Tap To Pay Credit card sale transaction. Only supported on
|
|
1309
|
+
# native iOS integrations.
|
|
1310
|
+
# @param [V1TransactionsCcSaleTaptopayRequest] body Required parameter:
|
|
1311
|
+
# TODO: type description here
|
|
1312
|
+
# @param [Array[Expand60Enum]] expand Optional parameter: Most endpoints in
|
|
1313
|
+
# the API have a way to retrieve extra data related to the current record
|
|
1314
|
+
# being retrieved. For example, if the API request is for the accountvaults
|
|
1315
|
+
# endpoint, and the end user also needs to know which contact the token
|
|
1316
|
+
# belongs to, this data can be returned in the accountvaults endpoint
|
|
1317
|
+
# request.
|
|
1318
|
+
# @return [ResponseTransaction] Response from the API call.
|
|
1319
|
+
def cc_sale_tap_to_pay(body,
|
|
1320
|
+
expand: nil)
|
|
1321
|
+
@api_call
|
|
1322
|
+
.request(new_request_builder(HttpMethodEnum::POST,
|
|
1323
|
+
'/v1/transactions/cc/sale/taptopay',
|
|
1324
|
+
Server::DEFAULT)
|
|
1325
|
+
.header_param(new_parameter('application/json', key: 'Content-Type'))
|
|
1326
|
+
.body_param(new_parameter(body))
|
|
1327
|
+
.query_param(new_parameter(expand, key: 'expand'))
|
|
1328
|
+
.header_param(new_parameter('application/json', key: 'accept'))
|
|
1329
|
+
.body_serializer(proc do |param| param.to_json unless param.nil? end)
|
|
1330
|
+
.auth(And.new('user-id', 'user-api-key', 'developer-id')))
|
|
1331
|
+
.response(new_response_handler
|
|
1332
|
+
.deserializer(APIHelper.method(:custom_type_deserializer))
|
|
1333
|
+
.deserialize_into(ResponseTransaction.method(:from_hash))
|
|
1334
|
+
.local_error('401',
|
|
1335
|
+
'Unauthorized',
|
|
1336
|
+
Response401tokenException)
|
|
1337
|
+
.local_error('412',
|
|
1338
|
+
'Precondition Failed',
|
|
1339
|
+
Response412Exception))
|
|
1340
|
+
.execute
|
|
1341
|
+
end
|
|
1342
|
+
|
|
1343
|
+
# Create a new Credit Card Sale for card present EMV transactions using any
|
|
1344
|
+
# of the Certified terminals.
|
|
1345
|
+
# @param [V1TransactionsCcSaleTerminalRequest] body Required parameter:
|
|
1346
|
+
# TODO: type description here
|
|
1347
|
+
# @return [ResponseTransactionProcessing] Response from the API call.
|
|
1348
|
+
def cc_sale_terminal(body)
|
|
1349
|
+
@api_call
|
|
1350
|
+
.request(new_request_builder(HttpMethodEnum::POST,
|
|
1351
|
+
'/v1/transactions/cc/sale/terminal',
|
|
1352
|
+
Server::DEFAULT)
|
|
1353
|
+
.header_param(new_parameter('application/json', key: 'Content-Type'))
|
|
1354
|
+
.body_param(new_parameter(body))
|
|
1355
|
+
.header_param(new_parameter('application/json', key: 'accept'))
|
|
1356
|
+
.body_serializer(proc do |param| param.to_json unless param.nil? end)
|
|
1357
|
+
.auth(And.new('user-id', 'user-api-key', 'developer-id')))
|
|
1358
|
+
.response(new_response_handler
|
|
1359
|
+
.deserializer(APIHelper.method(:custom_type_deserializer))
|
|
1360
|
+
.deserialize_into(ResponseTransactionProcessing.method(:from_hash))
|
|
1361
|
+
.local_error('401',
|
|
1362
|
+
'Unauthorized',
|
|
1363
|
+
Response401tokenException)
|
|
1364
|
+
.local_error('412',
|
|
1365
|
+
'Precondition Failed',
|
|
1366
|
+
Response412Exception))
|
|
1367
|
+
.execute
|
|
1368
|
+
end
|
|
1369
|
+
|
|
1370
|
+
# Create a new Credit Card Sale using the Ticket_id obtained from the
|
|
1371
|
+
# Elements form submission done event.
|
|
1372
|
+
# @param [V1TransactionsCcSaleTicketRequest] body Required parameter: TODO:
|
|
1373
|
+
# type description here
|
|
1374
|
+
# @param [Array[Expand60Enum]] expand Optional parameter: Most endpoints in
|
|
1375
|
+
# the API have a way to retrieve extra data related to the current record
|
|
1376
|
+
# being retrieved. For example, if the API request is for the accountvaults
|
|
1377
|
+
# endpoint, and the end user also needs to know which contact the token
|
|
1378
|
+
# belongs to, this data can be returned in the accountvaults endpoint
|
|
1379
|
+
# request.
|
|
1380
|
+
# @return [ResponseTransaction] Response from the API call.
|
|
1381
|
+
def cc_sale_ticket(body,
|
|
1382
|
+
expand: nil)
|
|
1383
|
+
@api_call
|
|
1384
|
+
.request(new_request_builder(HttpMethodEnum::POST,
|
|
1385
|
+
'/v1/transactions/cc/sale/ticket',
|
|
1386
|
+
Server::DEFAULT)
|
|
1387
|
+
.header_param(new_parameter('application/json', key: 'Content-Type'))
|
|
1388
|
+
.body_param(new_parameter(body))
|
|
1389
|
+
.query_param(new_parameter(expand, key: 'expand'))
|
|
1390
|
+
.header_param(new_parameter('application/json', key: 'accept'))
|
|
1391
|
+
.body_serializer(proc do |param| param.to_json unless param.nil? end)
|
|
1392
|
+
.auth(And.new('user-id', 'user-api-key', 'developer-id')))
|
|
1393
|
+
.response(new_response_handler
|
|
1394
|
+
.deserializer(APIHelper.method(:custom_type_deserializer))
|
|
1395
|
+
.deserialize_into(ResponseTransaction.method(:from_hash))
|
|
1396
|
+
.local_error('401',
|
|
1397
|
+
'Unauthorized',
|
|
1398
|
+
Response401tokenException)
|
|
1399
|
+
.local_error('412',
|
|
1400
|
+
'Precondition Failed',
|
|
1401
|
+
Response412Exception))
|
|
1402
|
+
.execute
|
|
1403
|
+
end
|
|
1404
|
+
|
|
1405
|
+
# Create a new Credit Card Sale with a previously created token_id.
|
|
1406
|
+
# @param [V1TransactionsCcSaleTokenRequest] body Required parameter: TODO:
|
|
1407
|
+
# type description here
|
|
1408
|
+
# @param [Array[Expand60Enum]] expand Optional parameter: Most endpoints in
|
|
1409
|
+
# the API have a way to retrieve extra data related to the current record
|
|
1410
|
+
# being retrieved. For example, if the API request is for the accountvaults
|
|
1411
|
+
# endpoint, and the end user also needs to know which contact the token
|
|
1412
|
+
# belongs to, this data can be returned in the accountvaults endpoint
|
|
1413
|
+
# request.
|
|
1414
|
+
# @return [ResponseTransaction] Response from the API call.
|
|
1415
|
+
def cc_sale_tokenized(body,
|
|
1416
|
+
expand: nil)
|
|
1417
|
+
@api_call
|
|
1418
|
+
.request(new_request_builder(HttpMethodEnum::POST,
|
|
1419
|
+
'/v1/transactions/cc/sale/token',
|
|
1420
|
+
Server::DEFAULT)
|
|
1421
|
+
.header_param(new_parameter('application/json', key: 'Content-Type'))
|
|
1422
|
+
.body_param(new_parameter(body))
|
|
1423
|
+
.query_param(new_parameter(expand, key: 'expand'))
|
|
1424
|
+
.header_param(new_parameter('application/json', key: 'accept'))
|
|
1425
|
+
.body_serializer(proc do |param| param.to_json unless param.nil? end)
|
|
1426
|
+
.auth(And.new('user-id', 'user-api-key', 'developer-id')))
|
|
1427
|
+
.response(new_response_handler
|
|
1428
|
+
.deserializer(APIHelper.method(:custom_type_deserializer))
|
|
1429
|
+
.deserialize_into(ResponseTransaction.method(:from_hash))
|
|
1430
|
+
.local_error('401',
|
|
1431
|
+
'Unauthorized',
|
|
1432
|
+
Response401tokenException)
|
|
1433
|
+
.local_error('412',
|
|
1434
|
+
'Precondition Failed',
|
|
1435
|
+
Response412Exception))
|
|
1436
|
+
.execute
|
|
1437
|
+
end
|
|
1438
|
+
|
|
1439
|
+
# Create a new Wallet Credit Card sale transaction
|
|
1440
|
+
# @param [V1TransactionsCcSaleWalletRequest] body Required parameter: TODO:
|
|
1441
|
+
# type description here
|
|
1442
|
+
# @param [Array[Expand60Enum]] expand Optional parameter: Most endpoints in
|
|
1443
|
+
# the API have a way to retrieve extra data related to the current record
|
|
1444
|
+
# being retrieved. For example, if the API request is for the accountvaults
|
|
1445
|
+
# endpoint, and the end user also needs to know which contact the token
|
|
1446
|
+
# belongs to, this data can be returned in the accountvaults endpoint
|
|
1447
|
+
# request.
|
|
1448
|
+
# @return [ResponseTransaction] Response from the API call.
|
|
1449
|
+
def cc_sale_wallet(body,
|
|
1450
|
+
expand: nil)
|
|
1451
|
+
@api_call
|
|
1452
|
+
.request(new_request_builder(HttpMethodEnum::POST,
|
|
1453
|
+
'/v1/transactions/cc/sale/wallet',
|
|
1454
|
+
Server::DEFAULT)
|
|
1455
|
+
.header_param(new_parameter('application/json', key: 'Content-Type'))
|
|
1456
|
+
.body_param(new_parameter(body))
|
|
1457
|
+
.query_param(new_parameter(expand, key: 'expand'))
|
|
1458
|
+
.header_param(new_parameter('application/json', key: 'accept'))
|
|
1459
|
+
.body_serializer(proc do |param| param.to_json unless param.nil? end)
|
|
1460
|
+
.auth(And.new('user-id', 'user-api-key', 'developer-id')))
|
|
1461
|
+
.response(new_response_handler
|
|
1462
|
+
.deserializer(APIHelper.method(:custom_type_deserializer))
|
|
1463
|
+
.deserialize_into(ResponseTransaction.method(:from_hash))
|
|
1464
|
+
.local_error('401',
|
|
1465
|
+
'Unauthorized',
|
|
1466
|
+
Response401tokenException)
|
|
1467
|
+
.local_error('412',
|
|
1468
|
+
'Precondition Failed',
|
|
1469
|
+
Response412Exception))
|
|
1470
|
+
.execute
|
|
1471
|
+
end
|
|
1472
|
+
end
|
|
1473
|
+
end
|