stripe 18.4.0.pre.alpha.1 → 18.4.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 -356
- data/lib/stripe/object_types.rb +0 -42
- 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_session_create_params.rb +0 -17
- 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 -95
- data/lib/stripe/params/checkout/session_update_params.rb +0 -15
- data/lib/stripe/params/coupon_create_params.rb +1 -31
- data/lib/stripe/params/identity/verification_report_list_params.rb +0 -4
- data/lib/stripe/params/invoice_add_lines_params.rb +0 -15
- data/lib/stripe/params/invoice_create_preview_params.rb +13 -552
- data/lib/stripe/params/invoice_line_item_update_params.rb +0 -15
- data/lib/stripe/params/invoice_list_params.rb +0 -4
- data/lib/stripe/params/invoice_update_lines_params.rb +0 -15
- data/lib/stripe/params/issuing/card_list_params.rb +1 -34
- data/lib/stripe/params/payment_intent_confirm_params.rb +0 -38
- data/lib/stripe/params/payment_intent_create_params.rb +0 -51
- data/lib/stripe/params/payment_intent_update_params.rb +0 -34
- data/lib/stripe/params/payment_link_create_params.rb +0 -15
- data/lib/stripe/params/plan_create_params.rb +0 -15
- data/lib/stripe/params/price_create_params.rb +0 -15
- data/lib/stripe/params/product_create_params.rb +0 -16
- data/lib/stripe/params/product_update_params.rb +0 -16
- data/lib/stripe/params/quote_create_params.rb +8 -424
- data/lib/stripe/params/quote_update_params.rb +8 -424
- 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 +2 -126
- data/lib/stripe/params/subscription_item_create_params.rb +1 -69
- data/lib/stripe/params/subscription_item_update_params.rb +1 -69
- data/lib/stripe/params/subscription_list_params.rb +0 -4
- data/lib/stripe/params/subscription_schedule_amend_params.rb +8 -243
- data/lib/stripe/params/subscription_schedule_create_params.rb +3 -175
- data/lib/stripe/params/subscription_schedule_update_params.rb +3 -175
- data/lib/stripe/params/subscription_update_params.rb +2 -126
- data/lib/stripe/params/tax/calculation_create_params.rb +0 -4
- 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 +32 -716
- data/lib/stripe/params/v2/core/account_token_create_params.rb +24 -238
- data/lib/stripe/params/v2/core/account_update_params.rb +32 -702
- data/lib/stripe/params/v2/core/event_list_params.rb +1 -4
- data/lib/stripe/params/v2/core/event_retrieve_params.rb +1 -8
- data/lib/stripe/params/v2/core/vault/us_bank_account_update_params.rb +1 -1
- data/lib/stripe/params/v2/money_management/financial_account_list_params.rb +1 -4
- data/lib/stripe/params/v2/money_management/financial_address_create_params.rb +1 -12
- data/lib/stripe/params/v2/money_management/outbound_payment_create_params.rb +1 -25
- data/lib/stripe/params/v2/money_management/outbound_payment_quote_create_params.rb +1 -4
- 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 -4
- data/lib/stripe/params.rb +0 -134
- data/lib/stripe/resources/account_session.rb +0 -54
- 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/coupon.rb +0 -34
- data/lib/stripe/resources/discount.rb +1 -20
- data/lib/stripe/resources/identity/verification_report.rb +0 -4
- data/lib/stripe/resources/invoice.rb +0 -34
- data/lib/stripe/resources/invoice_item.rb +2 -106
- data/lib/stripe/resources/invoice_line_item.rb +1 -107
- data/lib/stripe/resources/issuing/card.rb +0 -4
- data/lib/stripe/resources/payment_intent.rb +0 -62
- data/lib/stripe/resources/payment_method.rb +0 -38
- data/lib/stripe/resources/person.rb +0 -36
- data/lib/stripe/resources/plan.rb +0 -2
- data/lib/stripe/resources/price.rb +0 -2
- 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 -34
- 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 -62
- data/lib/stripe/resources/subscription_item.rb +1 -24
- data/lib/stripe/resources/subscription_schedule.rb +0 -94
- data/lib/stripe/resources/tax/calculation_line_item.rb +0 -2
- data/lib/stripe/resources/tax/registration.rb +0 -128
- data/lib/stripe/resources/tax_code.rb +1 -15
- data/lib/stripe/resources/transfer.rb +0 -4
- data/lib/stripe/resources/v2/billing/cadence.rb +0 -46
- data/lib/stripe/resources/v2/billing/profile.rb +1 -0
- data/lib/stripe/resources/v2/core/account.rb +27 -1073
- data/lib/stripe/resources/v2/core/event.rb +1 -50
- data/lib/stripe/resources/v2/money_management/financial_account.rb +0 -35
- data/lib/stripe/resources/v2/money_management/financial_address.rb +29 -1
- data/lib/stripe/resources/v2/money_management/outbound_payment.rb +1 -87
- data/lib/stripe/resources/v2/money_management/outbound_payment_quote.rb +0 -2
- data/lib/stripe/resources/v2/money_management/outbound_transfer.rb +0 -2
- data/lib/stripe/resources/v2/money_management/payout_method.rb +3 -24
- data/lib/stripe/resources/v2/money_management/received_credit.rb +0 -34
- data/lib/stripe/resources/v2/money_management/received_debit.rb +0 -56
- data/lib/stripe/resources.rb +0 -134
- 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/subscription_service.rb +0 -22
- data/lib/stripe/services/tax_service.rb +1 -2
- data/lib/stripe/services/test_helpers_service.rb +1 -3
- data/lib/stripe/services/v1_services.rb +1 -6
- 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 -5
- data/lib/stripe/services.rb +0 -49
- data/lib/stripe/stripe_client.rb +8 -1
- data/lib/stripe/stripe_event_notification_handler.rb +431 -0
- data/lib/stripe/version.rb +1 -1
- data/lib/stripe.rb +1 -0
- data/rbi/stripe/stripe_client.rbi +13 -0
- data/rbi/stripe.rbi +751 -23957
- metadata +2 -318
- 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 -86
- data/lib/stripe/events/v2_core_health_api_error_resolved_event.rb +0 -86
- data/lib/stripe/events/v2_core_health_api_latency_firing_event.rb +0 -84
- data/lib/stripe/events/v2_core_health_api_latency_resolved_event.rb +0 -84
- 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 -82
- data/lib/stripe/events/v2_core_health_payment_method_error_resolved_event.rb +0 -82
- data/lib/stripe/events/v2_core_health_sepa_debit_delayed_firing_event.rb +0 -58
- data/lib/stripe/events/v2_core_health_sepa_debit_delayed_resolved_event.rb +0 -60
- 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_iam_api_key_created_event.rb +0 -20
- data/lib/stripe/events/v2_iam_api_key_default_secret_revealed_event.rb +0 -20
- data/lib/stripe/events/v2_iam_api_key_expired_event.rb +0 -20
- data/lib/stripe/events/v2_iam_api_key_permissions_updated_event.rb +0 -20
- data/lib/stripe/events/v2_iam_api_key_rotated_event.rb +0 -38
- data/lib/stripe/events/v2_iam_api_key_updated_event.rb +0 -20
- 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_payments_settlement_allocation_intent_canceled_event.rb +0 -44
- data/lib/stripe/events/v2_payments_settlement_allocation_intent_created_event.rb +0 -44
- data/lib/stripe/events/v2_payments_settlement_allocation_intent_errored_event.rb +0 -65
- data/lib/stripe/events/v2_payments_settlement_allocation_intent_funds_not_received_event.rb +0 -44
- data/lib/stripe/events/v2_payments_settlement_allocation_intent_matched_event.rb +0 -44
- data/lib/stripe/events/v2_payments_settlement_allocation_intent_not_found_event.rb +0 -38
- data/lib/stripe/events/v2_payments_settlement_allocation_intent_settled_event.rb +0 -44
- data/lib/stripe/events/v2_payments_settlement_allocation_intent_split_canceled_event.rb +0 -61
- data/lib/stripe/events/v2_payments_settlement_allocation_intent_split_created_event.rb +0 -61
- data/lib/stripe/events/v2_payments_settlement_allocation_intent_split_settled_event.rb +0 -61
- data/lib/stripe/events/v2_payments_settlement_allocation_intent_submitted_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 -138
- 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/fr_meal_vouchers_onboarding_create_params.rb +0 -25
- data/lib/stripe/params/fr_meal_vouchers_onboarding_list_params.rb +0 -22
- data/lib/stripe/params/fr_meal_vouchers_onboarding_retrieve_params.rb +0 -13
- data/lib/stripe/params/fr_meal_vouchers_onboarding_update_params.rb +0 -16
- 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/product_catalog/trial_offer_create_params.rb +0 -63
- 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 -41
- data/lib/stripe/params/shared_payment/granted_token_create_params.rb +0 -47
- data/lib/stripe/params/shared_payment/granted_token_retrieve_params.rb +0 -15
- data/lib/stripe/params/shared_payment/granted_token_revoke_params.rb +0 -15
- data/lib/stripe/params/subscription_attach_cadence_params.rb +0 -16
- data/lib/stripe/params/subscription_pause_params.rb +0 -33
- data/lib/stripe/params/tax/location_create_params.rb +0 -54
- data/lib/stripe/params/tax/location_list_params.rb +0 -27
- data/lib/stripe/params/tax/location_retrieve_params.rb +0 -15
- 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/test_helpers/shared_payment/granted_token_create_params.rb +0 -49
- data/lib/stripe/params/test_helpers/shared_payment/granted_token_revoke_params.rb +0 -17
- 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 -425
- 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/iam/api_key_create_params.rb +0 -51
- data/lib/stripe/params/v2/iam/api_key_expire_params.rb +0 -10
- data/lib/stripe/params/v2/iam/api_key_list_params.rb +0 -20
- data/lib/stripe/params/v2/iam/api_key_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/iam/api_key_rotate_params.rb +0 -46
- data/lib/stripe/params/v2/iam/api_key_update_params.rb +0 -20
- 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/payments/settlement_allocation_intent_cancel_params.rb +0 -10
- data/lib/stripe/params/v2/payments/settlement_allocation_intent_create_params.rb +0 -46
- data/lib/stripe/params/v2/payments/settlement_allocation_intent_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/payments/settlement_allocation_intent_submit_params.rb +0 -10
- data/lib/stripe/params/v2/payments/settlement_allocation_intent_update_params.rb +0 -31
- data/lib/stripe/params/v2/payments/settlement_allocation_intents/split_cancel_params.rb +0 -12
- data/lib/stripe/params/v2/payments/settlement_allocation_intents/split_create_params.rb +0 -39
- data/lib/stripe/params/v2/payments/settlement_allocation_intents/split_retrieve_params.rb +0 -12
- 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/tax/manual_rule_create_params.rb +0 -94
- data/lib/stripe/params/v2/tax/manual_rule_deactivate_params.rb +0 -10
- data/lib/stripe/params/v2/tax/manual_rule_list_params.rb +0 -17
- data/lib/stripe/params/v2/tax/manual_rule_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/tax/manual_rule_update_params.rb +0 -94
- 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 -509
- data/lib/stripe/resources/fr_meal_vouchers_onboarding.rb +0 -143
- 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/product_catalog/trial_offer.rb +0 -103
- data/lib/stripe/resources/radar/account_evaluation.rb +0 -145
- data/lib/stripe/resources/shared_payment/granted_token.rb +0 -126
- data/lib/stripe/resources/tax/location.rb +0 -72
- 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 -483
- 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/iam/api_key.rb +0 -129
- 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/payments/settlement_allocation_intent.rb +0 -92
- data/lib/stripe/resources/v2/payments/settlement_allocation_intent_split.rb +0 -78
- data/lib/stripe/resources/v2/reporting/report.rb +0 -116
- data/lib/stripe/resources/v2/reporting/report_run.rb +0 -128
- data/lib/stripe/resources/v2/tax/manual_rule.rb +0 -115
- 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/fr_meal_vouchers_onboarding_service.rb +0 -50
- 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/product_catalog/trial_offer_service.rb +0 -19
- data/lib/stripe/services/product_catalog_service.rb +0 -13
- data/lib/stripe/services/radar/account_evaluation_service.rb +0 -41
- data/lib/stripe/services/shared_payment/granted_token_service.rb +0 -19
- data/lib/stripe/services/shared_payment_service.rb +0 -13
- data/lib/stripe/services/tax/location_service.rb +0 -45
- 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/test_helpers/shared_payment/granted_token_service.rb +0 -32
- data/lib/stripe/services/test_helpers/shared_payment_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/iam/api_key_service.rb +0 -76
- data/lib/stripe/services/v2/iam_service.rb +0 -15
- 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 -17
- data/lib/stripe/services/v2/payments/off_session_payment_service.rb +0 -65
- data/lib/stripe/services/v2/payments/settlement_allocation_intent_service.rb +0 -72
- data/lib/stripe/services/v2/payments/settlement_allocation_intents/split_service.rb +0 -45
- 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/tax/manual_rule_service.rb +0 -65
- data/lib/stripe/services/v2/tax_service.rb +0 -15
- data/lib/stripe/services/v2/test_helpers/money_management_service.rb +0 -21
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
# File generated from our OpenAPI spec
|
|
2
|
-
# frozen_string_literal: true
|
|
3
|
-
|
|
4
|
-
module Stripe
|
|
5
|
-
module Issuing
|
|
6
|
-
class ProgramListParams < ::Stripe::RequestParams
|
|
7
|
-
# A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list.
|
|
8
|
-
attr_accessor :ending_before
|
|
9
|
-
# Specifies which fields in the response should be expanded.
|
|
10
|
-
attr_accessor :expand
|
|
11
|
-
# A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.
|
|
12
|
-
attr_accessor :limit
|
|
13
|
-
# A cursor for use in pagination. `starting_after` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with `obj_foo`, your subsequent call can include `starting_after=obj_foo` in order to fetch the next page of the list.
|
|
14
|
-
attr_accessor :starting_after
|
|
15
|
-
|
|
16
|
-
def initialize(ending_before: nil, expand: nil, limit: nil, starting_after: nil)
|
|
17
|
-
@ending_before = ending_before
|
|
18
|
-
@expand = expand
|
|
19
|
-
@limit = limit
|
|
20
|
-
@starting_after = starting_after
|
|
21
|
-
end
|
|
22
|
-
end
|
|
23
|
-
end
|
|
24
|
-
end
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
# File generated from our OpenAPI spec
|
|
2
|
-
# frozen_string_literal: true
|
|
3
|
-
|
|
4
|
-
module Stripe
|
|
5
|
-
module Issuing
|
|
6
|
-
class ProgramRetrieveParams < ::Stripe::RequestParams
|
|
7
|
-
# Specifies which fields in the response should be expanded.
|
|
8
|
-
attr_accessor :expand
|
|
9
|
-
|
|
10
|
-
def initialize(expand: nil)
|
|
11
|
-
@expand = expand
|
|
12
|
-
end
|
|
13
|
-
end
|
|
14
|
-
end
|
|
15
|
-
end
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
# File generated from our OpenAPI spec
|
|
2
|
-
# frozen_string_literal: true
|
|
3
|
-
|
|
4
|
-
module Stripe
|
|
5
|
-
module Issuing
|
|
6
|
-
class ProgramUpdateParams < ::Stripe::RequestParams
|
|
7
|
-
# Specifies which fields in the response should be expanded.
|
|
8
|
-
attr_accessor :expand
|
|
9
|
-
# If true, makes the specified program the default.
|
|
10
|
-
attr_accessor :is_default
|
|
11
|
-
# Set of [key-value pairs](https://docs.stripe.com/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
|
|
12
|
-
attr_accessor :metadata
|
|
13
|
-
|
|
14
|
-
def initialize(expand: nil, is_default: nil, metadata: nil)
|
|
15
|
-
@expand = expand
|
|
16
|
-
@is_default = is_default
|
|
17
|
-
@metadata = metadata
|
|
18
|
-
end
|
|
19
|
-
end
|
|
20
|
-
end
|
|
21
|
-
end
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
# File generated from our OpenAPI spec
|
|
2
|
-
# frozen_string_literal: true
|
|
3
|
-
|
|
4
|
-
module Stripe
|
|
5
|
-
class PaymentMethodCheckBalanceParams < ::Stripe::RequestParams
|
|
6
|
-
# Specifies which fields in the response should be expanded.
|
|
7
|
-
attr_accessor :expand
|
|
8
|
-
|
|
9
|
-
def initialize(expand: nil)
|
|
10
|
-
@expand = expand
|
|
11
|
-
end
|
|
12
|
-
end
|
|
13
|
-
end
|
|
@@ -1,63 +0,0 @@
|
|
|
1
|
-
# File generated from our OpenAPI spec
|
|
2
|
-
# frozen_string_literal: true
|
|
3
|
-
|
|
4
|
-
module Stripe
|
|
5
|
-
module ProductCatalog
|
|
6
|
-
class TrialOfferCreateParams < ::Stripe::RequestParams
|
|
7
|
-
class Duration < ::Stripe::RequestParams
|
|
8
|
-
class Relative < ::Stripe::RequestParams
|
|
9
|
-
# The number of recurring price's interval to apply for the trial period.
|
|
10
|
-
attr_accessor :iterations
|
|
11
|
-
|
|
12
|
-
def initialize(iterations: nil)
|
|
13
|
-
@iterations = iterations
|
|
14
|
-
end
|
|
15
|
-
end
|
|
16
|
-
# The relative duration of the trial period computed as the number of recurring price intervals.
|
|
17
|
-
attr_accessor :relative
|
|
18
|
-
# Specifies how the trial offer duration is determined.
|
|
19
|
-
attr_accessor :type
|
|
20
|
-
|
|
21
|
-
def initialize(relative: nil, type: nil)
|
|
22
|
-
@relative = relative
|
|
23
|
-
@type = type
|
|
24
|
-
end
|
|
25
|
-
end
|
|
26
|
-
|
|
27
|
-
class EndBehavior < ::Stripe::RequestParams
|
|
28
|
-
class Transition < ::Stripe::RequestParams
|
|
29
|
-
# The price to transition the recurring item to when the trial offer ends.
|
|
30
|
-
attr_accessor :price
|
|
31
|
-
|
|
32
|
-
def initialize(price: nil)
|
|
33
|
-
@price = price
|
|
34
|
-
end
|
|
35
|
-
end
|
|
36
|
-
# The transition to apply when the trial offer ends.
|
|
37
|
-
attr_accessor :transition
|
|
38
|
-
|
|
39
|
-
def initialize(transition: nil)
|
|
40
|
-
@transition = transition
|
|
41
|
-
end
|
|
42
|
-
end
|
|
43
|
-
# Duration of one service period of the trial.
|
|
44
|
-
attr_accessor :duration
|
|
45
|
-
# Define behavior that occurs at the end of the trial.
|
|
46
|
-
attr_accessor :end_behavior
|
|
47
|
-
# Specifies which fields in the response should be expanded.
|
|
48
|
-
attr_accessor :expand
|
|
49
|
-
# A brief, user-friendly name for the trial offer-for identification purposes.
|
|
50
|
-
attr_accessor :name
|
|
51
|
-
# Price configuration during the trial period (amount, billing scheme, etc).
|
|
52
|
-
attr_accessor :price
|
|
53
|
-
|
|
54
|
-
def initialize(duration: nil, end_behavior: nil, expand: nil, name: nil, price: nil)
|
|
55
|
-
@duration = duration
|
|
56
|
-
@end_behavior = end_behavior
|
|
57
|
-
@expand = expand
|
|
58
|
-
@name = name
|
|
59
|
-
@price = price
|
|
60
|
-
end
|
|
61
|
-
end
|
|
62
|
-
end
|
|
63
|
-
end
|
|
@@ -1,81 +0,0 @@
|
|
|
1
|
-
# File generated from our OpenAPI spec
|
|
2
|
-
# frozen_string_literal: true
|
|
3
|
-
|
|
4
|
-
module Stripe
|
|
5
|
-
module Radar
|
|
6
|
-
class AccountEvaluationCreateParams < ::Stripe::RequestParams
|
|
7
|
-
class LoginInitiated < ::Stripe::RequestParams
|
|
8
|
-
class ClientDeviceMetadataDetails < ::Stripe::RequestParams
|
|
9
|
-
# ID for the Radar Session associated with the account evaluation.
|
|
10
|
-
attr_accessor :radar_session
|
|
11
|
-
|
|
12
|
-
def initialize(radar_session: nil)
|
|
13
|
-
@radar_session = radar_session
|
|
14
|
-
end
|
|
15
|
-
end
|
|
16
|
-
# Client device metadata details (e.g., radar_session).
|
|
17
|
-
attr_accessor :client_device_metadata_details
|
|
18
|
-
# Stripe customer ID
|
|
19
|
-
attr_accessor :customer
|
|
20
|
-
|
|
21
|
-
def initialize(client_device_metadata_details: nil, customer: nil)
|
|
22
|
-
@client_device_metadata_details = client_device_metadata_details
|
|
23
|
-
@customer = customer
|
|
24
|
-
end
|
|
25
|
-
end
|
|
26
|
-
|
|
27
|
-
class RegistrationInitiated < ::Stripe::RequestParams
|
|
28
|
-
class ClientDeviceMetadataDetails < ::Stripe::RequestParams
|
|
29
|
-
# ID for the Radar Session associated with the account evaluation.
|
|
30
|
-
attr_accessor :radar_session
|
|
31
|
-
|
|
32
|
-
def initialize(radar_session: nil)
|
|
33
|
-
@radar_session = radar_session
|
|
34
|
-
end
|
|
35
|
-
end
|
|
36
|
-
|
|
37
|
-
class CustomerData < ::Stripe::RequestParams
|
|
38
|
-
# Customer email
|
|
39
|
-
attr_accessor :email
|
|
40
|
-
# Customer name
|
|
41
|
-
attr_accessor :name
|
|
42
|
-
# Customer phone
|
|
43
|
-
attr_accessor :phone
|
|
44
|
-
|
|
45
|
-
def initialize(email: nil, name: nil, phone: nil)
|
|
46
|
-
@email = email
|
|
47
|
-
@name = name
|
|
48
|
-
@phone = phone
|
|
49
|
-
end
|
|
50
|
-
end
|
|
51
|
-
# Client device metadata details (e.g., radar_session).
|
|
52
|
-
attr_accessor :client_device_metadata_details
|
|
53
|
-
# Stripe customer ID
|
|
54
|
-
attr_accessor :customer
|
|
55
|
-
# Customer data
|
|
56
|
-
attr_accessor :customer_data
|
|
57
|
-
|
|
58
|
-
def initialize(client_device_metadata_details: nil, customer: nil, customer_data: nil)
|
|
59
|
-
@client_device_metadata_details = client_device_metadata_details
|
|
60
|
-
@customer = customer
|
|
61
|
-
@customer_data = customer_data
|
|
62
|
-
end
|
|
63
|
-
end
|
|
64
|
-
# Specifies which fields in the response should be expanded.
|
|
65
|
-
attr_accessor :expand
|
|
66
|
-
# Event payload for login_initiated.
|
|
67
|
-
attr_accessor :login_initiated
|
|
68
|
-
# Event payload for registration_initiated.
|
|
69
|
-
attr_accessor :registration_initiated
|
|
70
|
-
# The type of evaluation requested.
|
|
71
|
-
attr_accessor :type
|
|
72
|
-
|
|
73
|
-
def initialize(expand: nil, login_initiated: nil, registration_initiated: nil, type: nil)
|
|
74
|
-
@expand = expand
|
|
75
|
-
@login_initiated = login_initiated
|
|
76
|
-
@registration_initiated = registration_initiated
|
|
77
|
-
@type = type
|
|
78
|
-
end
|
|
79
|
-
end
|
|
80
|
-
end
|
|
81
|
-
end
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
# File generated from our OpenAPI spec
|
|
2
|
-
# frozen_string_literal: true
|
|
3
|
-
|
|
4
|
-
module Stripe
|
|
5
|
-
module Radar
|
|
6
|
-
class AccountEvaluationRetrieveParams < ::Stripe::RequestParams
|
|
7
|
-
# Specifies which fields in the response should be expanded.
|
|
8
|
-
attr_accessor :expand
|
|
9
|
-
|
|
10
|
-
def initialize(expand: nil)
|
|
11
|
-
@expand = expand
|
|
12
|
-
end
|
|
13
|
-
end
|
|
14
|
-
end
|
|
15
|
-
end
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
# File generated from our OpenAPI spec
|
|
2
|
-
# frozen_string_literal: true
|
|
3
|
-
|
|
4
|
-
module Stripe
|
|
5
|
-
module Radar
|
|
6
|
-
class AccountEvaluationUpdateParams < ::Stripe::RequestParams
|
|
7
|
-
class LoginFailed < ::Stripe::RequestParams
|
|
8
|
-
# The reason why this login failed.
|
|
9
|
-
attr_accessor :reason
|
|
10
|
-
|
|
11
|
-
def initialize(reason: nil)
|
|
12
|
-
@reason = reason
|
|
13
|
-
end
|
|
14
|
-
end
|
|
15
|
-
|
|
16
|
-
class RegistrationFailed < ::Stripe::RequestParams
|
|
17
|
-
# The reason why this registration failed.
|
|
18
|
-
attr_accessor :reason
|
|
19
|
-
|
|
20
|
-
def initialize(reason: nil)
|
|
21
|
-
@reason = reason
|
|
22
|
-
end
|
|
23
|
-
end
|
|
24
|
-
# Specifies which fields in the response should be expanded.
|
|
25
|
-
attr_accessor :expand
|
|
26
|
-
# Event payload for login_failed.
|
|
27
|
-
attr_accessor :login_failed
|
|
28
|
-
# Event payload for registration_failed.
|
|
29
|
-
attr_accessor :registration_failed
|
|
30
|
-
# The type of event to report.
|
|
31
|
-
attr_accessor :type
|
|
32
|
-
|
|
33
|
-
def initialize(expand: nil, login_failed: nil, registration_failed: nil, type: nil)
|
|
34
|
-
@expand = expand
|
|
35
|
-
@login_failed = login_failed
|
|
36
|
-
@registration_failed = registration_failed
|
|
37
|
-
@type = type
|
|
38
|
-
end
|
|
39
|
-
end
|
|
40
|
-
end
|
|
41
|
-
end
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
# File generated from our OpenAPI spec
|
|
2
|
-
# frozen_string_literal: true
|
|
3
|
-
|
|
4
|
-
module Stripe
|
|
5
|
-
module SharedPayment
|
|
6
|
-
class GrantedTokenCreateParams < ::Stripe::RequestParams
|
|
7
|
-
class UsageLimits < ::Stripe::RequestParams
|
|
8
|
-
# 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).
|
|
9
|
-
attr_accessor :currency
|
|
10
|
-
# Time at which this SharedPaymentToken expires and can no longer be used to confirm a PaymentIntent.
|
|
11
|
-
attr_accessor :expires_at
|
|
12
|
-
# Max amount that can be captured using this SharedPaymentToken
|
|
13
|
-
attr_accessor :max_amount
|
|
14
|
-
|
|
15
|
-
def initialize(currency: nil, expires_at: nil, max_amount: nil)
|
|
16
|
-
@currency = currency
|
|
17
|
-
@expires_at = expires_at
|
|
18
|
-
@max_amount = max_amount
|
|
19
|
-
end
|
|
20
|
-
end
|
|
21
|
-
# The Customer that the SharedPaymentGrantedToken belongs to. Should match the Customer that the PaymentMethod is attached to if any.
|
|
22
|
-
attr_accessor :customer
|
|
23
|
-
# Specifies which fields in the response should be expanded.
|
|
24
|
-
attr_accessor :expand
|
|
25
|
-
# The PaymentMethod that is going to be shared by the SharedPaymentGrantedToken.
|
|
26
|
-
attr_accessor :payment_method
|
|
27
|
-
# Set of [key-value pairs](https://docs.stripe.com/api/metadata) that you can attach to the SharedPaymentGrantedToken.
|
|
28
|
-
attr_accessor :shared_metadata
|
|
29
|
-
# Limits on how this SharedPaymentGrantedToken can be used.
|
|
30
|
-
attr_accessor :usage_limits
|
|
31
|
-
|
|
32
|
-
def initialize(
|
|
33
|
-
customer: nil,
|
|
34
|
-
expand: nil,
|
|
35
|
-
payment_method: nil,
|
|
36
|
-
shared_metadata: nil,
|
|
37
|
-
usage_limits: nil
|
|
38
|
-
)
|
|
39
|
-
@customer = customer
|
|
40
|
-
@expand = expand
|
|
41
|
-
@payment_method = payment_method
|
|
42
|
-
@shared_metadata = shared_metadata
|
|
43
|
-
@usage_limits = usage_limits
|
|
44
|
-
end
|
|
45
|
-
end
|
|
46
|
-
end
|
|
47
|
-
end
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
# File generated from our OpenAPI spec
|
|
2
|
-
# frozen_string_literal: true
|
|
3
|
-
|
|
4
|
-
module Stripe
|
|
5
|
-
module SharedPayment
|
|
6
|
-
class GrantedTokenRetrieveParams < ::Stripe::RequestParams
|
|
7
|
-
# Specifies which fields in the response should be expanded.
|
|
8
|
-
attr_accessor :expand
|
|
9
|
-
|
|
10
|
-
def initialize(expand: nil)
|
|
11
|
-
@expand = expand
|
|
12
|
-
end
|
|
13
|
-
end
|
|
14
|
-
end
|
|
15
|
-
end
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
# File generated from our OpenAPI spec
|
|
2
|
-
# frozen_string_literal: true
|
|
3
|
-
|
|
4
|
-
module Stripe
|
|
5
|
-
module SharedPayment
|
|
6
|
-
class GrantedTokenRevokeParams < ::Stripe::RequestParams
|
|
7
|
-
# Specifies which fields in the response should be expanded.
|
|
8
|
-
attr_accessor :expand
|
|
9
|
-
|
|
10
|
-
def initialize(expand: nil)
|
|
11
|
-
@expand = expand
|
|
12
|
-
end
|
|
13
|
-
end
|
|
14
|
-
end
|
|
15
|
-
end
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
# File generated from our OpenAPI spec
|
|
2
|
-
# frozen_string_literal: true
|
|
3
|
-
|
|
4
|
-
module Stripe
|
|
5
|
-
class SubscriptionAttachCadenceParams < ::Stripe::RequestParams
|
|
6
|
-
# The Billing Cadence which controls the timing of recurring invoice generation for this subscription. If unset, the subscription will bill according to its own configured schedule and create its own invoices. If set, this subscription will be billed by the cadence instead, potentially sharing invoices with the other subscriptions linked to that Cadence.
|
|
7
|
-
attr_accessor :billing_cadence
|
|
8
|
-
# Specifies which fields in the response should be expanded.
|
|
9
|
-
attr_accessor :expand
|
|
10
|
-
|
|
11
|
-
def initialize(billing_cadence: nil, expand: nil)
|
|
12
|
-
@billing_cadence = billing_cadence
|
|
13
|
-
@expand = expand
|
|
14
|
-
end
|
|
15
|
-
end
|
|
16
|
-
end
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
# File generated from our OpenAPI spec
|
|
2
|
-
# frozen_string_literal: true
|
|
3
|
-
|
|
4
|
-
module Stripe
|
|
5
|
-
class SubscriptionPauseParams < ::Stripe::RequestParams
|
|
6
|
-
class BillFor < ::Stripe::RequestParams
|
|
7
|
-
# Controls whether to debit for accrued metered usage in the current billing period. The default is `false`.
|
|
8
|
-
attr_accessor :outstanding_usage
|
|
9
|
-
# Controls whether to credit for licensed items in the current billing period. The default is `false`.
|
|
10
|
-
attr_accessor :unused_time
|
|
11
|
-
|
|
12
|
-
def initialize(outstanding_usage: nil, unused_time: nil)
|
|
13
|
-
@outstanding_usage = outstanding_usage
|
|
14
|
-
@unused_time = unused_time
|
|
15
|
-
end
|
|
16
|
-
end
|
|
17
|
-
# Controls what to bill for when pausing the subscription.
|
|
18
|
-
attr_accessor :bill_for
|
|
19
|
-
# Specifies which fields in the response should be expanded.
|
|
20
|
-
attr_accessor :expand
|
|
21
|
-
# Determines how to handle debits and credits when pausing. The default is `pending_invoice_item`.
|
|
22
|
-
attr_accessor :invoicing_behavior
|
|
23
|
-
# The type of pause to apply.
|
|
24
|
-
attr_accessor :type
|
|
25
|
-
|
|
26
|
-
def initialize(bill_for: nil, expand: nil, invoicing_behavior: nil, type: nil)
|
|
27
|
-
@bill_for = bill_for
|
|
28
|
-
@expand = expand
|
|
29
|
-
@invoicing_behavior = invoicing_behavior
|
|
30
|
-
@type = type
|
|
31
|
-
end
|
|
32
|
-
end
|
|
33
|
-
end
|
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
# File generated from our OpenAPI spec
|
|
2
|
-
# frozen_string_literal: true
|
|
3
|
-
|
|
4
|
-
module Stripe
|
|
5
|
-
module Tax
|
|
6
|
-
class LocationCreateParams < ::Stripe::RequestParams
|
|
7
|
-
class Address < ::Stripe::RequestParams
|
|
8
|
-
# City, district, suburb, town, or village.
|
|
9
|
-
attr_accessor :city
|
|
10
|
-
# Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
11
|
-
attr_accessor :country
|
|
12
|
-
# Address line 1, such as the street, PO Box, or company name.
|
|
13
|
-
attr_accessor :line1
|
|
14
|
-
# Address line 2, such as the apartment, suite, unit, or building.
|
|
15
|
-
attr_accessor :line2
|
|
16
|
-
# ZIP or postal code.
|
|
17
|
-
attr_accessor :postal_code
|
|
18
|
-
# State/province as an [ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2) subdivision code, without country prefix, such as "NY" or "TX".
|
|
19
|
-
attr_accessor :state
|
|
20
|
-
|
|
21
|
-
def initialize(
|
|
22
|
-
city: nil,
|
|
23
|
-
country: nil,
|
|
24
|
-
line1: nil,
|
|
25
|
-
line2: nil,
|
|
26
|
-
postal_code: nil,
|
|
27
|
-
state: nil
|
|
28
|
-
)
|
|
29
|
-
@city = city
|
|
30
|
-
@country = country
|
|
31
|
-
@line1 = line1
|
|
32
|
-
@line2 = line2
|
|
33
|
-
@postal_code = postal_code
|
|
34
|
-
@state = state
|
|
35
|
-
end
|
|
36
|
-
end
|
|
37
|
-
# The physical address of the tax location.
|
|
38
|
-
attr_accessor :address
|
|
39
|
-
# Details to identify the tax location by its venue, types of events held, or available services, such as "A spacious auditorium suitable for large concerts and events.".
|
|
40
|
-
attr_accessor :description
|
|
41
|
-
# Specifies which fields in the response should be expanded.
|
|
42
|
-
attr_accessor :expand
|
|
43
|
-
# The type of tax location. The only supported value is "performance".
|
|
44
|
-
attr_accessor :type
|
|
45
|
-
|
|
46
|
-
def initialize(address: nil, description: nil, expand: nil, type: nil)
|
|
47
|
-
@address = address
|
|
48
|
-
@description = description
|
|
49
|
-
@expand = expand
|
|
50
|
-
@type = type
|
|
51
|
-
end
|
|
52
|
-
end
|
|
53
|
-
end
|
|
54
|
-
end
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
# File generated from our OpenAPI spec
|
|
2
|
-
# frozen_string_literal: true
|
|
3
|
-
|
|
4
|
-
module Stripe
|
|
5
|
-
module Tax
|
|
6
|
-
class LocationListParams < ::Stripe::RequestParams
|
|
7
|
-
# A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list.
|
|
8
|
-
attr_accessor :ending_before
|
|
9
|
-
# Specifies which fields in the response should be expanded.
|
|
10
|
-
attr_accessor :expand
|
|
11
|
-
# A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.
|
|
12
|
-
attr_accessor :limit
|
|
13
|
-
# A cursor for use in pagination. `starting_after` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with `obj_foo`, your subsequent call can include `starting_after=obj_foo` in order to fetch the next page of the list.
|
|
14
|
-
attr_accessor :starting_after
|
|
15
|
-
# Type of the tax location. Currently the only option is `performance`.
|
|
16
|
-
attr_accessor :type
|
|
17
|
-
|
|
18
|
-
def initialize(ending_before: nil, expand: nil, limit: nil, starting_after: nil, type: nil)
|
|
19
|
-
@ending_before = ending_before
|
|
20
|
-
@expand = expand
|
|
21
|
-
@limit = limit
|
|
22
|
-
@starting_after = starting_after
|
|
23
|
-
@type = type
|
|
24
|
-
end
|
|
25
|
-
end
|
|
26
|
-
end
|
|
27
|
-
end
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
# File generated from our OpenAPI spec
|
|
2
|
-
# frozen_string_literal: true
|
|
3
|
-
|
|
4
|
-
module Stripe
|
|
5
|
-
module Tax
|
|
6
|
-
class LocationRetrieveParams < ::Stripe::RequestParams
|
|
7
|
-
# Specifies which fields in the response should be expanded.
|
|
8
|
-
attr_accessor :expand
|
|
9
|
-
|
|
10
|
-
def initialize(expand: nil)
|
|
11
|
-
@expand = expand
|
|
12
|
-
end
|
|
13
|
-
end
|
|
14
|
-
end
|
|
15
|
-
end
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
# File generated from our OpenAPI spec
|
|
2
|
-
# frozen_string_literal: true
|
|
3
|
-
|
|
4
|
-
module Stripe
|
|
5
|
-
module TestHelpers
|
|
6
|
-
module Capital
|
|
7
|
-
class FinancingOfferCreateParams < ::Stripe::RequestParams
|
|
8
|
-
# Amount of financing offered, in minor units. For example, 1,000 USD is represented as 100000.
|
|
9
|
-
attr_accessor :advance_amount
|
|
10
|
-
# Specifies which fields in the response should be expanded.
|
|
11
|
-
attr_accessor :expand
|
|
12
|
-
# Fixed fee amount, in minor units. For example, 100 USD is represented as 10000.
|
|
13
|
-
attr_accessor :fee_amount
|
|
14
|
-
# The type of financing offer.
|
|
15
|
-
attr_accessor :financing_type
|
|
16
|
-
# The status of the financing offer.
|
|
17
|
-
attr_accessor :status
|
|
18
|
-
# Per-transaction rate at which Stripe withholds funds to repay the financing.
|
|
19
|
-
attr_accessor :withhold_rate
|
|
20
|
-
|
|
21
|
-
def initialize(
|
|
22
|
-
advance_amount: nil,
|
|
23
|
-
expand: nil,
|
|
24
|
-
fee_amount: nil,
|
|
25
|
-
financing_type: nil,
|
|
26
|
-
status: nil,
|
|
27
|
-
withhold_rate: nil
|
|
28
|
-
)
|
|
29
|
-
@advance_amount = advance_amount
|
|
30
|
-
@expand = expand
|
|
31
|
-
@fee_amount = fee_amount
|
|
32
|
-
@financing_type = financing_type
|
|
33
|
-
@status = status
|
|
34
|
-
@withhold_rate = withhold_rate
|
|
35
|
-
end
|
|
36
|
-
end
|
|
37
|
-
end
|
|
38
|
-
end
|
|
39
|
-
end
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
# File generated from our OpenAPI spec
|
|
2
|
-
# frozen_string_literal: true
|
|
3
|
-
|
|
4
|
-
module Stripe
|
|
5
|
-
module TestHelpers
|
|
6
|
-
module Capital
|
|
7
|
-
class FinancingOfferRefillParams < ::Stripe::RequestParams
|
|
8
|
-
# Amount of financing offered, in minor units. For example, 1,000 USD is represented as 100000.
|
|
9
|
-
attr_accessor :advance_amount
|
|
10
|
-
# Specifies which fields in the response should be expanded.
|
|
11
|
-
attr_accessor :expand
|
|
12
|
-
# Fixed fee amount, in minor units. For example, 100 USD is represented as 10000.
|
|
13
|
-
attr_accessor :fee_amount
|
|
14
|
-
# The type of financing offer
|
|
15
|
-
attr_accessor :financing_type
|
|
16
|
-
# The status of the financing offer
|
|
17
|
-
attr_accessor :status
|
|
18
|
-
# Per-transaction rate at which Stripe withholds funds to repay the financing.
|
|
19
|
-
attr_accessor :withhold_rate
|
|
20
|
-
|
|
21
|
-
def initialize(
|
|
22
|
-
advance_amount: nil,
|
|
23
|
-
expand: nil,
|
|
24
|
-
fee_amount: nil,
|
|
25
|
-
financing_type: nil,
|
|
26
|
-
status: nil,
|
|
27
|
-
withhold_rate: nil
|
|
28
|
-
)
|
|
29
|
-
@advance_amount = advance_amount
|
|
30
|
-
@expand = expand
|
|
31
|
-
@fee_amount = fee_amount
|
|
32
|
-
@financing_type = financing_type
|
|
33
|
-
@status = status
|
|
34
|
-
@withhold_rate = withhold_rate
|
|
35
|
-
end
|
|
36
|
-
end
|
|
37
|
-
end
|
|
38
|
-
end
|
|
39
|
-
end
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
# File generated from our OpenAPI spec
|
|
2
|
-
# frozen_string_literal: true
|
|
3
|
-
|
|
4
|
-
module Stripe
|
|
5
|
-
module TestHelpers
|
|
6
|
-
module SharedPayment
|
|
7
|
-
class GrantedTokenCreateParams < ::Stripe::RequestParams
|
|
8
|
-
class UsageLimits < ::Stripe::RequestParams
|
|
9
|
-
# 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).
|
|
10
|
-
attr_accessor :currency
|
|
11
|
-
# Time at which this SharedPaymentToken expires and can no longer be used to confirm a PaymentIntent.
|
|
12
|
-
attr_accessor :expires_at
|
|
13
|
-
# Max amount that can be captured using this SharedPaymentToken
|
|
14
|
-
attr_accessor :max_amount
|
|
15
|
-
|
|
16
|
-
def initialize(currency: nil, expires_at: nil, max_amount: nil)
|
|
17
|
-
@currency = currency
|
|
18
|
-
@expires_at = expires_at
|
|
19
|
-
@max_amount = max_amount
|
|
20
|
-
end
|
|
21
|
-
end
|
|
22
|
-
# The Customer that the SharedPaymentGrantedToken belongs to. Should match the Customer that the PaymentMethod is attached to if any.
|
|
23
|
-
attr_accessor :customer
|
|
24
|
-
# Specifies which fields in the response should be expanded.
|
|
25
|
-
attr_accessor :expand
|
|
26
|
-
# The PaymentMethod that is going to be shared by the SharedPaymentGrantedToken.
|
|
27
|
-
attr_accessor :payment_method
|
|
28
|
-
# Set of [key-value pairs](https://docs.stripe.com/api/metadata) that you can attach to the SharedPaymentGrantedToken.
|
|
29
|
-
attr_accessor :shared_metadata
|
|
30
|
-
# Limits on how this SharedPaymentGrantedToken can be used.
|
|
31
|
-
attr_accessor :usage_limits
|
|
32
|
-
|
|
33
|
-
def initialize(
|
|
34
|
-
customer: nil,
|
|
35
|
-
expand: nil,
|
|
36
|
-
payment_method: nil,
|
|
37
|
-
shared_metadata: nil,
|
|
38
|
-
usage_limits: nil
|
|
39
|
-
)
|
|
40
|
-
@customer = customer
|
|
41
|
-
@expand = expand
|
|
42
|
-
@payment_method = payment_method
|
|
43
|
-
@shared_metadata = shared_metadata
|
|
44
|
-
@usage_limits = usage_limits
|
|
45
|
-
end
|
|
46
|
-
end
|
|
47
|
-
end
|
|
48
|
-
end
|
|
49
|
-
end
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
# File generated from our OpenAPI spec
|
|
2
|
-
# frozen_string_literal: true
|
|
3
|
-
|
|
4
|
-
module Stripe
|
|
5
|
-
module TestHelpers
|
|
6
|
-
module SharedPayment
|
|
7
|
-
class GrantedTokenRevokeParams < ::Stripe::RequestParams
|
|
8
|
-
# Specifies which fields in the response should be expanded.
|
|
9
|
-
attr_accessor :expand
|
|
10
|
-
|
|
11
|
-
def initialize(expand: nil)
|
|
12
|
-
@expand = expand
|
|
13
|
-
end
|
|
14
|
-
end
|
|
15
|
-
end
|
|
16
|
-
end
|
|
17
|
-
end
|