stripe 18.1.0.pre.alpha.2 → 18.1.0.pre.beta.1
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/lib/stripe/event_types.rb +0 -284
- data/lib/stripe/object_types.rb +0 -33
- data/lib/stripe/params/account_create_params.rb +0 -32
- data/lib/stripe/params/account_person_create_params.rb +0 -32
- data/lib/stripe/params/account_person_update_params.rb +0 -32
- data/lib/stripe/params/account_update_params.rb +0 -32
- data/lib/stripe/params/billing/alert_create_params.rb +1 -121
- data/lib/stripe/params/billing/alert_list_params.rb +0 -4
- data/lib/stripe/params/billing/analytics/meter_usage_retrieve_params.rb +1 -5
- data/lib/stripe/params/billing/credit_balance_summary_retrieve_params.rb +1 -13
- data/lib/stripe/params/billing/credit_grant_create_params.rb +2 -29
- data/lib/stripe/params/billing/meter_create_params.rb +0 -4
- data/lib/stripe/params/billing/meter_event_summary_list_params.rb +0 -8
- data/lib/stripe/params/checkout/session_create_params.rb +1 -80
- data/lib/stripe/params/identity/verification_report_list_params.rb +0 -4
- data/lib/stripe/params/invoice_create_preview_params.rb +7 -126
- data/lib/stripe/params/invoice_list_params.rb +0 -4
- data/lib/stripe/params/payment_intent_confirm_params.rb +0 -34
- data/lib/stripe/params/payment_intent_create_params.rb +0 -34
- data/lib/stripe/params/payment_intent_update_params.rb +0 -34
- data/lib/stripe/params/quote_create_params.rb +3 -223
- data/lib/stripe/params/quote_update_params.rb +3 -223
- data/lib/stripe/params/setup_intent_confirm_params.rb +0 -29
- data/lib/stripe/params/setup_intent_create_params.rb +0 -29
- data/lib/stripe/params/setup_intent_update_params.rb +1 -30
- data/lib/stripe/params/subscription_create_params.rb +1 -17
- data/lib/stripe/params/subscription_item_create_params.rb +1 -17
- data/lib/stripe/params/subscription_item_update_params.rb +1 -17
- data/lib/stripe/params/subscription_schedule_amend_params.rb +3 -42
- data/lib/stripe/params/subscription_schedule_create_params.rb +4 -72
- data/lib/stripe/params/subscription_schedule_update_params.rb +4 -72
- data/lib/stripe/params/subscription_update_params.rb +1 -17
- data/lib/stripe/params/token_create_params.rb +0 -64
- data/lib/stripe/params/transfer_create_params.rb +0 -4
- data/lib/stripe/params/v2/billing/cadence_cancel_params.rb +1 -8
- data/lib/stripe/params/v2/billing/cadence_create_params.rb +0 -4
- data/lib/stripe/params/v2/billing/cadence_update_params.rb +1 -4
- data/lib/stripe/params/v2/core/account_create_params.rb +8 -725
- data/lib/stripe/params/v2/core/account_token_create_params.rb +1 -259
- data/lib/stripe/params/v2/core/account_update_params.rb +8 -711
- data/lib/stripe/params/v2/money_management/financial_address_create_params.rb +1 -12
- data/lib/stripe/params/v2/money_management/inbound_transfer_create_params.rb +0 -12
- data/lib/stripe/params/v2/money_management/outbound_payment_create_params.rb +0 -16
- data/lib/stripe/params/v2/money_management/outbound_payment_quote_create_params.rb +0 -12
- data/lib/stripe/params/v2/money_management/outbound_setup_intent_create_params.rb +1 -19
- data/lib/stripe/params/v2/money_management/outbound_transfer_create_params.rb +0 -16
- data/lib/stripe/params/v2/test_helpers/financial_address_credit_params.rb +0 -11
- data/lib/stripe/params.rb +0 -100
- data/lib/stripe/resources/application_fee.rb +0 -2
- data/lib/stripe/resources/balance.rb +0 -83
- data/lib/stripe/resources/billing/alert.rb +1 -105
- data/lib/stripe/resources/billing/alert_triggered.rb +0 -6
- data/lib/stripe/resources/billing/analytics/meter_usage_row.rb +0 -2
- data/lib/stripe/resources/billing/credit_balance_summary.rb +2 -84
- data/lib/stripe/resources/billing/credit_balance_transaction.rb +2 -84
- data/lib/stripe/resources/billing/credit_grant.rb +2 -58
- data/lib/stripe/resources/billing/meter.rb +0 -2
- data/lib/stripe/resources/billing/meter_event_summary.rb +0 -2
- data/lib/stripe/resources/capital/financing_offer.rb +0 -41
- data/lib/stripe/resources/card.rb +1 -18
- data/lib/stripe/resources/charge.rb +0 -18
- data/lib/stripe/resources/checkout/session.rb +0 -92
- data/lib/stripe/resources/confirmation_token.rb +0 -18
- data/lib/stripe/resources/discount.rb +0 -2
- data/lib/stripe/resources/identity/verification_report.rb +0 -4
- data/lib/stripe/resources/invoice.rb +0 -16
- data/lib/stripe/resources/invoice_item.rb +2 -106
- data/lib/stripe/resources/invoice_line_item.rb +1 -107
- data/lib/stripe/resources/payment_intent.rb +0 -44
- data/lib/stripe/resources/payment_method.rb +0 -38
- data/lib/stripe/resources/person.rb +0 -36
- data/lib/stripe/resources/quote.rb +1 -238
- data/lib/stripe/resources/quote_line.rb +0 -6
- data/lib/stripe/resources/quote_preview_invoice.rb +0 -16
- data/lib/stripe/resources/quote_preview_subscription_schedule.rb +0 -94
- data/lib/stripe/resources/setup_intent.rb +0 -40
- data/lib/stripe/resources/subscription.rb +1 -20
- data/lib/stripe/resources/subscription_item.rb +1 -24
- data/lib/stripe/resources/subscription_schedule.rb +0 -94
- data/lib/stripe/resources/transfer.rb +0 -4
- data/lib/stripe/resources/v2/billing/cadence.rb +0 -46
- data/lib/stripe/resources/v2/core/account.rb +6 -1095
- data/lib/stripe/resources/v2/financial_address_generated_microdeposits.rb +1 -15
- data/lib/stripe/resources/v2/money_management/adjustment.rb +1 -16
- data/lib/stripe/resources/v2/money_management/financial_account.rb +1 -49
- data/lib/stripe/resources/v2/money_management/inbound_transfer.rb +3 -52
- data/lib/stripe/resources/v2/money_management/outbound_payment.rb +2 -48
- data/lib/stripe/resources/v2/money_management/outbound_payment_quote.rb +3 -61
- data/lib/stripe/resources/v2/money_management/outbound_transfer.rb +2 -48
- data/lib/stripe/resources/v2/money_management/payout_method.rb +1 -29
- data/lib/stripe/resources/v2/money_management/received_credit.rb +0 -34
- data/lib/stripe/resources/v2/money_management/received_debit.rb +0 -36
- data/lib/stripe/resources/v2/money_management/transaction.rb +1 -65
- data/lib/stripe/resources/v2/money_management/transaction_entry.rb +1 -49
- data/lib/stripe/resources.rb +0 -107
- data/lib/stripe/services/identity_service.rb +1 -2
- data/lib/stripe/services/issuing_service.rb +1 -2
- data/lib/stripe/services/payment_method_service.rb +0 -11
- data/lib/stripe/services/radar_service.rb +1 -2
- data/lib/stripe/services/test_helpers_service.rb +1 -2
- data/lib/stripe/services/v1_services.rb +1 -3
- data/lib/stripe/services/v2/billing_service.rb +1 -14
- data/lib/stripe/services/v2/core_service.rb +1 -2
- data/lib/stripe/services/v2/money_management_service.rb +1 -5
- data/lib/stripe/services/v2/test_helper_service.rb +1 -2
- data/lib/stripe/services/v2_services.rb +1 -3
- data/lib/stripe/services.rb +0 -35
- data/lib/stripe/version.rb +1 -1
- data/rbi/stripe.rbi +431 -17910
- metadata +2 -244
- data/lib/stripe/events/v2_billing_cadence_billed_event.rb +0 -61
- data/lib/stripe/events/v2_billing_cadence_canceled_event.rb +0 -44
- data/lib/stripe/events/v2_billing_cadence_created_event.rb +0 -61
- data/lib/stripe/events/v2_billing_license_fee_created_event.rb +0 -44
- data/lib/stripe/events/v2_billing_license_fee_updated_event.rb +0 -44
- data/lib/stripe/events/v2_billing_license_fee_version_created_event.rb +0 -61
- data/lib/stripe/events/v2_billing_licensed_item_created_event.rb +0 -44
- data/lib/stripe/events/v2_billing_licensed_item_updated_event.rb +0 -44
- data/lib/stripe/events/v2_billing_metered_item_created_event.rb +0 -44
- data/lib/stripe/events/v2_billing_metered_item_updated_event.rb +0 -44
- data/lib/stripe/events/v2_billing_pricing_plan_component_created_event.rb +0 -61
- data/lib/stripe/events/v2_billing_pricing_plan_component_updated_event.rb +0 -61
- data/lib/stripe/events/v2_billing_pricing_plan_created_event.rb +0 -44
- data/lib/stripe/events/v2_billing_pricing_plan_subscription_collection_awaiting_customer_action_event.rb +0 -44
- data/lib/stripe/events/v2_billing_pricing_plan_subscription_collection_current_event.rb +0 -44
- data/lib/stripe/events/v2_billing_pricing_plan_subscription_collection_past_due_event.rb +0 -44
- data/lib/stripe/events/v2_billing_pricing_plan_subscription_collection_paused_event.rb +0 -44
- data/lib/stripe/events/v2_billing_pricing_plan_subscription_collection_unpaid_event.rb +0 -44
- data/lib/stripe/events/v2_billing_pricing_plan_subscription_servicing_activated_event.rb +0 -44
- data/lib/stripe/events/v2_billing_pricing_plan_subscription_servicing_canceled_event.rb +0 -44
- data/lib/stripe/events/v2_billing_pricing_plan_subscription_servicing_paused_event.rb +0 -44
- data/lib/stripe/events/v2_billing_pricing_plan_updated_event.rb +0 -44
- data/lib/stripe/events/v2_billing_pricing_plan_version_created_event.rb +0 -61
- data/lib/stripe/events/v2_billing_rate_card_created_event.rb +0 -61
- data/lib/stripe/events/v2_billing_rate_card_rate_created_event.rb +0 -67
- data/lib/stripe/events/v2_billing_rate_card_subscription_activated_event.rb +0 -44
- data/lib/stripe/events/v2_billing_rate_card_subscription_canceled_event.rb +0 -44
- data/lib/stripe/events/v2_billing_rate_card_subscription_collection_awaiting_customer_action_event.rb +0 -44
- data/lib/stripe/events/v2_billing_rate_card_subscription_collection_current_event.rb +0 -44
- data/lib/stripe/events/v2_billing_rate_card_subscription_collection_past_due_event.rb +0 -44
- data/lib/stripe/events/v2_billing_rate_card_subscription_collection_paused_event.rb +0 -44
- data/lib/stripe/events/v2_billing_rate_card_subscription_collection_unpaid_event.rb +0 -44
- data/lib/stripe/events/v2_billing_rate_card_subscription_servicing_activated_event.rb +0 -44
- data/lib/stripe/events/v2_billing_rate_card_subscription_servicing_canceled_event.rb +0 -44
- data/lib/stripe/events/v2_billing_rate_card_subscription_servicing_paused_event.rb +0 -44
- data/lib/stripe/events/v2_billing_rate_card_updated_event.rb +0 -44
- data/lib/stripe/events/v2_billing_rate_card_version_created_event.rb +0 -61
- data/lib/stripe/events/v2_core_account_including_configuration_card_creator_capability_status_updated_event.rb +0 -63
- data/lib/stripe/events/v2_core_account_including_configuration_card_creator_updated_event.rb +0 -44
- data/lib/stripe/events/v2_core_claimable_sandbox_claimed_event.rb +0 -44
- data/lib/stripe/events/v2_core_claimable_sandbox_created_event.rb +0 -44
- data/lib/stripe/events/v2_core_claimable_sandbox_expired_event.rb +0 -44
- data/lib/stripe/events/v2_core_claimable_sandbox_expiring_event.rb +0 -44
- data/lib/stripe/events/v2_core_claimable_sandbox_sandbox_details_owner_account_updated_event.rb +0 -44
- data/lib/stripe/events/v2_core_health_api_error_firing_event.rb +0 -68
- data/lib/stripe/events/v2_core_health_api_error_resolved_event.rb +0 -68
- data/lib/stripe/events/v2_core_health_api_latency_firing_event.rb +0 -66
- data/lib/stripe/events/v2_core_health_api_latency_resolved_event.rb +0 -66
- data/lib/stripe/events/v2_core_health_authorization_rate_drop_firing_event.rb +0 -80
- data/lib/stripe/events/v2_core_health_authorization_rate_drop_resolved_event.rb +0 -80
- data/lib/stripe/events/v2_core_health_fraud_rate_increased_event.rb +0 -78
- data/lib/stripe/events/v2_core_health_issuing_authorization_request_errors_firing_event.rb +0 -91
- data/lib/stripe/events/v2_core_health_issuing_authorization_request_errors_resolved_event.rb +0 -93
- data/lib/stripe/events/v2_core_health_issuing_authorization_request_timeout_firing_event.rb +0 -93
- data/lib/stripe/events/v2_core_health_issuing_authorization_request_timeout_resolved_event.rb +0 -93
- data/lib/stripe/events/v2_core_health_payment_method_error_firing_event.rb +0 -64
- data/lib/stripe/events/v2_core_health_payment_method_error_resolved_event.rb +0 -64
- data/lib/stripe/events/v2_core_health_traffic_volume_drop_firing_event.rb +0 -62
- data/lib/stripe/events/v2_core_health_traffic_volume_drop_resolved_event.rb +0 -62
- data/lib/stripe/events/v2_core_health_webhook_latency_firing_event.rb +0 -58
- data/lib/stripe/events/v2_core_health_webhook_latency_resolved_event.rb +0 -58
- data/lib/stripe/events/v2_money_management_recipient_verification_created_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_recipient_verification_updated_event.rb +0 -44
- data/lib/stripe/events/v2_payments_off_session_payment_attempt_failed_event.rb +0 -44
- data/lib/stripe/events/v2_payments_off_session_payment_attempt_started_event.rb +0 -46
- data/lib/stripe/events/v2_payments_off_session_payment_authorization_attempt_failed_event.rb +0 -46
- data/lib/stripe/events/v2_payments_off_session_payment_authorization_attempt_started_event.rb +0 -48
- data/lib/stripe/events/v2_payments_off_session_payment_canceled_event.rb +0 -44
- data/lib/stripe/events/v2_payments_off_session_payment_created_event.rb +0 -44
- data/lib/stripe/events/v2_payments_off_session_payment_failed_event.rb +0 -44
- data/lib/stripe/events/v2_payments_off_session_payment_requires_capture_event.rb +0 -44
- data/lib/stripe/events/v2_payments_off_session_payment_succeeded_event.rb +0 -44
- data/lib/stripe/events/v2_reporting_report_run_created_event.rb +0 -44
- data/lib/stripe/events/v2_reporting_report_run_failed_event.rb +0 -44
- data/lib/stripe/events/v2_reporting_report_run_succeeded_event.rb +0 -44
- data/lib/stripe/events/v2_reporting_report_run_updated_event.rb +0 -44
- data/lib/stripe/params/balance_transfer_create_params.rb +0 -66
- data/lib/stripe/params/capital/financing_offer_create_params.rb +0 -37
- data/lib/stripe/params/capital/financing_offer_refill_params.rb +0 -37
- data/lib/stripe/params/delegated_checkout/requested_session_confirm_params.rb +0 -55
- data/lib/stripe/params/delegated_checkout/requested_session_create_params.rb +0 -205
- data/lib/stripe/params/delegated_checkout/requested_session_expire_params.rb +0 -15
- data/lib/stripe/params/delegated_checkout/requested_session_retrieve_params.rb +0 -15
- data/lib/stripe/params/delegated_checkout/requested_session_update_params.rb +0 -209
- data/lib/stripe/params/identity/blocklist_entry_create_params.rb +0 -29
- data/lib/stripe/params/identity/blocklist_entry_disable_params.rb +0 -15
- data/lib/stripe/params/identity/blocklist_entry_list_params.rb +0 -62
- data/lib/stripe/params/identity/blocklist_entry_retrieve_params.rb +0 -15
- data/lib/stripe/params/issuing/program_create_params.rb +0 -21
- data/lib/stripe/params/issuing/program_list_params.rb +0 -24
- data/lib/stripe/params/issuing/program_retrieve_params.rb +0 -15
- data/lib/stripe/params/issuing/program_update_params.rb +0 -21
- data/lib/stripe/params/payment_method_check_balance_params.rb +0 -13
- data/lib/stripe/params/radar/account_evaluation_create_params.rb +0 -81
- data/lib/stripe/params/radar/account_evaluation_retrieve_params.rb +0 -15
- data/lib/stripe/params/radar/account_evaluation_update_params.rb +0 -18
- data/lib/stripe/params/test_helpers/capital/financing_offer_create_params.rb +0 -39
- data/lib/stripe/params/test_helpers/capital/financing_offer_refill_params.rb +0 -39
- data/lib/stripe/params/v2/billing/custom_pricing_unit_create_params.rb +0 -26
- data/lib/stripe/params/v2/billing/custom_pricing_unit_list_params.rb +0 -24
- data/lib/stripe/params/v2/billing/custom_pricing_unit_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/billing/custom_pricing_unit_update_params.rb +0 -26
- data/lib/stripe/params/v2/billing/intent_cancel_params.rb +0 -10
- data/lib/stripe/params/v2/billing/intent_commit_params.rb +0 -17
- data/lib/stripe/params/v2/billing/intent_create_params.rb +0 -355
- data/lib/stripe/params/v2/billing/intent_list_params.rb +0 -17
- data/lib/stripe/params/v2/billing/intent_release_reservation_params.rb +0 -10
- data/lib/stripe/params/v2/billing/intent_reserve_params.rb +0 -10
- data/lib/stripe/params/v2/billing/intent_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/billing/intents/action_list_params.rb +0 -19
- data/lib/stripe/params/v2/billing/intents/action_retrieve_params.rb +0 -12
- data/lib/stripe/params/v2/billing/license_fee_create_params.rb +0 -103
- data/lib/stripe/params/v2/billing/license_fee_list_params.rb +0 -24
- data/lib/stripe/params/v2/billing/license_fee_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/billing/license_fee_subscription_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/billing/license_fee_update_params.rb +0 -84
- data/lib/stripe/params/v2/billing/license_fees/version_list_params.rb +0 -19
- data/lib/stripe/params/v2/billing/license_fees/version_retrieve_params.rb +0 -12
- data/lib/stripe/params/v2/billing/licensed_item_create_params.rb +0 -48
- data/lib/stripe/params/v2/billing/licensed_item_list_params.rb +0 -21
- data/lib/stripe/params/v2/billing/licensed_item_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/billing/licensed_item_update_params.rb +0 -48
- data/lib/stripe/params/v2/billing/metered_item_create_params.rb +0 -73
- data/lib/stripe/params/v2/billing/metered_item_list_params.rb +0 -21
- data/lib/stripe/params/v2/billing/metered_item_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/billing/metered_item_update_params.rb +0 -50
- data/lib/stripe/params/v2/billing/pricing_plan_create_params.rb +0 -39
- data/lib/stripe/params/v2/billing/pricing_plan_list_params.rb +0 -24
- data/lib/stripe/params/v2/billing/pricing_plan_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/billing/pricing_plan_subscription_list_params.rb +0 -50
- data/lib/stripe/params/v2/billing/pricing_plan_subscription_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/billing/pricing_plan_subscription_update_params.rb +0 -20
- data/lib/stripe/params/v2/billing/pricing_plan_subscriptions/component_retrieve_params.rb +0 -12
- data/lib/stripe/params/v2/billing/pricing_plan_update_params.rb +0 -39
- data/lib/stripe/params/v2/billing/pricing_plans/component_create_params.rb +0 -73
- data/lib/stripe/params/v2/billing/pricing_plans/component_delete_params.rb +0 -12
- data/lib/stripe/params/v2/billing/pricing_plans/component_list_params.rb +0 -27
- data/lib/stripe/params/v2/billing/pricing_plans/component_retrieve_params.rb +0 -12
- data/lib/stripe/params/v2/billing/pricing_plans/component_update_params.rb +0 -22
- data/lib/stripe/params/v2/billing/pricing_plans/version_list_params.rb +0 -19
- data/lib/stripe/params/v2/billing/pricing_plans/version_retrieve_params.rb +0 -12
- data/lib/stripe/params/v2/billing/rate_card_create_params.rb +0 -49
- data/lib/stripe/params/v2/billing/rate_card_list_params.rb +0 -24
- data/lib/stripe/params/v2/billing/rate_card_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/billing/rate_card_subscription_cancel_params.rb +0 -10
- data/lib/stripe/params/v2/billing/rate_card_subscription_create_params.rb +0 -26
- data/lib/stripe/params/v2/billing/rate_card_subscription_list_params.rb +0 -51
- data/lib/stripe/params/v2/billing/rate_card_subscription_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/billing/rate_card_subscription_update_params.rb +0 -17
- data/lib/stripe/params/v2/billing/rate_card_update_params.rb +0 -38
- data/lib/stripe/params/v2/billing/rate_cards/rate_create_params.rb +0 -91
- data/lib/stripe/params/v2/billing/rate_cards/rate_delete_params.rb +0 -12
- data/lib/stripe/params/v2/billing/rate_cards/rate_list_params.rb +0 -25
- data/lib/stripe/params/v2/billing/rate_cards/rate_retrieve_params.rb +0 -12
- data/lib/stripe/params/v2/billing/rate_cards/version_list_params.rb +0 -19
- data/lib/stripe/params/v2/billing/rate_cards/version_retrieve_params.rb +0 -12
- data/lib/stripe/params/v2/billing/service_action_create_params.rb +0 -278
- data/lib/stripe/params/v2/billing/service_action_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/billing/service_action_update_params.rb +0 -40
- data/lib/stripe/params/v2/core/claimable_sandbox_create_params.rb +0 -36
- data/lib/stripe/params/v2/core/claimable_sandbox_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/money_management/currency_conversion_create_params.rb +0 -68
- data/lib/stripe/params/v2/money_management/currency_conversion_list_params.rb +0 -20
- data/lib/stripe/params/v2/money_management/currency_conversion_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/money_management/recipient_verification_acknowledge_params.rb +0 -10
- data/lib/stripe/params/v2/money_management/recipient_verification_create_params.rb +0 -20
- data/lib/stripe/params/v2/money_management/recipient_verification_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/payments/off_session_payment_cancel_params.rb +0 -10
- data/lib/stripe/params/v2/payments/off_session_payment_capture_params.rb +0 -57
- data/lib/stripe/params/v2/payments/off_session_payment_create_params.rb +0 -161
- data/lib/stripe/params/v2/payments/off_session_payment_list_params.rb +0 -17
- data/lib/stripe/params/v2/payments/off_session_payment_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/reporting/report_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/reporting/report_run_create_params.rb +0 -33
- data/lib/stripe/params/v2/reporting/report_run_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/test_helpers/money_management_recipient_verifications_params.rb +0 -24
- data/lib/stripe/resources/balance_transfer.rb +0 -139
- data/lib/stripe/resources/delegated_checkout/requested_session.rb +0 -434
- data/lib/stripe/resources/identity/blocklist_entry.rb +0 -116
- data/lib/stripe/resources/issuing/program.rb +0 -69
- data/lib/stripe/resources/payment_method_balance.rb +0 -68
- data/lib/stripe/resources/radar/account_evaluation.rb +0 -116
- data/lib/stripe/resources/transit_balance.rb +0 -45
- data/lib/stripe/resources/v2/billing/custom_pricing_unit.rb +0 -43
- data/lib/stripe/resources/v2/billing/intent.rb +0 -86
- data/lib/stripe/resources/v2/billing/intent_action.rb +0 -395
- data/lib/stripe/resources/v2/billing/license_fee.rb +0 -104
- data/lib/stripe/resources/v2/billing/license_fee_subscription.rb +0 -44
- data/lib/stripe/resources/v2/billing/license_fee_version.rb +0 -80
- data/lib/stripe/resources/v2/billing/licensed_item.rb +0 -60
- data/lib/stripe/resources/v2/billing/metered_item.rb +0 -85
- data/lib/stripe/resources/v2/billing/pricing_plan.rb +0 -51
- data/lib/stripe/resources/v2/billing/pricing_plan_component.rb +0 -94
- data/lib/stripe/resources/v2/billing/pricing_plan_subscription.rb +0 -94
- data/lib/stripe/resources/v2/billing/pricing_plan_subscription_components.rb +0 -49
- data/lib/stripe/resources/v2/billing/pricing_plan_version.rb +0 -38
- data/lib/stripe/resources/v2/billing/rate_card.rb +0 -61
- data/lib/stripe/resources/v2/billing/rate_card_rate.rb +0 -110
- data/lib/stripe/resources/v2/billing/rate_card_subscription.rb +0 -94
- data/lib/stripe/resources/v2/billing/rate_card_version.rb +0 -34
- data/lib/stripe/resources/v2/billing/service_action.rb +0 -274
- data/lib/stripe/resources/v2/core/claimable_sandbox.rb +0 -105
- data/lib/stripe/resources/v2/money_management/currency_conversion.rb +0 -94
- data/lib/stripe/resources/v2/money_management/recipient_verification.rb +0 -83
- data/lib/stripe/resources/v2/payments/off_session_payment.rb +0 -186
- data/lib/stripe/resources/v2/reporting/report.rb +0 -116
- data/lib/stripe/resources/v2/reporting/report_run.rb +0 -128
- data/lib/stripe/services/balance_transfer_service.rb +0 -17
- data/lib/stripe/services/delegated_checkout/requested_session_service.rb +0 -63
- data/lib/stripe/services/delegated_checkout_service.rb +0 -13
- data/lib/stripe/services/identity/blocklist_entry_service.rb +0 -71
- data/lib/stripe/services/issuing/program_service.rb +0 -52
- data/lib/stripe/services/radar/account_evaluation_service.rb +0 -41
- data/lib/stripe/services/test_helpers/capital/financing_offer_service.rb +0 -32
- data/lib/stripe/services/test_helpers/capital_service.rb +0 -15
- data/lib/stripe/services/v2/billing/custom_pricing_unit_service.rb +0 -54
- data/lib/stripe/services/v2/billing/intent_service.rb +0 -94
- data/lib/stripe/services/v2/billing/intents/action_service.rb +0 -34
- data/lib/stripe/services/v2/billing/license_fee_service.rb +0 -61
- data/lib/stripe/services/v2/billing/license_fee_subscription_service.rb +0 -21
- data/lib/stripe/services/v2/billing/license_fees/version_service.rb +0 -34
- data/lib/stripe/services/v2/billing/licensed_item_service.rb +0 -54
- data/lib/stripe/services/v2/billing/metered_item_service.rb +0 -54
- data/lib/stripe/services/v2/billing/pricing_plan_service.rb +0 -62
- data/lib/stripe/services/v2/billing/pricing_plan_subscription_service.rb +0 -51
- data/lib/stripe/services/v2/billing/pricing_plan_subscriptions/component_service.rb +0 -23
- data/lib/stripe/services/v2/billing/pricing_plans/component_service.rb +0 -67
- data/lib/stripe/services/v2/billing/pricing_plans/version_service.rb +0 -34
- data/lib/stripe/services/v2/billing/rate_card_service.rb +0 -62
- data/lib/stripe/services/v2/billing/rate_card_subscription_service.rb +0 -65
- data/lib/stripe/services/v2/billing/rate_cards/rate_service.rb +0 -57
- data/lib/stripe/services/v2/billing/rate_cards/version_service.rb +0 -34
- data/lib/stripe/services/v2/billing/service_action_service.rb +0 -43
- data/lib/stripe/services/v2/core/claimable_sandbox_service.rb +0 -35
- data/lib/stripe/services/v2/money_management/currency_conversion_service.rb +0 -45
- data/lib/stripe/services/v2/money_management/recipient_verification_service.rb +0 -43
- data/lib/stripe/services/v2/payment_service.rb +0 -15
- data/lib/stripe/services/v2/payments/off_session_payment_service.rb +0 -65
- data/lib/stripe/services/v2/reporting/report_run_service.rb +0 -38
- data/lib/stripe/services/v2/reporting/report_service.rb +0 -23
- data/lib/stripe/services/v2/reporting_service.rb +0 -16
- data/lib/stripe/services/v2/test_helpers/money_management_service.rb +0 -21
|
@@ -9,20 +9,6 @@ module Stripe
|
|
|
9
9
|
"financial_address_generated_microdeposits"
|
|
10
10
|
end
|
|
11
11
|
|
|
12
|
-
class Amount < ::Stripe::StripeObject
|
|
13
|
-
# A non-negative integer representing how much to charge in the [smallest currency unit](https://docs.stripe.com/currencies#minor-units).
|
|
14
|
-
attr_reader :value
|
|
15
|
-
# Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).
|
|
16
|
-
attr_reader :currency
|
|
17
|
-
|
|
18
|
-
def self.inner_class_types
|
|
19
|
-
@inner_class_types = {}
|
|
20
|
-
end
|
|
21
|
-
|
|
22
|
-
def self.field_remappings
|
|
23
|
-
@field_remappings = {}
|
|
24
|
-
end
|
|
25
|
-
end
|
|
26
12
|
# The amounts of the microdeposits that were generated.
|
|
27
13
|
attr_reader :amounts
|
|
28
14
|
# String representing the object's type. Objects of the same type share the same value of the object field.
|
|
@@ -33,7 +19,7 @@ module Stripe
|
|
|
33
19
|
attr_reader :livemode
|
|
34
20
|
|
|
35
21
|
def self.inner_class_types
|
|
36
|
-
@inner_class_types = {
|
|
22
|
+
@inner_class_types = {}
|
|
37
23
|
end
|
|
38
24
|
|
|
39
25
|
def self.field_remappings
|
|
@@ -35,21 +35,6 @@ module Stripe
|
|
|
35
35
|
@field_remappings = {}
|
|
36
36
|
end
|
|
37
37
|
end
|
|
38
|
-
|
|
39
|
-
class Amount < ::Stripe::StripeObject
|
|
40
|
-
# A non-negative integer representing how much to charge in the [smallest currency unit](https://docs.stripe.com/currencies#minor-units).
|
|
41
|
-
attr_reader :value
|
|
42
|
-
# Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).
|
|
43
|
-
attr_reader :currency
|
|
44
|
-
|
|
45
|
-
def self.inner_class_types
|
|
46
|
-
@inner_class_types = {}
|
|
47
|
-
end
|
|
48
|
-
|
|
49
|
-
def self.field_remappings
|
|
50
|
-
@field_remappings = {}
|
|
51
|
-
end
|
|
52
|
-
end
|
|
53
38
|
# If applicable, contains information about the original flow linked to this Adjustment.
|
|
54
39
|
attr_reader :adjusted_flow
|
|
55
40
|
# The amount of the Adjustment.
|
|
@@ -70,7 +55,7 @@ module Stripe
|
|
|
70
55
|
attr_reader :livemode
|
|
71
56
|
|
|
72
57
|
def self.inner_class_types
|
|
73
|
-
@inner_class_types = { adjusted_flow: AdjustedFlow
|
|
58
|
+
@inner_class_types = { adjusted_flow: AdjustedFlow }
|
|
74
59
|
end
|
|
75
60
|
|
|
76
61
|
def self.field_remappings
|
|
@@ -12,50 +12,6 @@ module Stripe
|
|
|
12
12
|
end
|
|
13
13
|
|
|
14
14
|
class Balance < ::Stripe::StripeObject
|
|
15
|
-
class Available < ::Stripe::StripeObject
|
|
16
|
-
# A non-negative integer representing how much to charge in the [smallest currency unit](https://docs.stripe.com/currencies#minor-units).
|
|
17
|
-
attr_reader :value
|
|
18
|
-
# Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).
|
|
19
|
-
attr_reader :currency
|
|
20
|
-
|
|
21
|
-
def self.inner_class_types
|
|
22
|
-
@inner_class_types = {}
|
|
23
|
-
end
|
|
24
|
-
|
|
25
|
-
def self.field_remappings
|
|
26
|
-
@field_remappings = {}
|
|
27
|
-
end
|
|
28
|
-
end
|
|
29
|
-
|
|
30
|
-
class InboundPending < ::Stripe::StripeObject
|
|
31
|
-
# A non-negative integer representing how much to charge in the [smallest currency unit](https://docs.stripe.com/currencies#minor-units).
|
|
32
|
-
attr_reader :value
|
|
33
|
-
# Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).
|
|
34
|
-
attr_reader :currency
|
|
35
|
-
|
|
36
|
-
def self.inner_class_types
|
|
37
|
-
@inner_class_types = {}
|
|
38
|
-
end
|
|
39
|
-
|
|
40
|
-
def self.field_remappings
|
|
41
|
-
@field_remappings = {}
|
|
42
|
-
end
|
|
43
|
-
end
|
|
44
|
-
|
|
45
|
-
class OutboundPending < ::Stripe::StripeObject
|
|
46
|
-
# A non-negative integer representing how much to charge in the [smallest currency unit](https://docs.stripe.com/currencies#minor-units).
|
|
47
|
-
attr_reader :value
|
|
48
|
-
# Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).
|
|
49
|
-
attr_reader :currency
|
|
50
|
-
|
|
51
|
-
def self.inner_class_types
|
|
52
|
-
@inner_class_types = {}
|
|
53
|
-
end
|
|
54
|
-
|
|
55
|
-
def self.field_remappings
|
|
56
|
-
@field_remappings = {}
|
|
57
|
-
end
|
|
58
|
-
end
|
|
59
15
|
# Balance that can be used for money movement.
|
|
60
16
|
attr_reader :available
|
|
61
17
|
# Balance of inbound funds that will later transition to the `available` balance.
|
|
@@ -64,11 +20,7 @@ module Stripe
|
|
|
64
20
|
attr_reader :outbound_pending
|
|
65
21
|
|
|
66
22
|
def self.inner_class_types
|
|
67
|
-
@inner_class_types = {
|
|
68
|
-
available: Available,
|
|
69
|
-
inbound_pending: InboundPending,
|
|
70
|
-
outbound_pending: OutboundPending,
|
|
71
|
-
}
|
|
23
|
+
@inner_class_types = {}
|
|
72
24
|
end
|
|
73
25
|
|
|
74
26
|
def self.field_remappings
|
|
@@ -12,37 +12,7 @@ module Stripe
|
|
|
12
12
|
"v2.money_management.inbound_transfer"
|
|
13
13
|
end
|
|
14
14
|
|
|
15
|
-
class Amount < ::Stripe::StripeObject
|
|
16
|
-
# A non-negative integer representing how much to charge in the [smallest currency unit](https://docs.stripe.com/currencies#minor-units).
|
|
17
|
-
attr_reader :value
|
|
18
|
-
# Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).
|
|
19
|
-
attr_reader :currency
|
|
20
|
-
|
|
21
|
-
def self.inner_class_types
|
|
22
|
-
@inner_class_types = {}
|
|
23
|
-
end
|
|
24
|
-
|
|
25
|
-
def self.field_remappings
|
|
26
|
-
@field_remappings = {}
|
|
27
|
-
end
|
|
28
|
-
end
|
|
29
|
-
|
|
30
15
|
class From < ::Stripe::StripeObject
|
|
31
|
-
class Debited < ::Stripe::StripeObject
|
|
32
|
-
# A non-negative integer representing how much to charge in the [smallest currency unit](https://docs.stripe.com/currencies#minor-units).
|
|
33
|
-
attr_reader :value
|
|
34
|
-
# Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).
|
|
35
|
-
attr_reader :currency
|
|
36
|
-
|
|
37
|
-
def self.inner_class_types
|
|
38
|
-
@inner_class_types = {}
|
|
39
|
-
end
|
|
40
|
-
|
|
41
|
-
def self.field_remappings
|
|
42
|
-
@field_remappings = {}
|
|
43
|
-
end
|
|
44
|
-
end
|
|
45
|
-
|
|
46
16
|
class PaymentMethod < ::Stripe::StripeObject
|
|
47
17
|
# The type of object this destination represents. For a us bank account, we expect us_bank_account.
|
|
48
18
|
attr_reader :type
|
|
@@ -63,7 +33,7 @@ module Stripe
|
|
|
63
33
|
attr_reader :payment_method
|
|
64
34
|
|
|
65
35
|
def self.inner_class_types
|
|
66
|
-
@inner_class_types = {
|
|
36
|
+
@inner_class_types = { payment_method: PaymentMethod }
|
|
67
37
|
end
|
|
68
38
|
|
|
69
39
|
def self.field_remappings
|
|
@@ -72,27 +42,13 @@ module Stripe
|
|
|
72
42
|
end
|
|
73
43
|
|
|
74
44
|
class To < ::Stripe::StripeObject
|
|
75
|
-
class Credited < ::Stripe::StripeObject
|
|
76
|
-
# A non-negative integer representing how much to charge in the [smallest currency unit](https://docs.stripe.com/currencies#minor-units).
|
|
77
|
-
attr_reader :value
|
|
78
|
-
# Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).
|
|
79
|
-
attr_reader :currency
|
|
80
|
-
|
|
81
|
-
def self.inner_class_types
|
|
82
|
-
@inner_class_types = {}
|
|
83
|
-
end
|
|
84
|
-
|
|
85
|
-
def self.field_remappings
|
|
86
|
-
@field_remappings = {}
|
|
87
|
-
end
|
|
88
|
-
end
|
|
89
45
|
# The amount by which the FinancialAccount balance is credited.
|
|
90
46
|
attr_reader :credited
|
|
91
47
|
# The FinancialAccount that funds will land in.
|
|
92
48
|
attr_reader :financial_account
|
|
93
49
|
|
|
94
50
|
def self.inner_class_types
|
|
95
|
-
@inner_class_types = {
|
|
51
|
+
@inner_class_types = {}
|
|
96
52
|
end
|
|
97
53
|
|
|
98
54
|
def self.field_remappings
|
|
@@ -180,12 +136,7 @@ module Stripe
|
|
|
180
136
|
attr_reader :livemode
|
|
181
137
|
|
|
182
138
|
def self.inner_class_types
|
|
183
|
-
@inner_class_types = {
|
|
184
|
-
amount: Amount,
|
|
185
|
-
from: From,
|
|
186
|
-
to: To,
|
|
187
|
-
transfer_history: TransferHistory,
|
|
188
|
-
}
|
|
139
|
+
@inner_class_types = { from: From, to: To, transfer_history: TransferHistory }
|
|
189
140
|
end
|
|
190
141
|
|
|
191
142
|
def self.field_remappings
|
|
@@ -11,21 +11,6 @@ module Stripe
|
|
|
11
11
|
"v2.money_management.outbound_payment"
|
|
12
12
|
end
|
|
13
13
|
|
|
14
|
-
class Amount < ::Stripe::StripeObject
|
|
15
|
-
# A non-negative integer representing how much to charge in the [smallest currency unit](https://docs.stripe.com/currencies#minor-units).
|
|
16
|
-
attr_reader :value
|
|
17
|
-
# Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).
|
|
18
|
-
attr_reader :currency
|
|
19
|
-
|
|
20
|
-
def self.inner_class_types
|
|
21
|
-
@inner_class_types = {}
|
|
22
|
-
end
|
|
23
|
-
|
|
24
|
-
def self.field_remappings
|
|
25
|
-
@field_remappings = {}
|
|
26
|
-
end
|
|
27
|
-
end
|
|
28
|
-
|
|
29
14
|
class DeliveryOptions < ::Stripe::StripeObject
|
|
30
15
|
# Open Enum. Method for bank account.
|
|
31
16
|
attr_reader :bank_account
|
|
@@ -40,27 +25,13 @@ module Stripe
|
|
|
40
25
|
end
|
|
41
26
|
|
|
42
27
|
class From < ::Stripe::StripeObject
|
|
43
|
-
class Debited < ::Stripe::StripeObject
|
|
44
|
-
# A non-negative integer representing how much to charge in the [smallest currency unit](https://docs.stripe.com/currencies#minor-units).
|
|
45
|
-
attr_reader :value
|
|
46
|
-
# Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).
|
|
47
|
-
attr_reader :currency
|
|
48
|
-
|
|
49
|
-
def self.inner_class_types
|
|
50
|
-
@inner_class_types = {}
|
|
51
|
-
end
|
|
52
|
-
|
|
53
|
-
def self.field_remappings
|
|
54
|
-
@field_remappings = {}
|
|
55
|
-
end
|
|
56
|
-
end
|
|
57
28
|
# The monetary amount debited from the sender, only set on responses.
|
|
58
29
|
attr_reader :debited
|
|
59
30
|
# The FinancialAccount that funds were pulled from.
|
|
60
31
|
attr_reader :financial_account
|
|
61
32
|
|
|
62
33
|
def self.inner_class_types
|
|
63
|
-
@inner_class_types = {
|
|
34
|
+
@inner_class_types = {}
|
|
64
35
|
end
|
|
65
36
|
|
|
66
37
|
def self.field_remappings
|
|
@@ -146,20 +117,6 @@ module Stripe
|
|
|
146
117
|
end
|
|
147
118
|
|
|
148
119
|
class To < ::Stripe::StripeObject
|
|
149
|
-
class Credited < ::Stripe::StripeObject
|
|
150
|
-
# A non-negative integer representing how much to charge in the [smallest currency unit](https://docs.stripe.com/currencies#minor-units).
|
|
151
|
-
attr_reader :value
|
|
152
|
-
# Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).
|
|
153
|
-
attr_reader :currency
|
|
154
|
-
|
|
155
|
-
def self.inner_class_types
|
|
156
|
-
@inner_class_types = {}
|
|
157
|
-
end
|
|
158
|
-
|
|
159
|
-
def self.field_remappings
|
|
160
|
-
@field_remappings = {}
|
|
161
|
-
end
|
|
162
|
-
end
|
|
163
120
|
# The monetary amount being credited to the destination.
|
|
164
121
|
attr_reader :credited
|
|
165
122
|
# The payout method which the OutboundPayment uses to send payout.
|
|
@@ -168,7 +125,7 @@ module Stripe
|
|
|
168
125
|
attr_reader :recipient
|
|
169
126
|
|
|
170
127
|
def self.inner_class_types
|
|
171
|
-
@inner_class_types = {
|
|
128
|
+
@inner_class_types = {}
|
|
172
129
|
end
|
|
173
130
|
|
|
174
131
|
def self.field_remappings
|
|
@@ -221,8 +178,6 @@ module Stripe
|
|
|
221
178
|
attr_reader :receipt_url
|
|
222
179
|
# Details about the OutboundPayment notification settings for recipient.
|
|
223
180
|
attr_reader :recipient_notification
|
|
224
|
-
# The recipient verification id for this OutboundPayment. Only required for countries with regulatory mandates to verify recipient names before OutboundPayment creation.
|
|
225
|
-
attr_reader :recipient_verification
|
|
226
181
|
# The description that appears on the receiving end for an OutboundPayment (for example, bank statement for external bank transfer). It will default to `STRIPE` if not set on the account settings.
|
|
227
182
|
attr_reader :statement_descriptor
|
|
228
183
|
# Closed Enum. Current status of the OutboundPayment: `processing`, `failed`, `posted`, `returned`, `canceled`.
|
|
@@ -243,7 +198,6 @@ module Stripe
|
|
|
243
198
|
|
|
244
199
|
def self.inner_class_types
|
|
245
200
|
@inner_class_types = {
|
|
246
|
-
amount: Amount,
|
|
247
201
|
delivery_options: DeliveryOptions,
|
|
248
202
|
from: From,
|
|
249
203
|
recipient_notification: RecipientNotification,
|
|
@@ -11,21 +11,6 @@ module Stripe
|
|
|
11
11
|
"v2.money_management.outbound_payment_quote"
|
|
12
12
|
end
|
|
13
13
|
|
|
14
|
-
class Amount < ::Stripe::StripeObject
|
|
15
|
-
# A non-negative integer representing how much to charge in the [smallest currency unit](https://docs.stripe.com/currencies#minor-units).
|
|
16
|
-
attr_reader :value
|
|
17
|
-
# Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).
|
|
18
|
-
attr_reader :currency
|
|
19
|
-
|
|
20
|
-
def self.inner_class_types
|
|
21
|
-
@inner_class_types = {}
|
|
22
|
-
end
|
|
23
|
-
|
|
24
|
-
def self.field_remappings
|
|
25
|
-
@field_remappings = {}
|
|
26
|
-
end
|
|
27
|
-
end
|
|
28
|
-
|
|
29
14
|
class DeliveryOptions < ::Stripe::StripeObject
|
|
30
15
|
# Open Enum. Method for bank account.
|
|
31
16
|
attr_reader :bank_account
|
|
@@ -40,27 +25,13 @@ module Stripe
|
|
|
40
25
|
end
|
|
41
26
|
|
|
42
27
|
class EstimatedFee < ::Stripe::StripeObject
|
|
43
|
-
class Amount < ::Stripe::StripeObject
|
|
44
|
-
# A non-negative integer representing how much to charge in the [smallest currency unit](https://docs.stripe.com/currencies#minor-units).
|
|
45
|
-
attr_reader :value
|
|
46
|
-
# Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).
|
|
47
|
-
attr_reader :currency
|
|
48
|
-
|
|
49
|
-
def self.inner_class_types
|
|
50
|
-
@inner_class_types = {}
|
|
51
|
-
end
|
|
52
|
-
|
|
53
|
-
def self.field_remappings
|
|
54
|
-
@field_remappings = {}
|
|
55
|
-
end
|
|
56
|
-
end
|
|
57
28
|
# The fee amount for corresponding fee type.
|
|
58
29
|
attr_reader :amount
|
|
59
30
|
# The fee type.
|
|
60
31
|
attr_reader :type
|
|
61
32
|
|
|
62
33
|
def self.inner_class_types
|
|
63
|
-
@inner_class_types = {
|
|
34
|
+
@inner_class_types = {}
|
|
64
35
|
end
|
|
65
36
|
|
|
66
37
|
def self.field_remappings
|
|
@@ -69,27 +40,13 @@ module Stripe
|
|
|
69
40
|
end
|
|
70
41
|
|
|
71
42
|
class From < ::Stripe::StripeObject
|
|
72
|
-
class Debited < ::Stripe::StripeObject
|
|
73
|
-
# A non-negative integer representing how much to charge in the [smallest currency unit](https://docs.stripe.com/currencies#minor-units).
|
|
74
|
-
attr_reader :value
|
|
75
|
-
# Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).
|
|
76
|
-
attr_reader :currency
|
|
77
|
-
|
|
78
|
-
def self.inner_class_types
|
|
79
|
-
@inner_class_types = {}
|
|
80
|
-
end
|
|
81
|
-
|
|
82
|
-
def self.field_remappings
|
|
83
|
-
@field_remappings = {}
|
|
84
|
-
end
|
|
85
|
-
end
|
|
86
43
|
# The monetary amount debited from the sender, only set on responses.
|
|
87
44
|
attr_reader :debited
|
|
88
45
|
# The FinancialAccount that funds were pulled from.
|
|
89
46
|
attr_reader :financial_account
|
|
90
47
|
|
|
91
48
|
def self.inner_class_types
|
|
92
|
-
@inner_class_types = {
|
|
49
|
+
@inner_class_types = {}
|
|
93
50
|
end
|
|
94
51
|
|
|
95
52
|
def self.field_remappings
|
|
@@ -131,20 +88,6 @@ module Stripe
|
|
|
131
88
|
end
|
|
132
89
|
|
|
133
90
|
class To < ::Stripe::StripeObject
|
|
134
|
-
class Credited < ::Stripe::StripeObject
|
|
135
|
-
# A non-negative integer representing how much to charge in the [smallest currency unit](https://docs.stripe.com/currencies#minor-units).
|
|
136
|
-
attr_reader :value
|
|
137
|
-
# Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).
|
|
138
|
-
attr_reader :currency
|
|
139
|
-
|
|
140
|
-
def self.inner_class_types
|
|
141
|
-
@inner_class_types = {}
|
|
142
|
-
end
|
|
143
|
-
|
|
144
|
-
def self.field_remappings
|
|
145
|
-
@field_remappings = {}
|
|
146
|
-
end
|
|
147
|
-
end
|
|
148
91
|
# The monetary amount being credited to the destination.
|
|
149
92
|
attr_reader :credited
|
|
150
93
|
# The payout method which the OutboundPayment uses to send payout.
|
|
@@ -153,7 +96,7 @@ module Stripe
|
|
|
153
96
|
attr_reader :recipient
|
|
154
97
|
|
|
155
98
|
def self.inner_class_types
|
|
156
|
-
@inner_class_types = {
|
|
99
|
+
@inner_class_types = {}
|
|
157
100
|
end
|
|
158
101
|
|
|
159
102
|
def self.field_remappings
|
|
@@ -184,7 +127,6 @@ module Stripe
|
|
|
184
127
|
|
|
185
128
|
def self.inner_class_types
|
|
186
129
|
@inner_class_types = {
|
|
187
|
-
amount: Amount,
|
|
188
130
|
delivery_options: DeliveryOptions,
|
|
189
131
|
estimated_fees: EstimatedFee,
|
|
190
132
|
from: From,
|
|
@@ -11,21 +11,6 @@ module Stripe
|
|
|
11
11
|
"v2.money_management.outbound_transfer"
|
|
12
12
|
end
|
|
13
13
|
|
|
14
|
-
class Amount < ::Stripe::StripeObject
|
|
15
|
-
# A non-negative integer representing how much to charge in the [smallest currency unit](https://docs.stripe.com/currencies#minor-units).
|
|
16
|
-
attr_reader :value
|
|
17
|
-
# Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).
|
|
18
|
-
attr_reader :currency
|
|
19
|
-
|
|
20
|
-
def self.inner_class_types
|
|
21
|
-
@inner_class_types = {}
|
|
22
|
-
end
|
|
23
|
-
|
|
24
|
-
def self.field_remappings
|
|
25
|
-
@field_remappings = {}
|
|
26
|
-
end
|
|
27
|
-
end
|
|
28
|
-
|
|
29
14
|
class DeliveryOptions < ::Stripe::StripeObject
|
|
30
15
|
# Open Enum. Method for bank account.
|
|
31
16
|
attr_reader :bank_account
|
|
@@ -40,27 +25,13 @@ module Stripe
|
|
|
40
25
|
end
|
|
41
26
|
|
|
42
27
|
class From < ::Stripe::StripeObject
|
|
43
|
-
class Debited < ::Stripe::StripeObject
|
|
44
|
-
# A non-negative integer representing how much to charge in the [smallest currency unit](https://docs.stripe.com/currencies#minor-units).
|
|
45
|
-
attr_reader :value
|
|
46
|
-
# Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).
|
|
47
|
-
attr_reader :currency
|
|
48
|
-
|
|
49
|
-
def self.inner_class_types
|
|
50
|
-
@inner_class_types = {}
|
|
51
|
-
end
|
|
52
|
-
|
|
53
|
-
def self.field_remappings
|
|
54
|
-
@field_remappings = {}
|
|
55
|
-
end
|
|
56
|
-
end
|
|
57
28
|
# The monetary amount debited from the sender, only set on responses.
|
|
58
29
|
attr_reader :debited
|
|
59
30
|
# The FinancialAccount that funds were pulled from.
|
|
60
31
|
attr_reader :financial_account
|
|
61
32
|
|
|
62
33
|
def self.inner_class_types
|
|
63
|
-
@inner_class_types = {
|
|
34
|
+
@inner_class_types = {}
|
|
64
35
|
end
|
|
65
36
|
|
|
66
37
|
def self.field_remappings
|
|
@@ -132,27 +103,13 @@ module Stripe
|
|
|
132
103
|
end
|
|
133
104
|
|
|
134
105
|
class To < ::Stripe::StripeObject
|
|
135
|
-
class Credited < ::Stripe::StripeObject
|
|
136
|
-
# A non-negative integer representing how much to charge in the [smallest currency unit](https://docs.stripe.com/currencies#minor-units).
|
|
137
|
-
attr_reader :value
|
|
138
|
-
# Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).
|
|
139
|
-
attr_reader :currency
|
|
140
|
-
|
|
141
|
-
def self.inner_class_types
|
|
142
|
-
@inner_class_types = {}
|
|
143
|
-
end
|
|
144
|
-
|
|
145
|
-
def self.field_remappings
|
|
146
|
-
@field_remappings = {}
|
|
147
|
-
end
|
|
148
|
-
end
|
|
149
106
|
# The monetary amount being credited to the destination.
|
|
150
107
|
attr_reader :credited
|
|
151
108
|
# The payout method which the OutboundTransfer uses to send payout.
|
|
152
109
|
attr_reader :payout_method
|
|
153
110
|
|
|
154
111
|
def self.inner_class_types
|
|
155
|
-
@inner_class_types = {
|
|
112
|
+
@inner_class_types = {}
|
|
156
113
|
end
|
|
157
114
|
|
|
158
115
|
def self.field_remappings
|
|
@@ -201,8 +158,6 @@ module Stripe
|
|
|
201
158
|
attr_reader :object
|
|
202
159
|
# A link to the Stripe-hosted receipt for this OutboundTransfer. The receipt link remains active for 60 days from the OutboundTransfer creation date. After this period, the link will expire and the receipt url value will be null.
|
|
203
160
|
attr_reader :receipt_url
|
|
204
|
-
# The recipient verification id for this OutboundTransfer. Only required for countries with regulatory mandates to verify recipient names before OutboundTransfer creation.
|
|
205
|
-
attr_reader :recipient_verification
|
|
206
161
|
# The description that appears on the receiving end for an OutboundTransfer (for example, bank statement for external bank transfer). It will default to `STRIPE` if not set on the account settings.
|
|
207
162
|
attr_reader :statement_descriptor
|
|
208
163
|
# Closed Enum. Current status of the OutboundTransfer: `processing`, `failed`, `posted`, `returned`, `canceled`.
|
|
@@ -223,7 +178,6 @@ module Stripe
|
|
|
223
178
|
|
|
224
179
|
def self.inner_class_types
|
|
225
180
|
@inner_class_types = {
|
|
226
|
-
amount: Amount,
|
|
227
181
|
delivery_options: DeliveryOptions,
|
|
228
182
|
from: From,
|
|
229
183
|
status_details: StatusDetails,
|
|
@@ -75,27 +75,6 @@ module Stripe
|
|
|
75
75
|
@field_remappings = {}
|
|
76
76
|
end
|
|
77
77
|
end
|
|
78
|
-
|
|
79
|
-
class CryptoWallet < ::Stripe::StripeObject
|
|
80
|
-
# Destination wallet address.
|
|
81
|
-
attr_reader :address
|
|
82
|
-
# Whether the crypto wallet was archived. Crypto wallets can be archived through the /archive API,
|
|
83
|
-
# and they will not be automatically archived by Stripe. Archived crypto wallets cannot be used as
|
|
84
|
-
# payout method and will not appear in the payout method list.
|
|
85
|
-
attr_reader :archived
|
|
86
|
-
# Optional field, required if network supports memos (only "stellar" currently).
|
|
87
|
-
attr_reader :memo
|
|
88
|
-
# Which rail is being used to make an outbound money movement to this wallet.
|
|
89
|
-
attr_reader :network
|
|
90
|
-
|
|
91
|
-
def self.inner_class_types
|
|
92
|
-
@inner_class_types = {}
|
|
93
|
-
end
|
|
94
|
-
|
|
95
|
-
def self.field_remappings
|
|
96
|
-
@field_remappings = {}
|
|
97
|
-
end
|
|
98
|
-
end
|
|
99
78
|
# A set of available payout speeds for this payout method.
|
|
100
79
|
attr_reader :available_payout_speeds
|
|
101
80
|
# Created timestamp.
|
|
@@ -116,16 +95,9 @@ module Stripe
|
|
|
116
95
|
attr_reader :bank_account
|
|
117
96
|
# The PayoutMethodCard object details.
|
|
118
97
|
attr_reader :card
|
|
119
|
-
# The PayoutMethodCryptoWallet object details.
|
|
120
|
-
attr_reader :crypto_wallet
|
|
121
98
|
|
|
122
99
|
def self.inner_class_types
|
|
123
|
-
@inner_class_types = {
|
|
124
|
-
usage_status: UsageStatus,
|
|
125
|
-
bank_account: BankAccount,
|
|
126
|
-
card: Card,
|
|
127
|
-
crypto_wallet: CryptoWallet,
|
|
128
|
-
}
|
|
100
|
+
@inner_class_types = { usage_status: UsageStatus, bank_account: BankAccount, card: Card }
|
|
129
101
|
end
|
|
130
102
|
|
|
131
103
|
def self.field_remappings
|
|
@@ -11,36 +11,6 @@ module Stripe
|
|
|
11
11
|
"v2.money_management.received_credit"
|
|
12
12
|
end
|
|
13
13
|
|
|
14
|
-
class Amount < ::Stripe::StripeObject
|
|
15
|
-
# A non-negative integer representing how much to charge in the [smallest currency unit](https://docs.stripe.com/currencies#minor-units).
|
|
16
|
-
attr_reader :value
|
|
17
|
-
# Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).
|
|
18
|
-
attr_reader :currency
|
|
19
|
-
|
|
20
|
-
def self.inner_class_types
|
|
21
|
-
@inner_class_types = {}
|
|
22
|
-
end
|
|
23
|
-
|
|
24
|
-
def self.field_remappings
|
|
25
|
-
@field_remappings = {}
|
|
26
|
-
end
|
|
27
|
-
end
|
|
28
|
-
|
|
29
|
-
class ExternalAmount < ::Stripe::StripeObject
|
|
30
|
-
# A non-negative integer representing how much to charge in the [smallest currency unit](https://docs.stripe.com/currencies#minor-units).
|
|
31
|
-
attr_reader :value
|
|
32
|
-
# Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).
|
|
33
|
-
attr_reader :currency
|
|
34
|
-
|
|
35
|
-
def self.inner_class_types
|
|
36
|
-
@inner_class_types = {}
|
|
37
|
-
end
|
|
38
|
-
|
|
39
|
-
def self.field_remappings
|
|
40
|
-
@field_remappings = {}
|
|
41
|
-
end
|
|
42
|
-
end
|
|
43
|
-
|
|
44
14
|
class StatusDetails < ::Stripe::StripeObject
|
|
45
15
|
class Failed < ::Stripe::StripeObject
|
|
46
16
|
# Open Enum. The `failed` status reason.
|
|
@@ -217,8 +187,6 @@ module Stripe
|
|
|
217
187
|
attr_reader :created
|
|
218
188
|
# Freeform string set by originator of the ReceivedCredit.
|
|
219
189
|
attr_reader :description
|
|
220
|
-
# The amount and currency of the original/external credit request.
|
|
221
|
-
attr_reader :external_amount
|
|
222
190
|
# Financial Account ID on which funds for ReceivedCredit were received.
|
|
223
191
|
attr_reader :financial_account
|
|
224
192
|
# Unique identifier for the ReceivedCredit.
|
|
@@ -244,8 +212,6 @@ module Stripe
|
|
|
244
212
|
|
|
245
213
|
def self.inner_class_types
|
|
246
214
|
@inner_class_types = {
|
|
247
|
-
amount: Amount,
|
|
248
|
-
external_amount: ExternalAmount,
|
|
249
215
|
status_details: StatusDetails,
|
|
250
216
|
status_transitions: StatusTransitions,
|
|
251
217
|
balance_transfer: BalanceTransfer,
|