stripe 15.6.0.pre.alpha.2 → 15.6.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/API_VERSION +1 -1
- data/CHANGELOG.md +1 -71
- data/OPENAPI_VERSION +1 -1
- data/README.md +4 -6
- data/VERSION +1 -1
- data/lib/stripe/api_requestor.rb +0 -2
- data/lib/stripe/errors.rb +0 -3
- data/lib/stripe/event_types.rb +0 -83
- data/lib/stripe/object_types.rb +0 -27
- data/lib/stripe/resources/account.rb +0 -443
- data/lib/stripe/resources/account_link.rb +0 -8
- data/lib/stripe/resources/account_notice.rb +0 -24
- data/lib/stripe/resources/account_session.rb +10 -435
- data/lib/stripe/resources/apple_pay_domain.rb +0 -8
- data/lib/stripe/resources/application.rb +0 -8
- data/lib/stripe/resources/application_fee.rb +0 -16
- data/lib/stripe/resources/application_fee_refund.rb +0 -8
- data/lib/stripe/resources/apps/secret.rb +0 -16
- data/lib/stripe/resources/balance.rb +0 -159
- data/lib/stripe/resources/balance_settings.rb +0 -40
- data/lib/stripe/resources/balance_transaction.rb +0 -16
- data/lib/stripe/resources/bank_account.rb +0 -40
- data/lib/stripe/resources/billing/alert.rb +1 -203
- data/lib/stripe/resources/billing/alert_triggered.rb +0 -14
- data/lib/stripe/resources/billing/credit_balance_summary.rb +0 -130
- data/lib/stripe/resources/billing/credit_balance_transaction.rb +0 -157
- data/lib/stripe/resources/billing/credit_grant.rb +2 -133
- data/lib/stripe/resources/billing/meter.rb +0 -45
- data/lib/stripe/resources/billing/meter_event.rb +0 -8
- data/lib/stripe/resources/billing/meter_event_adjustment.rb +0 -16
- data/lib/stripe/resources/billing/meter_event_summary.rb +0 -8
- data/lib/stripe/resources/billing/meter_usage.rb +0 -8
- data/lib/stripe/resources/billing/meter_usage_row.rb +0 -8
- data/lib/stripe/resources/billing_portal/configuration.rb +0 -122
- data/lib/stripe/resources/billing_portal/session.rb +0 -101
- data/lib/stripe/resources/capability.rb +0 -56
- data/lib/stripe/resources/capital/financing_offer.rb +0 -24
- data/lib/stripe/resources/capital/financing_summary.rb +0 -24
- data/lib/stripe/resources/capital/financing_transaction.rb +0 -24
- data/lib/stripe/resources/card.rb +0 -16
- data/lib/stripe/resources/cash_balance.rb +0 -16
- data/lib/stripe/resources/charge.rb +20 -1052
- data/lib/stripe/resources/checkout/session.rb +1 -1078
- data/lib/stripe/resources/climate/order.rb +0 -32
- data/lib/stripe/resources/climate/product.rb +0 -16
- data/lib/stripe/resources/climate/supplier.rb +0 -16
- data/lib/stripe/resources/confirmation_token.rb +38 -960
- data/lib/stripe/resources/connect_collection_transfer.rb +0 -8
- data/lib/stripe/resources/country_spec.rb +0 -32
- data/lib/stripe/resources/coupon.rb +0 -36
- data/lib/stripe/resources/credit_note.rb +0 -70
- data/lib/stripe/resources/credit_note_line_item.rb +0 -53
- data/lib/stripe/resources/customer.rb +0 -77
- data/lib/stripe/resources/customer_balance_transaction.rb +0 -8
- data/lib/stripe/resources/customer_cash_balance_transaction.rb +0 -108
- data/lib/stripe/resources/customer_session.rb +0 -52
- data/lib/stripe/resources/discount.rb +0 -8
- data/lib/stripe/resources/dispute.rb +0 -166
- data/lib/stripe/resources/entitlements/active_entitlement.rb +0 -8
- data/lib/stripe/resources/entitlements/active_entitlement_summary.rb +0 -8
- data/lib/stripe/resources/entitlements/feature.rb +0 -8
- data/lib/stripe/resources/ephemeral_key.rb +0 -8
- data/lib/stripe/resources/event.rb +0 -56
- data/lib/stripe/resources/exchange_rate.rb +0 -8
- data/lib/stripe/resources/file.rb +0 -8
- data/lib/stripe/resources/file_link.rb +0 -8
- data/lib/stripe/resources/financial_connections/account.rb +0 -79
- data/lib/stripe/resources/financial_connections/account_inferred_balance.rb +0 -8
- data/lib/stripe/resources/financial_connections/account_owner.rb +0 -8
- data/lib/stripe/resources/financial_connections/account_ownership.rb +0 -8
- data/lib/stripe/resources/financial_connections/institution.rb +0 -53
- data/lib/stripe/resources/financial_connections/session.rb +1 -63
- data/lib/stripe/resources/financial_connections/transaction.rb +0 -16
- data/lib/stripe/resources/forwarding/request.rb +0 -52
- data/lib/stripe/resources/funding_instructions.rb +0 -193
- data/lib/stripe/resources/fx_quote.rb +0 -48
- data/lib/stripe/resources/identity/verification_report.rb +1 -166
- data/lib/stripe/resources/identity/verification_session.rb +1 -126
- data/lib/stripe/resources/invoice.rb +3 -452
- data/lib/stripe/resources/invoice_item.rb +0 -136
- data/lib/stripe/resources/invoice_line_item.rb +0 -238
- data/lib/stripe/resources/invoice_payment.rb +0 -24
- data/lib/stripe/resources/invoice_rendering_template.rb +0 -8
- data/lib/stripe/resources/issuing/authorization.rb +0 -177
- data/lib/stripe/resources/issuing/card.rb +8 -96
- data/lib/stripe/resources/issuing/cardholder.rb +0 -110
- data/lib/stripe/resources/issuing/credit_underwriting_record.rb +0 -82
- data/lib/stripe/resources/issuing/dispute.rb +0 -97
- data/lib/stripe/resources/issuing/dispute_settlement_detail.rb +0 -16
- data/lib/stripe/resources/issuing/fraud_liability_debit.rb +0 -8
- data/lib/stripe/resources/issuing/personalization_design.rb +0 -36
- data/lib/stripe/resources/issuing/physical_bundle.rb +0 -16
- data/lib/stripe/resources/issuing/settlement.rb +0 -8
- data/lib/stripe/resources/issuing/token.rb +0 -61
- data/lib/stripe/resources/issuing/transaction.rb +0 -151
- data/lib/stripe/resources/line_item.rb +0 -54
- data/lib/stripe/resources/login_link.rb +0 -8
- data/lib/stripe/resources/mandate.rb +11 -242
- data/lib/stripe/resources/margin.rb +0 -8
- data/lib/stripe/resources/order.rb +0 -348
- data/lib/stripe/resources/payment_attempt_record.rb +15 -890
- data/lib/stripe/resources/payment_intent.rb +3 -1405
- data/lib/stripe/resources/payment_intent_amount_details_line_item.rb +0 -56
- data/lib/stripe/resources/payment_link.rb +0 -337
- data/lib/stripe/resources/payment_method.rb +38 -884
- data/lib/stripe/resources/payment_method_configuration.rb +0 -961
- data/lib/stripe/resources/payment_method_domain.rb +0 -111
- data/lib/stripe/resources/payment_record.rb +15 -890
- data/lib/stripe/resources/payout.rb +0 -16
- data/lib/stripe/resources/person.rb +0 -180
- data/lib/stripe/resources/plan.rb +0 -24
- data/lib/stripe/resources/price.rb +0 -79
- data/lib/stripe/resources/privacy/redaction_job.rb +0 -16
- data/lib/stripe/resources/privacy/redaction_job_validation_error.rb +0 -16
- data/lib/stripe/resources/product.rb +0 -27
- data/lib/stripe/resources/product_feature.rb +0 -8
- data/lib/stripe/resources/promotion_code.rb +0 -24
- data/lib/stripe/resources/quote.rb +0 -432
- data/lib/stripe/resources/quote_line.rb +0 -247
- data/lib/stripe/resources/quote_preview_invoice.rb +3 -457
- data/lib/stripe/resources/quote_preview_subscription_schedule.rb +0 -323
- data/lib/stripe/resources/radar/early_fraud_warning.rb +0 -8
- data/lib/stripe/resources/radar/value_list.rb +0 -8
- data/lib/stripe/resources/radar/value_list_item.rb +0 -8
- data/lib/stripe/resources/refund.rb +19 -380
- data/lib/stripe/resources/reporting/report_run.rb +0 -16
- data/lib/stripe/resources/reporting/report_type.rb +0 -8
- data/lib/stripe/resources/reserve_transaction.rb +0 -8
- data/lib/stripe/resources/reversal.rb +0 -8
- data/lib/stripe/resources/review.rb +0 -24
- data/lib/stripe/resources/setup_attempt.rb +20 -331
- data/lib/stripe/resources/setup_intent.rb +2 -293
- data/lib/stripe/resources/shipping_rate.rb +0 -48
- data/lib/stripe/resources/sigma/scheduled_query_run.rb +0 -16
- data/lib/stripe/resources/source.rb +0 -274
- data/lib/stripe/resources/source_mandate_notification.rb +0 -32
- data/lib/stripe/resources/source_transaction.rb +0 -54
- data/lib/stripe/resources/subscription.rb +3 -356
- data/lib/stripe/resources/subscription_item.rb +0 -24
- data/lib/stripe/resources/subscription_schedule.rb +0 -314
- data/lib/stripe/resources/tax/association.rb +0 -32
- data/lib/stripe/resources/tax/calculation.rb +0 -109
- data/lib/stripe/resources/tax/calculation_line_item.rb +0 -32
- data/lib/stripe/resources/tax/form.rb +0 -107
- data/lib/stripe/resources/tax/registration.rb +0 -1232
- data/lib/stripe/resources/tax/settings.rb +1 -61
- data/lib/stripe/resources/tax/transaction.rb +0 -93
- data/lib/stripe/resources/tax/transaction_line_item.rb +0 -16
- data/lib/stripe/resources/tax_code.rb +0 -8
- data/lib/stripe/resources/tax_deducted_at_source.rb +0 -8
- data/lib/stripe/resources/tax_id.rb +0 -24
- data/lib/stripe/resources/tax_rate.rb +0 -16
- data/lib/stripe/resources/terminal/configuration.rb +0 -299
- data/lib/stripe/resources/terminal/connection_token.rb +0 -8
- data/lib/stripe/resources/terminal/location.rb +0 -16
- data/lib/stripe/resources/terminal/onboarding_link.rb +0 -24
- data/lib/stripe/resources/terminal/reader.rb +0 -241
- data/lib/stripe/resources/terminal/reader_collected_data.rb +0 -16
- data/lib/stripe/resources/test_helpers/test_clock.rb +0 -24
- data/lib/stripe/resources/token.rb +0 -8
- data/lib/stripe/resources/topup.rb +0 -8
- data/lib/stripe/resources/transfer.rb +0 -8
- data/lib/stripe/resources/treasury/credit_reversal.rb +0 -16
- data/lib/stripe/resources/treasury/debit_reversal.rb +0 -24
- data/lib/stripe/resources/treasury/financial_account.rb +0 -61
- data/lib/stripe/resources/treasury/financial_account_features.rb +0 -192
- data/lib/stripe/resources/treasury/inbound_transfer.rb +0 -69
- data/lib/stripe/resources/treasury/outbound_payment.rb +0 -106
- data/lib/stripe/resources/treasury/outbound_transfer.rb +0 -114
- data/lib/stripe/resources/treasury/received_credit.rb +0 -97
- data/lib/stripe/resources/treasury/received_debit.rb +0 -89
- data/lib/stripe/resources/treasury/transaction.rb +0 -36
- data/lib/stripe/resources/treasury/transaction_entry.rb +0 -24
- data/lib/stripe/resources/v2/billing/meter_event.rb +0 -8
- data/lib/stripe/resources/v2/billing/meter_event_adjustment.rb +0 -16
- data/lib/stripe/resources/v2/billing/meter_event_session.rb +0 -8
- data/lib/stripe/resources/v2/core/account.rb +0 -1900
- data/lib/stripe/resources/v2/core/account_link.rb +0 -51
- data/lib/stripe/resources/v2/core/person.rb +0 -201
- data/lib/stripe/resources/v2/core/vault/gb_bank_account.rb +0 -40
- data/lib/stripe/resources/v2/core/vault/us_bank_account.rb +0 -8
- data/lib/stripe/resources/v2/event.rb +0 -26
- data/lib/stripe/resources/v2/event_destination.rb +0 -44
- data/lib/stripe/resources/v2/financial_address_credit_simulation.rb +0 -8
- data/lib/stripe/resources/v2/financial_address_generated_microdeposits.rb +0 -8
- data/lib/stripe/resources/v2/money_management/adjustment.rb +0 -16
- data/lib/stripe/resources/v2/money_management/financial_account.rb +2 -63
- data/lib/stripe/resources/v2/money_management/financial_address.rb +0 -32
- data/lib/stripe/resources/v2/money_management/inbound_transfer.rb +3 -90
- data/lib/stripe/resources/v2/money_management/outbound_payment.rb +0 -88
- data/lib/stripe/resources/v2/money_management/outbound_payment_quote.rb +0 -62
- data/lib/stripe/resources/v2/money_management/outbound_setup_intent.rb +0 -24
- data/lib/stripe/resources/v2/money_management/outbound_transfer.rb +0 -79
- data/lib/stripe/resources/v2/money_management/payout_method.rb +0 -32
- data/lib/stripe/resources/v2/money_management/payout_methods_bank_account_spec.rb +0 -32
- data/lib/stripe/resources/v2/money_management/received_credit.rb +0 -77
- data/lib/stripe/resources/v2/money_management/received_debit.rb +0 -52
- data/lib/stripe/resources/v2/money_management/transaction.rb +0 -36
- data/lib/stripe/resources/v2/money_management/transaction_entry.rb +0 -35
- data/lib/stripe/resources/v2/payments/off_session_payment.rb +0 -24
- data/lib/stripe/resources/webhook_endpoint.rb +0 -8
- data/lib/stripe/resources.rb +0 -85
- data/lib/stripe/services/billing/alert_service.rb +1 -75
- data/lib/stripe/services/billing/credit_balance_summary_service.rb +1 -13
- data/lib/stripe/services/billing/credit_grant_service.rb +2 -29
- data/lib/stripe/services/checkout/session_service.rb +1 -80
- data/lib/stripe/services/invoice_service.rb +0 -4
- data/lib/stripe/services/issuing/card_service.rb +8 -0
- data/lib/stripe/services/subscription_service.rb +0 -27
- data/lib/stripe/services/v2/billing_service.rb +1 -18
- data/lib/stripe/services/v2/core_service.rb +1 -2
- data/lib/stripe/services/v2_services.rb +1 -3
- data/lib/stripe/services.rb +0 -29
- data/lib/stripe/stripe_object.rb +1 -25
- data/lib/stripe/util.rb +5 -9
- data/lib/stripe/version.rb +1 -1
- data/rbi/stripe.rbi +37685 -116505
- metadata +2 -116
- data/lib/stripe/events/v2_billing_cadence_billed_event.rb +0 -21
- data/lib/stripe/events/v2_billing_cadence_canceled_event.rb +0 -21
- data/lib/stripe/events/v2_billing_cadence_created_event.rb +0 -23
- data/lib/stripe/events/v2_billing_cadence_errored_event.rb +0 -21
- data/lib/stripe/events/v2_billing_license_fee_created_event.rb +0 -21
- data/lib/stripe/events/v2_billing_license_fee_updated_event.rb +0 -21
- data/lib/stripe/events/v2_billing_license_fee_version_created_event.rb +0 -23
- data/lib/stripe/events/v2_billing_licensed_item_created_event.rb +0 -21
- data/lib/stripe/events/v2_billing_licensed_item_updated_event.rb +0 -21
- data/lib/stripe/events/v2_billing_metered_item_created_event.rb +0 -21
- data/lib/stripe/events/v2_billing_metered_item_updated_event.rb +0 -21
- data/lib/stripe/events/v2_billing_pricing_plan_component_created_event.rb +0 -23
- data/lib/stripe/events/v2_billing_pricing_plan_component_updated_event.rb +0 -23
- data/lib/stripe/events/v2_billing_pricing_plan_created_event.rb +0 -21
- data/lib/stripe/events/v2_billing_pricing_plan_subscription_collection_awaiting_customer_action_event.rb +0 -21
- data/lib/stripe/events/v2_billing_pricing_plan_subscription_collection_current_event.rb +0 -21
- data/lib/stripe/events/v2_billing_pricing_plan_subscription_collection_past_due_event.rb +0 -21
- data/lib/stripe/events/v2_billing_pricing_plan_subscription_collection_paused_event.rb +0 -21
- data/lib/stripe/events/v2_billing_pricing_plan_subscription_collection_unpaid_event.rb +0 -21
- data/lib/stripe/events/v2_billing_pricing_plan_subscription_servicing_activated_event.rb +0 -21
- data/lib/stripe/events/v2_billing_pricing_plan_subscription_servicing_canceled_event.rb +0 -21
- data/lib/stripe/events/v2_billing_pricing_plan_subscription_servicing_paused_event.rb +0 -21
- data/lib/stripe/events/v2_billing_pricing_plan_updated_event.rb +0 -21
- data/lib/stripe/events/v2_billing_pricing_plan_version_created_event.rb +0 -23
- data/lib/stripe/events/v2_billing_rate_card_created_event.rb +0 -23
- data/lib/stripe/events/v2_billing_rate_card_rate_created_event.rb +0 -23
- data/lib/stripe/events/v2_billing_rate_card_subscription_activated_event.rb +0 -21
- data/lib/stripe/events/v2_billing_rate_card_subscription_canceled_event.rb +0 -21
- data/lib/stripe/events/v2_billing_rate_card_subscription_collection_awaiting_customer_action_event.rb +0 -21
- data/lib/stripe/events/v2_billing_rate_card_subscription_collection_current_event.rb +0 -21
- data/lib/stripe/events/v2_billing_rate_card_subscription_collection_past_due_event.rb +0 -21
- data/lib/stripe/events/v2_billing_rate_card_subscription_collection_paused_event.rb +0 -21
- data/lib/stripe/events/v2_billing_rate_card_subscription_collection_unpaid_event.rb +0 -21
- data/lib/stripe/events/v2_billing_rate_card_subscription_servicing_activated_event.rb +0 -21
- data/lib/stripe/events/v2_billing_rate_card_subscription_servicing_canceled_event.rb +0 -21
- data/lib/stripe/events/v2_billing_rate_card_subscription_servicing_paused_event.rb +0 -21
- data/lib/stripe/events/v2_billing_rate_card_updated_event.rb +0 -21
- data/lib/stripe/events/v2_billing_rate_card_version_created_event.rb +0 -23
- data/lib/stripe/events/v2_core_health_api_error_firing_event.rb +0 -13
- data/lib/stripe/events/v2_core_health_api_error_resolved_event.rb +0 -13
- data/lib/stripe/events/v2_core_health_api_latency_firing_event.rb +0 -13
- data/lib/stripe/events/v2_core_health_api_latency_resolved_event.rb +0 -13
- data/lib/stripe/events/v2_core_health_authorization_rate_drop_firing_event.rb +0 -13
- data/lib/stripe/events/v2_core_health_authorization_rate_drop_resolved_event.rb +0 -13
- data/lib/stripe/events/v2_core_health_event_generation_failure_resolved_event.rb +0 -13
- data/lib/stripe/events/v2_core_health_fraud_rate_increased_event.rb +0 -13
- data/lib/stripe/events/v2_core_health_issuing_authorization_request_timeout_firing_event.rb +0 -13
- data/lib/stripe/events/v2_core_health_issuing_authorization_request_timeout_resolved_event.rb +0 -13
- data/lib/stripe/events/v2_core_health_payment_method_error_firing_event.rb +0 -13
- data/lib/stripe/events/v2_core_health_payment_method_error_resolved_event.rb +0 -13
- data/lib/stripe/events/v2_core_health_traffic_volume_drop_firing_event.rb +0 -13
- data/lib/stripe/events/v2_core_health_traffic_volume_drop_resolved_event.rb +0 -13
- data/lib/stripe/events/v2_core_health_webhook_latency_firing_event.rb +0 -13
- data/lib/stripe/events/v2_core_health_webhook_latency_resolved_event.rb +0 -13
- data/lib/stripe/events/v2_reporting_report_run_created_event.rb +0 -21
- data/lib/stripe/events/v2_reporting_report_run_failed_event.rb +0 -21
- data/lib/stripe/events/v2_reporting_report_run_succeeded_event.rb +0 -21
- data/lib/stripe/events/v2_reporting_report_run_updated_event.rb +0 -21
- data/lib/stripe/resources/v2/billing/bill_setting.rb +0 -102
- data/lib/stripe/resources/v2/billing/bill_setting_version.rb +0 -90
- data/lib/stripe/resources/v2/billing/cadence.rb +0 -323
- data/lib/stripe/resources/v2/billing/collection_setting.rb +0 -296
- data/lib/stripe/resources/v2/billing/collection_setting_version.rb +0 -284
- 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 -103
- 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 -90
- data/lib/stripe/resources/v2/billing/pricing_plan_version.rb +0 -38
- data/lib/stripe/resources/v2/billing/profile.rb +0 -46
- data/lib/stripe/resources/v2/billing/rate_card.rb +0 -61
- data/lib/stripe/resources/v2/billing/rate_card_rate.rb +0 -107
- data/lib/stripe/resources/v2/billing/rate_card_subscription.rb +0 -90
- data/lib/stripe/resources/v2/billing/rate_card_version.rb +0 -34
- data/lib/stripe/resources/v2/billing/service_action.rb +0 -232
- data/lib/stripe/resources/v2/core/claimable_sandbox.rb +0 -81
- data/lib/stripe/resources/v2/reporting/report.rb +0 -116
- data/lib/stripe/resources/v2/reporting/report_run.rb +0 -158
- data/lib/stripe/resources/v2/tax/automatic_rule.rb +0 -39
- data/lib/stripe/services/v2/billing/bill_setting_service.rb +0 -214
- data/lib/stripe/services/v2/billing/bill_settings/version_service.rb +0 -45
- data/lib/stripe/services/v2/billing/cadence_service.rb +0 -428
- data/lib/stripe/services/v2/billing/collection_setting_service.rb +0 -518
- data/lib/stripe/services/v2/billing/collection_settings/version_service.rb +0 -45
- data/lib/stripe/services/v2/billing/custom_pricing_unit_service.rb +0 -108
- data/lib/stripe/services/v2/billing/intent_service.rb +0 -465
- data/lib/stripe/services/v2/billing/intents/action_service.rb +0 -45
- data/lib/stripe/services/v2/billing/license_fee_service.rb +0 -250
- data/lib/stripe/services/v2/billing/license_fee_subscription_service.rb +0 -23
- data/lib/stripe/services/v2/billing/license_fees/version_service.rb +0 -45
- data/lib/stripe/services/v2/billing/licensed_item_service.rb +0 -149
- data/lib/stripe/services/v2/billing/metered_item_service.rb +0 -176
- data/lib/stripe/services/v2/billing/pricing_plan_service.rb +0 -142
- data/lib/stripe/services/v2/billing/pricing_plan_subscription_service.rb +0 -76
- data/lib/stripe/services/v2/billing/pricing_plans/component_service.rb +0 -162
- data/lib/stripe/services/v2/billing/pricing_plans/version_service.rb +0 -45
- data/lib/stripe/services/v2/billing/profile_service.rb +0 -144
- data/lib/stripe/services/v2/billing/rate_card_service.rb +0 -151
- data/lib/stripe/services/v2/billing/rate_card_subscription_service.rb +0 -144
- data/lib/stripe/services/v2/billing/rate_cards/rate_service.rb +0 -161
- data/lib/stripe/services/v2/billing/rate_cards/version_service.rb +0 -45
- data/lib/stripe/services/v2/billing/service_action_service.rb +0 -259
- data/lib/stripe/services/v2/core/claimable_sandbox_service.rb +0 -50
- data/lib/stripe/services/v2/reporting/report_run_service.rb +0 -88
- data/lib/stripe/services/v2/reporting/report_service.rb +0 -25
- data/lib/stripe/services/v2/reporting_service.rb +0 -16
- data/lib/stripe/services/v2/tax/automatic_rule_service.rb +0 -99
- data/lib/stripe/services/v2/tax_service.rb +0 -15
@@ -20,14 +20,6 @@ module Stripe
|
|
20
20
|
attr_reader :payout
|
21
21
|
# Type of object that created the application fee.
|
22
22
|
attr_reader :type
|
23
|
-
|
24
|
-
def self.inner_class_types
|
25
|
-
@inner_class_types = {}
|
26
|
-
end
|
27
|
-
|
28
|
-
def self.field_remappings
|
29
|
-
@field_remappings = {}
|
30
|
-
end
|
31
23
|
end
|
32
24
|
|
33
25
|
class ListParams < Stripe::RequestParams
|
@@ -112,13 +104,5 @@ module Stripe
|
|
112
104
|
def self.list(params = {}, opts = {})
|
113
105
|
request_stripe_object(method: :get, path: "/v1/application_fees", params: params, opts: opts)
|
114
106
|
end
|
115
|
-
|
116
|
-
def self.inner_class_types
|
117
|
-
@inner_class_types = { fee_source: FeeSource }
|
118
|
-
end
|
119
|
-
|
120
|
-
def self.field_remappings
|
121
|
-
@field_remappings = {}
|
122
|
-
end
|
123
107
|
end
|
124
108
|
end
|
@@ -51,13 +51,5 @@ module Stripe
|
|
51
51
|
"application fee ID. Retrieve an application fee refund using " \
|
52
52
|
"`ApplicationFee.retrieve_refund('fee_id', 'refund_id')`"
|
53
53
|
end
|
54
|
-
|
55
|
-
def self.inner_class_types
|
56
|
-
@inner_class_types = {}
|
57
|
-
end
|
58
|
-
|
59
|
-
def self.field_remappings
|
60
|
-
@field_remappings = {}
|
61
|
-
end
|
62
54
|
end
|
63
55
|
end
|
@@ -26,14 +26,6 @@ module Stripe
|
|
26
26
|
attr_reader :type
|
27
27
|
# The user ID, if type is set to "user"
|
28
28
|
attr_reader :user
|
29
|
-
|
30
|
-
def self.inner_class_types
|
31
|
-
@inner_class_types = {}
|
32
|
-
end
|
33
|
-
|
34
|
-
def self.field_remappings
|
35
|
-
@field_remappings = {}
|
36
|
-
end
|
37
29
|
end
|
38
30
|
|
39
31
|
class ListParams < Stripe::RequestParams
|
@@ -199,14 +191,6 @@ module Stripe
|
|
199
191
|
def self.list(params = {}, opts = {})
|
200
192
|
request_stripe_object(method: :get, path: "/v1/apps/secrets", params: params, opts: opts)
|
201
193
|
end
|
202
|
-
|
203
|
-
def self.inner_class_types
|
204
|
-
@inner_class_types = { scope: Scope }
|
205
|
-
end
|
206
|
-
|
207
|
-
def self.field_remappings
|
208
|
-
@field_remappings = {}
|
209
|
-
end
|
210
194
|
end
|
211
195
|
end
|
212
196
|
end
|
@@ -22,14 +22,6 @@ module Stripe
|
|
22
22
|
attr_reader :card
|
23
23
|
# Amount coming from [FPX](https://docs.stripe.com/payments/fpx), a Malaysian payment method.
|
24
24
|
attr_reader :fpx
|
25
|
-
|
26
|
-
def self.inner_class_types
|
27
|
-
@inner_class_types = {}
|
28
|
-
end
|
29
|
-
|
30
|
-
def self.field_remappings
|
31
|
-
@field_remappings = {}
|
32
|
-
end
|
33
25
|
end
|
34
26
|
# Balance amount.
|
35
27
|
attr_reader :amount
|
@@ -37,14 +29,6 @@ module Stripe
|
|
37
29
|
attr_reader :currency
|
38
30
|
# Attribute for field source_types
|
39
31
|
attr_reader :source_types
|
40
|
-
|
41
|
-
def self.inner_class_types
|
42
|
-
@inner_class_types = { source_types: SourceTypes }
|
43
|
-
end
|
44
|
-
|
45
|
-
def self.field_remappings
|
46
|
-
@field_remappings = {}
|
47
|
-
end
|
48
32
|
end
|
49
33
|
|
50
34
|
class ConnectReserved < Stripe::StripeObject
|
@@ -55,14 +39,6 @@ module Stripe
|
|
55
39
|
attr_reader :card
|
56
40
|
# Amount coming from [FPX](https://docs.stripe.com/payments/fpx), a Malaysian payment method.
|
57
41
|
attr_reader :fpx
|
58
|
-
|
59
|
-
def self.inner_class_types
|
60
|
-
@inner_class_types = {}
|
61
|
-
end
|
62
|
-
|
63
|
-
def self.field_remappings
|
64
|
-
@field_remappings = {}
|
65
|
-
end
|
66
42
|
end
|
67
43
|
# Balance amount.
|
68
44
|
attr_reader :amount
|
@@ -70,14 +46,6 @@ module Stripe
|
|
70
46
|
attr_reader :currency
|
71
47
|
# Attribute for field source_types
|
72
48
|
attr_reader :source_types
|
73
|
-
|
74
|
-
def self.inner_class_types
|
75
|
-
@inner_class_types = { source_types: SourceTypes }
|
76
|
-
end
|
77
|
-
|
78
|
-
def self.field_remappings
|
79
|
-
@field_remappings = {}
|
80
|
-
end
|
81
49
|
end
|
82
50
|
|
83
51
|
class InstantAvailable < Stripe::StripeObject
|
@@ -89,14 +57,6 @@ module Stripe
|
|
89
57
|
attr_reader :card
|
90
58
|
# Amount coming from [FPX](https://docs.stripe.com/payments/fpx), a Malaysian payment method.
|
91
59
|
attr_reader :fpx
|
92
|
-
|
93
|
-
def self.inner_class_types
|
94
|
-
@inner_class_types = {}
|
95
|
-
end
|
96
|
-
|
97
|
-
def self.field_remappings
|
98
|
-
@field_remappings = {}
|
99
|
-
end
|
100
60
|
end
|
101
61
|
# Net balance amount, subtracting fees from platform-set pricing.
|
102
62
|
attr_reader :amount
|
@@ -104,14 +64,6 @@ module Stripe
|
|
104
64
|
attr_reader :destination
|
105
65
|
# Attribute for field source_types
|
106
66
|
attr_reader :source_types
|
107
|
-
|
108
|
-
def self.inner_class_types
|
109
|
-
@inner_class_types = { source_types: SourceTypes }
|
110
|
-
end
|
111
|
-
|
112
|
-
def self.field_remappings
|
113
|
-
@field_remappings = {}
|
114
|
-
end
|
115
67
|
end
|
116
68
|
|
117
69
|
class SourceTypes < Stripe::StripeObject
|
@@ -121,14 +73,6 @@ module Stripe
|
|
121
73
|
attr_reader :card
|
122
74
|
# Amount coming from [FPX](https://docs.stripe.com/payments/fpx), a Malaysian payment method.
|
123
75
|
attr_reader :fpx
|
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
76
|
end
|
133
77
|
# Balance amount.
|
134
78
|
attr_reader :amount
|
@@ -138,14 +82,6 @@ module Stripe
|
|
138
82
|
attr_reader :net_available
|
139
83
|
# Attribute for field source_types
|
140
84
|
attr_reader :source_types
|
141
|
-
|
142
|
-
def self.inner_class_types
|
143
|
-
@inner_class_types = { net_available: NetAvailable, source_types: SourceTypes }
|
144
|
-
end
|
145
|
-
|
146
|
-
def self.field_remappings
|
147
|
-
@field_remappings = {}
|
148
|
-
end
|
149
85
|
end
|
150
86
|
|
151
87
|
class Issuing < Stripe::StripeObject
|
@@ -157,14 +93,6 @@ module Stripe
|
|
157
93
|
attr_reader :card
|
158
94
|
# Amount coming from [FPX](https://docs.stripe.com/payments/fpx), a Malaysian payment method.
|
159
95
|
attr_reader :fpx
|
160
|
-
|
161
|
-
def self.inner_class_types
|
162
|
-
@inner_class_types = {}
|
163
|
-
end
|
164
|
-
|
165
|
-
def self.field_remappings
|
166
|
-
@field_remappings = {}
|
167
|
-
end
|
168
96
|
end
|
169
97
|
# Balance amount.
|
170
98
|
attr_reader :amount
|
@@ -172,25 +100,9 @@ module Stripe
|
|
172
100
|
attr_reader :currency
|
173
101
|
# Attribute for field source_types
|
174
102
|
attr_reader :source_types
|
175
|
-
|
176
|
-
def self.inner_class_types
|
177
|
-
@inner_class_types = { source_types: SourceTypes }
|
178
|
-
end
|
179
|
-
|
180
|
-
def self.field_remappings
|
181
|
-
@field_remappings = {}
|
182
|
-
end
|
183
103
|
end
|
184
104
|
# Funds that are available for use.
|
185
105
|
attr_reader :available
|
186
|
-
|
187
|
-
def self.inner_class_types
|
188
|
-
@inner_class_types = { available: Available }
|
189
|
-
end
|
190
|
-
|
191
|
-
def self.field_remappings
|
192
|
-
@field_remappings = {}
|
193
|
-
end
|
194
106
|
end
|
195
107
|
|
196
108
|
class Pending < Stripe::StripeObject
|
@@ -201,14 +113,6 @@ module Stripe
|
|
201
113
|
attr_reader :card
|
202
114
|
# Amount coming from [FPX](https://docs.stripe.com/payments/fpx), a Malaysian payment method.
|
203
115
|
attr_reader :fpx
|
204
|
-
|
205
|
-
def self.inner_class_types
|
206
|
-
@inner_class_types = {}
|
207
|
-
end
|
208
|
-
|
209
|
-
def self.field_remappings
|
210
|
-
@field_remappings = {}
|
211
|
-
end
|
212
116
|
end
|
213
117
|
# Balance amount.
|
214
118
|
attr_reader :amount
|
@@ -216,14 +120,6 @@ module Stripe
|
|
216
120
|
attr_reader :currency
|
217
121
|
# Attribute for field source_types
|
218
122
|
attr_reader :source_types
|
219
|
-
|
220
|
-
def self.inner_class_types
|
221
|
-
@inner_class_types = { source_types: SourceTypes }
|
222
|
-
end
|
223
|
-
|
224
|
-
def self.field_remappings
|
225
|
-
@field_remappings = {}
|
226
|
-
end
|
227
123
|
end
|
228
124
|
|
229
125
|
class RefundAndDisputePrefunding < Stripe::StripeObject
|
@@ -235,14 +131,6 @@ module Stripe
|
|
235
131
|
attr_reader :card
|
236
132
|
# Amount coming from [FPX](https://docs.stripe.com/payments/fpx), a Malaysian payment method.
|
237
133
|
attr_reader :fpx
|
238
|
-
|
239
|
-
def self.inner_class_types
|
240
|
-
@inner_class_types = {}
|
241
|
-
end
|
242
|
-
|
243
|
-
def self.field_remappings
|
244
|
-
@field_remappings = {}
|
245
|
-
end
|
246
134
|
end
|
247
135
|
# Balance amount.
|
248
136
|
attr_reader :amount
|
@@ -250,14 +138,6 @@ module Stripe
|
|
250
138
|
attr_reader :currency
|
251
139
|
# Attribute for field source_types
|
252
140
|
attr_reader :source_types
|
253
|
-
|
254
|
-
def self.inner_class_types
|
255
|
-
@inner_class_types = { source_types: SourceTypes }
|
256
|
-
end
|
257
|
-
|
258
|
-
def self.field_remappings
|
259
|
-
@field_remappings = {}
|
260
|
-
end
|
261
141
|
end
|
262
142
|
|
263
143
|
class Pending < Stripe::StripeObject
|
@@ -268,14 +148,6 @@ module Stripe
|
|
268
148
|
attr_reader :card
|
269
149
|
# Amount coming from [FPX](https://docs.stripe.com/payments/fpx), a Malaysian payment method.
|
270
150
|
attr_reader :fpx
|
271
|
-
|
272
|
-
def self.inner_class_types
|
273
|
-
@inner_class_types = {}
|
274
|
-
end
|
275
|
-
|
276
|
-
def self.field_remappings
|
277
|
-
@field_remappings = {}
|
278
|
-
end
|
279
151
|
end
|
280
152
|
# Balance amount.
|
281
153
|
attr_reader :amount
|
@@ -283,27 +155,11 @@ module Stripe
|
|
283
155
|
attr_reader :currency
|
284
156
|
# Attribute for field source_types
|
285
157
|
attr_reader :source_types
|
286
|
-
|
287
|
-
def self.inner_class_types
|
288
|
-
@inner_class_types = { source_types: SourceTypes }
|
289
|
-
end
|
290
|
-
|
291
|
-
def self.field_remappings
|
292
|
-
@field_remappings = {}
|
293
|
-
end
|
294
158
|
end
|
295
159
|
# Funds that are available for use.
|
296
160
|
attr_reader :available
|
297
161
|
# Funds that are pending
|
298
162
|
attr_reader :pending
|
299
|
-
|
300
|
-
def self.inner_class_types
|
301
|
-
@inner_class_types = { available: Available, pending: Pending }
|
302
|
-
end
|
303
|
-
|
304
|
-
def self.field_remappings
|
305
|
-
@field_remappings = {}
|
306
|
-
end
|
307
163
|
end
|
308
164
|
# Available funds that you can transfer or pay out automatically by Stripe or explicitly through the [Transfers API](https://stripe.com/docs/api#transfers) or [Payouts API](https://stripe.com/docs/api#payouts). You can find the available balance for each currency and payment type in the `source_types` property.
|
309
165
|
attr_reader :available
|
@@ -321,20 +177,5 @@ module Stripe
|
|
321
177
|
attr_reader :pending
|
322
178
|
# Attribute for field refund_and_dispute_prefunding
|
323
179
|
attr_reader :refund_and_dispute_prefunding
|
324
|
-
|
325
|
-
def self.inner_class_types
|
326
|
-
@inner_class_types = {
|
327
|
-
available: Available,
|
328
|
-
connect_reserved: ConnectReserved,
|
329
|
-
instant_available: InstantAvailable,
|
330
|
-
issuing: Issuing,
|
331
|
-
pending: Pending,
|
332
|
-
refund_and_dispute_prefunding: RefundAndDisputePrefunding,
|
333
|
-
}
|
334
|
-
end
|
335
|
-
|
336
|
-
def self.field_remappings
|
337
|
-
@field_remappings = {}
|
338
|
-
end
|
339
180
|
end
|
340
181
|
end
|
@@ -24,14 +24,6 @@ module Stripe
|
|
24
24
|
attr_reader :monthly_payout_days
|
25
25
|
# The days of the week when available funds are paid out, specified as an array, for example, [`monday`, `tuesday`]. Only shown if `interval` is weekly.
|
26
26
|
attr_reader :weekly_payout_days
|
27
|
-
|
28
|
-
def self.inner_class_types
|
29
|
-
@inner_class_types = {}
|
30
|
-
end
|
31
|
-
|
32
|
-
def self.field_remappings
|
33
|
-
@field_remappings = {}
|
34
|
-
end
|
35
27
|
end
|
36
28
|
# Details on when funds from charges are available, and when they are paid out to an external account. See our [Setting Bank and Debit Card Payouts](https://stripe.com/docs/connect/bank-transfers#payout-information) documentation for details.
|
37
29
|
attr_reader :schedule
|
@@ -39,27 +31,11 @@ module Stripe
|
|
39
31
|
attr_reader :statement_descriptor
|
40
32
|
# Whether the funds in this account can be paid out.
|
41
33
|
attr_reader :status
|
42
|
-
|
43
|
-
def self.inner_class_types
|
44
|
-
@inner_class_types = { schedule: Schedule }
|
45
|
-
end
|
46
|
-
|
47
|
-
def self.field_remappings
|
48
|
-
@field_remappings = {}
|
49
|
-
end
|
50
34
|
end
|
51
35
|
|
52
36
|
class SettlementTiming < Stripe::StripeObject
|
53
37
|
# The number of days charge funds are held before becoming available.
|
54
38
|
attr_reader :delay_days
|
55
|
-
|
56
|
-
def self.inner_class_types
|
57
|
-
@inner_class_types = {}
|
58
|
-
end
|
59
|
-
|
60
|
-
def self.field_remappings
|
61
|
-
@field_remappings = {}
|
62
|
-
end
|
63
39
|
end
|
64
40
|
# A Boolean indicating if Stripe should try to reclaim negative balances from an attached bank account. See [Understanding Connect account balances](/connect/account-balances) for details. The default value is `false` when [controller.requirement_collection](/api/accounts/object#account_object-controller-requirement_collection) is `application`, which includes Custom accounts, otherwise `true`.
|
65
41
|
attr_reader :debit_negative_balances
|
@@ -67,14 +43,6 @@ module Stripe
|
|
67
43
|
attr_reader :payouts
|
68
44
|
# Attribute for field settlement_timing
|
69
45
|
attr_reader :settlement_timing
|
70
|
-
|
71
|
-
def self.inner_class_types
|
72
|
-
@inner_class_types = { payouts: Payouts, settlement_timing: SettlementTiming }
|
73
|
-
end
|
74
|
-
|
75
|
-
def self.field_remappings
|
76
|
-
@field_remappings = {}
|
77
|
-
end
|
78
46
|
end
|
79
47
|
|
80
48
|
class UpdateParams < Stripe::RequestParams
|
@@ -140,13 +108,5 @@ module Stripe
|
|
140
108
|
attr_reader :object
|
141
109
|
# Attribute for field payments
|
142
110
|
attr_reader :payments
|
143
|
-
|
144
|
-
def self.inner_class_types
|
145
|
-
@inner_class_types = { payments: Payments }
|
146
|
-
end
|
147
|
-
|
148
|
-
def self.field_remappings
|
149
|
-
@field_remappings = {}
|
150
|
-
end
|
151
111
|
end
|
152
112
|
end
|
@@ -25,14 +25,6 @@ module Stripe
|
|
25
25
|
attr_reader :description
|
26
26
|
# Type of the fee, one of: `application_fee`, `payment_method_passthrough_fee`, `stripe_fee` or `tax`.
|
27
27
|
attr_reader :type
|
28
|
-
|
29
|
-
def self.inner_class_types
|
30
|
-
@inner_class_types = {}
|
31
|
-
end
|
32
|
-
|
33
|
-
def self.field_remappings
|
34
|
-
@field_remappings = {}
|
35
|
-
end
|
36
28
|
end
|
37
29
|
|
38
30
|
class ListParams < Stripe::RequestParams
|
@@ -138,13 +130,5 @@ module Stripe
|
|
138
130
|
opts: opts
|
139
131
|
)
|
140
132
|
end
|
141
|
-
|
142
|
-
def self.inner_class_types
|
143
|
-
@inner_class_types = { fee_details: FeeDetail }
|
144
|
-
end
|
145
|
-
|
146
|
-
def self.field_remappings
|
147
|
-
@field_remappings = {}
|
148
|
-
end
|
149
133
|
end
|
150
134
|
end
|
@@ -27,14 +27,6 @@ module Stripe
|
|
27
27
|
attr_reader :reason
|
28
28
|
# The specific user onboarding requirement field (in the requirements hash) that needs to be resolved.
|
29
29
|
attr_reader :requirement
|
30
|
-
|
31
|
-
def self.inner_class_types
|
32
|
-
@inner_class_types = {}
|
33
|
-
end
|
34
|
-
|
35
|
-
def self.field_remappings
|
36
|
-
@field_remappings = {}
|
37
|
-
end
|
38
30
|
end
|
39
31
|
# Fields that need to be collected to keep the external account enabled. If not collected by `current_deadline`, these fields appear in `past_due` as well, and the account is disabled.
|
40
32
|
attr_reader :currently_due
|
@@ -44,14 +36,6 @@ module Stripe
|
|
44
36
|
attr_reader :past_due
|
45
37
|
# Fields that might become required depending on the results of verification or review. It's an empty array unless an asynchronous verification is pending. If verification fails, these fields move to `eventually_due`, `currently_due`, or `past_due`. Fields might appear in `eventually_due`, `currently_due`, or `past_due` and in `pending_verification` if verification fails but another verification is still pending.
|
46
38
|
attr_reader :pending_verification
|
47
|
-
|
48
|
-
def self.inner_class_types
|
49
|
-
@inner_class_types = { errors: Error }
|
50
|
-
end
|
51
|
-
|
52
|
-
def self.field_remappings
|
53
|
-
@field_remappings = {}
|
54
|
-
end
|
55
39
|
end
|
56
40
|
|
57
41
|
class Requirements < Stripe::StripeObject
|
@@ -62,14 +46,6 @@ module Stripe
|
|
62
46
|
attr_reader :reason
|
63
47
|
# The specific user onboarding requirement field (in the requirements hash) that needs to be resolved.
|
64
48
|
attr_reader :requirement
|
65
|
-
|
66
|
-
def self.inner_class_types
|
67
|
-
@inner_class_types = {}
|
68
|
-
end
|
69
|
-
|
70
|
-
def self.field_remappings
|
71
|
-
@field_remappings = {}
|
72
|
-
end
|
73
49
|
end
|
74
50
|
# Fields that need to be collected to keep the external account enabled. If not collected by `current_deadline`, these fields appear in `past_due` as well, and the account is disabled.
|
75
51
|
attr_reader :currently_due
|
@@ -79,14 +55,6 @@ module Stripe
|
|
79
55
|
attr_reader :past_due
|
80
56
|
# Fields that might become required depending on the results of verification or review. It's an empty array unless an asynchronous verification is pending. If verification fails, these fields move to `eventually_due`, `currently_due`, or `past_due`. Fields might appear in `eventually_due`, `currently_due`, or `past_due` and in `pending_verification` if verification fails but another verification is still pending.
|
81
57
|
attr_reader :pending_verification
|
82
|
-
|
83
|
-
def self.inner_class_types
|
84
|
-
@inner_class_types = { errors: Error }
|
85
|
-
end
|
86
|
-
|
87
|
-
def self.field_remappings
|
88
|
-
@field_remappings = {}
|
89
|
-
end
|
90
58
|
end
|
91
59
|
# The account this bank account belongs to. Only applicable on Accounts (not customers or recipients) This property is only available when returned as an [External Account](/api/external_account_bank_accounts/object) where [controller.is_controller](/api/accounts/object#account_object-controller-is_controller) is `true`.
|
92
60
|
attr_reader :account
|
@@ -202,13 +170,5 @@ module Stripe
|
|
202
170
|
"`Customer.list_sources('customer_id')` " \
|
203
171
|
"or `Account.list_external_accounts('account_id')`"
|
204
172
|
end
|
205
|
-
|
206
|
-
def self.inner_class_types
|
207
|
-
@inner_class_types = { future_requirements: FutureRequirements, requirements: Requirements }
|
208
|
-
end
|
209
|
-
|
210
|
-
def self.field_remappings
|
211
|
-
@field_remappings = {}
|
212
|
-
end
|
213
173
|
end
|
214
174
|
end
|