stripe 17.2.0.pre.beta.1 → 17.3.0.pre.alpha.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/api_version.rb +1 -1
- data/lib/stripe/event_types.rb +817 -0
- data/lib/stripe/events/v1_account_updated_event.rb +44 -0
- data/lib/stripe/events/v1_application_fee_created_event.rb +44 -0
- data/lib/stripe/events/v1_application_fee_refunded_event.rb +44 -0
- data/lib/stripe/events/v1_billing_portal_configuration_created_event.rb +44 -0
- data/lib/stripe/events/v1_billing_portal_configuration_updated_event.rb +44 -0
- data/lib/stripe/events/v1_capability_updated_event.rb +44 -0
- data/lib/stripe/events/v1_charge_captured_event.rb +44 -0
- data/lib/stripe/events/v1_charge_dispute_closed_event.rb +44 -0
- data/lib/stripe/events/v1_charge_dispute_created_event.rb +44 -0
- data/lib/stripe/events/v1_charge_dispute_funds_reinstated_event.rb +44 -0
- data/lib/stripe/events/v1_charge_dispute_funds_withdrawn_event.rb +44 -0
- data/lib/stripe/events/v1_charge_dispute_updated_event.rb +44 -0
- data/lib/stripe/events/v1_charge_expired_event.rb +44 -0
- data/lib/stripe/events/v1_charge_failed_event.rb +44 -0
- data/lib/stripe/events/v1_charge_pending_event.rb +44 -0
- data/lib/stripe/events/v1_charge_refund_updated_event.rb +44 -0
- data/lib/stripe/events/v1_charge_refunded_event.rb +44 -0
- data/lib/stripe/events/v1_charge_succeeded_event.rb +44 -0
- data/lib/stripe/events/v1_charge_updated_event.rb +44 -0
- data/lib/stripe/events/v1_checkout_session_async_payment_failed_event.rb +44 -0
- data/lib/stripe/events/v1_checkout_session_async_payment_succeeded_event.rb +44 -0
- data/lib/stripe/events/v1_checkout_session_completed_event.rb +44 -0
- data/lib/stripe/events/v1_checkout_session_expired_event.rb +44 -0
- data/lib/stripe/events/v1_climate_order_canceled_event.rb +44 -0
- data/lib/stripe/events/v1_climate_order_created_event.rb +44 -0
- data/lib/stripe/events/v1_climate_order_delayed_event.rb +44 -0
- data/lib/stripe/events/v1_climate_order_delivered_event.rb +44 -0
- data/lib/stripe/events/v1_climate_order_product_substituted_event.rb +44 -0
- data/lib/stripe/events/v1_climate_product_created_event.rb +44 -0
- data/lib/stripe/events/v1_climate_product_pricing_updated_event.rb +44 -0
- data/lib/stripe/events/v1_coupon_created_event.rb +44 -0
- data/lib/stripe/events/v1_coupon_deleted_event.rb +44 -0
- data/lib/stripe/events/v1_coupon_updated_event.rb +44 -0
- data/lib/stripe/events/v1_credit_note_created_event.rb +44 -0
- data/lib/stripe/events/v1_credit_note_updated_event.rb +44 -0
- data/lib/stripe/events/v1_credit_note_voided_event.rb +44 -0
- data/lib/stripe/events/v1_customer_created_event.rb +44 -0
- data/lib/stripe/events/v1_customer_deleted_event.rb +44 -0
- data/lib/stripe/events/v1_customer_subscription_created_event.rb +44 -0
- data/lib/stripe/events/v1_customer_subscription_deleted_event.rb +44 -0
- data/lib/stripe/events/v1_customer_subscription_paused_event.rb +44 -0
- data/lib/stripe/events/v1_customer_subscription_pending_update_applied_event.rb +44 -0
- data/lib/stripe/events/v1_customer_subscription_pending_update_expired_event.rb +44 -0
- data/lib/stripe/events/v1_customer_subscription_resumed_event.rb +44 -0
- data/lib/stripe/events/v1_customer_subscription_trial_will_end_event.rb +44 -0
- data/lib/stripe/events/v1_customer_subscription_updated_event.rb +44 -0
- data/lib/stripe/events/v1_customer_tax_id_created_event.rb +44 -0
- data/lib/stripe/events/v1_customer_tax_id_deleted_event.rb +44 -0
- data/lib/stripe/events/v1_customer_tax_id_updated_event.rb +44 -0
- data/lib/stripe/events/v1_customer_updated_event.rb +44 -0
- data/lib/stripe/events/v1_file_created_event.rb +44 -0
- data/lib/stripe/events/v1_financial_connections_account_created_event.rb +44 -0
- data/lib/stripe/events/v1_financial_connections_account_deactivated_event.rb +44 -0
- data/lib/stripe/events/v1_financial_connections_account_disconnected_event.rb +44 -0
- data/lib/stripe/events/v1_financial_connections_account_reactivated_event.rb +44 -0
- data/lib/stripe/events/v1_financial_connections_account_refreshed_balance_event.rb +44 -0
- data/lib/stripe/events/v1_financial_connections_account_refreshed_ownership_event.rb +44 -0
- data/lib/stripe/events/v1_financial_connections_account_refreshed_transactions_event.rb +44 -0
- data/lib/stripe/events/v1_identity_verification_session_canceled_event.rb +44 -0
- data/lib/stripe/events/v1_identity_verification_session_created_event.rb +44 -0
- data/lib/stripe/events/v1_identity_verification_session_processing_event.rb +44 -0
- data/lib/stripe/events/v1_identity_verification_session_redacted_event.rb +44 -0
- data/lib/stripe/events/v1_identity_verification_session_requires_input_event.rb +44 -0
- data/lib/stripe/events/v1_identity_verification_session_verified_event.rb +44 -0
- data/lib/stripe/events/v1_invoice_created_event.rb +44 -0
- data/lib/stripe/events/v1_invoice_deleted_event.rb +44 -0
- data/lib/stripe/events/v1_invoice_finalization_failed_event.rb +44 -0
- data/lib/stripe/events/v1_invoice_finalized_event.rb +44 -0
- data/lib/stripe/events/v1_invoice_marked_uncollectible_event.rb +44 -0
- data/lib/stripe/events/v1_invoice_overdue_event.rb +44 -0
- data/lib/stripe/events/v1_invoice_overpaid_event.rb +44 -0
- data/lib/stripe/events/v1_invoice_paid_event.rb +44 -0
- data/lib/stripe/events/v1_invoice_payment_action_required_event.rb +44 -0
- data/lib/stripe/events/v1_invoice_payment_failed_event.rb +44 -0
- data/lib/stripe/events/v1_invoice_payment_paid_event.rb +44 -0
- data/lib/stripe/events/v1_invoice_payment_succeeded_event.rb +44 -0
- data/lib/stripe/events/v1_invoice_sent_event.rb +44 -0
- data/lib/stripe/events/v1_invoice_upcoming_event.rb +44 -0
- data/lib/stripe/events/v1_invoice_updated_event.rb +44 -0
- data/lib/stripe/events/v1_invoice_voided_event.rb +44 -0
- data/lib/stripe/events/v1_invoice_will_be_due_event.rb +44 -0
- data/lib/stripe/events/v1_invoiceitem_created_event.rb +44 -0
- data/lib/stripe/events/v1_invoiceitem_deleted_event.rb +44 -0
- data/lib/stripe/events/v1_issuing_authorization_created_event.rb +44 -0
- data/lib/stripe/events/v1_issuing_authorization_request_event.rb +44 -0
- data/lib/stripe/events/v1_issuing_authorization_updated_event.rb +44 -0
- data/lib/stripe/events/v1_issuing_card_created_event.rb +44 -0
- data/lib/stripe/events/v1_issuing_card_updated_event.rb +44 -0
- data/lib/stripe/events/v1_issuing_cardholder_created_event.rb +44 -0
- data/lib/stripe/events/v1_issuing_cardholder_updated_event.rb +44 -0
- data/lib/stripe/events/v1_issuing_dispute_closed_event.rb +44 -0
- data/lib/stripe/events/v1_issuing_dispute_created_event.rb +44 -0
- data/lib/stripe/events/v1_issuing_dispute_funds_reinstated_event.rb +44 -0
- data/lib/stripe/events/v1_issuing_dispute_funds_rescinded_event.rb +44 -0
- data/lib/stripe/events/v1_issuing_dispute_submitted_event.rb +44 -0
- data/lib/stripe/events/v1_issuing_dispute_updated_event.rb +44 -0
- data/lib/stripe/events/v1_issuing_personalization_design_activated_event.rb +44 -0
- data/lib/stripe/events/v1_issuing_personalization_design_deactivated_event.rb +44 -0
- data/lib/stripe/events/v1_issuing_personalization_design_rejected_event.rb +44 -0
- data/lib/stripe/events/v1_issuing_personalization_design_updated_event.rb +44 -0
- data/lib/stripe/events/v1_issuing_token_created_event.rb +44 -0
- data/lib/stripe/events/v1_issuing_token_updated_event.rb +44 -0
- data/lib/stripe/events/v1_issuing_transaction_created_event.rb +44 -0
- data/lib/stripe/events/v1_issuing_transaction_purchase_details_receipt_updated_event.rb +44 -0
- data/lib/stripe/events/v1_issuing_transaction_updated_event.rb +44 -0
- data/lib/stripe/events/v1_mandate_updated_event.rb +44 -0
- data/lib/stripe/events/v1_payment_intent_amount_capturable_updated_event.rb +44 -0
- data/lib/stripe/events/v1_payment_intent_canceled_event.rb +44 -0
- data/lib/stripe/events/v1_payment_intent_created_event.rb +44 -0
- data/lib/stripe/events/v1_payment_intent_partially_funded_event.rb +44 -0
- data/lib/stripe/events/v1_payment_intent_payment_failed_event.rb +44 -0
- data/lib/stripe/events/v1_payment_intent_processing_event.rb +44 -0
- data/lib/stripe/events/v1_payment_intent_requires_action_event.rb +44 -0
- data/lib/stripe/events/v1_payment_intent_succeeded_event.rb +44 -0
- data/lib/stripe/events/v1_payment_link_created_event.rb +44 -0
- data/lib/stripe/events/v1_payment_link_updated_event.rb +44 -0
- data/lib/stripe/events/v1_payment_method_attached_event.rb +44 -0
- data/lib/stripe/events/v1_payment_method_automatically_updated_event.rb +44 -0
- data/lib/stripe/events/v1_payment_method_detached_event.rb +44 -0
- data/lib/stripe/events/v1_payment_method_updated_event.rb +44 -0
- data/lib/stripe/events/v1_payout_canceled_event.rb +44 -0
- data/lib/stripe/events/v1_payout_created_event.rb +44 -0
- data/lib/stripe/events/v1_payout_failed_event.rb +44 -0
- data/lib/stripe/events/v1_payout_paid_event.rb +44 -0
- data/lib/stripe/events/v1_payout_reconciliation_completed_event.rb +44 -0
- data/lib/stripe/events/v1_payout_updated_event.rb +44 -0
- data/lib/stripe/events/v1_person_created_event.rb +44 -0
- data/lib/stripe/events/v1_person_deleted_event.rb +44 -0
- data/lib/stripe/events/v1_person_updated_event.rb +44 -0
- data/lib/stripe/events/v1_plan_created_event.rb +44 -0
- data/lib/stripe/events/v1_plan_deleted_event.rb +44 -0
- data/lib/stripe/events/v1_plan_updated_event.rb +44 -0
- data/lib/stripe/events/v1_price_created_event.rb +44 -0
- data/lib/stripe/events/v1_price_deleted_event.rb +44 -0
- data/lib/stripe/events/v1_price_updated_event.rb +44 -0
- data/lib/stripe/events/v1_product_created_event.rb +44 -0
- data/lib/stripe/events/v1_product_deleted_event.rb +44 -0
- data/lib/stripe/events/v1_product_updated_event.rb +44 -0
- data/lib/stripe/events/v1_promotion_code_created_event.rb +44 -0
- data/lib/stripe/events/v1_promotion_code_updated_event.rb +44 -0
- data/lib/stripe/events/v1_quote_accepted_event.rb +44 -0
- data/lib/stripe/events/v1_quote_canceled_event.rb +44 -0
- data/lib/stripe/events/v1_quote_created_event.rb +44 -0
- data/lib/stripe/events/v1_quote_finalized_event.rb +44 -0
- data/lib/stripe/events/v1_radar_early_fraud_warning_created_event.rb +44 -0
- data/lib/stripe/events/v1_radar_early_fraud_warning_updated_event.rb +44 -0
- data/lib/stripe/events/v1_refund_created_event.rb +44 -0
- data/lib/stripe/events/v1_refund_failed_event.rb +44 -0
- data/lib/stripe/events/v1_refund_updated_event.rb +44 -0
- data/lib/stripe/events/v1_review_closed_event.rb +44 -0
- data/lib/stripe/events/v1_review_opened_event.rb +44 -0
- data/lib/stripe/events/v1_setup_intent_canceled_event.rb +44 -0
- data/lib/stripe/events/v1_setup_intent_created_event.rb +44 -0
- data/lib/stripe/events/v1_setup_intent_requires_action_event.rb +44 -0
- data/lib/stripe/events/v1_setup_intent_setup_failed_event.rb +44 -0
- data/lib/stripe/events/v1_setup_intent_succeeded_event.rb +44 -0
- data/lib/stripe/events/v1_sigma_scheduled_query_run_created_event.rb +44 -0
- data/lib/stripe/events/v1_source_canceled_event.rb +44 -0
- data/lib/stripe/events/v1_source_chargeable_event.rb +44 -0
- data/lib/stripe/events/v1_source_failed_event.rb +44 -0
- data/lib/stripe/events/v1_source_refund_attributes_required_event.rb +44 -0
- data/lib/stripe/events/v1_subscription_schedule_aborted_event.rb +44 -0
- data/lib/stripe/events/v1_subscription_schedule_canceled_event.rb +44 -0
- data/lib/stripe/events/v1_subscription_schedule_completed_event.rb +44 -0
- data/lib/stripe/events/v1_subscription_schedule_created_event.rb +44 -0
- data/lib/stripe/events/v1_subscription_schedule_expiring_event.rb +44 -0
- data/lib/stripe/events/v1_subscription_schedule_released_event.rb +44 -0
- data/lib/stripe/events/v1_subscription_schedule_updated_event.rb +44 -0
- data/lib/stripe/events/v1_tax_rate_created_event.rb +44 -0
- data/lib/stripe/events/v1_tax_rate_updated_event.rb +44 -0
- data/lib/stripe/events/v1_terminal_reader_action_failed_event.rb +44 -0
- data/lib/stripe/events/v1_terminal_reader_action_succeeded_event.rb +44 -0
- data/lib/stripe/events/v1_terminal_reader_action_updated_event.rb +44 -0
- data/lib/stripe/events/v1_test_helpers_test_clock_advancing_event.rb +44 -0
- data/lib/stripe/events/v1_test_helpers_test_clock_created_event.rb +44 -0
- data/lib/stripe/events/v1_test_helpers_test_clock_deleted_event.rb +44 -0
- data/lib/stripe/events/v1_test_helpers_test_clock_internal_failure_event.rb +44 -0
- data/lib/stripe/events/v1_test_helpers_test_clock_ready_event.rb +44 -0
- data/lib/stripe/events/v1_topup_canceled_event.rb +44 -0
- data/lib/stripe/events/v1_topup_created_event.rb +44 -0
- data/lib/stripe/events/v1_topup_failed_event.rb +44 -0
- data/lib/stripe/events/v1_topup_reversed_event.rb +44 -0
- data/lib/stripe/events/v1_topup_succeeded_event.rb +44 -0
- data/lib/stripe/events/v1_transfer_created_event.rb +44 -0
- data/lib/stripe/events/v1_transfer_reversed_event.rb +44 -0
- data/lib/stripe/events/v1_transfer_updated_event.rb +44 -0
- data/lib/stripe/events/v2_billing_cadence_billed_event.rb +61 -0
- data/lib/stripe/events/v2_billing_cadence_canceled_event.rb +44 -0
- data/lib/stripe/events/v2_billing_cadence_created_event.rb +61 -0
- data/lib/stripe/events/v2_billing_license_fee_created_event.rb +44 -0
- data/lib/stripe/events/v2_billing_license_fee_updated_event.rb +44 -0
- data/lib/stripe/events/v2_billing_license_fee_version_created_event.rb +61 -0
- data/lib/stripe/events/v2_billing_licensed_item_created_event.rb +44 -0
- data/lib/stripe/events/v2_billing_licensed_item_updated_event.rb +44 -0
- data/lib/stripe/events/v2_billing_metered_item_created_event.rb +44 -0
- data/lib/stripe/events/v2_billing_metered_item_updated_event.rb +44 -0
- data/lib/stripe/events/v2_billing_pricing_plan_component_created_event.rb +61 -0
- data/lib/stripe/events/v2_billing_pricing_plan_component_updated_event.rb +61 -0
- data/lib/stripe/events/v2_billing_pricing_plan_created_event.rb +44 -0
- data/lib/stripe/events/v2_billing_pricing_plan_subscription_collection_awaiting_customer_action_event.rb +44 -0
- data/lib/stripe/events/v2_billing_pricing_plan_subscription_collection_current_event.rb +44 -0
- data/lib/stripe/events/v2_billing_pricing_plan_subscription_collection_past_due_event.rb +44 -0
- data/lib/stripe/events/v2_billing_pricing_plan_subscription_collection_paused_event.rb +44 -0
- data/lib/stripe/events/v2_billing_pricing_plan_subscription_collection_unpaid_event.rb +44 -0
- data/lib/stripe/events/v2_billing_pricing_plan_subscription_servicing_activated_event.rb +44 -0
- data/lib/stripe/events/v2_billing_pricing_plan_subscription_servicing_canceled_event.rb +44 -0
- data/lib/stripe/events/v2_billing_pricing_plan_subscription_servicing_paused_event.rb +44 -0
- data/lib/stripe/events/v2_billing_pricing_plan_updated_event.rb +44 -0
- data/lib/stripe/events/v2_billing_pricing_plan_version_created_event.rb +61 -0
- data/lib/stripe/events/v2_billing_rate_card_created_event.rb +61 -0
- data/lib/stripe/events/v2_billing_rate_card_rate_created_event.rb +67 -0
- data/lib/stripe/events/v2_billing_rate_card_subscription_activated_event.rb +44 -0
- data/lib/stripe/events/v2_billing_rate_card_subscription_canceled_event.rb +44 -0
- data/lib/stripe/events/v2_billing_rate_card_subscription_collection_awaiting_customer_action_event.rb +44 -0
- data/lib/stripe/events/v2_billing_rate_card_subscription_collection_current_event.rb +44 -0
- data/lib/stripe/events/v2_billing_rate_card_subscription_collection_past_due_event.rb +44 -0
- data/lib/stripe/events/v2_billing_rate_card_subscription_collection_paused_event.rb +44 -0
- data/lib/stripe/events/v2_billing_rate_card_subscription_collection_unpaid_event.rb +44 -0
- data/lib/stripe/events/v2_billing_rate_card_subscription_servicing_activated_event.rb +44 -0
- data/lib/stripe/events/v2_billing_rate_card_subscription_servicing_canceled_event.rb +44 -0
- data/lib/stripe/events/v2_billing_rate_card_subscription_servicing_paused_event.rb +44 -0
- data/lib/stripe/events/v2_billing_rate_card_updated_event.rb +44 -0
- data/lib/stripe/events/v2_billing_rate_card_version_created_event.rb +61 -0
- data/lib/stripe/events/v2_core_account_including_configuration_card_creator_capability_status_updated_event.rb +63 -0
- data/lib/stripe/events/v2_core_account_including_configuration_card_creator_updated_event.rb +44 -0
- data/lib/stripe/events/v2_core_claimable_sandbox_claimed_event.rb +44 -0
- data/lib/stripe/events/v2_core_claimable_sandbox_created_event.rb +44 -0
- data/lib/stripe/events/v2_core_claimable_sandbox_expired_event.rb +44 -0
- data/lib/stripe/events/v2_core_claimable_sandbox_expiring_event.rb +44 -0
- data/lib/stripe/events/v2_core_claimable_sandbox_sandbox_details_owner_account_updated_event.rb +44 -0
- data/lib/stripe/events/v2_core_health_api_error_firing_event.rb +66 -0
- data/lib/stripe/events/v2_core_health_api_error_resolved_event.rb +66 -0
- data/lib/stripe/events/v2_core_health_api_latency_firing_event.rb +64 -0
- data/lib/stripe/events/v2_core_health_api_latency_resolved_event.rb +64 -0
- data/lib/stripe/events/v2_core_health_authorization_rate_drop_firing_event.rb +80 -0
- data/lib/stripe/events/v2_core_health_authorization_rate_drop_resolved_event.rb +80 -0
- data/lib/stripe/events/v2_core_health_event_generation_failure_resolved_event.rb +66 -0
- data/lib/stripe/events/v2_core_health_fraud_rate_increased_event.rb +64 -0
- data/lib/stripe/events/v2_core_health_issuing_authorization_request_errors_firing_event.rb +62 -0
- data/lib/stripe/events/v2_core_health_issuing_authorization_request_errors_resolved_event.rb +64 -0
- data/lib/stripe/events/v2_core_health_issuing_authorization_request_timeout_firing_event.rb +64 -0
- data/lib/stripe/events/v2_core_health_issuing_authorization_request_timeout_resolved_event.rb +64 -0
- data/lib/stripe/events/v2_core_health_payment_method_error_firing_event.rb +62 -0
- data/lib/stripe/events/v2_core_health_payment_method_error_resolved_event.rb +62 -0
- data/lib/stripe/events/v2_core_health_traffic_volume_drop_firing_event.rb +62 -0
- data/lib/stripe/events/v2_core_health_traffic_volume_drop_resolved_event.rb +62 -0
- data/lib/stripe/events/v2_core_health_webhook_latency_firing_event.rb +58 -0
- data/lib/stripe/events/v2_core_health_webhook_latency_resolved_event.rb +58 -0
- data/lib/stripe/events/v2_money_management_recipient_verification_created_event.rb +44 -0
- data/lib/stripe/events/v2_money_management_recipient_verification_updated_event.rb +44 -0
- data/lib/stripe/events/v2_reporting_report_run_created_event.rb +44 -0
- data/lib/stripe/events/v2_reporting_report_run_failed_event.rb +44 -0
- data/lib/stripe/events/v2_reporting_report_run_succeeded_event.rb +44 -0
- data/lib/stripe/events/v2_reporting_report_run_updated_event.rb +44 -0
- data/lib/stripe/object_types.rb +29 -0
- data/lib/stripe/params/billing/alert_create_params.rb +121 -1
- data/lib/stripe/params/billing/alert_list_params.rb +4 -0
- data/lib/stripe/params/billing/analytics/meter_usage_retrieve_params.rb +5 -1
- data/lib/stripe/params/billing/credit_balance_summary_retrieve_params.rb +13 -1
- data/lib/stripe/params/billing/credit_grant_create_params.rb +29 -2
- data/lib/stripe/params/billing/meter_create_params.rb +4 -0
- data/lib/stripe/params/billing/meter_event_summary_list_params.rb +8 -0
- data/lib/stripe/params/capital/financing_offer_create_params.rb +37 -0
- data/lib/stripe/params/capital/financing_offer_refill_params.rb +37 -0
- data/lib/stripe/params/charge_capture_params.rb +2 -8
- data/lib/stripe/params/charge_update_params.rb +2 -8
- data/lib/stripe/params/checkout/session_create_params.rb +80 -1
- data/lib/stripe/params/delegated_checkout/requested_session_confirm_params.rb +55 -0
- data/lib/stripe/params/delegated_checkout/requested_session_create_params.rb +205 -0
- data/lib/stripe/params/delegated_checkout/requested_session_expire_params.rb +15 -0
- data/lib/stripe/params/delegated_checkout/requested_session_retrieve_params.rb +15 -0
- data/lib/stripe/params/delegated_checkout/requested_session_update_params.rb +209 -0
- data/lib/stripe/params/identity/blocklist_entry_create_params.rb +29 -0
- data/lib/stripe/params/identity/blocklist_entry_disable_params.rb +15 -0
- data/lib/stripe/params/identity/blocklist_entry_list_params.rb +62 -0
- data/lib/stripe/params/identity/blocklist_entry_retrieve_params.rb +15 -0
- data/lib/stripe/params/identity/verification_report_list_params.rb +4 -0
- data/lib/stripe/params/invoice_list_params.rb +4 -0
- data/lib/stripe/params/payment_intent_capture_params.rb +13 -29
- data/lib/stripe/params/payment_intent_confirm_params.rb +48 -30
- data/lib/stripe/params/payment_intent_create_params.rb +48 -30
- data/lib/stripe/params/payment_intent_increment_authorization_params.rb +13 -29
- data/lib/stripe/params/payment_intent_update_params.rb +48 -30
- data/lib/stripe/params/payment_method_check_balance_params.rb +13 -0
- data/lib/stripe/params/setup_intent_confirm_params.rb +29 -0
- data/lib/stripe/params/setup_intent_create_params.rb +29 -0
- data/lib/stripe/params/setup_intent_update_params.rb +30 -1
- data/lib/stripe/params/test_helpers/capital/financing_offer_create_params.rb +39 -0
- data/lib/stripe/params/test_helpers/capital/financing_offer_refill_params.rb +39 -0
- data/lib/stripe/params/transfer_create_params.rb +5 -1
- data/lib/stripe/params/v2/billing/cadence_cancel_params.rb +8 -1
- data/lib/stripe/params/v2/billing/cadence_create_params.rb +4 -0
- data/lib/stripe/params/v2/billing/cadence_update_params.rb +4 -1
- data/lib/stripe/params/v2/billing/custom_pricing_unit_create_params.rb +26 -0
- data/lib/stripe/params/v2/billing/custom_pricing_unit_list_params.rb +24 -0
- data/lib/stripe/params/v2/billing/custom_pricing_unit_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/billing/custom_pricing_unit_update_params.rb +26 -0
- data/lib/stripe/params/v2/billing/intent_cancel_params.rb +10 -0
- data/lib/stripe/params/v2/billing/intent_commit_params.rb +17 -0
- data/lib/stripe/params/v2/billing/intent_create_params.rb +355 -0
- data/lib/stripe/params/v2/billing/intent_list_params.rb +17 -0
- data/lib/stripe/params/v2/billing/intent_release_reservation_params.rb +10 -0
- data/lib/stripe/params/v2/billing/intent_reserve_params.rb +10 -0
- data/lib/stripe/params/v2/billing/intent_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/billing/intents/action_list_params.rb +19 -0
- data/lib/stripe/params/v2/billing/intents/action_retrieve_params.rb +12 -0
- data/lib/stripe/params/v2/billing/license_fee_create_params.rb +103 -0
- data/lib/stripe/params/v2/billing/license_fee_list_params.rb +24 -0
- data/lib/stripe/params/v2/billing/license_fee_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/billing/license_fee_subscription_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/billing/license_fee_update_params.rb +84 -0
- data/lib/stripe/params/v2/billing/license_fees/version_list_params.rb +19 -0
- data/lib/stripe/params/v2/billing/license_fees/version_retrieve_params.rb +12 -0
- data/lib/stripe/params/v2/billing/licensed_item_create_params.rb +48 -0
- data/lib/stripe/params/v2/billing/licensed_item_list_params.rb +21 -0
- data/lib/stripe/params/v2/billing/licensed_item_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/billing/licensed_item_update_params.rb +48 -0
- data/lib/stripe/params/v2/billing/metered_item_create_params.rb +73 -0
- data/lib/stripe/params/v2/billing/metered_item_list_params.rb +21 -0
- data/lib/stripe/params/v2/billing/metered_item_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/billing/metered_item_update_params.rb +50 -0
- data/lib/stripe/params/v2/billing/pricing_plan_create_params.rb +39 -0
- data/lib/stripe/params/v2/billing/pricing_plan_list_params.rb +24 -0
- data/lib/stripe/params/v2/billing/pricing_plan_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/billing/pricing_plan_subscription_list_params.rb +50 -0
- data/lib/stripe/params/v2/billing/pricing_plan_subscription_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/billing/pricing_plan_subscription_update_params.rb +20 -0
- data/lib/stripe/params/v2/billing/pricing_plan_subscriptions/component_retrieve_params.rb +12 -0
- data/lib/stripe/params/v2/billing/pricing_plan_update_params.rb +39 -0
- data/lib/stripe/params/v2/billing/pricing_plans/component_create_params.rb +73 -0
- data/lib/stripe/params/v2/billing/pricing_plans/component_delete_params.rb +12 -0
- data/lib/stripe/params/v2/billing/pricing_plans/component_list_params.rb +27 -0
- data/lib/stripe/params/v2/billing/pricing_plans/component_retrieve_params.rb +12 -0
- data/lib/stripe/params/v2/billing/pricing_plans/component_update_params.rb +22 -0
- data/lib/stripe/params/v2/billing/pricing_plans/version_list_params.rb +19 -0
- data/lib/stripe/params/v2/billing/pricing_plans/version_retrieve_params.rb +12 -0
- data/lib/stripe/params/v2/billing/rate_card_create_params.rb +49 -0
- data/lib/stripe/params/v2/billing/rate_card_list_params.rb +24 -0
- data/lib/stripe/params/v2/billing/rate_card_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/billing/rate_card_subscription_cancel_params.rb +10 -0
- data/lib/stripe/params/v2/billing/rate_card_subscription_create_params.rb +26 -0
- data/lib/stripe/params/v2/billing/rate_card_subscription_list_params.rb +51 -0
- data/lib/stripe/params/v2/billing/rate_card_subscription_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/billing/rate_card_subscription_update_params.rb +17 -0
- data/lib/stripe/params/v2/billing/rate_card_update_params.rb +38 -0
- data/lib/stripe/params/v2/billing/rate_cards/rate_create_params.rb +91 -0
- data/lib/stripe/params/v2/billing/rate_cards/rate_delete_params.rb +12 -0
- data/lib/stripe/params/v2/billing/rate_cards/rate_list_params.rb +25 -0
- data/lib/stripe/params/v2/billing/rate_cards/rate_retrieve_params.rb +12 -0
- data/lib/stripe/params/v2/billing/rate_cards/version_list_params.rb +19 -0
- data/lib/stripe/params/v2/billing/rate_cards/version_retrieve_params.rb +12 -0
- data/lib/stripe/params/v2/billing/service_action_create_params.rb +254 -0
- data/lib/stripe/params/v2/billing/service_action_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/billing/service_action_update_params.rb +40 -0
- data/lib/stripe/params/v2/core/account_create_params.rb +703 -8
- data/lib/stripe/params/v2/core/account_update_params.rb +689 -8
- data/lib/stripe/params/v2/core/claimable_sandbox_create_params.rb +36 -0
- data/lib/stripe/params/v2/core/claimable_sandbox_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/money_management/financial_address_create_params.rb +12 -1
- data/lib/stripe/params/v2/money_management/outbound_payment_create_params.rb +4 -0
- data/lib/stripe/params/v2/money_management/outbound_setup_intent_create_params.rb +19 -1
- data/lib/stripe/params/v2/money_management/outbound_transfer_create_params.rb +4 -0
- data/lib/stripe/params/v2/money_management/recipient_verification_acknowledge_params.rb +10 -0
- data/lib/stripe/params/v2/money_management/recipient_verification_create_params.rb +20 -0
- data/lib/stripe/params/v2/money_management/recipient_verification_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/reporting/report_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/reporting/report_run_create_params.rb +33 -0
- data/lib/stripe/params/v2/reporting/report_run_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/tax/automatic_rule_create_params.rb +20 -0
- data/lib/stripe/params/v2/tax/automatic_rule_deactivate_params.rb +10 -0
- data/lib/stripe/params/v2/tax/automatic_rule_find_params.rb +17 -0
- data/lib/stripe/params/v2/tax/automatic_rule_retrieve_params.rb +10 -0
- data/lib/stripe/params/v2/tax/automatic_rule_update_params.rb +17 -0
- data/lib/stripe/params/v2/test_helpers/money_management_recipient_verifications_params.rb +24 -0
- data/lib/stripe/params.rb +89 -0
- data/lib/stripe/resources/application_fee.rb +2 -0
- data/lib/stripe/resources/balance.rb +83 -0
- data/lib/stripe/resources/billing/alert.rb +105 -1
- data/lib/stripe/resources/billing/alert_triggered.rb +6 -0
- data/lib/stripe/resources/billing/analytics/meter_usage_row.rb +2 -0
- data/lib/stripe/resources/billing/credit_balance_summary.rb +84 -2
- data/lib/stripe/resources/billing/credit_balance_transaction.rb +84 -2
- data/lib/stripe/resources/billing/credit_grant.rb +58 -2
- data/lib/stripe/resources/billing/meter.rb +2 -0
- data/lib/stripe/resources/billing/meter_event_summary.rb +2 -0
- data/lib/stripe/resources/capital/financing_offer.rb +41 -0
- data/lib/stripe/resources/card.rb +18 -1
- data/lib/stripe/resources/charge.rb +18 -0
- data/lib/stripe/resources/checkout/session.rb +92 -0
- data/lib/stripe/resources/confirmation_token.rb +18 -0
- data/lib/stripe/resources/delegated_checkout/requested_session.rb +402 -0
- data/lib/stripe/resources/identity/blocklist_entry.rb +116 -0
- data/lib/stripe/resources/identity/verification_report.rb +4 -0
- data/lib/stripe/resources/invoice_item.rb +90 -2
- data/lib/stripe/resources/invoice_line_item.rb +91 -1
- data/lib/stripe/resources/payment_intent.rb +51 -17
- data/lib/stripe/resources/payment_intent_amount_details_line_item.rb +7 -13
- data/lib/stripe/resources/payment_method.rb +38 -0
- data/lib/stripe/resources/payment_method_balance.rb +68 -0
- data/lib/stripe/resources/setup_intent.rb +40 -0
- data/lib/stripe/resources/transfer.rb +4 -0
- data/lib/stripe/resources/transit_balance.rb +45 -0
- data/lib/stripe/resources/v2/billing/cadence.rb +46 -0
- data/lib/stripe/resources/v2/billing/custom_pricing_unit.rb +43 -0
- data/lib/stripe/resources/v2/billing/intent.rb +86 -0
- data/lib/stripe/resources/v2/billing/intent_action.rb +395 -0
- data/lib/stripe/resources/v2/billing/license_fee.rb +104 -0
- data/lib/stripe/resources/v2/billing/license_fee_subscription.rb +44 -0
- data/lib/stripe/resources/v2/billing/license_fee_version.rb +80 -0
- data/lib/stripe/resources/v2/billing/licensed_item.rb +60 -0
- data/lib/stripe/resources/v2/billing/metered_item.rb +85 -0
- data/lib/stripe/resources/v2/billing/pricing_plan.rb +51 -0
- data/lib/stripe/resources/v2/billing/pricing_plan_component.rb +94 -0
- data/lib/stripe/resources/v2/billing/pricing_plan_subscription.rb +94 -0
- data/lib/stripe/resources/v2/billing/pricing_plan_subscription_components.rb +49 -0
- data/lib/stripe/resources/v2/billing/pricing_plan_version.rb +38 -0
- data/lib/stripe/resources/v2/billing/rate_card.rb +61 -0
- data/lib/stripe/resources/v2/billing/rate_card_rate.rb +110 -0
- data/lib/stripe/resources/v2/billing/rate_card_subscription.rb +94 -0
- data/lib/stripe/resources/v2/billing/rate_card_version.rb +34 -0
- data/lib/stripe/resources/v2/billing/service_action.rb +244 -0
- data/lib/stripe/resources/v2/core/account.rb +1065 -4
- data/lib/stripe/resources/v2/core/claimable_sandbox.rb +105 -0
- data/lib/stripe/resources/v2/core/event.rb +6 -2
- data/lib/stripe/resources/v2/money_management/outbound_payment.rb +2 -0
- data/lib/stripe/resources/v2/money_management/outbound_transfer.rb +2 -0
- data/lib/stripe/resources/v2/money_management/payout_method.rb +29 -1
- data/lib/stripe/resources/v2/money_management/received_credit.rb +2 -0
- data/lib/stripe/resources/v2/money_management/received_debit.rb +4 -0
- data/lib/stripe/resources/v2/money_management/recipient_verification.rb +83 -0
- data/lib/stripe/resources/v2/reporting/report.rb +116 -0
- data/lib/stripe/resources/v2/reporting/report_run.rb +128 -0
- data/lib/stripe/resources/v2/tax/automatic_rule.rb +39 -0
- data/lib/stripe/resources.rb +281 -0
- data/lib/stripe/services/delegated_checkout/requested_session_service.rb +63 -0
- data/lib/stripe/services/delegated_checkout_service.rb +13 -0
- data/lib/stripe/services/identity/blocklist_entry_service.rb +71 -0
- data/lib/stripe/services/identity_service.rb +2 -1
- data/lib/stripe/services/payment_method_service.rb +11 -0
- data/lib/stripe/services/test_helpers/capital/financing_offer_service.rb +32 -0
- data/lib/stripe/services/test_helpers/capital_service.rb +15 -0
- data/lib/stripe/services/test_helpers_service.rb +2 -1
- data/lib/stripe/services/v1_services.rb +2 -1
- data/lib/stripe/services/v2/billing/custom_pricing_unit_service.rb +54 -0
- data/lib/stripe/services/v2/billing/intent_service.rb +94 -0
- data/lib/stripe/services/v2/billing/intents/action_service.rb +34 -0
- data/lib/stripe/services/v2/billing/license_fee_service.rb +61 -0
- data/lib/stripe/services/v2/billing/license_fee_subscription_service.rb +21 -0
- data/lib/stripe/services/v2/billing/license_fees/version_service.rb +34 -0
- data/lib/stripe/services/v2/billing/licensed_item_service.rb +54 -0
- data/lib/stripe/services/v2/billing/metered_item_service.rb +54 -0
- data/lib/stripe/services/v2/billing/pricing_plan_service.rb +62 -0
- data/lib/stripe/services/v2/billing/pricing_plan_subscription_service.rb +51 -0
- data/lib/stripe/services/v2/billing/pricing_plan_subscriptions/component_service.rb +23 -0
- data/lib/stripe/services/v2/billing/pricing_plans/component_service.rb +67 -0
- data/lib/stripe/services/v2/billing/pricing_plans/version_service.rb +34 -0
- data/lib/stripe/services/v2/billing/rate_card_service.rb +62 -0
- data/lib/stripe/services/v2/billing/rate_card_subscription_service.rb +65 -0
- data/lib/stripe/services/v2/billing/rate_cards/rate_service.rb +57 -0
- data/lib/stripe/services/v2/billing/rate_cards/version_service.rb +34 -0
- data/lib/stripe/services/v2/billing/service_action_service.rb +43 -0
- data/lib/stripe/services/v2/billing_service.rb +14 -1
- data/lib/stripe/services/v2/core/claimable_sandbox_service.rb +35 -0
- data/lib/stripe/services/v2/core_service.rb +2 -1
- data/lib/stripe/services/v2/money_management/recipient_verification_service.rb +43 -0
- data/lib/stripe/services/v2/money_management_service.rb +3 -1
- data/lib/stripe/services/v2/reporting/report_run_service.rb +38 -0
- data/lib/stripe/services/v2/reporting/report_service.rb +23 -0
- data/lib/stripe/services/v2/reporting_service.rb +16 -0
- data/lib/stripe/services/v2/tax/automatic_rule_service.rb +65 -0
- data/lib/stripe/services/v2/tax_service.rb +15 -0
- data/lib/stripe/services/v2/test_helper_service.rb +2 -1
- data/lib/stripe/services/v2/test_helpers/money_management_service.rb +21 -0
- data/lib/stripe/services/v2_services.rb +3 -1
- data/lib/stripe/services.rb +31 -0
- data/lib/stripe/version.rb +1 -1
- data/rbi/stripe.rbi +13567 -760
- metadata +403 -2
|
@@ -22,6 +22,44 @@ 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
|
+
|
|
25
63
|
class SubscriptionDetails < ::Stripe::StripeObject
|
|
26
64
|
# The subscription that generated this invoice item
|
|
27
65
|
attr_reader :subscription
|
|
@@ -36,13 +74,21 @@ module Stripe
|
|
|
36
74
|
@field_remappings = {}
|
|
37
75
|
end
|
|
38
76
|
end
|
|
77
|
+
# Details about the license fee subscription that generated this invoice item
|
|
78
|
+
attr_reader :license_fee_subscription_details
|
|
79
|
+
# Details about the rate card subscription that generated this invoice item
|
|
80
|
+
attr_reader :rate_card_subscription_details
|
|
39
81
|
# Details about the subscription that generated this invoice item
|
|
40
82
|
attr_reader :subscription_details
|
|
41
83
|
# The type of parent that generated this invoice item
|
|
42
84
|
attr_reader :type
|
|
43
85
|
|
|
44
86
|
def self.inner_class_types
|
|
45
|
-
@inner_class_types = {
|
|
87
|
+
@inner_class_types = {
|
|
88
|
+
license_fee_subscription_details: LicenseFeeSubscriptionDetails,
|
|
89
|
+
rate_card_subscription_details: RateCardSubscriptionDetails,
|
|
90
|
+
subscription_details: SubscriptionDetails,
|
|
91
|
+
}
|
|
46
92
|
end
|
|
47
93
|
|
|
48
94
|
def self.field_remappings
|
|
@@ -66,6 +112,23 @@ module Stripe
|
|
|
66
112
|
end
|
|
67
113
|
|
|
68
114
|
class Pricing < ::Stripe::StripeObject
|
|
115
|
+
class LicenseFeeDetails < ::Stripe::StripeObject
|
|
116
|
+
# The ID of the license fee this item is associated with
|
|
117
|
+
attr_reader :license_fee
|
|
118
|
+
# The version of the license fee this item is associated with
|
|
119
|
+
attr_reader :license_fee_version
|
|
120
|
+
# The ID of the licensed item this item is associated with
|
|
121
|
+
attr_reader :licensed_item
|
|
122
|
+
|
|
123
|
+
def self.inner_class_types
|
|
124
|
+
@inner_class_types = {}
|
|
125
|
+
end
|
|
126
|
+
|
|
127
|
+
def self.field_remappings
|
|
128
|
+
@field_remappings = {}
|
|
129
|
+
end
|
|
130
|
+
end
|
|
131
|
+
|
|
69
132
|
class PriceDetails < ::Stripe::StripeObject
|
|
70
133
|
# The ID of the price this item is associated with.
|
|
71
134
|
attr_reader :price
|
|
@@ -80,15 +143,40 @@ module Stripe
|
|
|
80
143
|
@field_remappings = {}
|
|
81
144
|
end
|
|
82
145
|
end
|
|
146
|
+
|
|
147
|
+
class RateCardRateDetails < ::Stripe::StripeObject
|
|
148
|
+
# The ID of billable item this item is associated with
|
|
149
|
+
attr_reader :metered_item
|
|
150
|
+
# The ID of the rate card this item is associated with
|
|
151
|
+
attr_reader :rate_card
|
|
152
|
+
# The ID of the rate card rate this item is associated with
|
|
153
|
+
attr_reader :rate_card_rate
|
|
154
|
+
|
|
155
|
+
def self.inner_class_types
|
|
156
|
+
@inner_class_types = {}
|
|
157
|
+
end
|
|
158
|
+
|
|
159
|
+
def self.field_remappings
|
|
160
|
+
@field_remappings = {}
|
|
161
|
+
end
|
|
162
|
+
end
|
|
163
|
+
# Attribute for field license_fee_details
|
|
164
|
+
attr_reader :license_fee_details
|
|
83
165
|
# Attribute for field price_details
|
|
84
166
|
attr_reader :price_details
|
|
167
|
+
# Attribute for field rate_card_rate_details
|
|
168
|
+
attr_reader :rate_card_rate_details
|
|
85
169
|
# The type of the pricing details.
|
|
86
170
|
attr_reader :type
|
|
87
171
|
# The unit amount (in the `currency` specified) of the item which contains a decimal value with at most 12 decimal places.
|
|
88
172
|
attr_reader :unit_amount_decimal
|
|
89
173
|
|
|
90
174
|
def self.inner_class_types
|
|
91
|
-
@inner_class_types = {
|
|
175
|
+
@inner_class_types = {
|
|
176
|
+
license_fee_details: LicenseFeeDetails,
|
|
177
|
+
price_details: PriceDetails,
|
|
178
|
+
rate_card_rate_details: RateCardRateDetails,
|
|
179
|
+
}
|
|
92
180
|
end
|
|
93
181
|
|
|
94
182
|
def self.field_remappings
|
|
@@ -89,6 +89,48 @@ 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
|
+
|
|
92
134
|
class SubscriptionItemDetails < ::Stripe::StripeObject
|
|
93
135
|
class ProrationDetails < ::Stripe::StripeObject
|
|
94
136
|
class CreditedItems < ::Stripe::StripeObject
|
|
@@ -137,6 +179,10 @@ module Stripe
|
|
|
137
179
|
end
|
|
138
180
|
# Details about the invoice item that generated this line item
|
|
139
181
|
attr_reader :invoice_item_details
|
|
182
|
+
# Details about the license fee subscription that generated this line item
|
|
183
|
+
attr_reader :license_fee_subscription_details
|
|
184
|
+
# Details about the rate card subscription that generated this line item
|
|
185
|
+
attr_reader :rate_card_subscription_details
|
|
140
186
|
# Details about the subscription item that generated this line item
|
|
141
187
|
attr_reader :subscription_item_details
|
|
142
188
|
# The type of parent that generated this line item
|
|
@@ -145,6 +191,8 @@ module Stripe
|
|
|
145
191
|
def self.inner_class_types
|
|
146
192
|
@inner_class_types = {
|
|
147
193
|
invoice_item_details: InvoiceItemDetails,
|
|
194
|
+
license_fee_subscription_details: LicenseFeeSubscriptionDetails,
|
|
195
|
+
rate_card_subscription_details: RateCardSubscriptionDetails,
|
|
148
196
|
subscription_item_details: SubscriptionItemDetails,
|
|
149
197
|
}
|
|
150
198
|
end
|
|
@@ -191,6 +239,23 @@ module Stripe
|
|
|
191
239
|
end
|
|
192
240
|
|
|
193
241
|
class Pricing < ::Stripe::StripeObject
|
|
242
|
+
class LicenseFeeDetails < ::Stripe::StripeObject
|
|
243
|
+
# The ID of the license fee this item is associated with
|
|
244
|
+
attr_reader :license_fee
|
|
245
|
+
# The version of the license fee this item is associated with
|
|
246
|
+
attr_reader :license_fee_version
|
|
247
|
+
# The ID of the licensed item this item is associated with
|
|
248
|
+
attr_reader :licensed_item
|
|
249
|
+
|
|
250
|
+
def self.inner_class_types
|
|
251
|
+
@inner_class_types = {}
|
|
252
|
+
end
|
|
253
|
+
|
|
254
|
+
def self.field_remappings
|
|
255
|
+
@field_remappings = {}
|
|
256
|
+
end
|
|
257
|
+
end
|
|
258
|
+
|
|
194
259
|
class PriceDetails < ::Stripe::StripeObject
|
|
195
260
|
# The ID of the price this item is associated with.
|
|
196
261
|
attr_reader :price
|
|
@@ -205,15 +270,40 @@ module Stripe
|
|
|
205
270
|
@field_remappings = {}
|
|
206
271
|
end
|
|
207
272
|
end
|
|
273
|
+
|
|
274
|
+
class RateCardRateDetails < ::Stripe::StripeObject
|
|
275
|
+
# The ID of billable item this item is associated with
|
|
276
|
+
attr_reader :metered_item
|
|
277
|
+
# The ID of the rate card this item is associated with
|
|
278
|
+
attr_reader :rate_card
|
|
279
|
+
# The ID of the rate card rate this item is associated with
|
|
280
|
+
attr_reader :rate_card_rate
|
|
281
|
+
|
|
282
|
+
def self.inner_class_types
|
|
283
|
+
@inner_class_types = {}
|
|
284
|
+
end
|
|
285
|
+
|
|
286
|
+
def self.field_remappings
|
|
287
|
+
@field_remappings = {}
|
|
288
|
+
end
|
|
289
|
+
end
|
|
290
|
+
# Attribute for field license_fee_details
|
|
291
|
+
attr_reader :license_fee_details
|
|
208
292
|
# Attribute for field price_details
|
|
209
293
|
attr_reader :price_details
|
|
294
|
+
# Attribute for field rate_card_rate_details
|
|
295
|
+
attr_reader :rate_card_rate_details
|
|
210
296
|
# The type of the pricing details.
|
|
211
297
|
attr_reader :type
|
|
212
298
|
# The unit amount (in the `currency` specified) of the item which contains a decimal value with at most 12 decimal places.
|
|
213
299
|
attr_reader :unit_amount_decimal
|
|
214
300
|
|
|
215
301
|
def self.inner_class_types
|
|
216
|
-
@inner_class_types = {
|
|
302
|
+
@inner_class_types = {
|
|
303
|
+
license_fee_details: LicenseFeeDetails,
|
|
304
|
+
price_details: PriceDetails,
|
|
305
|
+
rate_card_rate_details: RateCardRateDetails,
|
|
306
|
+
}
|
|
217
307
|
end
|
|
218
308
|
|
|
219
309
|
def self.field_remappings
|
|
@@ -29,11 +29,11 @@ module Stripe
|
|
|
29
29
|
|
|
30
30
|
class AmountDetails < ::Stripe::StripeObject
|
|
31
31
|
class Shipping < ::Stripe::StripeObject
|
|
32
|
-
#
|
|
32
|
+
# Portion of the amount that is for shipping.
|
|
33
33
|
attr_reader :amount
|
|
34
|
-
#
|
|
34
|
+
# The postal code that represents the shipping source.
|
|
35
35
|
attr_reader :from_postal_code
|
|
36
|
-
#
|
|
36
|
+
# The postal code that represents the shipping destination.
|
|
37
37
|
attr_reader :to_postal_code
|
|
38
38
|
|
|
39
39
|
def self.inner_class_types
|
|
@@ -46,9 +46,7 @@ module Stripe
|
|
|
46
46
|
end
|
|
47
47
|
|
|
48
48
|
class Tax < ::Stripe::StripeObject
|
|
49
|
-
#
|
|
50
|
-
#
|
|
51
|
-
# This field is mutually exclusive with the `amount_details[line_items][#][tax][total_tax_amount]` field.
|
|
49
|
+
# Total portion of the amount that is for tax.
|
|
52
50
|
attr_reader :total_tax_amount
|
|
53
51
|
|
|
54
52
|
def self.inner_class_types
|
|
@@ -72,9 +70,7 @@ module Stripe
|
|
|
72
70
|
@field_remappings = {}
|
|
73
71
|
end
|
|
74
72
|
end
|
|
75
|
-
# The total discount applied on the transaction
|
|
76
|
-
#
|
|
77
|
-
# This field is mutually exclusive with the `amount_details[line_items][#][discount_amount]` field.
|
|
73
|
+
# The total discount applied on the transaction.
|
|
78
74
|
attr_reader :discount_amount
|
|
79
75
|
# A list of line items, each containing information about a product in the PaymentIntent. There is a maximum of 100 line items.
|
|
80
76
|
attr_reader :line_items
|
|
@@ -1185,6 +1181,31 @@ module Stripe
|
|
|
1185
1181
|
end
|
|
1186
1182
|
|
|
1187
1183
|
class PaymentDetails < ::Stripe::StripeObject
|
|
1184
|
+
class Benefit < ::Stripe::StripeObject
|
|
1185
|
+
class FrMealVoucher < ::Stripe::StripeObject
|
|
1186
|
+
# The 14-digit SIRET of the meal voucher acceptor.
|
|
1187
|
+
attr_reader :siret
|
|
1188
|
+
|
|
1189
|
+
def self.inner_class_types
|
|
1190
|
+
@inner_class_types = {}
|
|
1191
|
+
end
|
|
1192
|
+
|
|
1193
|
+
def self.field_remappings
|
|
1194
|
+
@field_remappings = {}
|
|
1195
|
+
end
|
|
1196
|
+
end
|
|
1197
|
+
# Attribute for field fr_meal_voucher
|
|
1198
|
+
attr_reader :fr_meal_voucher
|
|
1199
|
+
|
|
1200
|
+
def self.inner_class_types
|
|
1201
|
+
@inner_class_types = { fr_meal_voucher: FrMealVoucher }
|
|
1202
|
+
end
|
|
1203
|
+
|
|
1204
|
+
def self.field_remappings
|
|
1205
|
+
@field_remappings = {}
|
|
1206
|
+
end
|
|
1207
|
+
end
|
|
1208
|
+
|
|
1188
1209
|
class CarRental < ::Stripe::StripeObject
|
|
1189
1210
|
class Affiliate < ::Stripe::StripeObject
|
|
1190
1211
|
# The name of the affiliate that originated the purchase.
|
|
@@ -1516,25 +1537,22 @@ module Stripe
|
|
|
1516
1537
|
@field_remappings = {}
|
|
1517
1538
|
end
|
|
1518
1539
|
end
|
|
1540
|
+
# Attribute for field benefit
|
|
1541
|
+
attr_reader :benefit
|
|
1519
1542
|
# Attribute for field car_rental
|
|
1520
1543
|
attr_reader :car_rental
|
|
1521
|
-
#
|
|
1522
|
-
#
|
|
1523
|
-
# This field is truncated to 25 alphanumeric characters, excluding spaces, before being sent to card networks.
|
|
1544
|
+
# Some customers might be required by their company or organization to provide this information. If so, provide this value. Otherwise you can ignore this field.
|
|
1524
1545
|
attr_reader :customer_reference
|
|
1525
1546
|
# Attribute for field event_details
|
|
1526
1547
|
attr_reader :event_details
|
|
1527
|
-
# A unique value assigned by the business to identify the transaction.
|
|
1528
|
-
#
|
|
1529
|
-
# Required when the Payment Method Types array contains `card`, including when [automatic_payment_methods.enabled](/api/payment_intents/create#create_payment_intent-automatic_payment_methods-enabled) is set to `true`.
|
|
1530
|
-
#
|
|
1531
|
-
# For Cards, this field is truncated to 25 alphanumeric characters, excluding spaces, before being sent to card networks. For Klarna, this field is truncated to 255 characters and is visible to customers when they view the order in the Klarna app.
|
|
1548
|
+
# A unique value assigned by the business to identify the transaction.
|
|
1532
1549
|
attr_reader :order_reference
|
|
1533
1550
|
# Attribute for field subscription
|
|
1534
1551
|
attr_reader :subscription
|
|
1535
1552
|
|
|
1536
1553
|
def self.inner_class_types
|
|
1537
1554
|
@inner_class_types = {
|
|
1555
|
+
benefit: Benefit,
|
|
1538
1556
|
car_rental: CarRental,
|
|
1539
1557
|
event_details: EventDetails,
|
|
1540
1558
|
subscription: Subscription,
|
|
@@ -3416,6 +3434,19 @@ module Stripe
|
|
|
3416
3434
|
@field_remappings = {}
|
|
3417
3435
|
end
|
|
3418
3436
|
end
|
|
3437
|
+
|
|
3438
|
+
class AllocatedFunds < ::Stripe::StripeObject
|
|
3439
|
+
# Allocated Funds configuration for this PaymentIntent.
|
|
3440
|
+
attr_reader :enabled
|
|
3441
|
+
|
|
3442
|
+
def self.inner_class_types
|
|
3443
|
+
@inner_class_types = {}
|
|
3444
|
+
end
|
|
3445
|
+
|
|
3446
|
+
def self.field_remappings
|
|
3447
|
+
@field_remappings = {}
|
|
3448
|
+
end
|
|
3449
|
+
end
|
|
3419
3450
|
# 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).
|
|
3420
3451
|
attr_reader :amount
|
|
3421
3452
|
# Amount that can be captured from this PaymentIntent.
|
|
@@ -3528,6 +3559,8 @@ module Stripe
|
|
|
3528
3559
|
attr_reader :transfer_data
|
|
3529
3560
|
# A string that identifies the resulting payment as part of a group. Learn more about the [use case for connected accounts](https://stripe.com/docs/connect/separate-charges-and-transfers).
|
|
3530
3561
|
attr_reader :transfer_group
|
|
3562
|
+
# Allocated Funds configuration for this PaymentIntent.
|
|
3563
|
+
attr_reader :allocated_funds
|
|
3531
3564
|
|
|
3532
3565
|
# Manually reconcile the remaining amount for a customer_balance PaymentIntent.
|
|
3533
3566
|
def apply_customer_balance(params = {}, opts = {})
|
|
@@ -3901,6 +3934,7 @@ module Stripe
|
|
|
3901
3934
|
processing: Processing,
|
|
3902
3935
|
shipping: Shipping,
|
|
3903
3936
|
transfer_data: TransferData,
|
|
3937
|
+
allocated_funds: AllocatedFunds,
|
|
3904
3938
|
}
|
|
3905
3939
|
end
|
|
3906
3940
|
|
|
@@ -89,9 +89,7 @@ module Stripe
|
|
|
89
89
|
end
|
|
90
90
|
|
|
91
91
|
class Tax < ::Stripe::StripeObject
|
|
92
|
-
#
|
|
93
|
-
#
|
|
94
|
-
# This field is mutually exclusive with the `amount_details[line_items][#][tax][total_tax_amount]` field.
|
|
92
|
+
# Total portion of the amount that is for tax.
|
|
95
93
|
attr_reader :total_tax_amount
|
|
96
94
|
|
|
97
95
|
def self.inner_class_types
|
|
@@ -102,9 +100,7 @@ module Stripe
|
|
|
102
100
|
@field_remappings = {}
|
|
103
101
|
end
|
|
104
102
|
end
|
|
105
|
-
# The
|
|
106
|
-
#
|
|
107
|
-
# This field is mutually exclusive with the `amount_details[discount_amount]` field.
|
|
103
|
+
# The amount an item was discounted for. Positive integer.
|
|
108
104
|
attr_reader :discount_amount
|
|
109
105
|
# Unique identifier for the object.
|
|
110
106
|
attr_reader :id
|
|
@@ -112,19 +108,17 @@ module Stripe
|
|
|
112
108
|
attr_reader :object
|
|
113
109
|
# Payment method-specific information for line items.
|
|
114
110
|
attr_reader :payment_method_options
|
|
115
|
-
#
|
|
111
|
+
# Unique identifier of the product. At most 12 characters long.
|
|
116
112
|
attr_reader :product_code
|
|
117
|
-
#
|
|
118
|
-
#
|
|
119
|
-
# For Cards, this field is truncated to 26 alphanumeric characters before being sent to the card networks. For Paypal, this field is truncated to 127 characters.
|
|
113
|
+
# Name of the product. At most 100 characters long.
|
|
120
114
|
attr_reader :product_name
|
|
121
|
-
#
|
|
115
|
+
# Number of items of the product. Positive integer.
|
|
122
116
|
attr_reader :quantity
|
|
123
117
|
# Contains information about the tax on the item.
|
|
124
118
|
attr_reader :tax
|
|
125
|
-
#
|
|
119
|
+
# Cost of the product. Non-negative integer.
|
|
126
120
|
attr_reader :unit_cost
|
|
127
|
-
# A unit of measure for the line item, such as gallons, feet, meters, etc.
|
|
121
|
+
# A unit of measure for the line item, such as gallons, feet, meters, etc.
|
|
128
122
|
attr_reader :unit_of_measure
|
|
129
123
|
|
|
130
124
|
def self.inner_class_types
|
|
@@ -211,6 +211,21 @@ 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
|
+
|
|
214
229
|
class Checks < ::Stripe::StripeObject
|
|
215
230
|
# If a address line1 was provided, results of the check, one of `pass`, `fail`, `unavailable`, or `unchecked`.
|
|
216
231
|
attr_reader :address_line1_check
|
|
@@ -624,6 +639,8 @@ module Stripe
|
|
|
624
639
|
@field_remappings = {}
|
|
625
640
|
end
|
|
626
641
|
end
|
|
642
|
+
# Attribute for field benefits
|
|
643
|
+
attr_reader :benefits
|
|
627
644
|
# Card brand. Can be `amex`, `cartes_bancaires`, `diners`, `discover`, `eftpos_au`, `jcb`, `link`, `mastercard`, `unionpay`, `visa` or `unknown`.
|
|
628
645
|
attr_reader :brand
|
|
629
646
|
# Checks on Card address and CVC if provided.
|
|
@@ -663,6 +680,7 @@ module Stripe
|
|
|
663
680
|
|
|
664
681
|
def self.inner_class_types
|
|
665
682
|
@inner_class_types = {
|
|
683
|
+
benefits: Benefits,
|
|
666
684
|
checks: Checks,
|
|
667
685
|
generated_from: GeneratedFrom,
|
|
668
686
|
networks: Networks,
|
|
@@ -1705,6 +1723,26 @@ module Stripe
|
|
|
1705
1723
|
)
|
|
1706
1724
|
end
|
|
1707
1725
|
|
|
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
|
+
|
|
1708
1746
|
# 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.
|
|
1709
1747
|
#
|
|
1710
1748
|
# 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.
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
# File generated from our OpenAPI spec
|
|
2
|
+
# frozen_string_literal: true
|
|
3
|
+
|
|
4
|
+
module Stripe
|
|
5
|
+
# PaymentMethodBalance objects represent balances available on a payment method.
|
|
6
|
+
# You can use v1/payment_methods/:id/check_balance to check the balance of a payment method.
|
|
7
|
+
class PaymentMethodBalance < APIResource
|
|
8
|
+
OBJECT_NAME = "payment_method_balance"
|
|
9
|
+
def self.object_name
|
|
10
|
+
"payment_method_balance"
|
|
11
|
+
end
|
|
12
|
+
|
|
13
|
+
class Balance < ::Stripe::StripeObject
|
|
14
|
+
class FrMealVoucher < ::Stripe::StripeObject
|
|
15
|
+
class Available < ::Stripe::StripeObject
|
|
16
|
+
# The amount of the balance.
|
|
17
|
+
attr_reader :amount
|
|
18
|
+
# The currency of the balance.
|
|
19
|
+
attr_reader :currency
|
|
20
|
+
|
|
21
|
+
def self.inner_class_types
|
|
22
|
+
@inner_class_types = {}
|
|
23
|
+
end
|
|
24
|
+
|
|
25
|
+
def self.field_remappings
|
|
26
|
+
@field_remappings = {}
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
# The hashes of balances and amounts for available balances.
|
|
30
|
+
attr_reader :available
|
|
31
|
+
|
|
32
|
+
def self.inner_class_types
|
|
33
|
+
@inner_class_types = { available: Available }
|
|
34
|
+
end
|
|
35
|
+
|
|
36
|
+
def self.field_remappings
|
|
37
|
+
@field_remappings = {}
|
|
38
|
+
end
|
|
39
|
+
end
|
|
40
|
+
# The available FR Meal Voucher balances.
|
|
41
|
+
attr_reader :fr_meal_voucher
|
|
42
|
+
|
|
43
|
+
def self.inner_class_types
|
|
44
|
+
@inner_class_types = { fr_meal_voucher: FrMealVoucher }
|
|
45
|
+
end
|
|
46
|
+
|
|
47
|
+
def self.field_remappings
|
|
48
|
+
@field_remappings = {}
|
|
49
|
+
end
|
|
50
|
+
end
|
|
51
|
+
# The time at which the balance was calculated. Measured in seconds since the Unix epoch.
|
|
52
|
+
attr_reader :as_of
|
|
53
|
+
# BalanceEntry contain information about every individual balance type of a card.
|
|
54
|
+
attr_reader :balance
|
|
55
|
+
# Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.
|
|
56
|
+
attr_reader :livemode
|
|
57
|
+
# String representing the object's type. Objects of the same type share the same value.
|
|
58
|
+
attr_reader :object
|
|
59
|
+
|
|
60
|
+
def self.inner_class_types
|
|
61
|
+
@inner_class_types = { balance: Balance }
|
|
62
|
+
end
|
|
63
|
+
|
|
64
|
+
def self.field_remappings
|
|
65
|
+
@field_remappings = {}
|
|
66
|
+
end
|
|
67
|
+
end
|
|
68
|
+
end
|
|
@@ -656,6 +656,43 @@ module Stripe
|
|
|
656
656
|
@field_remappings = {}
|
|
657
657
|
end
|
|
658
658
|
end
|
|
659
|
+
|
|
660
|
+
class SetupDetails < ::Stripe::StripeObject
|
|
661
|
+
class Benefit < ::Stripe::StripeObject
|
|
662
|
+
class FrMealVoucher < ::Stripe::StripeObject
|
|
663
|
+
# The 14-digit SIRET of the meal voucher acceptor.
|
|
664
|
+
attr_reader :siret
|
|
665
|
+
|
|
666
|
+
def self.inner_class_types
|
|
667
|
+
@inner_class_types = {}
|
|
668
|
+
end
|
|
669
|
+
|
|
670
|
+
def self.field_remappings
|
|
671
|
+
@field_remappings = {}
|
|
672
|
+
end
|
|
673
|
+
end
|
|
674
|
+
# Attribute for field fr_meal_voucher
|
|
675
|
+
attr_reader :fr_meal_voucher
|
|
676
|
+
|
|
677
|
+
def self.inner_class_types
|
|
678
|
+
@inner_class_types = { fr_meal_voucher: FrMealVoucher }
|
|
679
|
+
end
|
|
680
|
+
|
|
681
|
+
def self.field_remappings
|
|
682
|
+
@field_remappings = {}
|
|
683
|
+
end
|
|
684
|
+
end
|
|
685
|
+
# Attribute for field benefit
|
|
686
|
+
attr_reader :benefit
|
|
687
|
+
|
|
688
|
+
def self.inner_class_types
|
|
689
|
+
@inner_class_types = { benefit: Benefit }
|
|
690
|
+
end
|
|
691
|
+
|
|
692
|
+
def self.field_remappings
|
|
693
|
+
@field_remappings = {}
|
|
694
|
+
end
|
|
695
|
+
end
|
|
659
696
|
# ID of the Connect application that created the SetupIntent.
|
|
660
697
|
attr_reader :application
|
|
661
698
|
# If present, the SetupIntent's payment method will be attached to the in-context Stripe Account.
|
|
@@ -714,6 +751,8 @@ module Stripe
|
|
|
714
751
|
attr_reader :payment_method_options
|
|
715
752
|
# The list of payment method types (e.g. card) that this SetupIntent is allowed to set up. A list of valid payment method types can be found [here](https://docs.stripe.com/api/payment_methods/object#payment_method_object-type).
|
|
716
753
|
attr_reader :payment_method_types
|
|
754
|
+
# Attribute for field setup_details
|
|
755
|
+
attr_reader :setup_details
|
|
717
756
|
# ID of the single_use Mandate generated by the SetupIntent.
|
|
718
757
|
attr_reader :single_use_mandate
|
|
719
758
|
# [Status](https://stripe.com/docs/payments/intents#intent-statuses) of this SetupIntent, one of `requires_payment_method`, `requires_confirmation`, `requires_action`, `processing`, `canceled`, or `succeeded`.
|
|
@@ -843,6 +882,7 @@ module Stripe
|
|
|
843
882
|
next_action: NextAction,
|
|
844
883
|
payment_method_configuration_details: PaymentMethodConfigurationDetails,
|
|
845
884
|
payment_method_options: PaymentMethodOptions,
|
|
885
|
+
setup_details: SetupDetails,
|
|
846
886
|
}
|
|
847
887
|
end
|
|
848
888
|
|
|
@@ -61,6 +61,10 @@ module Stripe
|
|
|
61
61
|
attr_reader :source_type
|
|
62
62
|
# A string that identifies this transaction as part of a group. See the [Connect documentation](https://stripe.com/docs/connect/separate-charges-and-transfers#transfer-options) for details.
|
|
63
63
|
attr_reader :transfer_group
|
|
64
|
+
# Attribute for field application_fee
|
|
65
|
+
attr_reader :application_fee
|
|
66
|
+
# Attribute for field application_fee_amount
|
|
67
|
+
attr_reader :application_fee_amount
|
|
64
68
|
|
|
65
69
|
# To send funds from your Stripe account to a connected account, you create a new transfer object. Your [Stripe balance](https://docs.stripe.com/api#balance) must be able to cover the transfer amount, or you'll receive an “Insufficient Funds” error.
|
|
66
70
|
def self.create(params = {}, opts = {})
|