stripe 18.1.0.pre.alpha.1 → 18.1.0.pre.beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/stripe/event_types.rb +0 -841
- data/lib/stripe/events/v2_core_health_event_generation_failure_resolved_event.rb +21 -9
- data/lib/stripe/object_types.rb +2 -32
- data/lib/stripe/params/account_create_params.rb +0 -32
- data/lib/stripe/params/account_person_create_params.rb +0 -32
- data/lib/stripe/params/account_person_update_params.rb +0 -32
- data/lib/stripe/params/account_update_params.rb +0 -32
- data/lib/stripe/params/billing/alert_create_params.rb +1 -121
- data/lib/stripe/params/billing/alert_list_params.rb +0 -4
- data/lib/stripe/params/billing/analytics/meter_usage_retrieve_params.rb +1 -5
- data/lib/stripe/params/billing/credit_balance_summary_retrieve_params.rb +1 -13
- data/lib/stripe/params/billing/credit_grant_create_params.rb +2 -29
- data/lib/stripe/params/billing/meter_create_params.rb +0 -4
- data/lib/stripe/params/billing/meter_event_summary_list_params.rb +0 -8
- data/lib/stripe/params/checkout/session_create_params.rb +1 -80
- data/lib/stripe/params/identity/verification_report_list_params.rb +0 -4
- data/lib/stripe/params/invoice_create_preview_params.rb +2 -85
- data/lib/stripe/params/invoice_list_params.rb +0 -4
- data/lib/stripe/params/payment_intent_confirm_params.rb +0 -34
- data/lib/stripe/params/payment_intent_create_params.rb +0 -34
- data/lib/stripe/params/payment_intent_update_params.rb +0 -34
- data/lib/stripe/params/quote_create_params.rb +0 -208
- data/lib/stripe/params/quote_update_params.rb +0 -208
- 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_schedule_amend_params.rb +1 -28
- data/lib/stripe/params/subscription_schedule_create_params.rb +2 -62
- data/lib/stripe/params/subscription_schedule_update_params.rb +2 -62
- 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/billing/collection_setting_create_params.rb +2 -2
- data/lib/stripe/params/v2/billing/collection_setting_update_params.rb +2 -2
- data/lib/stripe/params/v2/core/account_create_params.rb +97 -699
- data/lib/stripe/params/v2/core/account_token_create_params.rb +1001 -0
- data/lib/stripe/params/v2/core/{claimable_sandbox_retrieve_params.rb → account_token_retrieve_params.rb} +1 -1
- data/lib/stripe/params/v2/core/account_update_params.rb +98 -686
- data/lib/stripe/params/v2/core/accounts/person_create_params.rb +4 -0
- data/lib/stripe/params/v2/core/accounts/person_token_create_params.rb +487 -0
- data/lib/stripe/params/v2/{billing/rate_cards/version_retrieve_params.rb → core/accounts/person_token_retrieve_params.rb} +3 -3
- data/lib/stripe/params/v2/core/accounts/person_update_params.rb +4 -0
- data/lib/stripe/params/v2/core/event_list_params.rb +21 -21
- 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 +0 -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 +4 -97
- data/lib/stripe/resources/application_fee.rb +0 -2
- data/lib/stripe/resources/balance.rb +0 -83
- data/lib/stripe/resources/billing/alert.rb +1 -105
- data/lib/stripe/resources/billing/alert_triggered.rb +0 -6
- data/lib/stripe/resources/billing/analytics/meter_usage_row.rb +0 -2
- data/lib/stripe/resources/billing/credit_balance_summary.rb +2 -84
- data/lib/stripe/resources/billing/credit_balance_transaction.rb +2 -84
- data/lib/stripe/resources/billing/credit_grant.rb +2 -58
- data/lib/stripe/resources/billing/meter.rb +0 -2
- data/lib/stripe/resources/billing/meter_event_summary.rb +0 -2
- data/lib/stripe/resources/capital/financing_offer.rb +0 -41
- data/lib/stripe/resources/card.rb +1 -18
- data/lib/stripe/resources/charge.rb +0 -18
- data/lib/stripe/resources/checkout/session.rb +0 -92
- data/lib/stripe/resources/confirmation_token.rb +0 -18
- data/lib/stripe/resources/discount.rb +0 -2
- data/lib/stripe/resources/identity/verification_report.rb +0 -4
- data/lib/stripe/resources/invoice.rb +0 -16
- data/lib/stripe/resources/invoice_item.rb +2 -106
- data/lib/stripe/resources/invoice_line_item.rb +1 -107
- data/lib/stripe/resources/payment_intent.rb +0 -44
- data/lib/stripe/resources/payment_method.rb +0 -38
- data/lib/stripe/resources/person.rb +0 -36
- data/lib/stripe/resources/quote.rb +1 -348
- data/lib/stripe/resources/quote_preview_invoice.rb +0 -16
- data/lib/stripe/resources/quote_preview_subscription_schedule.rb +0 -174
- data/lib/stripe/resources/setup_intent.rb +0 -40
- data/lib/stripe/resources/subscription.rb +2 -105
- data/lib/stripe/resources/subscription_schedule.rb +0 -174
- data/lib/stripe/resources/transfer.rb +0 -4
- data/lib/stripe/resources/v2/billing/cadence.rb +2 -48
- data/lib/stripe/resources/v2/billing/collection_setting.rb +2 -2
- data/lib/stripe/resources/v2/billing/collection_setting_version.rb +2 -2
- data/lib/stripe/resources/v2/billing/meter_event.rb +2 -1
- data/lib/stripe/resources/v2/core/account.rb +295 -1053
- data/lib/stripe/resources/v2/core/account_person_token.rb +37 -0
- data/lib/stripe/resources/v2/core/account_token.rb +37 -0
- data/lib/stripe/resources/v2/core/event.rb +0 -2
- data/lib/stripe/resources/v2/money_management/outbound_payment.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 +1 -29
- data/lib/stripe/resources/v2/money_management/received_credit.rb +0 -2
- data/lib/stripe/resources/v2/money_management/received_debit.rb +0 -4
- data/lib/stripe/resources.rb +2 -290
- data/lib/stripe/services/identity_service.rb +1 -2
- data/lib/stripe/services/issuing_service.rb +1 -2
- data/lib/stripe/services/payment_method_service.rb +0 -11
- data/lib/stripe/services/radar_service.rb +1 -2
- data/lib/stripe/services/test_helpers_service.rb +1 -2
- data/lib/stripe/services/v1_services.rb +1 -3
- data/lib/stripe/services/v2/billing_service.rb +1 -14
- data/lib/stripe/services/v2/core/account_service.rb +2 -1
- data/lib/stripe/services/v2/core/account_token_service.rb +32 -0
- data/lib/stripe/services/v2/core/accounts/person_token_service.rb +34 -0
- data/lib/stripe/services/v2/core_service.rb +2 -2
- data/lib/stripe/services/v2/money_management_service.rb +1 -3
- data/lib/stripe/services/v2/test_helper_service.rb +1 -2
- data/lib/stripe/services/v2_services.rb +1 -3
- data/lib/stripe/services.rb +2 -34
- data/lib/stripe/version.rb +1 -1
- data/rbi/stripe.rbi +3568 -16938
- metadata +9 -422
- data/lib/stripe/events/v1_account_updated_event.rb +0 -44
- data/lib/stripe/events/v1_application_fee_created_event.rb +0 -44
- data/lib/stripe/events/v1_application_fee_refunded_event.rb +0 -44
- data/lib/stripe/events/v1_billing_portal_configuration_created_event.rb +0 -44
- data/lib/stripe/events/v1_billing_portal_configuration_updated_event.rb +0 -44
- data/lib/stripe/events/v1_capability_updated_event.rb +0 -44
- data/lib/stripe/events/v1_charge_captured_event.rb +0 -44
- data/lib/stripe/events/v1_charge_dispute_closed_event.rb +0 -44
- data/lib/stripe/events/v1_charge_dispute_created_event.rb +0 -44
- data/lib/stripe/events/v1_charge_dispute_funds_reinstated_event.rb +0 -44
- data/lib/stripe/events/v1_charge_dispute_funds_withdrawn_event.rb +0 -44
- data/lib/stripe/events/v1_charge_dispute_updated_event.rb +0 -44
- data/lib/stripe/events/v1_charge_expired_event.rb +0 -44
- data/lib/stripe/events/v1_charge_failed_event.rb +0 -44
- data/lib/stripe/events/v1_charge_pending_event.rb +0 -44
- data/lib/stripe/events/v1_charge_refund_updated_event.rb +0 -44
- data/lib/stripe/events/v1_charge_refunded_event.rb +0 -44
- data/lib/stripe/events/v1_charge_succeeded_event.rb +0 -44
- data/lib/stripe/events/v1_charge_updated_event.rb +0 -44
- data/lib/stripe/events/v1_checkout_session_async_payment_failed_event.rb +0 -44
- data/lib/stripe/events/v1_checkout_session_async_payment_succeeded_event.rb +0 -44
- data/lib/stripe/events/v1_checkout_session_completed_event.rb +0 -44
- data/lib/stripe/events/v1_checkout_session_expired_event.rb +0 -44
- data/lib/stripe/events/v1_climate_order_canceled_event.rb +0 -44
- data/lib/stripe/events/v1_climate_order_created_event.rb +0 -44
- data/lib/stripe/events/v1_climate_order_delayed_event.rb +0 -44
- data/lib/stripe/events/v1_climate_order_delivered_event.rb +0 -44
- data/lib/stripe/events/v1_climate_order_product_substituted_event.rb +0 -44
- data/lib/stripe/events/v1_climate_product_created_event.rb +0 -44
- data/lib/stripe/events/v1_climate_product_pricing_updated_event.rb +0 -44
- data/lib/stripe/events/v1_coupon_created_event.rb +0 -44
- data/lib/stripe/events/v1_coupon_deleted_event.rb +0 -44
- data/lib/stripe/events/v1_coupon_updated_event.rb +0 -44
- data/lib/stripe/events/v1_credit_note_created_event.rb +0 -44
- data/lib/stripe/events/v1_credit_note_updated_event.rb +0 -44
- data/lib/stripe/events/v1_credit_note_voided_event.rb +0 -44
- data/lib/stripe/events/v1_customer_created_event.rb +0 -44
- data/lib/stripe/events/v1_customer_deleted_event.rb +0 -44
- data/lib/stripe/events/v1_customer_subscription_created_event.rb +0 -44
- data/lib/stripe/events/v1_customer_subscription_deleted_event.rb +0 -44
- data/lib/stripe/events/v1_customer_subscription_paused_event.rb +0 -44
- data/lib/stripe/events/v1_customer_subscription_pending_update_applied_event.rb +0 -44
- data/lib/stripe/events/v1_customer_subscription_pending_update_expired_event.rb +0 -44
- data/lib/stripe/events/v1_customer_subscription_resumed_event.rb +0 -44
- data/lib/stripe/events/v1_customer_subscription_trial_will_end_event.rb +0 -44
- data/lib/stripe/events/v1_customer_subscription_updated_event.rb +0 -44
- data/lib/stripe/events/v1_customer_tax_id_created_event.rb +0 -44
- data/lib/stripe/events/v1_customer_tax_id_deleted_event.rb +0 -44
- data/lib/stripe/events/v1_customer_tax_id_updated_event.rb +0 -44
- data/lib/stripe/events/v1_customer_updated_event.rb +0 -44
- data/lib/stripe/events/v1_file_created_event.rb +0 -44
- data/lib/stripe/events/v1_financial_connections_account_created_event.rb +0 -44
- data/lib/stripe/events/v1_financial_connections_account_deactivated_event.rb +0 -44
- data/lib/stripe/events/v1_financial_connections_account_disconnected_event.rb +0 -44
- data/lib/stripe/events/v1_financial_connections_account_reactivated_event.rb +0 -44
- data/lib/stripe/events/v1_financial_connections_account_refreshed_balance_event.rb +0 -44
- data/lib/stripe/events/v1_financial_connections_account_refreshed_ownership_event.rb +0 -44
- data/lib/stripe/events/v1_financial_connections_account_refreshed_transactions_event.rb +0 -44
- data/lib/stripe/events/v1_identity_verification_session_canceled_event.rb +0 -44
- data/lib/stripe/events/v1_identity_verification_session_created_event.rb +0 -44
- data/lib/stripe/events/v1_identity_verification_session_processing_event.rb +0 -44
- data/lib/stripe/events/v1_identity_verification_session_redacted_event.rb +0 -44
- data/lib/stripe/events/v1_identity_verification_session_requires_input_event.rb +0 -44
- data/lib/stripe/events/v1_identity_verification_session_verified_event.rb +0 -44
- data/lib/stripe/events/v1_invoice_created_event.rb +0 -44
- data/lib/stripe/events/v1_invoice_deleted_event.rb +0 -44
- data/lib/stripe/events/v1_invoice_finalization_failed_event.rb +0 -44
- data/lib/stripe/events/v1_invoice_finalized_event.rb +0 -44
- data/lib/stripe/events/v1_invoice_marked_uncollectible_event.rb +0 -44
- data/lib/stripe/events/v1_invoice_overdue_event.rb +0 -44
- data/lib/stripe/events/v1_invoice_overpaid_event.rb +0 -44
- data/lib/stripe/events/v1_invoice_paid_event.rb +0 -44
- data/lib/stripe/events/v1_invoice_payment_action_required_event.rb +0 -44
- data/lib/stripe/events/v1_invoice_payment_failed_event.rb +0 -44
- data/lib/stripe/events/v1_invoice_payment_paid_event.rb +0 -44
- data/lib/stripe/events/v1_invoice_payment_succeeded_event.rb +0 -44
- data/lib/stripe/events/v1_invoice_sent_event.rb +0 -44
- data/lib/stripe/events/v1_invoice_upcoming_event.rb +0 -44
- data/lib/stripe/events/v1_invoice_updated_event.rb +0 -44
- data/lib/stripe/events/v1_invoice_voided_event.rb +0 -44
- data/lib/stripe/events/v1_invoice_will_be_due_event.rb +0 -44
- data/lib/stripe/events/v1_invoiceitem_created_event.rb +0 -44
- data/lib/stripe/events/v1_invoiceitem_deleted_event.rb +0 -44
- data/lib/stripe/events/v1_issuing_authorization_created_event.rb +0 -44
- data/lib/stripe/events/v1_issuing_authorization_request_event.rb +0 -44
- data/lib/stripe/events/v1_issuing_authorization_updated_event.rb +0 -44
- data/lib/stripe/events/v1_issuing_card_created_event.rb +0 -44
- data/lib/stripe/events/v1_issuing_card_updated_event.rb +0 -44
- data/lib/stripe/events/v1_issuing_cardholder_created_event.rb +0 -44
- data/lib/stripe/events/v1_issuing_cardholder_updated_event.rb +0 -44
- data/lib/stripe/events/v1_issuing_dispute_closed_event.rb +0 -44
- data/lib/stripe/events/v1_issuing_dispute_created_event.rb +0 -44
- data/lib/stripe/events/v1_issuing_dispute_funds_reinstated_event.rb +0 -44
- data/lib/stripe/events/v1_issuing_dispute_funds_rescinded_event.rb +0 -44
- data/lib/stripe/events/v1_issuing_dispute_submitted_event.rb +0 -44
- data/lib/stripe/events/v1_issuing_dispute_updated_event.rb +0 -44
- data/lib/stripe/events/v1_issuing_personalization_design_activated_event.rb +0 -44
- data/lib/stripe/events/v1_issuing_personalization_design_deactivated_event.rb +0 -44
- data/lib/stripe/events/v1_issuing_personalization_design_rejected_event.rb +0 -44
- data/lib/stripe/events/v1_issuing_personalization_design_updated_event.rb +0 -44
- data/lib/stripe/events/v1_issuing_token_created_event.rb +0 -44
- data/lib/stripe/events/v1_issuing_token_updated_event.rb +0 -44
- data/lib/stripe/events/v1_issuing_transaction_created_event.rb +0 -44
- data/lib/stripe/events/v1_issuing_transaction_purchase_details_receipt_updated_event.rb +0 -44
- data/lib/stripe/events/v1_issuing_transaction_updated_event.rb +0 -44
- data/lib/stripe/events/v1_mandate_updated_event.rb +0 -44
- data/lib/stripe/events/v1_payment_intent_amount_capturable_updated_event.rb +0 -44
- data/lib/stripe/events/v1_payment_intent_canceled_event.rb +0 -44
- data/lib/stripe/events/v1_payment_intent_created_event.rb +0 -44
- data/lib/stripe/events/v1_payment_intent_partially_funded_event.rb +0 -44
- data/lib/stripe/events/v1_payment_intent_payment_failed_event.rb +0 -44
- data/lib/stripe/events/v1_payment_intent_processing_event.rb +0 -44
- data/lib/stripe/events/v1_payment_intent_requires_action_event.rb +0 -44
- data/lib/stripe/events/v1_payment_intent_succeeded_event.rb +0 -44
- data/lib/stripe/events/v1_payment_link_created_event.rb +0 -44
- data/lib/stripe/events/v1_payment_link_updated_event.rb +0 -44
- data/lib/stripe/events/v1_payment_method_attached_event.rb +0 -44
- data/lib/stripe/events/v1_payment_method_automatically_updated_event.rb +0 -44
- data/lib/stripe/events/v1_payment_method_detached_event.rb +0 -44
- data/lib/stripe/events/v1_payment_method_updated_event.rb +0 -44
- data/lib/stripe/events/v1_payout_canceled_event.rb +0 -44
- data/lib/stripe/events/v1_payout_created_event.rb +0 -44
- data/lib/stripe/events/v1_payout_failed_event.rb +0 -44
- data/lib/stripe/events/v1_payout_paid_event.rb +0 -44
- data/lib/stripe/events/v1_payout_reconciliation_completed_event.rb +0 -44
- data/lib/stripe/events/v1_payout_updated_event.rb +0 -44
- data/lib/stripe/events/v1_person_created_event.rb +0 -44
- data/lib/stripe/events/v1_person_deleted_event.rb +0 -44
- data/lib/stripe/events/v1_person_updated_event.rb +0 -44
- data/lib/stripe/events/v1_plan_created_event.rb +0 -44
- data/lib/stripe/events/v1_plan_deleted_event.rb +0 -44
- data/lib/stripe/events/v1_plan_updated_event.rb +0 -44
- data/lib/stripe/events/v1_price_created_event.rb +0 -44
- data/lib/stripe/events/v1_price_deleted_event.rb +0 -44
- data/lib/stripe/events/v1_price_updated_event.rb +0 -44
- data/lib/stripe/events/v1_product_created_event.rb +0 -44
- data/lib/stripe/events/v1_product_deleted_event.rb +0 -44
- data/lib/stripe/events/v1_product_updated_event.rb +0 -44
- data/lib/stripe/events/v1_promotion_code_created_event.rb +0 -44
- data/lib/stripe/events/v1_promotion_code_updated_event.rb +0 -44
- data/lib/stripe/events/v1_quote_accepted_event.rb +0 -44
- data/lib/stripe/events/v1_quote_canceled_event.rb +0 -44
- data/lib/stripe/events/v1_quote_created_event.rb +0 -44
- data/lib/stripe/events/v1_quote_finalized_event.rb +0 -44
- data/lib/stripe/events/v1_radar_early_fraud_warning_created_event.rb +0 -44
- data/lib/stripe/events/v1_radar_early_fraud_warning_updated_event.rb +0 -44
- data/lib/stripe/events/v1_refund_created_event.rb +0 -44
- data/lib/stripe/events/v1_refund_failed_event.rb +0 -44
- data/lib/stripe/events/v1_refund_updated_event.rb +0 -44
- data/lib/stripe/events/v1_review_closed_event.rb +0 -44
- data/lib/stripe/events/v1_review_opened_event.rb +0 -44
- data/lib/stripe/events/v1_setup_intent_canceled_event.rb +0 -44
- data/lib/stripe/events/v1_setup_intent_created_event.rb +0 -44
- data/lib/stripe/events/v1_setup_intent_requires_action_event.rb +0 -44
- data/lib/stripe/events/v1_setup_intent_setup_failed_event.rb +0 -44
- data/lib/stripe/events/v1_setup_intent_succeeded_event.rb +0 -44
- data/lib/stripe/events/v1_sigma_scheduled_query_run_created_event.rb +0 -44
- data/lib/stripe/events/v1_source_canceled_event.rb +0 -44
- data/lib/stripe/events/v1_source_chargeable_event.rb +0 -44
- data/lib/stripe/events/v1_source_failed_event.rb +0 -44
- data/lib/stripe/events/v1_source_refund_attributes_required_event.rb +0 -44
- data/lib/stripe/events/v1_subscription_schedule_aborted_event.rb +0 -44
- data/lib/stripe/events/v1_subscription_schedule_canceled_event.rb +0 -44
- data/lib/stripe/events/v1_subscription_schedule_completed_event.rb +0 -44
- data/lib/stripe/events/v1_subscription_schedule_created_event.rb +0 -44
- data/lib/stripe/events/v1_subscription_schedule_expiring_event.rb +0 -44
- data/lib/stripe/events/v1_subscription_schedule_released_event.rb +0 -44
- data/lib/stripe/events/v1_subscription_schedule_updated_event.rb +0 -44
- data/lib/stripe/events/v1_tax_rate_created_event.rb +0 -44
- data/lib/stripe/events/v1_tax_rate_updated_event.rb +0 -44
- data/lib/stripe/events/v1_terminal_reader_action_failed_event.rb +0 -44
- data/lib/stripe/events/v1_terminal_reader_action_succeeded_event.rb +0 -44
- data/lib/stripe/events/v1_terminal_reader_action_updated_event.rb +0 -44
- data/lib/stripe/events/v1_test_helpers_test_clock_advancing_event.rb +0 -44
- data/lib/stripe/events/v1_test_helpers_test_clock_created_event.rb +0 -44
- data/lib/stripe/events/v1_test_helpers_test_clock_deleted_event.rb +0 -44
- data/lib/stripe/events/v1_test_helpers_test_clock_internal_failure_event.rb +0 -44
- data/lib/stripe/events/v1_test_helpers_test_clock_ready_event.rb +0 -44
- data/lib/stripe/events/v1_topup_canceled_event.rb +0 -44
- data/lib/stripe/events/v1_topup_created_event.rb +0 -44
- data/lib/stripe/events/v1_topup_failed_event.rb +0 -44
- data/lib/stripe/events/v1_topup_reversed_event.rb +0 -44
- data/lib/stripe/events/v1_topup_succeeded_event.rb +0 -44
- data/lib/stripe/events/v1_transfer_created_event.rb +0 -44
- data/lib/stripe/events/v1_transfer_reversed_event.rb +0 -44
- data/lib/stripe/events/v1_transfer_updated_event.rb +0 -44
- 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 -66
- data/lib/stripe/events/v2_core_health_api_error_resolved_event.rb +0 -66
- data/lib/stripe/events/v2_core_health_api_latency_firing_event.rb +0 -64
- data/lib/stripe/events/v2_core_health_api_latency_resolved_event.rb +0 -64
- 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 -64
- data/lib/stripe/events/v2_core_health_issuing_authorization_request_errors_firing_event.rb +0 -62
- data/lib/stripe/events/v2_core_health_issuing_authorization_request_errors_resolved_event.rb +0 -64
- data/lib/stripe/events/v2_core_health_issuing_authorization_request_timeout_firing_event.rb +0 -64
- data/lib/stripe/events/v2_core_health_issuing_authorization_request_timeout_resolved_event.rb +0 -64
- data/lib/stripe/events/v2_core_health_payment_method_error_firing_event.rb +0 -62
- data/lib/stripe/events/v2_core_health_payment_method_error_resolved_event.rb +0 -62
- data/lib/stripe/events/v2_core_health_traffic_volume_drop_firing_event.rb +0 -62
- data/lib/stripe/events/v2_core_health_traffic_volume_drop_resolved_event.rb +0 -62
- data/lib/stripe/events/v2_core_health_webhook_latency_firing_event.rb +0 -58
- data/lib/stripe/events/v2_core_health_webhook_latency_resolved_event.rb +0 -58
- data/lib/stripe/events/v2_money_management_recipient_verification_created_event.rb +0 -44
- data/lib/stripe/events/v2_money_management_recipient_verification_updated_event.rb +0 -44
- data/lib/stripe/events/v2_payments_off_session_payment_authorization_attempt_failed_event.rb +0 -44
- data/lib/stripe/events/v2_payments_off_session_payment_authorization_attempt_started_event.rb +0 -46
- data/lib/stripe/events/v2_payments_off_session_payment_canceled_event.rb +0 -44
- data/lib/stripe/events/v2_payments_off_session_payment_created_event.rb +0 -44
- data/lib/stripe/events/v2_payments_off_session_payment_failed_event.rb +0 -44
- data/lib/stripe/events/v2_payments_off_session_payment_requires_capture_event.rb +0 -44
- data/lib/stripe/events/v2_payments_off_session_payment_succeeded_event.rb +0 -44
- data/lib/stripe/events/v2_reporting_report_run_created_event.rb +0 -44
- data/lib/stripe/events/v2_reporting_report_run_failed_event.rb +0 -44
- data/lib/stripe/events/v2_reporting_report_run_succeeded_event.rb +0 -44
- data/lib/stripe/events/v2_reporting_report_run_updated_event.rb +0 -44
- data/lib/stripe/params/balance_transfer_create_params.rb +0 -66
- data/lib/stripe/params/capital/financing_offer_create_params.rb +0 -37
- data/lib/stripe/params/capital/financing_offer_refill_params.rb +0 -37
- data/lib/stripe/params/delegated_checkout/requested_session_confirm_params.rb +0 -55
- data/lib/stripe/params/delegated_checkout/requested_session_create_params.rb +0 -205
- data/lib/stripe/params/delegated_checkout/requested_session_expire_params.rb +0 -15
- data/lib/stripe/params/delegated_checkout/requested_session_retrieve_params.rb +0 -15
- data/lib/stripe/params/delegated_checkout/requested_session_update_params.rb +0 -209
- data/lib/stripe/params/identity/blocklist_entry_create_params.rb +0 -29
- data/lib/stripe/params/identity/blocklist_entry_disable_params.rb +0 -15
- data/lib/stripe/params/identity/blocklist_entry_list_params.rb +0 -62
- data/lib/stripe/params/identity/blocklist_entry_retrieve_params.rb +0 -15
- data/lib/stripe/params/issuing/program_create_params.rb +0 -21
- data/lib/stripe/params/issuing/program_list_params.rb +0 -24
- data/lib/stripe/params/issuing/program_retrieve_params.rb +0 -15
- data/lib/stripe/params/issuing/program_update_params.rb +0 -21
- data/lib/stripe/params/payment_method_check_balance_params.rb +0 -13
- data/lib/stripe/params/radar/account_evaluation_create_params.rb +0 -81
- data/lib/stripe/params/radar/account_evaluation_retrieve_params.rb +0 -15
- data/lib/stripe/params/radar/account_evaluation_update_params.rb +0 -18
- data/lib/stripe/params/test_helpers/capital/financing_offer_create_params.rb +0 -39
- data/lib/stripe/params/test_helpers/capital/financing_offer_refill_params.rb +0 -39
- data/lib/stripe/params/v2/billing/custom_pricing_unit_create_params.rb +0 -26
- data/lib/stripe/params/v2/billing/custom_pricing_unit_list_params.rb +0 -24
- data/lib/stripe/params/v2/billing/custom_pricing_unit_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/billing/custom_pricing_unit_update_params.rb +0 -26
- data/lib/stripe/params/v2/billing/intent_cancel_params.rb +0 -10
- data/lib/stripe/params/v2/billing/intent_commit_params.rb +0 -17
- data/lib/stripe/params/v2/billing/intent_create_params.rb +0 -355
- data/lib/stripe/params/v2/billing/intent_list_params.rb +0 -17
- data/lib/stripe/params/v2/billing/intent_release_reservation_params.rb +0 -10
- data/lib/stripe/params/v2/billing/intent_reserve_params.rb +0 -10
- data/lib/stripe/params/v2/billing/intent_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/billing/intents/action_list_params.rb +0 -19
- data/lib/stripe/params/v2/billing/intents/action_retrieve_params.rb +0 -12
- data/lib/stripe/params/v2/billing/license_fee_create_params.rb +0 -103
- data/lib/stripe/params/v2/billing/license_fee_list_params.rb +0 -24
- data/lib/stripe/params/v2/billing/license_fee_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/billing/license_fee_subscription_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/billing/license_fee_update_params.rb +0 -84
- data/lib/stripe/params/v2/billing/license_fees/version_list_params.rb +0 -19
- data/lib/stripe/params/v2/billing/license_fees/version_retrieve_params.rb +0 -12
- data/lib/stripe/params/v2/billing/licensed_item_create_params.rb +0 -48
- data/lib/stripe/params/v2/billing/licensed_item_list_params.rb +0 -21
- data/lib/stripe/params/v2/billing/licensed_item_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/billing/licensed_item_update_params.rb +0 -48
- data/lib/stripe/params/v2/billing/metered_item_create_params.rb +0 -73
- data/lib/stripe/params/v2/billing/metered_item_list_params.rb +0 -21
- data/lib/stripe/params/v2/billing/metered_item_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/billing/metered_item_update_params.rb +0 -50
- data/lib/stripe/params/v2/billing/pricing_plan_create_params.rb +0 -39
- data/lib/stripe/params/v2/billing/pricing_plan_list_params.rb +0 -24
- data/lib/stripe/params/v2/billing/pricing_plan_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/billing/pricing_plan_subscription_list_params.rb +0 -50
- data/lib/stripe/params/v2/billing/pricing_plan_subscription_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/billing/pricing_plan_subscription_update_params.rb +0 -20
- data/lib/stripe/params/v2/billing/pricing_plan_subscriptions/component_retrieve_params.rb +0 -12
- data/lib/stripe/params/v2/billing/pricing_plan_update_params.rb +0 -39
- data/lib/stripe/params/v2/billing/pricing_plans/component_create_params.rb +0 -73
- data/lib/stripe/params/v2/billing/pricing_plans/component_delete_params.rb +0 -12
- data/lib/stripe/params/v2/billing/pricing_plans/component_list_params.rb +0 -27
- data/lib/stripe/params/v2/billing/pricing_plans/component_retrieve_params.rb +0 -12
- data/lib/stripe/params/v2/billing/pricing_plans/component_update_params.rb +0 -22
- data/lib/stripe/params/v2/billing/pricing_plans/version_list_params.rb +0 -19
- data/lib/stripe/params/v2/billing/pricing_plans/version_retrieve_params.rb +0 -12
- data/lib/stripe/params/v2/billing/rate_card_create_params.rb +0 -49
- data/lib/stripe/params/v2/billing/rate_card_list_params.rb +0 -24
- data/lib/stripe/params/v2/billing/rate_card_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/billing/rate_card_subscription_cancel_params.rb +0 -10
- data/lib/stripe/params/v2/billing/rate_card_subscription_create_params.rb +0 -26
- data/lib/stripe/params/v2/billing/rate_card_subscription_list_params.rb +0 -51
- data/lib/stripe/params/v2/billing/rate_card_subscription_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/billing/rate_card_subscription_update_params.rb +0 -17
- data/lib/stripe/params/v2/billing/rate_card_update_params.rb +0 -38
- data/lib/stripe/params/v2/billing/rate_cards/rate_create_params.rb +0 -91
- data/lib/stripe/params/v2/billing/rate_cards/rate_delete_params.rb +0 -12
- data/lib/stripe/params/v2/billing/rate_cards/rate_list_params.rb +0 -25
- data/lib/stripe/params/v2/billing/rate_cards/rate_retrieve_params.rb +0 -12
- data/lib/stripe/params/v2/billing/rate_cards/version_list_params.rb +0 -19
- data/lib/stripe/params/v2/billing/service_action_create_params.rb +0 -254
- 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/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 -61
- data/lib/stripe/params/v2/payments/off_session_payment_create_params.rb +0 -237
- data/lib/stripe/params/v2/payments/off_session_payment_list_params.rb +0 -17
- data/lib/stripe/params/v2/payments/off_session_payment_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/reporting/report_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/reporting/report_run_create_params.rb +0 -33
- data/lib/stripe/params/v2/reporting/report_run_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/test_helpers/money_management_recipient_verifications_params.rb +0 -24
- data/lib/stripe/resources/balance_transfer.rb +0 -139
- data/lib/stripe/resources/delegated_checkout/requested_session.rb +0 -420
- data/lib/stripe/resources/identity/blocklist_entry.rb +0 -116
- data/lib/stripe/resources/issuing/program.rb +0 -69
- data/lib/stripe/resources/payment_method_balance.rb +0 -68
- data/lib/stripe/resources/radar/account_evaluation.rb +0 -116
- data/lib/stripe/resources/transit_balance.rb +0 -45
- data/lib/stripe/resources/v2/billing/custom_pricing_unit.rb +0 -43
- data/lib/stripe/resources/v2/billing/intent.rb +0 -86
- data/lib/stripe/resources/v2/billing/intent_action.rb +0 -395
- data/lib/stripe/resources/v2/billing/license_fee.rb +0 -104
- data/lib/stripe/resources/v2/billing/license_fee_subscription.rb +0 -44
- data/lib/stripe/resources/v2/billing/license_fee_version.rb +0 -80
- data/lib/stripe/resources/v2/billing/licensed_item.rb +0 -60
- data/lib/stripe/resources/v2/billing/metered_item.rb +0 -85
- data/lib/stripe/resources/v2/billing/pricing_plan.rb +0 -51
- data/lib/stripe/resources/v2/billing/pricing_plan_component.rb +0 -94
- data/lib/stripe/resources/v2/billing/pricing_plan_subscription.rb +0 -94
- data/lib/stripe/resources/v2/billing/pricing_plan_subscription_components.rb +0 -49
- data/lib/stripe/resources/v2/billing/pricing_plan_version.rb +0 -38
- data/lib/stripe/resources/v2/billing/rate_card.rb +0 -61
- data/lib/stripe/resources/v2/billing/rate_card_rate.rb +0 -110
- data/lib/stripe/resources/v2/billing/rate_card_subscription.rb +0 -94
- data/lib/stripe/resources/v2/billing/rate_card_version.rb +0 -34
- data/lib/stripe/resources/v2/billing/service_action.rb +0 -244
- data/lib/stripe/resources/v2/core/claimable_sandbox.rb +0 -105
- data/lib/stripe/resources/v2/money_management/recipient_verification.rb +0 -83
- data/lib/stripe/resources/v2/payments/off_session_payment.rb +0 -242
- data/lib/stripe/resources/v2/reporting/report.rb +0 -116
- data/lib/stripe/resources/v2/reporting/report_run.rb +0 -128
- data/lib/stripe/services/balance_transfer_service.rb +0 -17
- data/lib/stripe/services/delegated_checkout/requested_session_service.rb +0 -63
- data/lib/stripe/services/delegated_checkout_service.rb +0 -13
- data/lib/stripe/services/identity/blocklist_entry_service.rb +0 -71
- data/lib/stripe/services/issuing/program_service.rb +0 -52
- data/lib/stripe/services/radar/account_evaluation_service.rb +0 -41
- data/lib/stripe/services/test_helpers/capital/financing_offer_service.rb +0 -32
- data/lib/stripe/services/test_helpers/capital_service.rb +0 -15
- data/lib/stripe/services/v2/billing/custom_pricing_unit_service.rb +0 -54
- data/lib/stripe/services/v2/billing/intent_service.rb +0 -94
- data/lib/stripe/services/v2/billing/intents/action_service.rb +0 -34
- data/lib/stripe/services/v2/billing/license_fee_service.rb +0 -61
- data/lib/stripe/services/v2/billing/license_fee_subscription_service.rb +0 -21
- data/lib/stripe/services/v2/billing/license_fees/version_service.rb +0 -34
- data/lib/stripe/services/v2/billing/licensed_item_service.rb +0 -54
- data/lib/stripe/services/v2/billing/metered_item_service.rb +0 -54
- data/lib/stripe/services/v2/billing/pricing_plan_service.rb +0 -62
- data/lib/stripe/services/v2/billing/pricing_plan_subscription_service.rb +0 -51
- data/lib/stripe/services/v2/billing/pricing_plan_subscriptions/component_service.rb +0 -23
- data/lib/stripe/services/v2/billing/pricing_plans/component_service.rb +0 -67
- data/lib/stripe/services/v2/billing/pricing_plans/version_service.rb +0 -34
- data/lib/stripe/services/v2/billing/rate_card_service.rb +0 -62
- data/lib/stripe/services/v2/billing/rate_card_subscription_service.rb +0 -65
- data/lib/stripe/services/v2/billing/rate_cards/rate_service.rb +0 -57
- data/lib/stripe/services/v2/billing/rate_cards/version_service.rb +0 -34
- data/lib/stripe/services/v2/billing/service_action_service.rb +0 -43
- data/lib/stripe/services/v2/core/claimable_sandbox_service.rb +0 -35
- data/lib/stripe/services/v2/money_management/recipient_verification_service.rb +0 -43
- data/lib/stripe/services/v2/payment_service.rb +0 -15
- data/lib/stripe/services/v2/payments/off_session_payment_service.rb +0 -65
- data/lib/stripe/services/v2/reporting/report_run_service.rb +0 -38
- data/lib/stripe/services/v2/reporting/report_service.rb +0 -23
- data/lib/stripe/services/v2/reporting_service.rb +0 -16
- data/lib/stripe/services/v2/test_helpers/money_management_service.rb +0 -21
|
@@ -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
39
|
# Details about the subscription that generated this invoice item
|
|
95
40
|
attr_reader :subscription_details
|
|
96
41
|
# The type of parent that generated this invoice item
|
|
97
42
|
attr_reader :type
|
|
98
|
-
# Details about the subscription schedule that generated this invoice item
|
|
99
|
-
attr_reader :schedule_details
|
|
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
|
-
subscription_details: SubscriptionDetails,
|
|
106
|
-
schedule_details: ScheduleDetails,
|
|
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
|
|
@@ -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,24 +137,15 @@ 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
140
|
# Details about the subscription item that generated this line item
|
|
200
141
|
attr_reader :subscription_item_details
|
|
201
142
|
# The type of parent that generated this line item
|
|
202
143
|
attr_reader :type
|
|
203
|
-
# Details about the subscription schedule that generated this line item
|
|
204
|
-
attr_reader :schedule_details
|
|
205
144
|
|
|
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
148
|
subscription_item_details: SubscriptionItemDetails,
|
|
212
|
-
schedule_details: ScheduleDetails,
|
|
213
149
|
}
|
|
214
150
|
end
|
|
215
151
|
|
|
@@ -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
|
|
@@ -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 Shipping < ::Stripe::StripeObject
|
|
45
32
|
# If a physical good is being shipped, the cost of shipping represented in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal). An integer greater than or equal to 0.
|
|
@@ -1198,31 +1185,6 @@ module Stripe
|
|
|
1198
1185
|
end
|
|
1199
1186
|
|
|
1200
1187
|
class PaymentDetails < ::Stripe::StripeObject
|
|
1201
|
-
class Benefit < ::Stripe::StripeObject
|
|
1202
|
-
class FrMealVoucher < ::Stripe::StripeObject
|
|
1203
|
-
# The 14-digit SIRET of the meal voucher acceptor.
|
|
1204
|
-
attr_reader :siret
|
|
1205
|
-
|
|
1206
|
-
def self.inner_class_types
|
|
1207
|
-
@inner_class_types = {}
|
|
1208
|
-
end
|
|
1209
|
-
|
|
1210
|
-
def self.field_remappings
|
|
1211
|
-
@field_remappings = {}
|
|
1212
|
-
end
|
|
1213
|
-
end
|
|
1214
|
-
# Attribute for field fr_meal_voucher
|
|
1215
|
-
attr_reader :fr_meal_voucher
|
|
1216
|
-
|
|
1217
|
-
def self.inner_class_types
|
|
1218
|
-
@inner_class_types = { fr_meal_voucher: FrMealVoucher }
|
|
1219
|
-
end
|
|
1220
|
-
|
|
1221
|
-
def self.field_remappings
|
|
1222
|
-
@field_remappings = {}
|
|
1223
|
-
end
|
|
1224
|
-
end
|
|
1225
|
-
|
|
1226
1188
|
class CarRental < ::Stripe::StripeObject
|
|
1227
1189
|
class Affiliate < ::Stripe::StripeObject
|
|
1228
1190
|
# The name of the affiliate that originated the purchase.
|
|
@@ -1554,8 +1516,6 @@ module Stripe
|
|
|
1554
1516
|
@field_remappings = {}
|
|
1555
1517
|
end
|
|
1556
1518
|
end
|
|
1557
|
-
# Attribute for field benefit
|
|
1558
|
-
attr_reader :benefit
|
|
1559
1519
|
# Attribute for field car_rental
|
|
1560
1520
|
attr_reader :car_rental
|
|
1561
1521
|
# A unique value to identify the customer. This field is available only for card payments.
|
|
@@ -1575,7 +1535,6 @@ module Stripe
|
|
|
1575
1535
|
|
|
1576
1536
|
def self.inner_class_types
|
|
1577
1537
|
@inner_class_types = {
|
|
1578
|
-
benefit: Benefit,
|
|
1579
1538
|
car_rental: CarRental,
|
|
1580
1539
|
event_details: EventDetails,
|
|
1581
1540
|
subscription: Subscription,
|
|
@@ -3459,8 +3418,6 @@ module Stripe
|
|
|
3459
3418
|
@field_remappings = {}
|
|
3460
3419
|
end
|
|
3461
3420
|
end
|
|
3462
|
-
# Allocated Funds configuration for this PaymentIntent.
|
|
3463
|
-
attr_reader :allocated_funds
|
|
3464
3421
|
# Amount intended to be collected by this PaymentIntent. A positive integer representing how much to charge in the [smallest currency unit](https://stripe.com/docs/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://stripe.com/docs/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).
|
|
3465
3422
|
attr_reader :amount
|
|
3466
3423
|
# Amount that can be captured from this PaymentIntent.
|
|
@@ -3934,7 +3891,6 @@ module Stripe
|
|
|
3934
3891
|
|
|
3935
3892
|
def self.inner_class_types
|
|
3936
3893
|
@inner_class_types = {
|
|
3937
|
-
allocated_funds: AllocatedFunds,
|
|
3938
3894
|
amount_details: AmountDetails,
|
|
3939
3895
|
automatic_payment_methods: AutomaticPaymentMethods,
|
|
3940
3896
|
hooks: Hooks,
|
|
@@ -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 payment method'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 payment method'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
|
-
# Amount in the minor currency unit (e.g., 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
|
-
# Amount in the minor currency unit (e.g., 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
|
}
|