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
|
@@ -17,21 +17,6 @@ module Stripe
|
|
|
17
17
|
"card"
|
|
18
18
|
end
|
|
19
19
|
|
|
20
|
-
class Benefits < ::Stripe::StripeObject
|
|
21
|
-
# Issuer of this benefit card
|
|
22
|
-
attr_reader :issuer
|
|
23
|
-
# Available benefit programs for this card
|
|
24
|
-
attr_reader :programs
|
|
25
|
-
|
|
26
|
-
def self.inner_class_types
|
|
27
|
-
@inner_class_types = {}
|
|
28
|
-
end
|
|
29
|
-
|
|
30
|
-
def self.field_remappings
|
|
31
|
-
@field_remappings = {}
|
|
32
|
-
end
|
|
33
|
-
end
|
|
34
|
-
|
|
35
20
|
class Networks < ::Stripe::StripeObject
|
|
36
21
|
# The preferred network for co-branded cards. Can be `cartes_bancaires`, `mastercard`, `visa` or `invalid_preference` if requested network is not valid for the card.
|
|
37
22
|
attr_reader :preferred
|
|
@@ -66,8 +51,6 @@ module Stripe
|
|
|
66
51
|
attr_reader :allow_redisplay
|
|
67
52
|
# A set of available payout methods for this card. Only values from this set should be passed as the `method` when creating a payout.
|
|
68
53
|
attr_reader :available_payout_methods
|
|
69
|
-
# Attribute for field benefits
|
|
70
|
-
attr_reader :benefits
|
|
71
54
|
# Card brand. Can be `American Express`, `Cartes Bancaires`, `Diners Club`, `Discover`, `Eftpos Australia`, `Girocard`, `JCB`, `MasterCard`, `UnionPay`, `Visa`, or `Unknown`.
|
|
72
55
|
attr_reader :brand
|
|
73
56
|
# The [product code](https://stripe.com/docs/card-product-codes) that identifies the specific program or product associated with a card. (For internal use only and not typically available in standard API requests.)
|
|
@@ -171,7 +154,7 @@ module Stripe
|
|
|
171
154
|
end
|
|
172
155
|
|
|
173
156
|
def self.inner_class_types
|
|
174
|
-
@inner_class_types = {
|
|
157
|
+
@inner_class_types = { networks: Networks }
|
|
175
158
|
end
|
|
176
159
|
|
|
177
160
|
def self.field_remappings
|
|
@@ -477,19 +477,6 @@ module Stripe
|
|
|
477
477
|
end
|
|
478
478
|
|
|
479
479
|
class Card < ::Stripe::StripeObject
|
|
480
|
-
class Benefits < ::Stripe::StripeObject
|
|
481
|
-
# Issuer of the benefit card utilized on this payment
|
|
482
|
-
attr_reader :issuer
|
|
483
|
-
|
|
484
|
-
def self.inner_class_types
|
|
485
|
-
@inner_class_types = {}
|
|
486
|
-
end
|
|
487
|
-
|
|
488
|
-
def self.field_remappings
|
|
489
|
-
@field_remappings = {}
|
|
490
|
-
end
|
|
491
|
-
end
|
|
492
|
-
|
|
493
480
|
class Checks < ::Stripe::StripeObject
|
|
494
481
|
# If a address line1 was provided, results of the check, one of `pass`, `fail`, `unavailable`, or `unchecked`.
|
|
495
482
|
attr_reader :address_line1_check
|
|
@@ -887,8 +874,6 @@ module Stripe
|
|
|
887
874
|
attr_reader :amount_requested
|
|
888
875
|
# Authorization code on the charge.
|
|
889
876
|
attr_reader :authorization_code
|
|
890
|
-
# Attribute for field benefits
|
|
891
|
-
attr_reader :benefits
|
|
892
877
|
# Card brand. Can be `amex`, `cartes_bancaires`, `diners`, `discover`, `eftpos_au`, `jcb`, `link`, `mastercard`, `unionpay`, `visa` or `unknown`.
|
|
893
878
|
attr_reader :brand
|
|
894
879
|
# When using manual capture, a future timestamp at which the charge will be automatically refunded if uncaptured.
|
|
@@ -950,7 +935,6 @@ module Stripe
|
|
|
950
935
|
|
|
951
936
|
def self.inner_class_types
|
|
952
937
|
@inner_class_types = {
|
|
953
|
-
benefits: Benefits,
|
|
954
938
|
checks: Checks,
|
|
955
939
|
decremental_authorization: DecrementalAuthorization,
|
|
956
940
|
extended_authorization: ExtendedAuthorization,
|
|
@@ -2383,8 +2367,6 @@ module Stripe
|
|
|
2383
2367
|
@field_remappings = {}
|
|
2384
2368
|
end
|
|
2385
2369
|
end
|
|
2386
|
-
# Funds that are in transit and destined for another balance or another connected account.
|
|
2387
|
-
attr_reader :allocated_funds
|
|
2388
2370
|
# Amount intended to be collected by this payment. 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).
|
|
2389
2371
|
attr_reader :amount
|
|
2390
2372
|
# Amount in cents (or local equivalent) captured (can be less than the amount attribute on the charge if a partial capture was made).
|
|
@@ -2209,95 +2209,6 @@ module Stripe
|
|
|
2209
2209
|
@field_remappings = {}
|
|
2210
2210
|
end
|
|
2211
2211
|
end
|
|
2212
|
-
|
|
2213
|
-
class CheckoutItem < ::Stripe::StripeObject
|
|
2214
|
-
class PricingPlanSubscriptionItem < ::Stripe::StripeObject
|
|
2215
|
-
class ComponentConfigurations < ::Stripe::StripeObject
|
|
2216
|
-
class LicenseFeeComponent < ::Stripe::StripeObject
|
|
2217
|
-
# Attribute for field quantity
|
|
2218
|
-
attr_reader :quantity
|
|
2219
|
-
|
|
2220
|
-
def self.inner_class_types
|
|
2221
|
-
@inner_class_types = {}
|
|
2222
|
-
end
|
|
2223
|
-
|
|
2224
|
-
def self.field_remappings
|
|
2225
|
-
@field_remappings = {}
|
|
2226
|
-
end
|
|
2227
|
-
end
|
|
2228
|
-
# Attribute for field type
|
|
2229
|
-
attr_reader :type
|
|
2230
|
-
# Attribute for field license_fee_component
|
|
2231
|
-
attr_reader :license_fee_component
|
|
2232
|
-
|
|
2233
|
-
def self.inner_class_types
|
|
2234
|
-
@inner_class_types = { license_fee_component: LicenseFeeComponent }
|
|
2235
|
-
end
|
|
2236
|
-
|
|
2237
|
-
def self.field_remappings
|
|
2238
|
-
@field_remappings = {}
|
|
2239
|
-
end
|
|
2240
|
-
end
|
|
2241
|
-
# Attribute for field pricing_plan
|
|
2242
|
-
attr_reader :pricing_plan
|
|
2243
|
-
# Attribute for field pricing_plan_version
|
|
2244
|
-
attr_reader :pricing_plan_version
|
|
2245
|
-
# Attribute for field metadata
|
|
2246
|
-
attr_reader :metadata
|
|
2247
|
-
# Attribute for field component_configurations
|
|
2248
|
-
attr_reader :component_configurations
|
|
2249
|
-
# Attribute for field pricing_plan_subscription
|
|
2250
|
-
attr_reader :pricing_plan_subscription
|
|
2251
|
-
# Attribute for field billing_cadence
|
|
2252
|
-
attr_reader :billing_cadence
|
|
2253
|
-
|
|
2254
|
-
def self.inner_class_types
|
|
2255
|
-
@inner_class_types = { component_configurations: ComponentConfigurations }
|
|
2256
|
-
end
|
|
2257
|
-
|
|
2258
|
-
def self.field_remappings
|
|
2259
|
-
@field_remappings = {}
|
|
2260
|
-
end
|
|
2261
|
-
end
|
|
2262
|
-
|
|
2263
|
-
class RateCardSubscriptionItem < ::Stripe::StripeObject
|
|
2264
|
-
# Attribute for field rate_card
|
|
2265
|
-
attr_reader :rate_card
|
|
2266
|
-
# Attribute for field metadata
|
|
2267
|
-
attr_reader :metadata
|
|
2268
|
-
# Attribute for field rate_card_version
|
|
2269
|
-
attr_reader :rate_card_version
|
|
2270
|
-
# Attribute for field billing_cadence
|
|
2271
|
-
attr_reader :billing_cadence
|
|
2272
|
-
# Attribute for field rate_card_subscription
|
|
2273
|
-
attr_reader :rate_card_subscription
|
|
2274
|
-
|
|
2275
|
-
def self.inner_class_types
|
|
2276
|
-
@inner_class_types = {}
|
|
2277
|
-
end
|
|
2278
|
-
|
|
2279
|
-
def self.field_remappings
|
|
2280
|
-
@field_remappings = {}
|
|
2281
|
-
end
|
|
2282
|
-
end
|
|
2283
|
-
# Attribute for field type
|
|
2284
|
-
attr_reader :type
|
|
2285
|
-
# Attribute for field rate_card_subscription_item
|
|
2286
|
-
attr_reader :rate_card_subscription_item
|
|
2287
|
-
# Attribute for field pricing_plan_subscription_item
|
|
2288
|
-
attr_reader :pricing_plan_subscription_item
|
|
2289
|
-
|
|
2290
|
-
def self.inner_class_types
|
|
2291
|
-
@inner_class_types = {
|
|
2292
|
-
rate_card_subscription_item: RateCardSubscriptionItem,
|
|
2293
|
-
pricing_plan_subscription_item: PricingPlanSubscriptionItem,
|
|
2294
|
-
}
|
|
2295
|
-
end
|
|
2296
|
-
|
|
2297
|
-
def self.field_remappings
|
|
2298
|
-
@field_remappings = {}
|
|
2299
|
-
end
|
|
2300
|
-
end
|
|
2301
2212
|
# Settings for price localization with [Adaptive Pricing](https://docs.stripe.com/payments/checkout/adaptive-pricing).
|
|
2302
2213
|
attr_reader :adaptive_pricing
|
|
2303
2214
|
# When set, provides configuration for actions to take if this Checkout Session expires.
|
|
@@ -2449,8 +2360,6 @@ module Stripe
|
|
|
2449
2360
|
attr_reader :url
|
|
2450
2361
|
# Wallet-specific configuration for this Checkout Session.
|
|
2451
2362
|
attr_reader :wallet_options
|
|
2452
|
-
# Attribute for field checkout_items
|
|
2453
|
-
attr_reader :checkout_items
|
|
2454
2363
|
|
|
2455
2364
|
# Creates a Checkout Session object.
|
|
2456
2365
|
def self.create(params = {}, opts = {})
|
|
@@ -2557,7 +2466,6 @@ module Stripe
|
|
|
2557
2466
|
tax_id_collection: TaxIdCollection,
|
|
2558
2467
|
total_details: TotalDetails,
|
|
2559
2468
|
wallet_options: WalletOptions,
|
|
2560
|
-
checkout_items: CheckoutItem,
|
|
2561
2469
|
}
|
|
2562
2470
|
end
|
|
2563
2471
|
|
|
@@ -307,21 +307,6 @@ module Stripe
|
|
|
307
307
|
end
|
|
308
308
|
|
|
309
309
|
class Card < ::Stripe::StripeObject
|
|
310
|
-
class Benefits < ::Stripe::StripeObject
|
|
311
|
-
# Issuer of this benefit card
|
|
312
|
-
attr_reader :issuer
|
|
313
|
-
# Available benefit programs for this card
|
|
314
|
-
attr_reader :programs
|
|
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
310
|
class Checks < ::Stripe::StripeObject
|
|
326
311
|
# If a address line1 was provided, results of the check, one of `pass`, `fail`, `unavailable`, or `unchecked`.
|
|
327
312
|
attr_reader :address_line1_check
|
|
@@ -735,8 +720,6 @@ module Stripe
|
|
|
735
720
|
@field_remappings = {}
|
|
736
721
|
end
|
|
737
722
|
end
|
|
738
|
-
# Attribute for field benefits
|
|
739
|
-
attr_reader :benefits
|
|
740
723
|
# Card brand. Can be `amex`, `cartes_bancaires`, `diners`, `discover`, `eftpos_au`, `jcb`, `link`, `mastercard`, `unionpay`, `visa` or `unknown`.
|
|
741
724
|
attr_reader :brand
|
|
742
725
|
# Checks on Card address and CVC if provided.
|
|
@@ -776,7 +759,6 @@ module Stripe
|
|
|
776
759
|
|
|
777
760
|
def self.inner_class_types
|
|
778
761
|
@inner_class_types = {
|
|
779
|
-
benefits: Benefits,
|
|
780
762
|
checks: Checks,
|
|
781
763
|
generated_from: GeneratedFrom,
|
|
782
764
|
networks: Networks,
|
|
@@ -58,37 +58,6 @@ module Stripe
|
|
|
58
58
|
@field_remappings = {}
|
|
59
59
|
end
|
|
60
60
|
end
|
|
61
|
-
|
|
62
|
-
class ServicePeriod < ::Stripe::StripeObject
|
|
63
|
-
class Iterations < ::Stripe::StripeObject
|
|
64
|
-
# Attribute for field count
|
|
65
|
-
attr_reader :count
|
|
66
|
-
# Attribute for field type
|
|
67
|
-
attr_reader :type
|
|
68
|
-
|
|
69
|
-
def self.inner_class_types
|
|
70
|
-
@inner_class_types = {}
|
|
71
|
-
end
|
|
72
|
-
|
|
73
|
-
def self.field_remappings
|
|
74
|
-
@field_remappings = {}
|
|
75
|
-
end
|
|
76
|
-
end
|
|
77
|
-
# Attribute for field interval
|
|
78
|
-
attr_reader :interval
|
|
79
|
-
# Attribute for field interval_count
|
|
80
|
-
attr_reader :interval_count
|
|
81
|
-
# Attribute for field iterations
|
|
82
|
-
attr_reader :iterations
|
|
83
|
-
|
|
84
|
-
def self.inner_class_types
|
|
85
|
-
@inner_class_types = { iterations: Iterations }
|
|
86
|
-
end
|
|
87
|
-
|
|
88
|
-
def self.field_remappings
|
|
89
|
-
@field_remappings = {}
|
|
90
|
-
end
|
|
91
|
-
end
|
|
92
61
|
# Amount (in the `currency` specified) that will be taken off the subtotal of any invoices for this customer.
|
|
93
62
|
attr_reader :amount_off
|
|
94
63
|
# Attribute for field applies_to
|
|
@@ -121,8 +90,6 @@ module Stripe
|
|
|
121
90
|
attr_reader :redeem_by
|
|
122
91
|
# Configuration of the [script](https://docs.stripe.com/billing/subscriptions/script-coupons) used to calculate the discount.
|
|
123
92
|
attr_reader :script
|
|
124
|
-
# Attribute for field service_period
|
|
125
|
-
attr_reader :service_period
|
|
126
93
|
# Number of times this coupon has been applied to a customer.
|
|
127
94
|
attr_reader :times_redeemed
|
|
128
95
|
# One of `amount_off`, `percent_off`, or `script`. Describes the type of coupon logic used to calculate the discount.
|
|
@@ -179,7 +146,6 @@ module Stripe
|
|
|
179
146
|
applies_to: AppliesTo,
|
|
180
147
|
currency_options: CurrencyOptions,
|
|
181
148
|
script: Script,
|
|
182
|
-
service_period: ServicePeriod,
|
|
183
149
|
}
|
|
184
150
|
end
|
|
185
151
|
|
|
@@ -12,21 +12,6 @@ module Stripe
|
|
|
12
12
|
"discount"
|
|
13
13
|
end
|
|
14
14
|
|
|
15
|
-
class ServicePeriodDetails < ::Stripe::StripeObject
|
|
16
|
-
# The date that the service period was anchored to.
|
|
17
|
-
attr_reader :service_period_anchored_at
|
|
18
|
-
# The date that the service period started.
|
|
19
|
-
attr_reader :start_date
|
|
20
|
-
|
|
21
|
-
def self.inner_class_types
|
|
22
|
-
@inner_class_types = {}
|
|
23
|
-
end
|
|
24
|
-
|
|
25
|
-
def self.field_remappings
|
|
26
|
-
@field_remappings = {}
|
|
27
|
-
end
|
|
28
|
-
end
|
|
29
|
-
|
|
30
15
|
class Source < ::Stripe::StripeObject
|
|
31
16
|
# The coupon that was redeemed to create this discount.
|
|
32
17
|
attr_reader :coupon
|
|
@@ -59,10 +44,6 @@ module Stripe
|
|
|
59
44
|
attr_reader :object
|
|
60
45
|
# The promotion code applied to create this discount.
|
|
61
46
|
attr_reader :promotion_code
|
|
62
|
-
# The subscription schedule that this coupon is applied to, if it is applied to a particular subscription schedule.
|
|
63
|
-
attr_reader :schedule
|
|
64
|
-
# Attribute for field service_period_details
|
|
65
|
-
attr_reader :service_period_details
|
|
66
47
|
# Attribute for field source
|
|
67
48
|
attr_reader :source
|
|
68
49
|
# Date that the coupon was applied.
|
|
@@ -75,7 +56,7 @@ module Stripe
|
|
|
75
56
|
attr_reader :deleted
|
|
76
57
|
|
|
77
58
|
def self.inner_class_types
|
|
78
|
-
@inner_class_types = {
|
|
59
|
+
@inner_class_types = { source: Source }
|
|
79
60
|
end
|
|
80
61
|
|
|
81
62
|
def self.field_remappings
|
|
@@ -113,8 +113,6 @@ module Stripe
|
|
|
113
113
|
end
|
|
114
114
|
# Address as it appears in the document.
|
|
115
115
|
attr_reader :address
|
|
116
|
-
# If document was not verified due to extracted data being on the blocklist, this is the token of the BlocklistEntry that blocked it
|
|
117
|
-
attr_reader :blocked_by_entry
|
|
118
116
|
# Date of birth as it appears in the document.
|
|
119
117
|
attr_reader :dob
|
|
120
118
|
# Details on the verification error. Present when status is `unverified`.
|
|
@@ -335,8 +333,6 @@ module Stripe
|
|
|
335
333
|
@field_remappings = {}
|
|
336
334
|
end
|
|
337
335
|
end
|
|
338
|
-
# If selfie was not verified due to being on the blocklist, this is the token of the BlocklistEntry that blocked it
|
|
339
|
-
attr_reader :blocked_by_entry
|
|
340
336
|
# ID of the [File](https://docs.stripe.com/api/files) holding the image of the identity document used in this check.
|
|
341
337
|
attr_reader :document
|
|
342
338
|
# Details on the verification error. Present when status is `unverified`.
|
|
@@ -330,19 +330,6 @@ module Stripe
|
|
|
330
330
|
end
|
|
331
331
|
|
|
332
332
|
class Parent < ::Stripe::StripeObject
|
|
333
|
-
class BillingCadenceDetails < ::Stripe::StripeObject
|
|
334
|
-
# The billing cadence that generated this invoice
|
|
335
|
-
attr_reader :billing_cadence
|
|
336
|
-
|
|
337
|
-
def self.inner_class_types
|
|
338
|
-
@inner_class_types = {}
|
|
339
|
-
end
|
|
340
|
-
|
|
341
|
-
def self.field_remappings
|
|
342
|
-
@field_remappings = {}
|
|
343
|
-
end
|
|
344
|
-
end
|
|
345
|
-
|
|
346
333
|
class QuoteDetails < ::Stripe::StripeObject
|
|
347
334
|
# The quote that generated this invoice
|
|
348
335
|
attr_reader :quote
|
|
@@ -356,21 +343,6 @@ module Stripe
|
|
|
356
343
|
end
|
|
357
344
|
end
|
|
358
345
|
|
|
359
|
-
class ScheduleDetails < ::Stripe::StripeObject
|
|
360
|
-
# The schedule that generated this invoice
|
|
361
|
-
attr_reader :schedule
|
|
362
|
-
# The subscription associated with this schedule
|
|
363
|
-
attr_reader :subscription
|
|
364
|
-
|
|
365
|
-
def self.inner_class_types
|
|
366
|
-
@inner_class_types = {}
|
|
367
|
-
end
|
|
368
|
-
|
|
369
|
-
def self.field_remappings
|
|
370
|
-
@field_remappings = {}
|
|
371
|
-
end
|
|
372
|
-
end
|
|
373
|
-
|
|
374
346
|
class SubscriptionDetails < ::Stripe::StripeObject
|
|
375
347
|
class PauseCollection < ::Stripe::StripeObject
|
|
376
348
|
# The payment collection behavior for this subscription while paused. One of `keep_as_draft`, `mark_uncollectible`, or `void`.
|
|
@@ -404,12 +376,8 @@ module Stripe
|
|
|
404
376
|
@field_remappings = {}
|
|
405
377
|
end
|
|
406
378
|
end
|
|
407
|
-
# Details about the billing cadence that generated this invoice
|
|
408
|
-
attr_reader :billing_cadence_details
|
|
409
379
|
# Details about the quote that generated this invoice
|
|
410
380
|
attr_reader :quote_details
|
|
411
|
-
# Details about the schedule that generated this invoice
|
|
412
|
-
attr_reader :schedule_details
|
|
413
381
|
# Details about the subscription that generated this invoice
|
|
414
382
|
attr_reader :subscription_details
|
|
415
383
|
# The type of parent that generated this invoice
|
|
@@ -417,9 +385,7 @@ module Stripe
|
|
|
417
385
|
|
|
418
386
|
def self.inner_class_types
|
|
419
387
|
@inner_class_types = {
|
|
420
|
-
billing_cadence_details: BillingCadenceDetails,
|
|
421
388
|
quote_details: QuoteDetails,
|
|
422
|
-
schedule_details: ScheduleDetails,
|
|
423
389
|
subscription_details: SubscriptionDetails,
|
|
424
390
|
}
|
|
425
391
|
end
|
|
@@ -22,57 +22,6 @@ module Stripe
|
|
|
22
22
|
end
|
|
23
23
|
|
|
24
24
|
class Parent < ::Stripe::StripeObject
|
|
25
|
-
class LicenseFeeSubscriptionDetails < ::Stripe::StripeObject
|
|
26
|
-
# The license fee subscription that generated this invoice item
|
|
27
|
-
attr_reader :license_fee_subscription
|
|
28
|
-
# The license fee version that generated this invoice item
|
|
29
|
-
attr_reader :license_fee_version
|
|
30
|
-
# The pricing plan subscription that manages the license fee subscription
|
|
31
|
-
attr_reader :pricing_plan_subscription
|
|
32
|
-
# The pricing plan version at the time this invoice item was generated
|
|
33
|
-
attr_reader :pricing_plan_version
|
|
34
|
-
|
|
35
|
-
def self.inner_class_types
|
|
36
|
-
@inner_class_types = {}
|
|
37
|
-
end
|
|
38
|
-
|
|
39
|
-
def self.field_remappings
|
|
40
|
-
@field_remappings = {}
|
|
41
|
-
end
|
|
42
|
-
end
|
|
43
|
-
|
|
44
|
-
class RateCardSubscriptionDetails < ::Stripe::StripeObject
|
|
45
|
-
# The pricing plan subscription that manages the rate card subscription
|
|
46
|
-
attr_reader :pricing_plan_subscription
|
|
47
|
-
# The pricing plan version at the time this invoice item was generated
|
|
48
|
-
attr_reader :pricing_plan_version
|
|
49
|
-
# The rate card subscription that generated this invoice item
|
|
50
|
-
attr_reader :rate_card_subscription
|
|
51
|
-
# The rate card version that generated this invoice item
|
|
52
|
-
attr_reader :rate_card_version
|
|
53
|
-
|
|
54
|
-
def self.inner_class_types
|
|
55
|
-
@inner_class_types = {}
|
|
56
|
-
end
|
|
57
|
-
|
|
58
|
-
def self.field_remappings
|
|
59
|
-
@field_remappings = {}
|
|
60
|
-
end
|
|
61
|
-
end
|
|
62
|
-
|
|
63
|
-
class ScheduleDetails < ::Stripe::StripeObject
|
|
64
|
-
# The subscription schedule that generated this invoice item
|
|
65
|
-
attr_reader :schedule
|
|
66
|
-
|
|
67
|
-
def self.inner_class_types
|
|
68
|
-
@inner_class_types = {}
|
|
69
|
-
end
|
|
70
|
-
|
|
71
|
-
def self.field_remappings
|
|
72
|
-
@field_remappings = {}
|
|
73
|
-
end
|
|
74
|
-
end
|
|
75
|
-
|
|
76
25
|
class SubscriptionDetails < ::Stripe::StripeObject
|
|
77
26
|
# The subscription that generated this invoice item
|
|
78
27
|
attr_reader :subscription
|
|
@@ -87,24 +36,13 @@ module Stripe
|
|
|
87
36
|
@field_remappings = {}
|
|
88
37
|
end
|
|
89
38
|
end
|
|
90
|
-
# Details about the license fee subscription that generated this invoice item
|
|
91
|
-
attr_reader :license_fee_subscription_details
|
|
92
|
-
# Details about the rate card subscription that generated this invoice item
|
|
93
|
-
attr_reader :rate_card_subscription_details
|
|
94
|
-
# Details about the subscription schedule that generated this invoice item
|
|
95
|
-
attr_reader :schedule_details
|
|
96
39
|
# Details about the subscription that generated this invoice item
|
|
97
40
|
attr_reader :subscription_details
|
|
98
41
|
# The type of parent that generated this invoice item
|
|
99
42
|
attr_reader :type
|
|
100
43
|
|
|
101
44
|
def self.inner_class_types
|
|
102
|
-
@inner_class_types = {
|
|
103
|
-
license_fee_subscription_details: LicenseFeeSubscriptionDetails,
|
|
104
|
-
rate_card_subscription_details: RateCardSubscriptionDetails,
|
|
105
|
-
schedule_details: ScheduleDetails,
|
|
106
|
-
subscription_details: SubscriptionDetails,
|
|
107
|
-
}
|
|
45
|
+
@inner_class_types = { subscription_details: SubscriptionDetails }
|
|
108
46
|
end
|
|
109
47
|
|
|
110
48
|
def self.field_remappings
|
|
@@ -128,23 +66,6 @@ module Stripe
|
|
|
128
66
|
end
|
|
129
67
|
|
|
130
68
|
class Pricing < ::Stripe::StripeObject
|
|
131
|
-
class LicenseFeeDetails < ::Stripe::StripeObject
|
|
132
|
-
# The ID of the license fee this item is associated with
|
|
133
|
-
attr_reader :license_fee
|
|
134
|
-
# The version of the license fee this item is associated with
|
|
135
|
-
attr_reader :license_fee_version
|
|
136
|
-
# The ID of the licensed item this item is associated with
|
|
137
|
-
attr_reader :licensed_item
|
|
138
|
-
|
|
139
|
-
def self.inner_class_types
|
|
140
|
-
@inner_class_types = {}
|
|
141
|
-
end
|
|
142
|
-
|
|
143
|
-
def self.field_remappings
|
|
144
|
-
@field_remappings = {}
|
|
145
|
-
end
|
|
146
|
-
end
|
|
147
|
-
|
|
148
69
|
class PriceDetails < ::Stripe::StripeObject
|
|
149
70
|
# The ID of the price this item is associated with.
|
|
150
71
|
attr_reader :price
|
|
@@ -159,40 +80,15 @@ module Stripe
|
|
|
159
80
|
@field_remappings = {}
|
|
160
81
|
end
|
|
161
82
|
end
|
|
162
|
-
|
|
163
|
-
class RateCardRateDetails < ::Stripe::StripeObject
|
|
164
|
-
# The ID of billable item this item is associated with
|
|
165
|
-
attr_reader :metered_item
|
|
166
|
-
# The ID of the rate card this item is associated with
|
|
167
|
-
attr_reader :rate_card
|
|
168
|
-
# The ID of the rate card rate this item is associated with
|
|
169
|
-
attr_reader :rate_card_rate
|
|
170
|
-
|
|
171
|
-
def self.inner_class_types
|
|
172
|
-
@inner_class_types = {}
|
|
173
|
-
end
|
|
174
|
-
|
|
175
|
-
def self.field_remappings
|
|
176
|
-
@field_remappings = {}
|
|
177
|
-
end
|
|
178
|
-
end
|
|
179
|
-
# Attribute for field license_fee_details
|
|
180
|
-
attr_reader :license_fee_details
|
|
181
83
|
# Attribute for field price_details
|
|
182
84
|
attr_reader :price_details
|
|
183
|
-
# Attribute for field rate_card_rate_details
|
|
184
|
-
attr_reader :rate_card_rate_details
|
|
185
85
|
# The type of the pricing details.
|
|
186
86
|
attr_reader :type
|
|
187
87
|
# The unit amount (in the `currency` specified) of the item which contains a decimal value with at most 12 decimal places.
|
|
188
88
|
attr_reader :unit_amount_decimal
|
|
189
89
|
|
|
190
90
|
def self.inner_class_types
|
|
191
|
-
@inner_class_types = {
|
|
192
|
-
license_fee_details: LicenseFeeDetails,
|
|
193
|
-
price_details: PriceDetails,
|
|
194
|
-
rate_card_rate_details: RateCardRateDetails,
|
|
195
|
-
}
|
|
91
|
+
@inner_class_types = { price_details: PriceDetails }
|
|
196
92
|
end
|
|
197
93
|
|
|
198
94
|
def self.field_remappings
|