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
|
@@ -89,61 +89,6 @@ module Stripe
|
|
|
89
89
|
end
|
|
90
90
|
end
|
|
91
91
|
|
|
92
|
-
class LicenseFeeSubscriptionDetails < ::Stripe::StripeObject
|
|
93
|
-
# The invoice item that generated this line item
|
|
94
|
-
attr_reader :invoice_item
|
|
95
|
-
# The license fee subscription that generated this line item
|
|
96
|
-
attr_reader :license_fee_subscription
|
|
97
|
-
# The license fee version at the time this line item was generated
|
|
98
|
-
attr_reader :license_fee_version
|
|
99
|
-
# The pricing plan subscription that manages the license fee subscription
|
|
100
|
-
attr_reader :pricing_plan_subscription
|
|
101
|
-
# The pricing plan version at the time this line item was generated
|
|
102
|
-
attr_reader :pricing_plan_version
|
|
103
|
-
|
|
104
|
-
def self.inner_class_types
|
|
105
|
-
@inner_class_types = {}
|
|
106
|
-
end
|
|
107
|
-
|
|
108
|
-
def self.field_remappings
|
|
109
|
-
@field_remappings = {}
|
|
110
|
-
end
|
|
111
|
-
end
|
|
112
|
-
|
|
113
|
-
class RateCardSubscriptionDetails < ::Stripe::StripeObject
|
|
114
|
-
# The invoice item that generated this line item
|
|
115
|
-
attr_reader :invoice_item
|
|
116
|
-
# The pricing plan subscription that manages the rate card subscription
|
|
117
|
-
attr_reader :pricing_plan_subscription
|
|
118
|
-
# The pricing plan version at the time this line item was generated
|
|
119
|
-
attr_reader :pricing_plan_version
|
|
120
|
-
# The rate card subscription that generated this line item
|
|
121
|
-
attr_reader :rate_card_subscription
|
|
122
|
-
# The rate card version at the time this line item was generated
|
|
123
|
-
attr_reader :rate_card_version
|
|
124
|
-
|
|
125
|
-
def self.inner_class_types
|
|
126
|
-
@inner_class_types = {}
|
|
127
|
-
end
|
|
128
|
-
|
|
129
|
-
def self.field_remappings
|
|
130
|
-
@field_remappings = {}
|
|
131
|
-
end
|
|
132
|
-
end
|
|
133
|
-
|
|
134
|
-
class ScheduleDetails < ::Stripe::StripeObject
|
|
135
|
-
# The subscription schedule that generated this line item
|
|
136
|
-
attr_reader :schedule
|
|
137
|
-
|
|
138
|
-
def self.inner_class_types
|
|
139
|
-
@inner_class_types = {}
|
|
140
|
-
end
|
|
141
|
-
|
|
142
|
-
def self.field_remappings
|
|
143
|
-
@field_remappings = {}
|
|
144
|
-
end
|
|
145
|
-
end
|
|
146
|
-
|
|
147
92
|
class SubscriptionItemDetails < ::Stripe::StripeObject
|
|
148
93
|
class ProrationDetails < ::Stripe::StripeObject
|
|
149
94
|
class CreditedItems < ::Stripe::StripeObject
|
|
@@ -192,12 +137,6 @@ module Stripe
|
|
|
192
137
|
end
|
|
193
138
|
# Details about the invoice item that generated this line item
|
|
194
139
|
attr_reader :invoice_item_details
|
|
195
|
-
# Details about the license fee subscription that generated this line item
|
|
196
|
-
attr_reader :license_fee_subscription_details
|
|
197
|
-
# Details about the rate card subscription that generated this line item
|
|
198
|
-
attr_reader :rate_card_subscription_details
|
|
199
|
-
# Details about the subscription schedule that generated this line item
|
|
200
|
-
attr_reader :schedule_details
|
|
201
140
|
# Details about the subscription item that generated this line item
|
|
202
141
|
attr_reader :subscription_item_details
|
|
203
142
|
# The type of parent that generated this line item
|
|
@@ -206,9 +145,6 @@ module Stripe
|
|
|
206
145
|
def self.inner_class_types
|
|
207
146
|
@inner_class_types = {
|
|
208
147
|
invoice_item_details: InvoiceItemDetails,
|
|
209
|
-
license_fee_subscription_details: LicenseFeeSubscriptionDetails,
|
|
210
|
-
rate_card_subscription_details: RateCardSubscriptionDetails,
|
|
211
|
-
schedule_details: ScheduleDetails,
|
|
212
148
|
subscription_item_details: SubscriptionItemDetails,
|
|
213
149
|
}
|
|
214
150
|
end
|
|
@@ -255,23 +191,6 @@ module Stripe
|
|
|
255
191
|
end
|
|
256
192
|
|
|
257
193
|
class Pricing < ::Stripe::StripeObject
|
|
258
|
-
class LicenseFeeDetails < ::Stripe::StripeObject
|
|
259
|
-
# The ID of the license fee this item is associated with
|
|
260
|
-
attr_reader :license_fee
|
|
261
|
-
# The version of the license fee this item is associated with
|
|
262
|
-
attr_reader :license_fee_version
|
|
263
|
-
# The ID of the licensed item this item is associated with
|
|
264
|
-
attr_reader :licensed_item
|
|
265
|
-
|
|
266
|
-
def self.inner_class_types
|
|
267
|
-
@inner_class_types = {}
|
|
268
|
-
end
|
|
269
|
-
|
|
270
|
-
def self.field_remappings
|
|
271
|
-
@field_remappings = {}
|
|
272
|
-
end
|
|
273
|
-
end
|
|
274
|
-
|
|
275
194
|
class PriceDetails < ::Stripe::StripeObject
|
|
276
195
|
# The ID of the price this item is associated with.
|
|
277
196
|
attr_reader :price
|
|
@@ -286,40 +205,15 @@ module Stripe
|
|
|
286
205
|
@field_remappings = {}
|
|
287
206
|
end
|
|
288
207
|
end
|
|
289
|
-
|
|
290
|
-
class RateCardRateDetails < ::Stripe::StripeObject
|
|
291
|
-
# The ID of billable item this item is associated with
|
|
292
|
-
attr_reader :metered_item
|
|
293
|
-
# The ID of the rate card this item is associated with
|
|
294
|
-
attr_reader :rate_card
|
|
295
|
-
# The ID of the rate card rate this item is associated with
|
|
296
|
-
attr_reader :rate_card_rate
|
|
297
|
-
|
|
298
|
-
def self.inner_class_types
|
|
299
|
-
@inner_class_types = {}
|
|
300
|
-
end
|
|
301
|
-
|
|
302
|
-
def self.field_remappings
|
|
303
|
-
@field_remappings = {}
|
|
304
|
-
end
|
|
305
|
-
end
|
|
306
|
-
# Attribute for field license_fee_details
|
|
307
|
-
attr_reader :license_fee_details
|
|
308
208
|
# Attribute for field price_details
|
|
309
209
|
attr_reader :price_details
|
|
310
|
-
# Attribute for field rate_card_rate_details
|
|
311
|
-
attr_reader :rate_card_rate_details
|
|
312
210
|
# The type of the pricing details.
|
|
313
211
|
attr_reader :type
|
|
314
212
|
# The unit amount (in the `currency` specified) of the item which contains a decimal value with at most 12 decimal places.
|
|
315
213
|
attr_reader :unit_amount_decimal
|
|
316
214
|
|
|
317
215
|
def self.inner_class_types
|
|
318
|
-
@inner_class_types = {
|
|
319
|
-
license_fee_details: LicenseFeeDetails,
|
|
320
|
-
price_details: PriceDetails,
|
|
321
|
-
rate_card_rate_details: RateCardRateDetails,
|
|
322
|
-
}
|
|
216
|
+
@inner_class_types = { price_details: PriceDetails }
|
|
323
217
|
end
|
|
324
218
|
|
|
325
219
|
def self.field_remappings
|
|
@@ -189,8 +189,6 @@ module Stripe
|
|
|
189
189
|
attr_reader :eligible
|
|
190
190
|
# Reason the card is ineligible for Apple Pay
|
|
191
191
|
attr_reader :ineligible_reason
|
|
192
|
-
# Unique identifier for the card in Apple Pay
|
|
193
|
-
attr_reader :primary_account_identifier
|
|
194
192
|
|
|
195
193
|
def self.inner_class_types
|
|
196
194
|
@inner_class_types = {}
|
|
@@ -206,8 +204,6 @@ module Stripe
|
|
|
206
204
|
attr_reader :eligible
|
|
207
205
|
# Reason the card is ineligible for Google Pay
|
|
208
206
|
attr_reader :ineligible_reason
|
|
209
|
-
# Unique identifier for the card in Google Pay
|
|
210
|
-
attr_reader :primary_account_identifier
|
|
211
207
|
|
|
212
208
|
def self.inner_class_types
|
|
213
209
|
@inner_class_types = {}
|
|
@@ -27,19 +27,6 @@ module Stripe
|
|
|
27
27
|
|
|
28
28
|
nested_resource_class_methods :amount_details_line_item, operations: %i[list]
|
|
29
29
|
|
|
30
|
-
class AllocatedFunds < ::Stripe::StripeObject
|
|
31
|
-
# Allocated Funds configuration for this PaymentIntent.
|
|
32
|
-
attr_reader :enabled
|
|
33
|
-
|
|
34
|
-
def self.inner_class_types
|
|
35
|
-
@inner_class_types = {}
|
|
36
|
-
end
|
|
37
|
-
|
|
38
|
-
def self.field_remappings
|
|
39
|
-
@field_remappings = {}
|
|
40
|
-
end
|
|
41
|
-
end
|
|
42
|
-
|
|
43
30
|
class AmountDetails < ::Stripe::StripeObject
|
|
44
31
|
class Error < ::Stripe::StripeObject
|
|
45
32
|
# The code of the error that occurred when validating the current amount details.
|
|
@@ -1252,31 +1239,6 @@ module Stripe
|
|
|
1252
1239
|
end
|
|
1253
1240
|
|
|
1254
1241
|
class PaymentDetails < ::Stripe::StripeObject
|
|
1255
|
-
class Benefit < ::Stripe::StripeObject
|
|
1256
|
-
class FrMealVoucher < ::Stripe::StripeObject
|
|
1257
|
-
# The 14-digit SIRET of the meal voucher acceptor.
|
|
1258
|
-
attr_reader :siret
|
|
1259
|
-
|
|
1260
|
-
def self.inner_class_types
|
|
1261
|
-
@inner_class_types = {}
|
|
1262
|
-
end
|
|
1263
|
-
|
|
1264
|
-
def self.field_remappings
|
|
1265
|
-
@field_remappings = {}
|
|
1266
|
-
end
|
|
1267
|
-
end
|
|
1268
|
-
# Attribute for field fr_meal_voucher
|
|
1269
|
-
attr_reader :fr_meal_voucher
|
|
1270
|
-
|
|
1271
|
-
def self.inner_class_types
|
|
1272
|
-
@inner_class_types = { fr_meal_voucher: FrMealVoucher }
|
|
1273
|
-
end
|
|
1274
|
-
|
|
1275
|
-
def self.field_remappings
|
|
1276
|
-
@field_remappings = {}
|
|
1277
|
-
end
|
|
1278
|
-
end
|
|
1279
|
-
|
|
1280
1242
|
class CarRental < ::Stripe::StripeObject
|
|
1281
1243
|
class Affiliate < ::Stripe::StripeObject
|
|
1282
1244
|
# The name of the affiliate that originated the purchase.
|
|
@@ -2420,8 +2382,6 @@ module Stripe
|
|
|
2420
2382
|
@field_remappings = {}
|
|
2421
2383
|
end
|
|
2422
2384
|
end
|
|
2423
|
-
# Attribute for field benefit
|
|
2424
|
-
attr_reader :benefit
|
|
2425
2385
|
# Attribute for field car_rental
|
|
2426
2386
|
attr_reader :car_rental
|
|
2427
2387
|
# Attribute for field car_rental_data
|
|
@@ -2447,7 +2407,6 @@ module Stripe
|
|
|
2447
2407
|
|
|
2448
2408
|
def self.inner_class_types
|
|
2449
2409
|
@inner_class_types = {
|
|
2450
|
-
benefit: Benefit,
|
|
2451
2410
|
car_rental: CarRental,
|
|
2452
2411
|
car_rental_data: CarRentalDatum,
|
|
2453
2412
|
event_details: EventDetails,
|
|
@@ -4219,19 +4178,6 @@ module Stripe
|
|
|
4219
4178
|
end
|
|
4220
4179
|
end
|
|
4221
4180
|
|
|
4222
|
-
class PaymentsOrchestration < ::Stripe::StripeObject
|
|
4223
|
-
# Whether this feature is enabled.
|
|
4224
|
-
attr_reader :enabled
|
|
4225
|
-
|
|
4226
|
-
def self.inner_class_types
|
|
4227
|
-
@inner_class_types = {}
|
|
4228
|
-
end
|
|
4229
|
-
|
|
4230
|
-
def self.field_remappings
|
|
4231
|
-
@field_remappings = {}
|
|
4232
|
-
end
|
|
4233
|
-
end
|
|
4234
|
-
|
|
4235
4181
|
class PresentmentDetails < ::Stripe::StripeObject
|
|
4236
4182
|
# Amount intended to be collected by this payment, denominated in `presentment_currency`.
|
|
4237
4183
|
attr_reader :presentment_amount
|
|
@@ -4347,8 +4293,6 @@ module Stripe
|
|
|
4347
4293
|
@field_remappings = {}
|
|
4348
4294
|
end
|
|
4349
4295
|
end
|
|
4350
|
-
# Allocated Funds configuration for this PaymentIntent.
|
|
4351
|
-
attr_reader :allocated_funds
|
|
4352
4296
|
# Amount intended to be collected by this PaymentIntent. A positive integer representing how much to charge in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal) (e.g., 100 cents to charge $1.00 or 100 to charge ¥100, a zero-decimal currency). The minimum amount is $0.50 US or [equivalent in charge currency](https://docs.stripe.com/currencies#minimum-and-maximum-charge-amounts). The amount value supports up to eight digits (e.g., a value of 99999999 for a USD charge of $999,999.99).
|
|
4353
4297
|
attr_reader :amount
|
|
4354
4298
|
# Amount that can be captured from this PaymentIntent.
|
|
@@ -4430,8 +4374,6 @@ module Stripe
|
|
|
4430
4374
|
attr_reader :payment_method_options
|
|
4431
4375
|
# The list of payment method types (e.g. card) that this PaymentIntent is allowed to use. A comprehensive list of valid payment method types can be found [here](https://docs.stripe.com/api/payment_methods/object#payment_method_object-type).
|
|
4432
4376
|
attr_reader :payment_method_types
|
|
4433
|
-
# When you enable this parameter, this PaymentIntent will route your payment to processors that you configure in the dashboard.
|
|
4434
|
-
attr_reader :payments_orchestration
|
|
4435
4377
|
# Attribute for field presentment_details
|
|
4436
4378
|
attr_reader :presentment_details
|
|
4437
4379
|
# If present, this property tells you about the processing state of the payment.
|
|
@@ -4450,8 +4392,6 @@ module Stripe
|
|
|
4450
4392
|
#
|
|
4451
4393
|
# When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).
|
|
4452
4394
|
attr_reader :setup_future_usage
|
|
4453
|
-
# ID of the shared payment token granted to be used in this PaymentIntent
|
|
4454
|
-
attr_reader :shared_payment_granted_token
|
|
4455
4395
|
# Shipping information for this PaymentIntent.
|
|
4456
4396
|
attr_reader :shipping
|
|
4457
4397
|
# This is a legacy field that will be removed in the future. It is the ID of the Source object that is associated with this PaymentIntent, if one was supplied.
|
|
@@ -4829,7 +4769,6 @@ module Stripe
|
|
|
4829
4769
|
|
|
4830
4770
|
def self.inner_class_types
|
|
4831
4771
|
@inner_class_types = {
|
|
4832
|
-
allocated_funds: AllocatedFunds,
|
|
4833
4772
|
amount_details: AmountDetails,
|
|
4834
4773
|
async_workflows: AsyncWorkflows,
|
|
4835
4774
|
automatic_payment_methods: AutomaticPaymentMethods,
|
|
@@ -4839,7 +4778,6 @@ module Stripe
|
|
|
4839
4778
|
payment_details: PaymentDetails,
|
|
4840
4779
|
payment_method_configuration_details: PaymentMethodConfigurationDetails,
|
|
4841
4780
|
payment_method_options: PaymentMethodOptions,
|
|
4842
|
-
payments_orchestration: PaymentsOrchestration,
|
|
4843
4781
|
presentment_details: PresentmentDetails,
|
|
4844
4782
|
processing: Processing,
|
|
4845
4783
|
shipping: Shipping,
|
|
@@ -211,21 +211,6 @@ module Stripe
|
|
|
211
211
|
end
|
|
212
212
|
|
|
213
213
|
class Card < ::Stripe::StripeObject
|
|
214
|
-
class Benefits < ::Stripe::StripeObject
|
|
215
|
-
# Issuer of this benefit card
|
|
216
|
-
attr_reader :issuer
|
|
217
|
-
# Available benefit programs for this card
|
|
218
|
-
attr_reader :programs
|
|
219
|
-
|
|
220
|
-
def self.inner_class_types
|
|
221
|
-
@inner_class_types = {}
|
|
222
|
-
end
|
|
223
|
-
|
|
224
|
-
def self.field_remappings
|
|
225
|
-
@field_remappings = {}
|
|
226
|
-
end
|
|
227
|
-
end
|
|
228
|
-
|
|
229
214
|
class Checks < ::Stripe::StripeObject
|
|
230
215
|
# If a address line1 was provided, results of the check, one of `pass`, `fail`, `unavailable`, or `unchecked`.
|
|
231
216
|
attr_reader :address_line1_check
|
|
@@ -639,8 +624,6 @@ module Stripe
|
|
|
639
624
|
@field_remappings = {}
|
|
640
625
|
end
|
|
641
626
|
end
|
|
642
|
-
# Attribute for field benefits
|
|
643
|
-
attr_reader :benefits
|
|
644
627
|
# Card brand. Can be `amex`, `cartes_bancaires`, `diners`, `discover`, `eftpos_au`, `jcb`, `link`, `mastercard`, `unionpay`, `visa` or `unknown`.
|
|
645
628
|
attr_reader :brand
|
|
646
629
|
# Checks on Card address and CVC if provided.
|
|
@@ -680,7 +663,6 @@ module Stripe
|
|
|
680
663
|
|
|
681
664
|
def self.inner_class_types
|
|
682
665
|
@inner_class_types = {
|
|
683
|
-
benefits: Benefits,
|
|
684
666
|
checks: Checks,
|
|
685
667
|
generated_from: GeneratedFrom,
|
|
686
668
|
networks: Networks,
|
|
@@ -1723,26 +1705,6 @@ module Stripe
|
|
|
1723
1705
|
)
|
|
1724
1706
|
end
|
|
1725
1707
|
|
|
1726
|
-
# Retrieves a PaymentMethod's Balance.
|
|
1727
|
-
def check_balance(params = {}, opts = {})
|
|
1728
|
-
request_stripe_object(
|
|
1729
|
-
method: :post,
|
|
1730
|
-
path: format("/v1/payment_methods/%<payment_method>s/check_balance", { payment_method: CGI.escape(self["id"]) }),
|
|
1731
|
-
params: params,
|
|
1732
|
-
opts: opts
|
|
1733
|
-
)
|
|
1734
|
-
end
|
|
1735
|
-
|
|
1736
|
-
# Retrieves a PaymentMethod's Balance.
|
|
1737
|
-
def self.check_balance(payment_method, params = {}, opts = {})
|
|
1738
|
-
request_stripe_object(
|
|
1739
|
-
method: :post,
|
|
1740
|
-
path: format("/v1/payment_methods/%<payment_method>s/check_balance", { payment_method: CGI.escape(payment_method) }),
|
|
1741
|
-
params: params,
|
|
1742
|
-
opts: opts
|
|
1743
|
-
)
|
|
1744
|
-
end
|
|
1745
|
-
|
|
1746
1708
|
# Creates a PaymentMethod object. Read the [Stripe.js reference](https://docs.stripe.com/docs/stripe-js/reference#stripe-create-payment-method) to learn how to create PaymentMethods via Stripe.js.
|
|
1747
1709
|
#
|
|
1748
1710
|
# Instead of creating a PaymentMethod directly, we recommend using the [PaymentIntents API to accept a payment immediately or the <a href="/docs/payments/save-and-reuse">SetupIntent](https://docs.stripe.com/docs/payments/accept-a-payment) API to collect payment method details ahead of a future payment.
|
|
@@ -292,36 +292,6 @@ module Stripe
|
|
|
292
292
|
end
|
|
293
293
|
end
|
|
294
294
|
|
|
295
|
-
class SelfReportedIncome < ::Stripe::StripeObject
|
|
296
|
-
# The amount in the minor currency unit (for example, cents for USD).
|
|
297
|
-
attr_reader :amount
|
|
298
|
-
# 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).
|
|
299
|
-
attr_reader :currency
|
|
300
|
-
|
|
301
|
-
def self.inner_class_types
|
|
302
|
-
@inner_class_types = {}
|
|
303
|
-
end
|
|
304
|
-
|
|
305
|
-
def self.field_remappings
|
|
306
|
-
@field_remappings = {}
|
|
307
|
-
end
|
|
308
|
-
end
|
|
309
|
-
|
|
310
|
-
class SelfReportedMonthlyHousingPayment < ::Stripe::StripeObject
|
|
311
|
-
# The amount in the minor currency unit (for example, cents for USD).
|
|
312
|
-
attr_reader :amount
|
|
313
|
-
# 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).
|
|
314
|
-
attr_reader :currency
|
|
315
|
-
|
|
316
|
-
def self.inner_class_types
|
|
317
|
-
@inner_class_types = {}
|
|
318
|
-
end
|
|
319
|
-
|
|
320
|
-
def self.field_remappings
|
|
321
|
-
@field_remappings = {}
|
|
322
|
-
end
|
|
323
|
-
end
|
|
324
|
-
|
|
325
295
|
class UsCfpbData < ::Stripe::StripeObject
|
|
326
296
|
class EthnicityDetails < ::Stripe::StripeObject
|
|
327
297
|
# The persons ethnicity
|
|
@@ -483,10 +453,6 @@ module Stripe
|
|
|
483
453
|
attr_reader :relationship
|
|
484
454
|
# Information about the requirements for this person, including what information needs to be collected, and by when.
|
|
485
455
|
attr_reader :requirements
|
|
486
|
-
# Attribute for field self_reported_income
|
|
487
|
-
attr_reader :self_reported_income
|
|
488
|
-
# Attribute for field self_reported_monthly_housing_payment
|
|
489
|
-
attr_reader :self_reported_monthly_housing_payment
|
|
490
456
|
# Whether the last four digits of the person's Social Security number have been provided (U.S. only).
|
|
491
457
|
attr_reader :ssn_last_4_provided
|
|
492
458
|
# Demographic data related to the person.
|
|
@@ -528,8 +494,6 @@ module Stripe
|
|
|
528
494
|
registered_address: RegisteredAddress,
|
|
529
495
|
relationship: Relationship,
|
|
530
496
|
requirements: Requirements,
|
|
531
|
-
self_reported_income: SelfReportedIncome,
|
|
532
|
-
self_reported_monthly_housing_payment: SelfReportedMonthlyHousingPayment,
|
|
533
497
|
us_cfpb_data: UsCfpbData,
|
|
534
498
|
verification: Verification,
|
|
535
499
|
}
|
|
@@ -68,8 +68,6 @@ module Stripe
|
|
|
68
68
|
attr_reader :created
|
|
69
69
|
# 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).
|
|
70
70
|
attr_reader :currency
|
|
71
|
-
# A custom identifier for this price, such as a SKU number or product code, that can be used to reference records from external systems.
|
|
72
|
-
attr_reader :external_reference
|
|
73
71
|
# Unique identifier for the object.
|
|
74
72
|
attr_reader :id
|
|
75
73
|
# The frequency at which a subscription is billed. One of `day`, `week`, `month` or `year`.
|
|
@@ -179,8 +179,6 @@ module Stripe
|
|
|
179
179
|
attr_reader :currency_options
|
|
180
180
|
# When set, provides configuration for the amount to be adjusted by the customer during Checkout Sessions and Payment Links.
|
|
181
181
|
attr_reader :custom_unit_amount
|
|
182
|
-
# A custom identifier for this price, such as a SKU number or product code, that can be used to reference records from external systems.
|
|
183
|
-
attr_reader :external_reference
|
|
184
182
|
# Unique identifier for the object.
|
|
185
183
|
attr_reader :id
|
|
186
184
|
# Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.
|