stripe 17.2.0.pre.alpha.2 → 17.2.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/api_version.rb +1 -1
- data/lib/stripe/event_types.rb +0 -804
- data/lib/stripe/object_types.rb +0 -26
- 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/charge_capture_params.rb +8 -2
- data/lib/stripe/params/charge_update_params.rb +8 -2
- 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_list_params.rb +0 -4
- data/lib/stripe/params/payment_intent_capture_params.rb +29 -13
- data/lib/stripe/params/payment_intent_confirm_params.rb +29 -34
- data/lib/stripe/params/payment_intent_create_params.rb +29 -34
- data/lib/stripe/params/payment_intent_increment_authorization_params.rb +29 -13
- data/lib/stripe/params/payment_intent_update_params.rb +29 -34
- 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/transfer_create_params.rb +1 -5
- data/lib/stripe/params/v2/billing/cadence_cancel_params.rb +1 -8
- data/lib/stripe/params/v2/billing/cadence_create_params.rb +0 -4
- data/lib/stripe/params/v2/billing/cadence_update_params.rb +1 -4
- data/lib/stripe/params/v2/core/account_create_params.rb +8 -703
- data/lib/stripe/params/v2/core/account_update_params.rb +8 -689
- 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 +0 -82
- 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/card.rb +1 -18
- data/lib/stripe/resources/charge.rb +0 -16
- data/lib/stripe/resources/checkout/session.rb +0 -92
- data/lib/stripe/resources/confirmation_token.rb +0 -18
- data/lib/stripe/resources/identity/verification_report.rb +0 -4
- data/lib/stripe/resources/invoice_item.rb +2 -90
- data/lib/stripe/resources/invoice_line_item.rb +1 -91
- data/lib/stripe/resources/payment_intent.rb +17 -51
- data/lib/stripe/resources/payment_intent_amount_details_line_item.rb +13 -7
- data/lib/stripe/resources/payment_method.rb +0 -38
- data/lib/stripe/resources/setup_intent.rb +0 -40
- data/lib/stripe/resources/transfer.rb +0 -4
- data/lib/stripe/resources/v2/billing/cadence.rb +0 -46
- data/lib/stripe/resources/v2/core/account.rb +4 -1065
- data/lib/stripe/resources/v2/core/event.rb +0 -4
- 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 +0 -274
- data/lib/stripe/services/identity_service.rb +1 -2
- data/lib/stripe/services/payment_method_service.rb +0 -11
- data/lib/stripe/services/v1_services.rb +1 -2
- data/lib/stripe/services/v2/billing_service.rb +1 -14
- data/lib/stripe/services/v2/core_service.rb +1 -2
- data/lib/stripe/services/v2/money_management_service.rb +1 -3
- data/lib/stripe/services/v2/test_helper_service.rb +1 -2
- data/lib/stripe/services/v2_services.rb +1 -2
- data/lib/stripe/services.rb +0 -26
- data/lib/stripe/version.rb +1 -1
- data/rbi/stripe.rbi +751 -12909
- metadata +2 -384
- 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_event_generation_failure_resolved_event.rb +0 -66
- 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/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/payment_method_check_balance_params.rb +0 -13
- 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/rate_cards/version_retrieve_params.rb +0 -12
- 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/core/claimable_sandbox_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/money_management/recipient_verification_acknowledge_params.rb +0 -10
- data/lib/stripe/params/v2/money_management/recipient_verification_create_params.rb +0 -20
- data/lib/stripe/params/v2/money_management/recipient_verification_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/tax/automatic_rule_create_params.rb +0 -20
- data/lib/stripe/params/v2/tax/automatic_rule_deactivate_params.rb +0 -10
- data/lib/stripe/params/v2/tax/automatic_rule_find_params.rb +0 -17
- data/lib/stripe/params/v2/tax/automatic_rule_retrieve_params.rb +0 -10
- data/lib/stripe/params/v2/tax/automatic_rule_update_params.rb +0 -17
- data/lib/stripe/params/v2/test_helpers/money_management_recipient_verifications_params.rb +0 -24
- data/lib/stripe/resources/delegated_checkout/requested_session.rb +0 -402
- data/lib/stripe/resources/identity/blocklist_entry.rb +0 -116
- data/lib/stripe/resources/payment_method_balance.rb +0 -68
- 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/tax/automatic_rule.rb +0 -39
- 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/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/tax/automatic_rule_service.rb +0 -65
- data/lib/stripe/services/v2/tax_service.rb +0 -15
- data/lib/stripe/services/v2/test_helpers/money_management_service.rb +0 -21
|
@@ -89,48 +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
92
|
class SubscriptionItemDetails < ::Stripe::StripeObject
|
|
135
93
|
class ProrationDetails < ::Stripe::StripeObject
|
|
136
94
|
class CreditedItems < ::Stripe::StripeObject
|
|
@@ -179,10 +137,6 @@ module Stripe
|
|
|
179
137
|
end
|
|
180
138
|
# Details about the invoice item that generated this line item
|
|
181
139
|
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
|
|
186
140
|
# Details about the subscription item that generated this line item
|
|
187
141
|
attr_reader :subscription_item_details
|
|
188
142
|
# The type of parent that generated this line item
|
|
@@ -191,8 +145,6 @@ module Stripe
|
|
|
191
145
|
def self.inner_class_types
|
|
192
146
|
@inner_class_types = {
|
|
193
147
|
invoice_item_details: InvoiceItemDetails,
|
|
194
|
-
license_fee_subscription_details: LicenseFeeSubscriptionDetails,
|
|
195
|
-
rate_card_subscription_details: RateCardSubscriptionDetails,
|
|
196
148
|
subscription_item_details: SubscriptionItemDetails,
|
|
197
149
|
}
|
|
198
150
|
end
|
|
@@ -239,23 +191,6 @@ module Stripe
|
|
|
239
191
|
end
|
|
240
192
|
|
|
241
193
|
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
|
-
|
|
259
194
|
class PriceDetails < ::Stripe::StripeObject
|
|
260
195
|
# The ID of the price this item is associated with.
|
|
261
196
|
attr_reader :price
|
|
@@ -270,40 +205,15 @@ module Stripe
|
|
|
270
205
|
@field_remappings = {}
|
|
271
206
|
end
|
|
272
207
|
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
|
|
292
208
|
# Attribute for field price_details
|
|
293
209
|
attr_reader :price_details
|
|
294
|
-
# Attribute for field rate_card_rate_details
|
|
295
|
-
attr_reader :rate_card_rate_details
|
|
296
210
|
# The type of the pricing details.
|
|
297
211
|
attr_reader :type
|
|
298
212
|
# The unit amount (in the `currency` specified) of the item which contains a decimal value with at most 12 decimal places.
|
|
299
213
|
attr_reader :unit_amount_decimal
|
|
300
214
|
|
|
301
215
|
def self.inner_class_types
|
|
302
|
-
@inner_class_types = {
|
|
303
|
-
license_fee_details: LicenseFeeDetails,
|
|
304
|
-
price_details: PriceDetails,
|
|
305
|
-
rate_card_rate_details: RateCardRateDetails,
|
|
306
|
-
}
|
|
216
|
+
@inner_class_types = { price_details: PriceDetails }
|
|
307
217
|
end
|
|
308
218
|
|
|
309
219
|
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
|
+
# 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.
|
|
33
33
|
attr_reader :amount
|
|
34
|
-
#
|
|
34
|
+
# If a physical good is being shipped, the postal code of where it is being shipped from. At most 10 alphanumeric characters long, hyphens are allowed.
|
|
35
35
|
attr_reader :from_postal_code
|
|
36
|
-
#
|
|
36
|
+
# If a physical good is being shipped, the postal code of where it is being shipped to. At most 10 alphanumeric characters long, hyphens are allowed.
|
|
37
37
|
attr_reader :to_postal_code
|
|
38
38
|
|
|
39
39
|
def self.inner_class_types
|
|
@@ -46,7 +46,9 @@ module Stripe
|
|
|
46
46
|
end
|
|
47
47
|
|
|
48
48
|
class Tax < ::Stripe::StripeObject
|
|
49
|
-
#
|
|
49
|
+
# The total amount of tax on the transaction represented in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal). Required for L2 rates. An integer greater than or equal to 0.
|
|
50
|
+
#
|
|
51
|
+
# This field is mutually exclusive with the `amount_details[line_items][#][tax][total_tax_amount]` field.
|
|
50
52
|
attr_reader :total_tax_amount
|
|
51
53
|
|
|
52
54
|
def self.inner_class_types
|
|
@@ -70,7 +72,9 @@ module Stripe
|
|
|
70
72
|
@field_remappings = {}
|
|
71
73
|
end
|
|
72
74
|
end
|
|
73
|
-
# The total discount applied on the transaction.
|
|
75
|
+
# The total discount applied on the transaction represented in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal). An integer greater than 0.
|
|
76
|
+
#
|
|
77
|
+
# This field is mutually exclusive with the `amount_details[line_items][#][discount_amount]` field.
|
|
74
78
|
attr_reader :discount_amount
|
|
75
79
|
# A list of line items, each containing information about a product in the PaymentIntent. There is a maximum of 100 line items.
|
|
76
80
|
attr_reader :line_items
|
|
@@ -1181,31 +1185,6 @@ module Stripe
|
|
|
1181
1185
|
end
|
|
1182
1186
|
|
|
1183
1187
|
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
|
-
|
|
1209
1188
|
class CarRental < ::Stripe::StripeObject
|
|
1210
1189
|
class Affiliate < ::Stripe::StripeObject
|
|
1211
1190
|
# The name of the affiliate that originated the purchase.
|
|
@@ -1537,22 +1516,25 @@ module Stripe
|
|
|
1537
1516
|
@field_remappings = {}
|
|
1538
1517
|
end
|
|
1539
1518
|
end
|
|
1540
|
-
# Attribute for field benefit
|
|
1541
|
-
attr_reader :benefit
|
|
1542
1519
|
# Attribute for field car_rental
|
|
1543
1520
|
attr_reader :car_rental
|
|
1544
|
-
#
|
|
1521
|
+
# A unique value to identify the customer. This field is available only for card payments.
|
|
1522
|
+
#
|
|
1523
|
+
# This field is truncated to 25 alphanumeric characters, excluding spaces, before being sent to card networks.
|
|
1545
1524
|
attr_reader :customer_reference
|
|
1546
1525
|
# Attribute for field event_details
|
|
1547
1526
|
attr_reader :event_details
|
|
1548
|
-
# A unique value assigned by the business to identify the transaction.
|
|
1527
|
+
# A unique value assigned by the business to identify the transaction. Required for L2 and L3 rates.
|
|
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.
|
|
1549
1532
|
attr_reader :order_reference
|
|
1550
1533
|
# Attribute for field subscription
|
|
1551
1534
|
attr_reader :subscription
|
|
1552
1535
|
|
|
1553
1536
|
def self.inner_class_types
|
|
1554
1537
|
@inner_class_types = {
|
|
1555
|
-
benefit: Benefit,
|
|
1556
1538
|
car_rental: CarRental,
|
|
1557
1539
|
event_details: EventDetails,
|
|
1558
1540
|
subscription: Subscription,
|
|
@@ -3434,19 +3416,6 @@ module Stripe
|
|
|
3434
3416
|
@field_remappings = {}
|
|
3435
3417
|
end
|
|
3436
3418
|
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
|
|
3450
3419
|
# 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).
|
|
3451
3420
|
attr_reader :amount
|
|
3452
3421
|
# Amount that can be captured from this PaymentIntent.
|
|
@@ -3559,8 +3528,6 @@ module Stripe
|
|
|
3559
3528
|
attr_reader :transfer_data
|
|
3560
3529
|
# 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).
|
|
3561
3530
|
attr_reader :transfer_group
|
|
3562
|
-
# Allocated Funds configuration for this PaymentIntent.
|
|
3563
|
-
attr_reader :allocated_funds
|
|
3564
3531
|
|
|
3565
3532
|
# Manually reconcile the remaining amount for a customer_balance PaymentIntent.
|
|
3566
3533
|
def apply_customer_balance(params = {}, opts = {})
|
|
@@ -3934,7 +3901,6 @@ module Stripe
|
|
|
3934
3901
|
processing: Processing,
|
|
3935
3902
|
shipping: Shipping,
|
|
3936
3903
|
transfer_data: TransferData,
|
|
3937
|
-
allocated_funds: AllocatedFunds,
|
|
3938
3904
|
}
|
|
3939
3905
|
end
|
|
3940
3906
|
|
|
@@ -89,7 +89,9 @@ module Stripe
|
|
|
89
89
|
end
|
|
90
90
|
|
|
91
91
|
class Tax < ::Stripe::StripeObject
|
|
92
|
-
#
|
|
92
|
+
# The total amount of tax on the transaction represented in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal). Required for L2 rates. An integer greater than or equal to 0.
|
|
93
|
+
#
|
|
94
|
+
# This field is mutually exclusive with the `amount_details[line_items][#][tax][total_tax_amount]` field.
|
|
93
95
|
attr_reader :total_tax_amount
|
|
94
96
|
|
|
95
97
|
def self.inner_class_types
|
|
@@ -100,7 +102,9 @@ module Stripe
|
|
|
100
102
|
@field_remappings = {}
|
|
101
103
|
end
|
|
102
104
|
end
|
|
103
|
-
# The
|
|
105
|
+
# The discount applied on this line item represented in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal). An integer greater than 0.
|
|
106
|
+
#
|
|
107
|
+
# This field is mutually exclusive with the `amount_details[discount_amount]` field.
|
|
104
108
|
attr_reader :discount_amount
|
|
105
109
|
# Unique identifier for the object.
|
|
106
110
|
attr_reader :id
|
|
@@ -108,17 +112,19 @@ module Stripe
|
|
|
108
112
|
attr_reader :object
|
|
109
113
|
# Payment method-specific information for line items.
|
|
110
114
|
attr_reader :payment_method_options
|
|
111
|
-
#
|
|
115
|
+
# The product code of the line item, such as an SKU. Required for L3 rates. At most 12 characters long.
|
|
112
116
|
attr_reader :product_code
|
|
113
|
-
#
|
|
117
|
+
# The product name of the line item. Required for L3 rates. At most 1024 characters long.
|
|
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.
|
|
114
120
|
attr_reader :product_name
|
|
115
|
-
#
|
|
121
|
+
# The quantity of items. Required for L3 rates. An integer greater than 0.
|
|
116
122
|
attr_reader :quantity
|
|
117
123
|
# Contains information about the tax on the item.
|
|
118
124
|
attr_reader :tax
|
|
119
|
-
#
|
|
125
|
+
# The unit cost of the line item represented in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal). Required for L3 rates. An integer greater than or equal to 0.
|
|
120
126
|
attr_reader :unit_cost
|
|
121
|
-
# A unit of measure for the line item, such as gallons, feet, meters, etc.
|
|
127
|
+
# A unit of measure for the line item, such as gallons, feet, meters, etc. Required for L3 rates. At most 12 alphanumeric characters long.
|
|
122
128
|
attr_reader :unit_of_measure
|
|
123
129
|
|
|
124
130
|
def self.inner_class_types
|
|
@@ -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.
|
|
@@ -656,43 +656,6 @@ 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
|
|
696
659
|
# ID of the Connect application that created the SetupIntent.
|
|
697
660
|
attr_reader :application
|
|
698
661
|
# If present, the SetupIntent's payment method will be attached to the in-context Stripe Account.
|
|
@@ -751,8 +714,6 @@ module Stripe
|
|
|
751
714
|
attr_reader :payment_method_options
|
|
752
715
|
# 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).
|
|
753
716
|
attr_reader :payment_method_types
|
|
754
|
-
# Attribute for field setup_details
|
|
755
|
-
attr_reader :setup_details
|
|
756
717
|
# ID of the single_use Mandate generated by the SetupIntent.
|
|
757
718
|
attr_reader :single_use_mandate
|
|
758
719
|
# [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`.
|
|
@@ -882,7 +843,6 @@ module Stripe
|
|
|
882
843
|
next_action: NextAction,
|
|
883
844
|
payment_method_configuration_details: PaymentMethodConfigurationDetails,
|
|
884
845
|
payment_method_options: PaymentMethodOptions,
|
|
885
|
-
setup_details: SetupDetails,
|
|
886
846
|
}
|
|
887
847
|
end
|
|
888
848
|
|
|
@@ -61,10 +61,6 @@ 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
|
|
68
64
|
|
|
69
65
|
# 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.
|
|
70
66
|
def self.create(params = {}, opts = {})
|
|
@@ -180,49 +180,6 @@ module Stripe
|
|
|
180
180
|
end
|
|
181
181
|
end
|
|
182
182
|
|
|
183
|
-
class InvoiceDiscountRule < ::Stripe::StripeObject
|
|
184
|
-
class PercentOff < ::Stripe::StripeObject
|
|
185
|
-
class MaximumApplications < ::Stripe::StripeObject
|
|
186
|
-
# Max applications type of this discount, ex: indefinite.
|
|
187
|
-
attr_reader :type
|
|
188
|
-
|
|
189
|
-
def self.inner_class_types
|
|
190
|
-
@inner_class_types = {}
|
|
191
|
-
end
|
|
192
|
-
|
|
193
|
-
def self.field_remappings
|
|
194
|
-
@field_remappings = {}
|
|
195
|
-
end
|
|
196
|
-
end
|
|
197
|
-
# The maximum applications configuration for this discount.
|
|
198
|
-
attr_reader :maximum_applications
|
|
199
|
-
# Percent that will be taken off of the amount. For example, percent_off of 50.0 will make $100 amount $50 instead.
|
|
200
|
-
attr_reader :percent_off
|
|
201
|
-
|
|
202
|
-
def self.inner_class_types
|
|
203
|
-
@inner_class_types = { maximum_applications: MaximumApplications }
|
|
204
|
-
end
|
|
205
|
-
|
|
206
|
-
def self.field_remappings
|
|
207
|
-
@field_remappings = {}
|
|
208
|
-
end
|
|
209
|
-
end
|
|
210
|
-
# Unique identifier for the object.
|
|
211
|
-
attr_reader :id
|
|
212
|
-
# The type of the discount.
|
|
213
|
-
attr_reader :type
|
|
214
|
-
# Details if the discount is a percentage off.
|
|
215
|
-
attr_reader :percent_off
|
|
216
|
-
|
|
217
|
-
def self.inner_class_types
|
|
218
|
-
@inner_class_types = { percent_off: PercentOff }
|
|
219
|
-
end
|
|
220
|
-
|
|
221
|
-
def self.field_remappings
|
|
222
|
-
@field_remappings = {}
|
|
223
|
-
end
|
|
224
|
-
end
|
|
225
|
-
|
|
226
183
|
class Payer < ::Stripe::StripeObject
|
|
227
184
|
# The ID of the Billing Profile object which determines how a bill will be paid.
|
|
228
185
|
attr_reader :billing_profile
|
|
@@ -613,8 +570,6 @@ module Stripe
|
|
|
613
570
|
attr_reader :created
|
|
614
571
|
# Unique identifier for the object.
|
|
615
572
|
attr_reader :id
|
|
616
|
-
# The discount rules applied to all invoices for the cadence.
|
|
617
|
-
attr_reader :invoice_discount_rules
|
|
618
573
|
# A lookup key used to retrieve cadences dynamically from a static string. Maximum length of 200 characters.
|
|
619
574
|
attr_reader :lookup_key
|
|
620
575
|
# Set of [key-value pairs](/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
|
|
@@ -639,7 +594,6 @@ module Stripe
|
|
|
639
594
|
def self.inner_class_types
|
|
640
595
|
@inner_class_types = {
|
|
641
596
|
billing_cycle: BillingCycle,
|
|
642
|
-
invoice_discount_rules: InvoiceDiscountRule,
|
|
643
597
|
payer: Payer,
|
|
644
598
|
settings: Settings,
|
|
645
599
|
settings_data: SettingsData,
|