Module: Unit
- Defined in:
- lib/unit/errors/unit_error.rb,
lib/unit/version.rb,
lib/unit_ruby_sdk.rb,
lib/unit/types/phone.rb,
lib/unit/types/address.rb,
lib/unit/types/officer.rb,
lib/unit/models/fee/fee.rb,
lib/unit/types/full_name.rb,
lib/unit/models/card/card.rb,
lib/unit/types/coordinates.rb,
lib/unit/models/event/event.rb,
lib/unit/types/counterparty.rb,
lib/unit/types/relationship.rb,
lib/unit/models/reward/reward.rb,
lib/unit/models/unit_resource.rb,
lib/unit/models/unit_response.rb,
lib/unit/types/authorized_user.rb,
lib/unit/types/create_schedule.rb,
lib/unit/models/account/account.rb,
lib/unit/models/payment/payment.rb,
lib/unit/models/webhook/webhook.rb,
lib/unit/types/beneficial_owner.rb,
lib/unit/types/business_contact.rb,
lib/unit/types/evaluation_params.rb,
lib/unit/types/wire_counterparty.rb,
lib/unit/models/customer/customer.rb,
lib/unit/models/tax_form/tax_form.rb,
lib/unit/types/device_fingerprint.rb,
lib/unit/types/document_file_type.rb,
lib/unit/types/relationship_array.rb,
lib/unit/errors/unit_error_payload.rb,
lib/unit/models/reward/get_request.rb,
lib/unit/types/restricted_resource.rb,
lib/unit/api_resources/fee_resource.rb,
lib/unit/models/api_token/api_token.rb,
lib/unit/models/payment/get_request.rb,
lib/unit/models/repayment/repayment.rb,
lib/unit/models/statement/statement.rb,
lib/unit/api_resources/base_resource.rb,
lib/unit/api_resources/card_resource.rb,
lib/unit/api_resources/event_resource.rb,
lib/unit/models/card/list_card_params.rb,
lib/unit/api_resources/reward_resource.rb,
lib/unit/models/fee/create_fee_request.rb,
lib/unit/types/power_of_attorney_agent.rb,
lib/unit/types/require_id_verification.rb,
lib/unit/api_resources/account_resource.rb,
lib/unit/api_resources/payment_resource.rb,
lib/unit/api_resources/webhook_resource.rb,
lib/unit/models/application/application.rb,
lib/unit/models/event/list_event_params.rb,
lib/unit/models/fee/reverse_fee_request.rb,
lib/unit/models/institution/institution.rb,
lib/unit/models/transaction/transaction.rb,
lib/unit/types/application_form_prefill.rb,
lib/unit/api_resources/customer_resource.rb,
lib/unit/api_resources/tax_form_resource.rb,
lib/unit/api_resources/api_token_resource.rb,
lib/unit/api_resources/repayment_resource.rb,
lib/unit/api_resources/statement_resource.rb,
lib/unit/models/atm_location/atm_location.rb,
lib/unit/models/authorization/get_request.rb,
lib/unit/models/card/replace_card_request.rb,
lib/unit/models/cash_deposit/cash_deposit.rb,
lib/unit/models/check_deposit/get_request.rb,
lib/unit/models/check_payment/get_request.rb,
lib/unit/models/counterparty/counterparty.rb,
lib/unit/models/reward/list_reward_params.rb,
lib/unit/models/stop_payment/stop_payment.rb,
lib/unit/types/check_payment_counterparty.rb,
lib/unit/models/authorization/list_request.rb,
lib/unit/api_resources/application_resource.rb,
lib/unit/api_resources/institution_resource.rb,
lib/unit/api_resources/transaction_resource.rb,
lib/unit/models/authorization/authorization.rb,
lib/unit/models/check_deposit/check_deposit.rb,
lib/unit/models/check_payment/check_payment.rb,
lib/unit/models/payment/list_payment_params.rb,
lib/unit/models/webhook/list_webhook_params.rb,
lib/unit/api_resources/atm_location_resource.rb,
lib/unit/api_resources/cash_deposit_resource.rb,
lib/unit/api_resources/counterparty_resource.rb,
lib/unit/api_resources/stop_payment_resource.rb,
lib/unit/models/payment/bulk_payment_request.rb,
lib/unit/models/reward/create_reward_request.rb,
lib/unit/api_resources/authorization_resource.rb,
lib/unit/api_resources/check_deposit_resource.rb,
lib/unit/api_resources/check_payment_resource.rb,
lib/unit/models/customer/list_customer_params.rb,
lib/unit/models/tax_form/list_tax_form_params.rb,
lib/unit/models/webhook/patch_webhook_request.rb,
lib/unit/models/transaction/patch_tags_request.rb,
lib/unit/models/webhook/create_webhook_request.rb,
lib/unit/models/check_deposit/get_image_request.rb,
lib/unit/models/check_payment/get_image_request.rb,
lib/unit/models/repayment/list_repayment_params.rb,
lib/unit/models/statement/get_pdf_by_id_request.rb,
lib/unit/models/statement/list_statement_params.rb,
lib/unit/api_resources/application_form_resource.rb,
lib/unit/api_resources/received_payment_resource.rb,
lib/unit/models/card/patch_business_card_request.rb,
lib/unit/models/statement/get_html_by_id_request.rb,
lib/unit/api_resources/recurring_payment_resource.rb,
lib/unit/models/application_form/application_form.rb,
lib/unit/models/check_deposit/list_deposit_params.rb,
lib/unit/models/customer/archive_customer_request.rb,
lib/unit/models/payment/patch_ach_payment_request.rb,
lib/unit/models/received_payment/received_payment.rb,
lib/unit/types/application_form_settings_override.rb,
lib/unit/models/account/credit/list_account_params.rb,
lib/unit/models/check_deposit/upload_image_request.rb,
lib/unit/models/payment/patch_book_payment_request.rb,
lib/unit/models/transaction/get_transaction_params.rb,
lib/unit/models/account/deposit/list_account_params.rb,
lib/unit/models/application/list_application_params.rb,
lib/unit/models/application/upload_document_request.rb,
lib/unit/models/atm_location/list_by_address_params.rb,
lib/unit/models/check_deposit/patch_deposit_request.rb,
lib/unit/models/payment/create_book_payment_request.rb,
lib/unit/models/payment/create_wire_payment_request.rb,
lib/unit/models/recurring_payment/recurring_payment.rb,
lib/unit/models/statement/get_bank_verification_pdf.rb,
lib/unit/models/transaction/list_transaction_params.rb,
lib/unit/models/account/credit/close_account_request.rb,
lib/unit/models/account/credit/patch_account_request.rb,
lib/unit/models/payment/create_batch_release_request.rb,
lib/unit/models/received_payment/list_payment_params.rb,
lib/unit/api_resources/authorization_request_resource.rb,
lib/unit/models/account/credit/create_account_request.rb,
lib/unit/models/account/credit/freeze_account_request.rb,
lib/unit/models/application/patch_application_request.rb,
lib/unit/models/authorization_request/approve_request.rb,
lib/unit/models/authorization_request/decline_request.rb,
lib/unit/models/cash_deposit/generate_barcode_request.rb,
lib/unit/models/counterparty/list_counterparty_params.rb,
lib/unit/models/customer/add_authorized_users_request.rb,
lib/unit/models/payment/batch_release_request_builder.rb,
lib/unit/models/payment/create_payment_linked_request.rb,
lib/unit/models/stop_payment/list_stop_payment_params.rb,
lib/unit/models/account/credit/balance_history_request.rb,
lib/unit/models/account/deposit/account_owners_request.rb,
lib/unit/models/account/deposit/freeze_account_request.rb,
lib/unit/models/api_token/org/create_api_token_request.rb,
lib/unit/models/received_payment/patch_payment_request.rb,
lib/unit/models/repayment/create_ach_repayment_request.rb,
lib/unit/models/account/deposit/balance_history_request.rb,
lib/unit/models/atm_location/list_by_coordinates_params.rb,
lib/unit/models/atm_location/list_by_postal_code_params.rb,
lib/unit/models/card/create_business_debit_card_request.rb,
lib/unit/models/card/patch_business_credit_card_request.rb,
lib/unit/models/cash_deposit/list_by_coordinates_params.rb,
lib/unit/models/cash_deposit/list_by_postal_code_params.rb,
lib/unit/models/check_payment/list_check_payment_params.rb,
lib/unit/models/payment/create_with_plaid_token_request.rb,
lib/unit/models/repayment/create_book_repayment_request.rb,
lib/unit/models/card/create_business_credit_card_request.rb,
lib/unit/models/card/patch_business_virtual_card_request.rb,
lib/unit/models/counterparty/create_counterparty_request.rb,
lib/unit/models/counterparty/update_counterparty_request.rb,
lib/unit/models/customer/patch_business_customer_request.rb,
lib/unit/models/customer/remove_authorized_users_request.rb,
lib/unit/models/stop_payment/create_stop_payment_request.rb,
lib/unit/models/card/create_individual_debit_card_request.rb,
lib/unit/models/payment/create_ach_payment_inline_request.rb,
lib/unit/models/check_deposit/create_check_deposit_request.rb,
lib/unit/models/check_payment/return_check_payment_request.rb,
lib/unit/models/customer/patch_individual_customer_request.rb,
lib/unit/models/transaction/patch_book_transaction_request.rb,
lib/unit/models/authorization_request/authorization_request.rb,
lib/unit/models/card/create_individual_virtual_card_request.rb,
lib/unit/models/counterparty/create_with_plaid_token_request.rb,
lib/unit/models/account/deposit/close_deposit_account_request.rb,
lib/unit/models/account/deposit/patch_deposit_account_request.rb,
lib/unit/models/application_form/list_application_form_params.rb,
lib/unit/models/check_payment/originate_check_payment_request.rb,
lib/unit/models/account/deposit/create_deposit_account_request.rb,
lib/unit/models/application/create_business_application_request.rb,
lib/unit/models/authorization_request/list_authorization_params.rb,
lib/unit/models/card/create_business_virtual_debit_card_request.rb,
lib/unit/models/card/patch_business_virtual_credit_card_request.rb,
lib/unit/models/recurring_payment/list_recurring_payment_params.rb,
lib/unit/models/api_token/customer/create_customer_token_request.rb,
lib/unit/models/application_form/create_application_form_request.rb,
lib/unit/models/card/create_business_virtual_credit_card_request.rb,
lib/unit/models/transaction/patch_chargeback_transaction_request.rb,
lib/unit/models/api_token/customer/create_token_using_jwt_request.rb,
lib/unit/models/application/create_individual_application_request.rb,
lib/unit/models/api_token/customer/create_customer_token_verification.rb,
lib/unit/models/application/create_sole_proprietor_application_request.rb,
lib/unit/models/recurring_payment/create_recurring_debit_ach_payment_request.rb,
lib/unit/models/recurring_payment/create_recurring_credit_ach_payment_request.rb,
lib/unit/models/recurring_payment/create_recurring_credit_book_payment_request.rb
Overview
Request to create a recurring credit book payment
Defined Under Namespace
Modules: Account, ApiToken, Application, ApplicationForm, AtmLocation, Authorization, AuthorizationRequest, Card, CashDeposit, CheckDeposit, CheckPayment, Counterparty, Customer, Event, Fee, Institution, Payment, ReceivedPayment, RecurringPayment, Repayment, Resource, Reward, Statement, StopPayment, TaxForm, Transaction, Types, Webhook Classes: UnitError, UnitErrorPayload, UnitResource, UnitResponse
Constant Summary collapse
- VERSION =
"2.0.1"
Class Method Summary collapse
-
.config(api_url: nil, token: nil) ⇒ Hash
Configure Unit SDK - acts both as a setter and a getter If params are passed, updates config.
Class Method Details
.config(api_url: nil, token: nil) ⇒ Hash
Configure Unit SDK - acts both as a setter and a getter If params are passed, updates config
97 98 99 100 101 102 103 |
# File 'lib/unit_ruby_sdk.rb', line 97 def self.config(api_url: nil, token: nil) @@config ||= {} @@config[:api_url] = api_url if api_url @@config[:token] = token if token @@config end |