lithic 0.1.0.pre.alpha.19 → 0.1.0.pre.alpha.20
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 +4 -4
- data/CHANGELOG.md +17 -0
- data/README.md +1 -1
- data/lib/lithic/errors.rb +9 -9
- data/lib/lithic/internal/type/boolean.rb +10 -11
- data/lib/lithic/internal/type/enum.rb +10 -11
- data/lib/lithic/internal/type/unknown.rb +10 -11
- data/lib/lithic/models/auth_rules/auth_rule_condition.rb +1 -0
- data/lib/lithic/models/auth_rules/v2_apply_response.rb +133 -6
- data/lib/lithic/models/auth_rules/v2_create_params.rb +67 -3
- data/lib/lithic/models/auth_rules/v2_create_response.rb +133 -6
- data/lib/lithic/models/auth_rules/v2_draft_params.rb +66 -3
- data/lib/lithic/models/auth_rules/v2_draft_response.rb +133 -6
- data/lib/lithic/models/auth_rules/v2_list_params.rb +21 -1
- data/lib/lithic/models/auth_rules/v2_list_response.rb +133 -6
- data/lib/lithic/models/auth_rules/v2_promote_response.rb +133 -6
- data/lib/lithic/models/auth_rules/v2_retrieve_response.rb +137 -6
- data/lib/lithic/models/auth_rules/v2_update_response.rb +133 -6
- data/lib/lithic/models/book_transfer_create_params.rb +1 -0
- data/lib/lithic/models/financial_accounts/statements/statement_line_items.rb +1 -0
- data/lib/lithic/models/financial_transaction.rb +1 -0
- data/lib/lithic/models/transfer.rb +1 -0
- data/lib/lithic/request_options.rb +4 -5
- data/lib/lithic/resources/auth_rules/v2.rb +5 -3
- data/lib/lithic/resources/cards.rb +2 -2
- data/lib/lithic/version.rb +1 -1
- data/rbi/{lib/lithic → lithic}/client.rbi +1 -4
- data/rbi/{lib/lithic → lithic}/internal/transport/base_client.rbi +2 -2
- data/rbi/{lib/lithic → lithic}/internal/type/request_parameters.rbi +1 -1
- data/rbi/lithic/models/auth_rules/v2_apply_response.rbi +456 -0
- data/rbi/{lib/lithic → lithic}/models/auth_rules/v2_create_params.rbi +93 -5
- data/rbi/lithic/models/auth_rules/v2_create_response.rbi +456 -0
- data/rbi/lithic/models/auth_rules/v2_draft_params.rbi +158 -0
- data/rbi/lithic/models/auth_rules/v2_draft_response.rbi +456 -0
- data/rbi/{lib/lithic → lithic}/models/auth_rules/v2_list_params.rbi +26 -0
- data/rbi/lithic/models/auth_rules/v2_list_response.rbi +456 -0
- data/rbi/lithic/models/auth_rules/v2_promote_response.rbi +456 -0
- data/rbi/lithic/models/auth_rules/v2_retrieve_response.rbi +461 -0
- data/rbi/lithic/models/auth_rules/v2_update_response.rbi +456 -0
- data/rbi/{lib/lithic → lithic}/models/book_transfer_create_params.rbi +1 -0
- data/rbi/{lib/lithic → lithic}/models/financial_accounts/statements/statement_line_items.rbi +5 -0
- data/rbi/{lib/lithic → lithic}/models/financial_transaction.rbi +1 -0
- data/rbi/{lib/lithic → lithic}/models/transfer.rbi +1 -0
- data/rbi/{lib/lithic → lithic}/request_options.rbi +2 -0
- data/rbi/{lib/lithic → lithic}/resources/account_holders.rbi +9 -19
- data/rbi/{lib/lithic → lithic}/resources/accounts.rbi +4 -13
- data/rbi/{lib/lithic → lithic}/resources/aggregate_balances.rbi +1 -1
- data/rbi/{lib/lithic → lithic}/resources/auth_rules/v2/backtests.rbi +2 -7
- data/rbi/{lib/lithic → lithic}/resources/auth_rules/v2.rbi +16 -26
- data/rbi/{lib/lithic → lithic}/resources/auth_stream_enrollment.rbi +2 -7
- data/rbi/{lib/lithic → lithic}/resources/balances.rbi +1 -1
- data/rbi/{lib/lithic → lithic}/resources/book_transfers.rbi +4 -11
- data/rbi/{lib/lithic → lithic}/resources/card_programs.rbi +2 -5
- data/rbi/{lib/lithic → lithic}/resources/cards/aggregate_balances.rbi +1 -5
- data/rbi/{lib/lithic → lithic}/resources/cards/balances.rbi +1 -1
- data/rbi/{lib/lithic → lithic}/resources/cards/financial_transactions.rbi +2 -2
- data/rbi/{lib/lithic → lithic}/resources/cards.rbi +13 -41
- data/rbi/{lib/lithic → lithic}/resources/credit_products/extended_credit.rbi +1 -4
- data/rbi/{lib/lithic → lithic}/resources/credit_products/prime_rates.rbi +2 -2
- data/rbi/{lib/lithic → lithic}/resources/digital_card_art.rbi +2 -5
- data/rbi/{lib/lithic → lithic}/resources/disputes.rbi +9 -33
- data/rbi/{lib/lithic → lithic}/resources/events/event_subscriptions.rbi +2 -3
- data/rbi/{lib/lithic → lithic}/resources/events/subscriptions.rbi +11 -29
- data/rbi/{lib/lithic → lithic}/resources/events.rbi +3 -9
- data/rbi/{lib/lithic → lithic}/resources/external_bank_accounts/micro_deposits.rbi +1 -1
- data/rbi/{lib/lithic → lithic}/resources/external_bank_accounts.rbi +6 -9
- data/rbi/{lib/lithic → lithic}/resources/external_payments.rbi +7 -10
- data/rbi/{lib/lithic → lithic}/resources/financial_accounts/balances.rbi +1 -1
- data/rbi/{lib/lithic → lithic}/resources/financial_accounts/credit_configuration.rbi +2 -5
- data/rbi/{lib/lithic → lithic}/resources/financial_accounts/financial_transactions.rbi +2 -2
- data/rbi/{lib/lithic → lithic}/resources/financial_accounts/loan_tapes.rbi +2 -2
- data/rbi/{lib/lithic → lithic}/resources/financial_accounts/statements/line_items.rbi +1 -1
- data/rbi/{lib/lithic → lithic}/resources/financial_accounts/statements.rbi +2 -2
- data/rbi/{lib/lithic → lithic}/resources/financial_accounts.rbi +5 -12
- data/rbi/{lib/lithic → lithic}/resources/management_operations.rbi +4 -7
- data/rbi/{lib/lithic → lithic}/resources/payments.rbi +8 -24
- data/rbi/{lib/lithic → lithic}/resources/reports/settlement/network_totals.rbi +2 -5
- data/rbi/{lib/lithic → lithic}/resources/reports/settlement.rbi +2 -8
- data/rbi/{lib/lithic → lithic}/resources/responder_endpoints.rbi +3 -3
- data/rbi/{lib/lithic → lithic}/resources/three_ds/authentication.rbi +3 -13
- data/rbi/{lib/lithic → lithic}/resources/three_ds/decisioning.rbi +3 -5
- data/rbi/{lib/lithic → lithic}/resources/tokenization_decisioning.rbi +2 -5
- data/rbi/{lib/lithic → lithic}/resources/tokenizations.rbi +9 -36
- data/rbi/{lib/lithic → lithic}/resources/transactions/enhanced_commercial_data.rbi +1 -4
- data/rbi/{lib/lithic → lithic}/resources/transactions/events/enhanced_commercial_data.rbi +1 -4
- data/rbi/{lib/lithic → lithic}/resources/transactions.rbi +10 -35
- data/rbi/{lib/lithic → lithic}/resources/transfers.rbi +1 -1
- data/sig/lithic/models/auth_rules/auth_rule_condition.rbs +1 -3
- data/sig/lithic/models/auth_rules/v2_apply_response.rbs +86 -3
- data/sig/lithic/models/auth_rules/v2_create_params.rbs +44 -2
- data/sig/lithic/models/auth_rules/v2_create_response.rbs +86 -3
- data/sig/lithic/models/auth_rules/v2_draft_params.rbs +42 -1
- data/sig/lithic/models/auth_rules/v2_draft_response.rbs +86 -3
- data/sig/lithic/models/auth_rules/v2_list_params.rbs +20 -0
- data/sig/lithic/models/auth_rules/v2_list_response.rbs +86 -3
- data/sig/lithic/models/auth_rules/v2_promote_response.rbs +86 -3
- data/sig/lithic/models/auth_rules/v2_retrieve_response.rbs +86 -3
- data/sig/lithic/models/auth_rules/v2_update_response.rbs +86 -3
- data/sig/lithic/models/book_transfer_create_params.rbs +2 -0
- data/sig/lithic/models/financial_accounts/statements/statement_line_items.rbs +2 -0
- data/sig/lithic/models/financial_transaction.rbs +2 -0
- data/sig/lithic/models/transfer.rbs +2 -0
- data/sig/lithic/resources/auth_rules/v2.rbs +1 -0
- metadata +342 -342
- data/rbi/lib/lithic/models/auth_rules/v2_apply_response.rbi +0 -275
- data/rbi/lib/lithic/models/auth_rules/v2_create_response.rbi +0 -275
- data/rbi/lib/lithic/models/auth_rules/v2_draft_params.rbi +0 -72
- data/rbi/lib/lithic/models/auth_rules/v2_draft_response.rbi +0 -275
- data/rbi/lib/lithic/models/auth_rules/v2_list_response.rbi +0 -275
- data/rbi/lib/lithic/models/auth_rules/v2_promote_response.rbi +0 -275
- data/rbi/lib/lithic/models/auth_rules/v2_retrieve_response.rbi +0 -276
- data/rbi/lib/lithic/models/auth_rules/v2_update_response.rbi +0 -275
- /data/rbi/{lib/lithic → lithic}/errors.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/file_part.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/internal/cursor_page.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/internal/single_page.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/internal/transport/pooled_net_requester.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/internal/type/array_of.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/internal/type/base_model.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/internal/type/base_page.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/internal/type/boolean.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/internal/type/converter.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/internal/type/enum.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/internal/type/file_input.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/internal/type/hash_of.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/internal/type/union.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/internal/type/unknown.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/internal/util.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/internal.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/account.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/account_financial_account_type.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/account_holder.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/account_holder_create_params.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/account_holder_create_response.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/account_holder_list_documents_params.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/account_holder_list_documents_response.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/account_holder_list_params.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/account_holder_retrieve_document_params.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/account_holder_retrieve_params.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/account_holder_simulate_enrollment_document_review_params.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/account_holder_simulate_enrollment_review_params.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/account_holder_simulate_enrollment_review_response.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/account_holder_update_params.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/account_holder_update_response.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/account_holder_upload_document_params.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/account_list_params.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/account_retrieve_params.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/account_retrieve_spend_limits_params.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/account_spend_limits.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/account_update_params.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/address.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/address_update.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/aggregate_balance.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/aggregate_balance_list_params.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/api_status.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/auth_rules/auth_rule.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/auth_rules/auth_rule_condition.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/auth_rules/conditional_attribute.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/auth_rules/conditional_block_parameters.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/auth_rules/v2/backtest_create_params.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/auth_rules/v2/backtest_create_response.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/auth_rules/v2/backtest_results.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/auth_rules/v2/backtest_retrieve_params.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/auth_rules/v2_apply_params.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/auth_rules/v2_delete_params.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/auth_rules/v2_promote_params.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/auth_rules/v2_report_params.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/auth_rules/v2_report_response.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/auth_rules/v2_retrieve_params.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/auth_rules/v2_update_params.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/auth_rules/velocity_limit_params.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/auth_rules/velocity_limit_params_period_window.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/auth_stream_enrollment_retrieve_secret_params.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/auth_stream_enrollment_rotate_secret_params.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/auth_stream_secret.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/balance.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/balance_list_params.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/book_transfer_list_params.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/book_transfer_response.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/book_transfer_retrieve_params.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/book_transfer_reverse_params.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/card.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/card_convert_physical_params.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/card_create_params.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/card_embed_params.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/card_list_params.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/card_program.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/card_program_list_params.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/card_program_retrieve_params.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/card_provision_params.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/card_provision_response.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/card_reissue_params.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/card_renew_params.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/card_retrieve_params.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/card_retrieve_spend_limits_params.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/card_search_by_pan_params.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/card_spend_limits.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/card_update_params.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/cards/aggregate_balance_list_params.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/cards/aggregate_balance_list_response.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/cards/balance_list_params.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/cards/balance_list_response.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/cards/financial_transaction_list_params.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/cards/financial_transaction_retrieve_params.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/carrier.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/client_api_status_params.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/credit_products/extended_credit.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/credit_products/extended_credit_retrieve_params.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/credit_products/prime_rate_create_params.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/credit_products/prime_rate_retrieve_params.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/credit_products/prime_rate_retrieve_response.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/digital_card_art.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/digital_card_art_list_params.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/digital_card_art_retrieve_params.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/dispute.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/dispute_create_params.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/dispute_delete_evidence_params.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/dispute_delete_params.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/dispute_evidence.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/dispute_initiate_evidence_upload_params.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/dispute_list_evidences_params.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/dispute_list_params.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/dispute_retrieve_evidence_params.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/dispute_retrieve_params.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/dispute_update_params.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/document.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/event.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/event_list_attempts_params.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/event_list_params.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/event_retrieve_params.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/event_subscription.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/events/event_subscription_resend_params.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/events/subscription_create_params.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/events/subscription_delete_params.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/events/subscription_list_attempts_params.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/events/subscription_list_params.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/events/subscription_recover_params.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/events/subscription_replay_missing_params.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/events/subscription_retrieve_params.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/events/subscription_retrieve_secret_params.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/events/subscription_retrieve_secret_response.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/events/subscription_rotate_secret_params.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/events/subscription_send_simulated_example_params.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/events/subscription_update_params.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/external_bank_account_address.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/external_bank_account_create_params.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/external_bank_account_create_response.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/external_bank_account_list_params.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/external_bank_account_list_response.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/external_bank_account_retrieve_params.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/external_bank_account_retrieve_response.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/external_bank_account_retry_micro_deposits_params.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/external_bank_account_retry_micro_deposits_response.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/external_bank_account_retry_prenote_params.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/external_bank_account_retry_prenote_response.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/external_bank_account_update_params.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/external_bank_account_update_response.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/external_bank_accounts/micro_deposit_create_params.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/external_bank_accounts/micro_deposit_create_response.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/external_payment.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/external_payment_cancel_params.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/external_payment_create_params.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/external_payment_list_params.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/external_payment_release_params.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/external_payment_retrieve_params.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/external_payment_reverse_params.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/external_payment_settle_params.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/financial_account.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/financial_account_create_params.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/financial_account_list_params.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/financial_account_retrieve_params.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/financial_account_update_params.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/financial_account_update_status_params.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/financial_accounts/balance_list_params.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/financial_accounts/balance_list_response.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/financial_accounts/credit_configuration_retrieve_params.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/financial_accounts/credit_configuration_update_params.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/financial_accounts/financial_account_credit_config.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/financial_accounts/financial_transaction_list_params.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/financial_accounts/financial_transaction_retrieve_params.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/financial_accounts/loan_tape.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/financial_accounts/loan_tape_list_params.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/financial_accounts/loan_tape_retrieve_params.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/financial_accounts/statement.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/financial_accounts/statement_list_params.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/financial_accounts/statement_retrieve_params.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/financial_accounts/statements/line_item_list_params.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/financial_accounts/statements.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/instance_financial_account_type.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/kyb.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/kyb_business_entity.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/kyc.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/kyc_exempt.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/management_operation_create_params.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/management_operation_list_params.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/management_operation_retrieve_params.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/management_operation_reverse_params.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/management_operation_transaction.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/message_attempt.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/non_pci_card.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/owner_type.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/payment.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/payment_create_params.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/payment_create_response.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/payment_list_params.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/payment_retrieve_params.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/payment_retry_params.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/payment_retry_response.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/payment_simulate_action_params.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/payment_simulate_action_response.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/payment_simulate_receipt_params.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/payment_simulate_receipt_response.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/payment_simulate_release_params.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/payment_simulate_release_response.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/payment_simulate_return_params.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/payment_simulate_return_response.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/reports/settlement/network_total_list_params.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/reports/settlement/network_total_list_response.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/reports/settlement/network_total_retrieve_params.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/reports/settlement/network_total_retrieve_response.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/reports/settlement_list_details_params.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/reports/settlement_summary_params.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/required_document.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/responder_endpoint_check_status_params.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/responder_endpoint_create_params.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/responder_endpoint_create_response.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/responder_endpoint_delete_params.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/responder_endpoint_status.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/settlement_detail.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/settlement_report.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/settlement_summary_details.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/shipping_address.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/spend_limit_duration.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/three_ds/authentication_retrieve_params.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/three_ds/authentication_retrieve_response.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/three_ds/authentication_simulate_otp_entry_params.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/three_ds/authentication_simulate_params.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/three_ds/authentication_simulate_response.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/three_ds/challenge_response.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/three_ds/challenge_result.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/three_ds/decisioning_challenge_response_params.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/three_ds/decisioning_retrieve_secret_params.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/three_ds/decisioning_retrieve_secret_response.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/three_ds/decisioning_rotate_secret_params.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/tokenization.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/tokenization_activate_params.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/tokenization_deactivate_params.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/tokenization_decisioning_retrieve_secret_params.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/tokenization_decisioning_rotate_secret_params.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/tokenization_decisioning_rotate_secret_response.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/tokenization_list_params.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/tokenization_pause_params.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/tokenization_resend_activation_code_params.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/tokenization_retrieve_params.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/tokenization_retrieve_response.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/tokenization_secret.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/tokenization_simulate_params.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/tokenization_simulate_response.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/tokenization_unpause_params.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/tokenization_update_digital_card_art_params.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/tokenization_update_digital_card_art_response.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/transaction.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/transaction_expire_authorization_params.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/transaction_list_params.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/transaction_retrieve_params.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/transaction_simulate_authorization_advice_params.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/transaction_simulate_authorization_advice_response.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/transaction_simulate_authorization_params.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/transaction_simulate_authorization_response.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/transaction_simulate_clearing_params.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/transaction_simulate_clearing_response.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/transaction_simulate_credit_authorization_params.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/transaction_simulate_credit_authorization_response.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/transaction_simulate_return_params.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/transaction_simulate_return_response.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/transaction_simulate_return_reversal_params.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/transaction_simulate_return_reversal_response.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/transaction_simulate_void_params.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/transaction_simulate_void_response.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/transactions/enhanced_commercial_data_retrieve_params.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/transactions/enhanced_commercial_data_retrieve_response.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/transactions/events/enhanced_commercial_data_retrieve_params.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/transactions/events/enhanced_data.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/transfer_create_params.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/verification_method.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/resources/auth_rules.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/resources/credit_products.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/resources/reports.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/resources/three_ds.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/resources/transactions/events.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/version.rbi +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 47b184f8f7f65dbe0046db9543b2dbb92b2bf6d01e4210310ee34c2e456eb6df
|
4
|
+
data.tar.gz: 81b77116f2873efc353eb653fb1c4ad28b7fe42b28ab090c7ab20afe6cecf977
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 62c65279956cab3ec2f64cd8ab66a29c756e676bfbb48afb1d15bfe8f01e02198eca40a468910263138638295300fc385d8f8ce7d8ef4369f981193e09b8d4e3
|
7
|
+
data.tar.gz: 8f06ef17fd985d574940f9fc87a5ea74b192eaa4de81310a585d064aa857013a41c7ef50fb31926c7c5b91b45d3b82f9a0bfa39ef8a4fa4dd0045d6fffb1eee0
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,22 @@
|
|
1
1
|
# Changelog
|
2
2
|
|
3
|
+
## 0.1.0-alpha.20 (2025-04-29)
|
4
|
+
|
5
|
+
Full Changelog: [v0.1.0-alpha.19...v0.1.0-alpha.20](https://github.com/lithic-com/lithic-ruby/compare/v0.1.0-alpha.19...v0.1.0-alpha.20)
|
6
|
+
|
7
|
+
### Features
|
8
|
+
|
9
|
+
* **api:** adds new merchant lock Auth Rule ([388d8cb](https://github.com/lithic-com/lithic-ruby/commit/388d8cb18b0b89d44d9b2d0c2301e723c17c6d33))
|
10
|
+
|
11
|
+
|
12
|
+
### Chores
|
13
|
+
|
14
|
+
* add generator safe directory ([0cda408](https://github.com/lithic-com/lithic-ruby/commit/0cda40840420a00c792302dd07aa681d31680717))
|
15
|
+
* **internal:** annotate request options with type aliases in sorbet ([552a73d](https://github.com/lithic-com/lithic-ruby/commit/552a73db90724b38cbb9f0740d8bbbd6b8cbdc74))
|
16
|
+
* **internal:** remove unnecessary `rbi/lib` folder ([233630e](https://github.com/lithic-com/lithic-ruby/commit/233630e9abfd2f3f29e59d212a1cf6d5e3ec8cc2))
|
17
|
+
* loosen rubocop rules that don't always make sense ([e85bd6a](https://github.com/lithic-com/lithic-ruby/commit/e85bd6a6d208c2c05d76e101edc7627e23831ffc))
|
18
|
+
* more accurate type annotations and aliases ([347bbf6](https://github.com/lithic-com/lithic-ruby/commit/347bbf62b4a86b3e457b4ac591f526ba42f34e9c))
|
19
|
+
|
3
20
|
## 0.1.0-alpha.19 (2025-04-25)
|
4
21
|
|
5
22
|
Full Changelog: [v0.1.0-alpha.18...v0.1.0-alpha.19](https://github.com/lithic-com/lithic-ruby/compare/v0.1.0-alpha.18...v0.1.0-alpha.19)
|
data/README.md
CHANGED
@@ -15,7 +15,7 @@ To use this gem, install via Bundler by adding the following to your application
|
|
15
15
|
<!-- x-release-please-start-version -->
|
16
16
|
|
17
17
|
```ruby
|
18
|
-
gem "lithic", "~> 0.1.0.pre.alpha.
|
18
|
+
gem "lithic", "~> 0.1.0.pre.alpha.20"
|
19
19
|
```
|
20
20
|
|
21
21
|
<!-- x-release-please-end -->
|
data/lib/lithic/errors.rb
CHANGED
@@ -3,9 +3,9 @@
|
|
3
3
|
module Lithic
|
4
4
|
module Errors
|
5
5
|
class Error < StandardError
|
6
|
-
# @!
|
7
|
-
#
|
8
|
-
#
|
6
|
+
# @!attribute cause
|
7
|
+
#
|
8
|
+
# @return [StandardError, nil]
|
9
9
|
end
|
10
10
|
|
11
11
|
class ConversionError < Lithic::Errors::Error
|
@@ -40,13 +40,13 @@ module Lithic
|
|
40
40
|
end
|
41
41
|
|
42
42
|
class APIConnectionError < Lithic::Errors::APIError
|
43
|
-
# @!
|
44
|
-
#
|
45
|
-
#
|
43
|
+
# @!attribute status
|
44
|
+
#
|
45
|
+
# @return [nil]
|
46
46
|
|
47
|
-
# @!
|
48
|
-
#
|
49
|
-
#
|
47
|
+
# @!attribute body
|
48
|
+
#
|
49
|
+
# @return [nil]
|
50
50
|
|
51
51
|
# @api private
|
52
52
|
#
|
@@ -46,17 +46,16 @@ module Lithic
|
|
46
46
|
value
|
47
47
|
end
|
48
48
|
|
49
|
-
# @!
|
50
|
-
#
|
51
|
-
#
|
52
|
-
#
|
53
|
-
#
|
54
|
-
#
|
55
|
-
#
|
56
|
-
#
|
57
|
-
#
|
58
|
-
#
|
59
|
-
# def dump(value, state:) = super
|
49
|
+
# @!method dump(value, state:)
|
50
|
+
# @api private
|
51
|
+
#
|
52
|
+
# @param value [Boolean, Object]
|
53
|
+
#
|
54
|
+
# @param state [Hash{Symbol=>Object}] .
|
55
|
+
#
|
56
|
+
# @option state [Boolean] :can_retry
|
57
|
+
#
|
58
|
+
# @return [Boolean, Object]
|
60
59
|
end
|
61
60
|
end
|
62
61
|
end
|
@@ -96,17 +96,16 @@ module Lithic
|
|
96
96
|
end
|
97
97
|
end
|
98
98
|
|
99
|
-
# @!
|
100
|
-
#
|
101
|
-
#
|
102
|
-
#
|
103
|
-
#
|
104
|
-
#
|
105
|
-
#
|
106
|
-
#
|
107
|
-
#
|
108
|
-
#
|
109
|
-
# def dump(value, state:) = super
|
99
|
+
# @!method dump(value, state:)
|
100
|
+
# @api private
|
101
|
+
#
|
102
|
+
# @param value [Symbol, Object]
|
103
|
+
#
|
104
|
+
# @param state [Hash{Symbol=>Object}] .
|
105
|
+
#
|
106
|
+
# @option state [Boolean] :can_retry
|
107
|
+
#
|
108
|
+
# @return [Symbol, Object]
|
110
109
|
|
111
110
|
# @api private
|
112
111
|
#
|
@@ -48,17 +48,16 @@ module Lithic
|
|
48
48
|
value
|
49
49
|
end
|
50
50
|
|
51
|
-
# @!
|
52
|
-
#
|
53
|
-
#
|
54
|
-
#
|
55
|
-
#
|
56
|
-
#
|
57
|
-
#
|
58
|
-
#
|
59
|
-
#
|
60
|
-
#
|
61
|
-
# def dump(value, state:) = super
|
51
|
+
# @!method dump(value, state:)
|
52
|
+
# @api private
|
53
|
+
#
|
54
|
+
# @param value [Object]
|
55
|
+
#
|
56
|
+
# @param state [Hash{Symbol=>Object}] .
|
57
|
+
#
|
58
|
+
# @option state [Boolean] :can_retry
|
59
|
+
#
|
60
|
+
# @return [Object]
|
62
61
|
end
|
63
62
|
|
64
63
|
# rubocop:enable Lint/UnusedMethodArgument
|
@@ -89,7 +89,7 @@ module Lithic
|
|
89
89
|
# @!attribute parameters
|
90
90
|
# Parameters for the Auth Rule
|
91
91
|
#
|
92
|
-
# @return [Lithic::Models::AuthRules::ConditionalBlockParameters, Lithic::Models::AuthRules::VelocityLimitParams]
|
92
|
+
# @return [Lithic::Models::AuthRules::ConditionalBlockParameters, Lithic::Models::AuthRules::VelocityLimitParams, Lithic::Models::AuthRules::V2ApplyResponse::CurrentVersion::Parameters::MerchantLockParameters]
|
93
93
|
required :parameters, union: -> { Lithic::Models::AuthRules::V2ApplyResponse::CurrentVersion::Parameters }
|
94
94
|
|
95
95
|
response_only do
|
@@ -105,7 +105,7 @@ module Lithic
|
|
105
105
|
# Some parameter documentations has been truncated, see
|
106
106
|
# {Lithic::Models::AuthRules::V2ApplyResponse::CurrentVersion} for more details.
|
107
107
|
#
|
108
|
-
# @param parameters [Lithic::Models::AuthRules::ConditionalBlockParameters, Lithic::Models::AuthRules::VelocityLimitParams] Parameters for the Auth Rule
|
108
|
+
# @param parameters [Lithic::Models::AuthRules::ConditionalBlockParameters, Lithic::Models::AuthRules::VelocityLimitParams, Lithic::Models::AuthRules::V2ApplyResponse::CurrentVersion::Parameters::MerchantLockParameters] Parameters for the Auth Rule
|
109
109
|
#
|
110
110
|
# @param version [Integer] The version of the rule, this is incremented whenever the rule's parameters chan
|
111
111
|
# ...
|
@@ -120,8 +120,71 @@ module Lithic
|
|
120
120
|
|
121
121
|
variant -> { Lithic::Models::AuthRules::VelocityLimitParams }
|
122
122
|
|
123
|
+
variant -> { Lithic::Models::AuthRules::V2ApplyResponse::CurrentVersion::Parameters::MerchantLockParameters }
|
124
|
+
|
125
|
+
class MerchantLockParameters < Lithic::Internal::Type::BaseModel
|
126
|
+
# @!attribute merchants
|
127
|
+
# A list of merchant locks defining specific merchants or groups of merchants
|
128
|
+
# (based on descriptors or IDs) that the lock applies to.
|
129
|
+
#
|
130
|
+
# @return [Array<Lithic::Models::AuthRules::V2ApplyResponse::CurrentVersion::Parameters::MerchantLockParameters::Merchant>]
|
131
|
+
required :merchants,
|
132
|
+
-> { Lithic::Internal::Type::ArrayOf[Lithic::Models::AuthRules::V2ApplyResponse::CurrentVersion::Parameters::MerchantLockParameters::Merchant] }
|
133
|
+
|
134
|
+
# @!method initialize(merchants:)
|
135
|
+
# Some parameter documentations has been truncated, see
|
136
|
+
# {Lithic::Models::AuthRules::V2ApplyResponse::CurrentVersion::Parameters::MerchantLockParameters}
|
137
|
+
# for more details.
|
138
|
+
#
|
139
|
+
# @param merchants [Array<Lithic::Models::AuthRules::V2ApplyResponse::CurrentVersion::Parameters::MerchantLockParameters::Merchant>] A list of merchant locks defining specific merchants or groups of merchants (bas
|
140
|
+
# ...
|
141
|
+
|
142
|
+
class Merchant < Lithic::Internal::Type::BaseModel
|
143
|
+
# @!attribute comment
|
144
|
+
# A comment or explanation about the merchant, used internally for rule management
|
145
|
+
# purposes.
|
146
|
+
#
|
147
|
+
# @return [String, nil]
|
148
|
+
optional :comment, String
|
149
|
+
|
150
|
+
# @!attribute descriptor
|
151
|
+
# Short description of the merchant, often used to provide more human-readable
|
152
|
+
# context about the transaction merchant. This is typically the name or label
|
153
|
+
# shown on transaction summaries.
|
154
|
+
#
|
155
|
+
# @return [String, nil]
|
156
|
+
optional :descriptor, String
|
157
|
+
|
158
|
+
# @!attribute merchant_id
|
159
|
+
# Unique alphanumeric identifier for the payment card acceptor (merchant). This
|
160
|
+
# attribute specifies the merchant entity that will be locked or referenced for
|
161
|
+
# authorization rules.
|
162
|
+
#
|
163
|
+
# @return [String, nil]
|
164
|
+
optional :merchant_id, String
|
165
|
+
|
166
|
+
# @!method initialize(comment: nil, descriptor: nil, merchant_id: nil)
|
167
|
+
# Some parameter documentations has been truncated, see
|
168
|
+
# {Lithic::Models::AuthRules::V2ApplyResponse::CurrentVersion::Parameters::MerchantLockParameters::Merchant}
|
169
|
+
# for more details.
|
170
|
+
#
|
171
|
+
# Represents a specific merchant lock based on their ID or descriptor. Each
|
172
|
+
# merchant object allows transaction rules to work at a granular level and
|
173
|
+
# requires at least one of merchant_id or descriptor.
|
174
|
+
#
|
175
|
+
# @param comment [String] A comment or explanation about the merchant, used internally for rule management
|
176
|
+
# ...
|
177
|
+
#
|
178
|
+
# @param descriptor [String] Short description of the merchant, often used to provide more human-readable con
|
179
|
+
# ...
|
180
|
+
#
|
181
|
+
# @param merchant_id [String] Unique alphanumeric identifier for the payment card acceptor (merchant). This at
|
182
|
+
# ...
|
183
|
+
end
|
184
|
+
end
|
185
|
+
|
123
186
|
# @!method self.variants
|
124
|
-
# @return [Array(Lithic::Models::AuthRules::ConditionalBlockParameters, Lithic::Models::AuthRules::VelocityLimitParams)]
|
187
|
+
# @return [Array(Lithic::Models::AuthRules::ConditionalBlockParameters, Lithic::Models::AuthRules::VelocityLimitParams, Lithic::Models::AuthRules::V2ApplyResponse::CurrentVersion::Parameters::MerchantLockParameters)]
|
125
188
|
end
|
126
189
|
end
|
127
190
|
|
@@ -130,7 +193,7 @@ module Lithic
|
|
130
193
|
# @!attribute parameters
|
131
194
|
# Parameters for the Auth Rule
|
132
195
|
#
|
133
|
-
# @return [Lithic::Models::AuthRules::ConditionalBlockParameters, Lithic::Models::AuthRules::VelocityLimitParams]
|
196
|
+
# @return [Lithic::Models::AuthRules::ConditionalBlockParameters, Lithic::Models::AuthRules::VelocityLimitParams, Lithic::Models::AuthRules::V2ApplyResponse::DraftVersion::Parameters::MerchantLockParameters]
|
134
197
|
required :parameters, union: -> { Lithic::Models::AuthRules::V2ApplyResponse::DraftVersion::Parameters }
|
135
198
|
|
136
199
|
response_only do
|
@@ -146,7 +209,7 @@ module Lithic
|
|
146
209
|
# Some parameter documentations has been truncated, see
|
147
210
|
# {Lithic::Models::AuthRules::V2ApplyResponse::DraftVersion} for more details.
|
148
211
|
#
|
149
|
-
# @param parameters [Lithic::Models::AuthRules::ConditionalBlockParameters, Lithic::Models::AuthRules::VelocityLimitParams] Parameters for the Auth Rule
|
212
|
+
# @param parameters [Lithic::Models::AuthRules::ConditionalBlockParameters, Lithic::Models::AuthRules::VelocityLimitParams, Lithic::Models::AuthRules::V2ApplyResponse::DraftVersion::Parameters::MerchantLockParameters] Parameters for the Auth Rule
|
150
213
|
#
|
151
214
|
# @param version [Integer] The version of the rule, this is incremented whenever the rule's parameters chan
|
152
215
|
# ...
|
@@ -161,8 +224,71 @@ module Lithic
|
|
161
224
|
|
162
225
|
variant -> { Lithic::Models::AuthRules::VelocityLimitParams }
|
163
226
|
|
227
|
+
variant -> { Lithic::Models::AuthRules::V2ApplyResponse::DraftVersion::Parameters::MerchantLockParameters }
|
228
|
+
|
229
|
+
class MerchantLockParameters < Lithic::Internal::Type::BaseModel
|
230
|
+
# @!attribute merchants
|
231
|
+
# A list of merchant locks defining specific merchants or groups of merchants
|
232
|
+
# (based on descriptors or IDs) that the lock applies to.
|
233
|
+
#
|
234
|
+
# @return [Array<Lithic::Models::AuthRules::V2ApplyResponse::DraftVersion::Parameters::MerchantLockParameters::Merchant>]
|
235
|
+
required :merchants,
|
236
|
+
-> { Lithic::Internal::Type::ArrayOf[Lithic::Models::AuthRules::V2ApplyResponse::DraftVersion::Parameters::MerchantLockParameters::Merchant] }
|
237
|
+
|
238
|
+
# @!method initialize(merchants:)
|
239
|
+
# Some parameter documentations has been truncated, see
|
240
|
+
# {Lithic::Models::AuthRules::V2ApplyResponse::DraftVersion::Parameters::MerchantLockParameters}
|
241
|
+
# for more details.
|
242
|
+
#
|
243
|
+
# @param merchants [Array<Lithic::Models::AuthRules::V2ApplyResponse::DraftVersion::Parameters::MerchantLockParameters::Merchant>] A list of merchant locks defining specific merchants or groups of merchants (bas
|
244
|
+
# ...
|
245
|
+
|
246
|
+
class Merchant < Lithic::Internal::Type::BaseModel
|
247
|
+
# @!attribute comment
|
248
|
+
# A comment or explanation about the merchant, used internally for rule management
|
249
|
+
# purposes.
|
250
|
+
#
|
251
|
+
# @return [String, nil]
|
252
|
+
optional :comment, String
|
253
|
+
|
254
|
+
# @!attribute descriptor
|
255
|
+
# Short description of the merchant, often used to provide more human-readable
|
256
|
+
# context about the transaction merchant. This is typically the name or label
|
257
|
+
# shown on transaction summaries.
|
258
|
+
#
|
259
|
+
# @return [String, nil]
|
260
|
+
optional :descriptor, String
|
261
|
+
|
262
|
+
# @!attribute merchant_id
|
263
|
+
# Unique alphanumeric identifier for the payment card acceptor (merchant). This
|
264
|
+
# attribute specifies the merchant entity that will be locked or referenced for
|
265
|
+
# authorization rules.
|
266
|
+
#
|
267
|
+
# @return [String, nil]
|
268
|
+
optional :merchant_id, String
|
269
|
+
|
270
|
+
# @!method initialize(comment: nil, descriptor: nil, merchant_id: nil)
|
271
|
+
# Some parameter documentations has been truncated, see
|
272
|
+
# {Lithic::Models::AuthRules::V2ApplyResponse::DraftVersion::Parameters::MerchantLockParameters::Merchant}
|
273
|
+
# for more details.
|
274
|
+
#
|
275
|
+
# Represents a specific merchant lock based on their ID or descriptor. Each
|
276
|
+
# merchant object allows transaction rules to work at a granular level and
|
277
|
+
# requires at least one of merchant_id or descriptor.
|
278
|
+
#
|
279
|
+
# @param comment [String] A comment or explanation about the merchant, used internally for rule management
|
280
|
+
# ...
|
281
|
+
#
|
282
|
+
# @param descriptor [String] Short description of the merchant, often used to provide more human-readable con
|
283
|
+
# ...
|
284
|
+
#
|
285
|
+
# @param merchant_id [String] Unique alphanumeric identifier for the payment card acceptor (merchant). This at
|
286
|
+
# ...
|
287
|
+
end
|
288
|
+
end
|
289
|
+
|
164
290
|
# @!method self.variants
|
165
|
-
# @return [Array(Lithic::Models::AuthRules::ConditionalBlockParameters, Lithic::Models::AuthRules::VelocityLimitParams)]
|
291
|
+
# @return [Array(Lithic::Models::AuthRules::ConditionalBlockParameters, Lithic::Models::AuthRules::VelocityLimitParams, Lithic::Models::AuthRules::V2ApplyResponse::DraftVersion::Parameters::MerchantLockParameters)]
|
166
292
|
end
|
167
293
|
end
|
168
294
|
|
@@ -187,6 +313,7 @@ module Lithic
|
|
187
313
|
|
188
314
|
CONDITIONAL_BLOCK = :CONDITIONAL_BLOCK
|
189
315
|
VELOCITY_LIMIT = :VELOCITY_LIMIT
|
316
|
+
MERCHANT_LOCK = :MERCHANT_LOCK
|
190
317
|
|
191
318
|
# @!method self.values
|
192
319
|
# @return [Array<Symbol>]
|
@@ -23,7 +23,7 @@ module Lithic
|
|
23
23
|
# @!attribute parameters
|
24
24
|
# Parameters for the Auth Rule
|
25
25
|
#
|
26
|
-
# @return [Lithic::Models::AuthRules::ConditionalBlockParameters, Lithic::Models::AuthRules::VelocityLimitParams, nil]
|
26
|
+
# @return [Lithic::Models::AuthRules::ConditionalBlockParameters, Lithic::Models::AuthRules::VelocityLimitParams, Lithic::Models::AuthRules::V2CreateParams::Parameters::MerchantLockParameters, nil]
|
27
27
|
optional :parameters, union: -> { Lithic::Models::AuthRules::V2CreateParams::Parameters }
|
28
28
|
|
29
29
|
# @!attribute type
|
@@ -59,7 +59,7 @@ module Lithic
|
|
59
59
|
#
|
60
60
|
# @param name [String, nil] Auth Rule Name
|
61
61
|
#
|
62
|
-
# @param parameters [Lithic::Models::AuthRules::ConditionalBlockParameters, Lithic::Models::AuthRules::VelocityLimitParams] Parameters for the Auth Rule
|
62
|
+
# @param parameters [Lithic::Models::AuthRules::ConditionalBlockParameters, Lithic::Models::AuthRules::VelocityLimitParams, Lithic::Models::AuthRules::V2CreateParams::Parameters::MerchantLockParameters] Parameters for the Auth Rule
|
63
63
|
#
|
64
64
|
# @param type [Symbol, Lithic::Models::AuthRules::V2CreateParams::Type] The type of Auth Rule
|
65
65
|
#
|
@@ -75,8 +75,71 @@ module Lithic
|
|
75
75
|
|
76
76
|
variant -> { Lithic::Models::AuthRules::VelocityLimitParams }
|
77
77
|
|
78
|
+
variant -> { Lithic::Models::AuthRules::V2CreateParams::Parameters::MerchantLockParameters }
|
79
|
+
|
80
|
+
class MerchantLockParameters < Lithic::Internal::Type::BaseModel
|
81
|
+
# @!attribute merchants
|
82
|
+
# A list of merchant locks defining specific merchants or groups of merchants
|
83
|
+
# (based on descriptors or IDs) that the lock applies to.
|
84
|
+
#
|
85
|
+
# @return [Array<Lithic::Models::AuthRules::V2CreateParams::Parameters::MerchantLockParameters::Merchant>]
|
86
|
+
required :merchants,
|
87
|
+
-> { Lithic::Internal::Type::ArrayOf[Lithic::Models::AuthRules::V2CreateParams::Parameters::MerchantLockParameters::Merchant] }
|
88
|
+
|
89
|
+
# @!method initialize(merchants:)
|
90
|
+
# Some parameter documentations has been truncated, see
|
91
|
+
# {Lithic::Models::AuthRules::V2CreateParams::Parameters::MerchantLockParameters}
|
92
|
+
# for more details.
|
93
|
+
#
|
94
|
+
# @param merchants [Array<Lithic::Models::AuthRules::V2CreateParams::Parameters::MerchantLockParameters::Merchant>] A list of merchant locks defining specific merchants or groups of merchants (bas
|
95
|
+
# ...
|
96
|
+
|
97
|
+
class Merchant < Lithic::Internal::Type::BaseModel
|
98
|
+
# @!attribute comment
|
99
|
+
# A comment or explanation about the merchant, used internally for rule management
|
100
|
+
# purposes.
|
101
|
+
#
|
102
|
+
# @return [String, nil]
|
103
|
+
optional :comment, String
|
104
|
+
|
105
|
+
# @!attribute descriptor
|
106
|
+
# Short description of the merchant, often used to provide more human-readable
|
107
|
+
# context about the transaction merchant. This is typically the name or label
|
108
|
+
# shown on transaction summaries.
|
109
|
+
#
|
110
|
+
# @return [String, nil]
|
111
|
+
optional :descriptor, String
|
112
|
+
|
113
|
+
# @!attribute merchant_id
|
114
|
+
# Unique alphanumeric identifier for the payment card acceptor (merchant). This
|
115
|
+
# attribute specifies the merchant entity that will be locked or referenced for
|
116
|
+
# authorization rules.
|
117
|
+
#
|
118
|
+
# @return [String, nil]
|
119
|
+
optional :merchant_id, String
|
120
|
+
|
121
|
+
# @!method initialize(comment: nil, descriptor: nil, merchant_id: nil)
|
122
|
+
# Some parameter documentations has been truncated, see
|
123
|
+
# {Lithic::Models::AuthRules::V2CreateParams::Parameters::MerchantLockParameters::Merchant}
|
124
|
+
# for more details.
|
125
|
+
#
|
126
|
+
# Represents a specific merchant lock based on their ID or descriptor. Each
|
127
|
+
# merchant object allows transaction rules to work at a granular level and
|
128
|
+
# requires at least one of merchant_id or descriptor.
|
129
|
+
#
|
130
|
+
# @param comment [String] A comment or explanation about the merchant, used internally for rule management
|
131
|
+
# ...
|
132
|
+
#
|
133
|
+
# @param descriptor [String] Short description of the merchant, often used to provide more human-readable con
|
134
|
+
# ...
|
135
|
+
#
|
136
|
+
# @param merchant_id [String] Unique alphanumeric identifier for the payment card acceptor (merchant). This at
|
137
|
+
# ...
|
138
|
+
end
|
139
|
+
end
|
140
|
+
|
78
141
|
# @!method self.variants
|
79
|
-
# @return [Array(Lithic::Models::AuthRules::ConditionalBlockParameters, Lithic::Models::AuthRules::VelocityLimitParams)]
|
142
|
+
# @return [Array(Lithic::Models::AuthRules::ConditionalBlockParameters, Lithic::Models::AuthRules::VelocityLimitParams, Lithic::Models::AuthRules::V2CreateParams::Parameters::MerchantLockParameters)]
|
80
143
|
end
|
81
144
|
|
82
145
|
# The type of Auth Rule
|
@@ -85,6 +148,7 @@ module Lithic
|
|
85
148
|
|
86
149
|
CONDITIONAL_BLOCK = :CONDITIONAL_BLOCK
|
87
150
|
VELOCITY_LIMIT = :VELOCITY_LIMIT
|
151
|
+
MERCHANT_LOCK = :MERCHANT_LOCK
|
88
152
|
|
89
153
|
# @!method self.values
|
90
154
|
# @return [Array<Symbol>]
|
@@ -89,7 +89,7 @@ module Lithic
|
|
89
89
|
# @!attribute parameters
|
90
90
|
# Parameters for the Auth Rule
|
91
91
|
#
|
92
|
-
# @return [Lithic::Models::AuthRules::ConditionalBlockParameters, Lithic::Models::AuthRules::VelocityLimitParams]
|
92
|
+
# @return [Lithic::Models::AuthRules::ConditionalBlockParameters, Lithic::Models::AuthRules::VelocityLimitParams, Lithic::Models::AuthRules::V2CreateResponse::CurrentVersion::Parameters::MerchantLockParameters]
|
93
93
|
required :parameters,
|
94
94
|
union: -> { Lithic::Models::AuthRules::V2CreateResponse::CurrentVersion::Parameters }
|
95
95
|
|
@@ -106,7 +106,7 @@ module Lithic
|
|
106
106
|
# Some parameter documentations has been truncated, see
|
107
107
|
# {Lithic::Models::AuthRules::V2CreateResponse::CurrentVersion} for more details.
|
108
108
|
#
|
109
|
-
# @param parameters [Lithic::Models::AuthRules::ConditionalBlockParameters, Lithic::Models::AuthRules::VelocityLimitParams] Parameters for the Auth Rule
|
109
|
+
# @param parameters [Lithic::Models::AuthRules::ConditionalBlockParameters, Lithic::Models::AuthRules::VelocityLimitParams, Lithic::Models::AuthRules::V2CreateResponse::CurrentVersion::Parameters::MerchantLockParameters] Parameters for the Auth Rule
|
110
110
|
#
|
111
111
|
# @param version [Integer] The version of the rule, this is incremented whenever the rule's parameters chan
|
112
112
|
# ...
|
@@ -121,8 +121,71 @@ module Lithic
|
|
121
121
|
|
122
122
|
variant -> { Lithic::Models::AuthRules::VelocityLimitParams }
|
123
123
|
|
124
|
+
variant -> { Lithic::Models::AuthRules::V2CreateResponse::CurrentVersion::Parameters::MerchantLockParameters }
|
125
|
+
|
126
|
+
class MerchantLockParameters < Lithic::Internal::Type::BaseModel
|
127
|
+
# @!attribute merchants
|
128
|
+
# A list of merchant locks defining specific merchants or groups of merchants
|
129
|
+
# (based on descriptors or IDs) that the lock applies to.
|
130
|
+
#
|
131
|
+
# @return [Array<Lithic::Models::AuthRules::V2CreateResponse::CurrentVersion::Parameters::MerchantLockParameters::Merchant>]
|
132
|
+
required :merchants,
|
133
|
+
-> { Lithic::Internal::Type::ArrayOf[Lithic::Models::AuthRules::V2CreateResponse::CurrentVersion::Parameters::MerchantLockParameters::Merchant] }
|
134
|
+
|
135
|
+
# @!method initialize(merchants:)
|
136
|
+
# Some parameter documentations has been truncated, see
|
137
|
+
# {Lithic::Models::AuthRules::V2CreateResponse::CurrentVersion::Parameters::MerchantLockParameters}
|
138
|
+
# for more details.
|
139
|
+
#
|
140
|
+
# @param merchants [Array<Lithic::Models::AuthRules::V2CreateResponse::CurrentVersion::Parameters::MerchantLockParameters::Merchant>] A list of merchant locks defining specific merchants or groups of merchants (bas
|
141
|
+
# ...
|
142
|
+
|
143
|
+
class Merchant < Lithic::Internal::Type::BaseModel
|
144
|
+
# @!attribute comment
|
145
|
+
# A comment or explanation about the merchant, used internally for rule management
|
146
|
+
# purposes.
|
147
|
+
#
|
148
|
+
# @return [String, nil]
|
149
|
+
optional :comment, String
|
150
|
+
|
151
|
+
# @!attribute descriptor
|
152
|
+
# Short description of the merchant, often used to provide more human-readable
|
153
|
+
# context about the transaction merchant. This is typically the name or label
|
154
|
+
# shown on transaction summaries.
|
155
|
+
#
|
156
|
+
# @return [String, nil]
|
157
|
+
optional :descriptor, String
|
158
|
+
|
159
|
+
# @!attribute merchant_id
|
160
|
+
# Unique alphanumeric identifier for the payment card acceptor (merchant). This
|
161
|
+
# attribute specifies the merchant entity that will be locked or referenced for
|
162
|
+
# authorization rules.
|
163
|
+
#
|
164
|
+
# @return [String, nil]
|
165
|
+
optional :merchant_id, String
|
166
|
+
|
167
|
+
# @!method initialize(comment: nil, descriptor: nil, merchant_id: nil)
|
168
|
+
# Some parameter documentations has been truncated, see
|
169
|
+
# {Lithic::Models::AuthRules::V2CreateResponse::CurrentVersion::Parameters::MerchantLockParameters::Merchant}
|
170
|
+
# for more details.
|
171
|
+
#
|
172
|
+
# Represents a specific merchant lock based on their ID or descriptor. Each
|
173
|
+
# merchant object allows transaction rules to work at a granular level and
|
174
|
+
# requires at least one of merchant_id or descriptor.
|
175
|
+
#
|
176
|
+
# @param comment [String] A comment or explanation about the merchant, used internally for rule management
|
177
|
+
# ...
|
178
|
+
#
|
179
|
+
# @param descriptor [String] Short description of the merchant, often used to provide more human-readable con
|
180
|
+
# ...
|
181
|
+
#
|
182
|
+
# @param merchant_id [String] Unique alphanumeric identifier for the payment card acceptor (merchant). This at
|
183
|
+
# ...
|
184
|
+
end
|
185
|
+
end
|
186
|
+
|
124
187
|
# @!method self.variants
|
125
|
-
# @return [Array(Lithic::Models::AuthRules::ConditionalBlockParameters, Lithic::Models::AuthRules::VelocityLimitParams)]
|
188
|
+
# @return [Array(Lithic::Models::AuthRules::ConditionalBlockParameters, Lithic::Models::AuthRules::VelocityLimitParams, Lithic::Models::AuthRules::V2CreateResponse::CurrentVersion::Parameters::MerchantLockParameters)]
|
126
189
|
end
|
127
190
|
end
|
128
191
|
|
@@ -131,7 +194,7 @@ module Lithic
|
|
131
194
|
# @!attribute parameters
|
132
195
|
# Parameters for the Auth Rule
|
133
196
|
#
|
134
|
-
# @return [Lithic::Models::AuthRules::ConditionalBlockParameters, Lithic::Models::AuthRules::VelocityLimitParams]
|
197
|
+
# @return [Lithic::Models::AuthRules::ConditionalBlockParameters, Lithic::Models::AuthRules::VelocityLimitParams, Lithic::Models::AuthRules::V2CreateResponse::DraftVersion::Parameters::MerchantLockParameters]
|
135
198
|
required :parameters, union: -> { Lithic::Models::AuthRules::V2CreateResponse::DraftVersion::Parameters }
|
136
199
|
|
137
200
|
response_only do
|
@@ -147,7 +210,7 @@ module Lithic
|
|
147
210
|
# Some parameter documentations has been truncated, see
|
148
211
|
# {Lithic::Models::AuthRules::V2CreateResponse::DraftVersion} for more details.
|
149
212
|
#
|
150
|
-
# @param parameters [Lithic::Models::AuthRules::ConditionalBlockParameters, Lithic::Models::AuthRules::VelocityLimitParams] Parameters for the Auth Rule
|
213
|
+
# @param parameters [Lithic::Models::AuthRules::ConditionalBlockParameters, Lithic::Models::AuthRules::VelocityLimitParams, Lithic::Models::AuthRules::V2CreateResponse::DraftVersion::Parameters::MerchantLockParameters] Parameters for the Auth Rule
|
151
214
|
#
|
152
215
|
# @param version [Integer] The version of the rule, this is incremented whenever the rule's parameters chan
|
153
216
|
# ...
|
@@ -162,8 +225,71 @@ module Lithic
|
|
162
225
|
|
163
226
|
variant -> { Lithic::Models::AuthRules::VelocityLimitParams }
|
164
227
|
|
228
|
+
variant -> { Lithic::Models::AuthRules::V2CreateResponse::DraftVersion::Parameters::MerchantLockParameters }
|
229
|
+
|
230
|
+
class MerchantLockParameters < Lithic::Internal::Type::BaseModel
|
231
|
+
# @!attribute merchants
|
232
|
+
# A list of merchant locks defining specific merchants or groups of merchants
|
233
|
+
# (based on descriptors or IDs) that the lock applies to.
|
234
|
+
#
|
235
|
+
# @return [Array<Lithic::Models::AuthRules::V2CreateResponse::DraftVersion::Parameters::MerchantLockParameters::Merchant>]
|
236
|
+
required :merchants,
|
237
|
+
-> { Lithic::Internal::Type::ArrayOf[Lithic::Models::AuthRules::V2CreateResponse::DraftVersion::Parameters::MerchantLockParameters::Merchant] }
|
238
|
+
|
239
|
+
# @!method initialize(merchants:)
|
240
|
+
# Some parameter documentations has been truncated, see
|
241
|
+
# {Lithic::Models::AuthRules::V2CreateResponse::DraftVersion::Parameters::MerchantLockParameters}
|
242
|
+
# for more details.
|
243
|
+
#
|
244
|
+
# @param merchants [Array<Lithic::Models::AuthRules::V2CreateResponse::DraftVersion::Parameters::MerchantLockParameters::Merchant>] A list of merchant locks defining specific merchants or groups of merchants (bas
|
245
|
+
# ...
|
246
|
+
|
247
|
+
class Merchant < Lithic::Internal::Type::BaseModel
|
248
|
+
# @!attribute comment
|
249
|
+
# A comment or explanation about the merchant, used internally for rule management
|
250
|
+
# purposes.
|
251
|
+
#
|
252
|
+
# @return [String, nil]
|
253
|
+
optional :comment, String
|
254
|
+
|
255
|
+
# @!attribute descriptor
|
256
|
+
# Short description of the merchant, often used to provide more human-readable
|
257
|
+
# context about the transaction merchant. This is typically the name or label
|
258
|
+
# shown on transaction summaries.
|
259
|
+
#
|
260
|
+
# @return [String, nil]
|
261
|
+
optional :descriptor, String
|
262
|
+
|
263
|
+
# @!attribute merchant_id
|
264
|
+
# Unique alphanumeric identifier for the payment card acceptor (merchant). This
|
265
|
+
# attribute specifies the merchant entity that will be locked or referenced for
|
266
|
+
# authorization rules.
|
267
|
+
#
|
268
|
+
# @return [String, nil]
|
269
|
+
optional :merchant_id, String
|
270
|
+
|
271
|
+
# @!method initialize(comment: nil, descriptor: nil, merchant_id: nil)
|
272
|
+
# Some parameter documentations has been truncated, see
|
273
|
+
# {Lithic::Models::AuthRules::V2CreateResponse::DraftVersion::Parameters::MerchantLockParameters::Merchant}
|
274
|
+
# for more details.
|
275
|
+
#
|
276
|
+
# Represents a specific merchant lock based on their ID or descriptor. Each
|
277
|
+
# merchant object allows transaction rules to work at a granular level and
|
278
|
+
# requires at least one of merchant_id or descriptor.
|
279
|
+
#
|
280
|
+
# @param comment [String] A comment or explanation about the merchant, used internally for rule management
|
281
|
+
# ...
|
282
|
+
#
|
283
|
+
# @param descriptor [String] Short description of the merchant, often used to provide more human-readable con
|
284
|
+
# ...
|
285
|
+
#
|
286
|
+
# @param merchant_id [String] Unique alphanumeric identifier for the payment card acceptor (merchant). This at
|
287
|
+
# ...
|
288
|
+
end
|
289
|
+
end
|
290
|
+
|
165
291
|
# @!method self.variants
|
166
|
-
# @return [Array(Lithic::Models::AuthRules::ConditionalBlockParameters, Lithic::Models::AuthRules::VelocityLimitParams)]
|
292
|
+
# @return [Array(Lithic::Models::AuthRules::ConditionalBlockParameters, Lithic::Models::AuthRules::VelocityLimitParams, Lithic::Models::AuthRules::V2CreateResponse::DraftVersion::Parameters::MerchantLockParameters)]
|
167
293
|
end
|
168
294
|
end
|
169
295
|
|
@@ -188,6 +314,7 @@ module Lithic
|
|
188
314
|
|
189
315
|
CONDITIONAL_BLOCK = :CONDITIONAL_BLOCK
|
190
316
|
VELOCITY_LIMIT = :VELOCITY_LIMIT
|
317
|
+
MERCHANT_LOCK = :MERCHANT_LOCK
|
191
318
|
|
192
319
|
# @!method self.values
|
193
320
|
# @return [Array<Symbol>]
|